language stringclasses 1
value | repo stringclasses 133
values | path stringlengths 13 229 | class_span dict | source stringlengths 14 2.92M | target stringlengths 1 153 |
|---|---|---|---|---|---|
csharp | dotnet__orleans | test/Extensions/TesterAdoNet/StorageTests/Relational/AdotNetProviderFunctionalityTests.cs | {
"start": 2207,
"end": 3049
} | class ____ the grain key and extension key using character '#'.
//The key and its extension are the two distinct elements.
var grainKeys = longGrainIdWitExtensionAsString.Split(new[] { "#" }, StringSplitOptions.RemoveEmptyEntries);
Assert.Equal(2, grainKeys.Length);
Ass... | splits |
csharp | dotnet__BenchmarkDotNet | src/BenchmarkDotNet/Helpers/CodeAnnotations.cs | {
"start": 66085,
"end": 66449
} | internal sealed class ____ : Attribute
{
public HtmlElementAttributesAttribute() { }
public HtmlElementAttributesAttribute([NotNull] string name)
{
Name = name;
}
[CanBeNull] public string Name { get; }
}
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeT... | HtmlElementAttributesAttribute |
csharp | dotnet__reactive | AsyncRx.NET/System.Reactive.Async/Linq/Operators/IsEmpty.cs | {
"start": 664,
"end": 1001
} | public partial class ____
{
public static IAsyncObserver<TSource> IsEmpty<TSource>(IAsyncObserver<bool> observer)
{
if (observer == null)
throw new ArgumentNullException(nameof(observer));
return Any<TSource>(Select<bool, bool>(observer, b => !b));
}
... | AsyncObserver |
csharp | neuecc__MessagePack-CSharp | src/MessagePack.SourceGenerator/CodeAnalysis/QualifiedNamedTypeName.cs | {
"start": 608,
"end": 1156
} | public record ____ : QualifiedTypeName, IComparable<QualifiedNamedTypeName>
{
private readonly TypeKind kind;
private readonly bool isRecord;
public QualifiedNamedTypeName(TypeKind kind, bool isRecord = false)
{
if (kind == TypeKind.Array)
{
throw new ArgumentException($"Cre... | QualifiedNamedTypeName |
csharp | graphql-dotnet__graphql-dotnet | src/GraphQL.Tests/Execution/InputsTests.cs | {
"start": 6023,
"end": 6199
} | public class ____
{
public int Id { get; set; }
public long IdLong { get; set; }
public string ProfileImage { get; set; }
public Gender Gender { get; set; }
}
| User |
csharp | smartstore__Smartstore | src/Smartstore.Core/Platform/Installation/SeedData/InvariantSeedData.cs | {
"start": 15217,
"end": 15827
} | record ____ for the PDF converter.",
Active = true,
IsSystemAccount = true,
SystemName = SystemCustomerNames.PdfConverter,
CreatedOnUtc = DateTime.UtcNow,
LastActivityDateUtc = DateTime.UtcNow,
};
Alter(entity);
... | used |
csharp | unoplatform__uno | src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/Button/CheckBox_IsEnabled_Automated.xaml.cs | {
"start": 338,
"end": 824
} | partial class ____ : UserControl
{
public CheckBox_IsEnabled_Automated()
{
this.InitializeComponent();
CheckBoxIsCheckedState.Text = MyCheckBox.IsChecked.ToString();
}
private void MyCheckBox_Click(object sender, RoutedEventArgs e)
{
CheckBoxIsCheckedState.Text = MyCheckBox.IsChecked.ToString();... | CheckBox_IsEnabled_Automated |
csharp | npgsql__efcore.pg | src/EFCore.PG/Storage/Internal/Mapping/NpgsqlByteArrayTypeMapping.cs | {
"start": 623,
"end": 4047
} | public class ____ : RelationalTypeMapping
{
/// <summary>
/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
/// the same compatibility standards as public APIs. It may be changed or removed without notice in
/// any release. You should only... | NpgsqlByteArrayTypeMapping |
csharp | dotnet__aspire | src/Aspire.Hosting/ApplicationModel/DcpInstancesAnnotation.cs | {
"start": 286,
"end": 453
} | internal class ____(ImmutableArray<DcpInstance> instances) : IResourceAnnotation
{
public ImmutableArray<DcpInstance> Instances => instances;
}
| DcpInstancesAnnotation |
csharp | ChilliCream__graphql-platform | src/Nitro/CommandLine/src/CommandLine.Cloud/Generated/ApiClient.Client.cs | {
"start": 1297971,
"end": 1300544
} | public partial class ____ : global::System.IEquatable<ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment>, IListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment
{
public ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment(global::... | ListEnvironmentCommandQuery_WorkspaceById_Environments_Edges_Node_Environment |
csharp | microsoft__semantic-kernel | dotnet/src/Connectors/Connectors.Amazon/Bedrock/Core/Models/Anthropic/ClaudeToolUse.cs | {
"start": 394,
"end": 1189
} | internal sealed class ____ : Tool
{
/// <summary>
/// The name of the tool.
/// </summary>
[JsonPropertyName("name")]
public string? Name { get; set; }
/// <summary>
/// (optional, but strongly recommended) The description of the tool.
/// </summary>
... | ClaudeTool |
csharp | MassTransit__MassTransit | src/MassTransit.Abstractions/Configuration/Transports/IReceiveEndpointSpecification.cs | {
"start": 149,
"end": 292
} | public interface ____ :
ISpecification
{
void Configure(IReceiveEndpointBuilder builder);
}
}
| IReceiveEndpointSpecification |
csharp | smartstore__Smartstore | src/Smartstore.Modules/Smartstore.PayPal/Models/GoogleTransactionInfo.cs | {
"start": 5830,
"end": 5989
} | public enum ____
{
[EnumMember(Value = "FINAL")]
Final,
[EnumMember(Value = "PENDING")]
Pending
}
| GooglePayItemStatus |
csharp | npgsql__npgsql | src/Npgsql/Replication/PgOutput/Messages/PgOutputReplicationMessage.cs | {
"start": 76,
"end": 297
} | class ____ all Logical Replication Protocol Messages
/// </summary>
/// <remarks>
/// See https://www.postgresql.org/docs/current/protocol-logicalrep-message-formats.html for details about the
/// protocol.
/// </remarks>
| of |
csharp | smartstore__Smartstore | src/Smartstore.Core/Content/Media/MediaServiceFileSystemAdapter.cs | {
"start": 356,
"end": 4434
} | public partial class ____ : FileSystemBase, IMediaFileSystem
{
private readonly IMediaService _mediaService;
private readonly IFolderService _folderService;
private readonly IMediaStorageProvider _storageProvider;
private readonly string _mediaRootPath;
public MediaServiceFi... | MediaServiceFileSystemAdapter |
csharp | ChilliCream__graphql-platform | src/HotChocolate/Fusion-vnext/test/Fusion.Composition.Tests/SourceSchemaMerger.Interface.Tests.cs | {
"start": 4432,
"end": 4710
} | interface ____
@fusion__type(schema: A)
@fusion__type(schema: B)
@fusion__inaccessible {
id: ID!
@fusion__field(schema: A)
@fusion__field(schema: B)
}
| I2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.