added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809418 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "adrianstevens/NETConf2017",
"max_stars_repo_path": "IoTDevices/AndroidThingsDevice/MainActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128638"
} | starcoder | <reponame>adrianstevens/NETConf2017
using Android.App;
using Android.Widget;
using Android.OS;
using System;
using IoTDevicesShared;
using System.Threading.Tasks;
namespace AndroidThingsDevice
{
[Activity(Label = "AndroidThingsDevice", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity :... | 2.427356 | 8a14b4f3736208816f4c4d21ae3c81df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809419 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "parvbhullar/rdlc.report.engine",
"max_stars_repo_path": "Oranikle.ReportDesigner/SortingCtl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128639"
} | starcoder | /* ====================================================================
*/
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Xml;
using System.Text;
namesp... | 2.084644 | 61ecce86aeb1df305efbc9e30f79d595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rud156/TDDots",
"max_stars_repo_path": "Assets/Scripts/TD/Managers/MainScene/Player/PlayerInputManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128640"
} | starcoder | <reponame>Rud156/TDDots
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.InputSystem;
namespace TD.Managers.MainScene.Player
{
public class PlayerInputManager : MonoBehaviour
{
private PlayerInputActions _playerInputActions;
private Vector2 _playerMovement;
private bool _... | 2.057495 | 4d2053643457c47ad188c08b08c4cb4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lapakio/minfraud-api-dotnet",
"max_stars_repo_path": "MaxMind.MinFraud/Exception/InvalidRequestException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128641"
} | starcoder | <reponame>lapakio/minfraud-api-dotnet
#region
using System;
#endregion
namespace MaxMind.MinFraud.Exception
{
/// <summary>
/// This class is thrown when the web service rejected the request. Check
/// the value of <c>Code</c> for the reason code.
/// </summary>
public class InvalidRequestExcept... | 2.689904 | 4e7d6db44c7afc28539488388aed08c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809422 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/CloudWatchEvents/Generated/Model/RedshiftDataParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128642"
} | starcoder | <reponame>ChristopherButtars/aws-sdk-net<gh_stars>1-10
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http:/... | 1.637262 | 73a6a8ba97bc873309085c64c50abab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SOLIDSoftworks/Solid.Identity.Protocols.Saml2p",
"max_stars_repo_path": "src/Solid.Identity.Protocols.Saml2p/Options/EnsureCryptoProviderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128643"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.Text;
namespace Solid.Identity.Protocols.Saml2p.Options
{
internal class EnsureCryptoProviderFactory : IConfigureOptions<Saml2pOptions>
{
private Crypto... | 1.779998 | 54e4f01212fcc43806624a90e27a3e08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809424 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "raggsokk/Kraggs.IO.Endian",
"max_stars_repo_path": "Kraggs.IO.Endian/Stream/EndianWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128644"
} | starcoder | <filename>Kraggs.IO.Endian/Stream/EndianWriter.cs
//
// EndianWriter.cs
//
// The MIT License (MIT)
//
// Copyright (c) 2015 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software wit... | 2.787215 | 69f749008dc5252b9474af4a416c25af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809425 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "afonsoft/EAF",
"max_stars_repo_path": "src/Eaf.Cli.Core/Models/GetInstalledPackagesOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128645"
} | starcoder | <filename>src/Eaf.Cli.Core/Models/GetInstalledPackagesOutput.cs
using System.Collections.Generic;
namespace Eaf.Cli.Core.Models
{
public class GetInstalledPackagesOutput
{
public string SolutionName { get; set; }
public Dictionary<string, List<PackageInfo>> Items { get; set; }
}
} | 1.823641 | 68f892dc3bb77021a51fb6fefb2ffce3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DreiK-one/NewsAggregator",
"max_stars_repo_path": "NewsAggregator/NewsAggregator.CQS/Handlers/QueryHandlers/ArticleHandlers/GetPositiveArticlesByPageQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128646"
} | starcoder | <filename>NewsAggregator/NewsAggregator.CQS/Handlers/QueryHandlers/ArticleHandlers/GetPositiveArticlesByPageQueryHandler.cs
using AutoMapper;
using NewsAggregetor.CQS.Models.Queries.ArticleQueries;
using MediatR;
using Microsoft.EntityFrameworkCore;
using NewsAggregator.Core.DTOs;
using NewsAggregator.Data;
namespac... | 2.73038 | bc1d1fc5da72ace692adb3e450f87231 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TimPurdum/NetNotes",
"max_stars_repo_path": "NetNotes.Business/Elements/StemDirection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128647"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace NetNotes.Business.Elements
{
public enum StemDirection
{
Up,
Down
}
}
| 1.539322 | e7f5f100fe2e23a95b5e117a530da861 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809428 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/D3D11_FEATURE_DATA_D3D11_OPTIONS1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128648"
} | starcoder | <reponame>riQQ/DirectN
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d11.h(7398,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D11_FEATURE_DATA_D3D11_OPTIONS1
{
public D3D11_TILED_RESOUR... | 1.123993 | ea643d137c76b840b2c56383efce1ff8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plumga/FunDeer",
"max_stars_repo_path": "JotunnModStub/FunDeer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128649"
} | starcoder | // JotunnModStub
// a Valheim mod skeleton using Jötunn
//
// File: JotunnModStub.cs
// Project: JotunnModStub
using BepInEx;
using UnityEngine;
using BepInEx.Configuration;
using Jotunn.Utils;
using Jotunn.Managers;
using Jotunn.Configs;
using System;
namespace FunDeer
{
[BepInPlugin(PluginGUID, PluginName,... | 1.976047 | defd70f7625d78b3929347b53bc4acc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dionisiusadjinugroho/Samples",
"max_stars_repo_path": "MonitoringPaintingYasunli/YasunliESModel/Models/Mapping/TransactionScrapMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128650"
} | starcoder | using System.Data.Entity.ModelConfiguration;
namespace YasunliESModel.Models.Mapping
{
public class TransactionScrapMap : EntityTypeConfiguration<TransactionScrap>
{
public TransactionScrapMap()
{
// Primary Key
this.HasKey(t => t.TransactionScrapNo);
// Pro... | 2.012141 | b47ab928ffb6f2affa34040352179599 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809431 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Shuvayu/DevPracticeBox",
"max_stars_repo_path": "ENET MVC/EnetMVC/DAL/DAL/DAL/Services/PackageTransactionsServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128651"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity.Validation;
using System.Linq;
using DAL.Models;
namespace DAL.Services
{
public class PackageTransactionsServices : BaseService
{
public PackageTransactionsServices()
: base()
{
}
public Pac... | 2.465409 | 2b7c9a58bdd080ca39ad5a2b938ac53e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809432 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ALE-Rainbow/Sharp.Xmpp",
"max_stars_repo_path": "Im/Presence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128652"
} | starcoder | using System;
using System.Globalization;
using System.Xml;
namespace Sharp.Xmpp.Im
{
/// <summary>
/// Represents a Presence XML stanza as defined in XMPP:IM.
/// </summary>
internal class Presence : Core.Presence
{
public DateTime Date
{
get
{
... | 2.96395 | 64b654f22b24072136fb02e5c9058544 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809433 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mauricemarkvoort/MvvmCross",
"max_stars_repo_path": "MvvmCross/Core/Binding/Combiners/MvxObjectAsStringPairwiseValueCombiner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128653"
} | starcoder | // MvxObjectAsStringPairwiseValueCombiner.cs
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
namespace MvvmCross.Binding.Combiners
{
public abstract class MvxObjectAsStringPairw... | 2.48501 | 26386c9716e8969382a59db4028b8184 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PurnaChandraPanda/CollectServiceFabricData",
"max_stars_repo_path": "src/CollectSFDataDll/Common/Instance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128654"
} | starcoder | <filename>src/CollectSFDataDll/Common/Instance.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// -----------------------------------------... | 2.14993 | 592f724d3a2a3ad3882af734fd1facfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809435 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "ben999cap/xrm-datamigration",
"max_stars_repo_path": "tests/Capgemini.Xrm.DataMigration.Engine.Tests.Unit/DataProcessors/ObjectTypeCodeProcessorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128655"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Capgemini.DataMigration.Core.Tests.Base;
using Capgemini.Xrm.DataMigration.Config;
using Capgemini.Xrm.DataMigration.DataStore;
using Capgemini.Xrm.DataMigration.Engine.DataProcessors;
using FluentAssertions;
using Microsoft.VisualStudio.Te... | 1.831073 | 7ddfd32216023d8352b4eaf6ef010f55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok/hosting.aspnetcore",
"max_stars_repo_path": "Vostok.Applications.AspNetCore/Builders/IVostokAspNetCoreApplicationBuilderCore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128656"
} | starcoder | #if NETCOREAPP
using System;
using JetBrains.Annotations;
using Microsoft.Extensions.Hosting;
namespace Vostok.Applications.AspNetCore.Builders
{
public partial interface IVostokAspNetCoreApplicationBuilder
{
/// <summary>
/// Disables web host and HTTP server entirely.
/// </summary>
... | 1.584399 | ac89c68da4e4adcb1927302fb5ffcb80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ericmutta/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Winforms/CategoryNameCollectionExample/CS/toolboxcategorynamescontrol.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128657"
} | starcoder | //<Snippet2>
using System;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Drawing.Design;
using System.Data;
using System.Windows.Forms;
namespace ToolboxCategoryNamesControl
{
[System.Security.Permissions.PermissionSet(System.Secu... | 2.77974 | 98254911cf30cfe7b0418cce82dc7cc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aNervousFlower/aPhotoADay",
"max_stars_repo_path": "aPhotoADay/Models/DailyPhoto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128658"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace aPhotoADay.Models
{
public class DailyPhoto
{
public Guid Id { get; set; }
public DateTimeOffset PhotoDate { get; set; }
public string PhotoPath { get; set; }
public string Comment { get; set; }
}
} | 1.946592 | 502050a9a991cc0a1048b9a43416b2d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809439 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JeFawk/WildStar-Server",
"max_stars_repo_path": "src/Arctium.Core/src/Network/Pipes/Messages/DetachConsole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128659"
} | starcoder | // Copyright (c) Arctium.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
namespace Arctium.Core.Network.Pipes.Messages
{
public class DetachConsole : PipePacketBase
{
public string Alias { get; set; }
public DetachConsol... | 2.198922 | e01e5f142f9d38a79ba67740bbd3c4fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809440 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.Foundation/Metadata/WebHostHiddenAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128660"
} | starcoder | using System;
namespace Windows.Foundation.Metadata
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false)]
public sealed partial class WebHostHiddenAttribute : Attribute
{
public WebHostHiddenAtt... | 1.76033 | 454bcc3ab94dfdfd2d3159bcd28692f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809441 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "jackbob2020110/Intune-PowerShell-SDK",
"max_stars_repo_path": "PowerShellCmdlets/Generated/ObjectFactories/VisualInfoObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128661"
} | starcoder | <reponame>jackbob2020110/Intune-PowerShell-SDK
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets
{
using System.Management.Automation;
/// <sum... | 1.834723 | 2f69deabbac92b6bec4a51df704bf786 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BigETI/UnityAudioManager",
"max_stars_repo_path": "Runtime/Misc/AudioGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128662"
} | starcoder | <reponame>BigETI/UnityAudioManager
using System;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Unity audio manager namespace
/// </summary>
namespace UnityAudioManager
{
/// <summary>
/// A class that describes an audio group
/// </summary>
internal class AudioGroup : IAudioGr... | 2.780073 | 396411fd35934367b02b567f2990e851 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809443 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "fforjan/ChromeDevTools.Host",
"max_stars_repo_path": "ChromeDevTools.Host/Runtime/Runtime/QueryObjectsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128663"
} | starcoder | namespace ChromeDevTools.Host.Runtime.Runtime
{
using Newtonsoft.Json;
/// <summary>
/// QueryObjects
/// </summary>
public sealed class QueryObjectsCommand : ICommand
{
private const string ChromeRemoteInterface_CommandName = "Runtime.queryObjects";
[JsonIgnore]
... | 2.334293 | a0c98403e29b3e5a010acce23c537c8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809444 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "msotiroff/Softuni-learning",
"max_stars_repo_path": "C# Web Module/CSharp-Web-Development-Basics/07.CreatingSimpleMvcFramework/SimpleMvc/SimpleMvc.Framework/MvcEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128664"
} | starcoder | namespace SimpleMvc.Framework
{
using System;
using System.Reflection;
using WebServer;
public class MvcEngine
{
public void Run(HttpServer server)
{
RegisterAssemblyName();
RegisterControllersData();
RegisterViewsData();
RegisterMode... | 2.513684 | ff0e4aa2be7b100c8d69fa4e8c944cd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/Issues/RavenDB-3393.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128665"
} | starcoder | <gh_stars>1-10
using System;
using FastTests;
using Raven.Client.Documents;
using Raven.Client.Documents.Operations;
using Raven.Client.ServerWide;
using Raven.Client.ServerWide.Operations;
using Xunit;
namespace SlowTests.Issues
{
public class RavenDB_3393 : RavenTestBase
{
[Fact]
... | 2.112808 | 064dc5c4d5683be6a8f1ba706f01cffb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809446 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "npruehs/slash-framework",
"max_stars_repo_path": "Source/Slash.ECS.Tests/Source/GameTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128666"
} | starcoder | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GameTest.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// ------------------------------------------------------... | 2.459859 | 0fa0dbcbf7de5e071e8280de5a983b01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809447 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "82ndAirborneDiv/Epi-Info-Cloud-Data-Capture",
"max_stars_repo_path": "Epi.Web.Common/Message/Base/PersistType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128667"
} | starcoder | using System.Runtime.Serialization;
namespace Epi.Web.Enter.Common.MessageBase
{
/// <summary>
/// Enumeration of database persistence actions.
/// (Also called CRUD operations: Create, Read, Update, Delete).
///
/// SOA Design Pattern: Command Message. Basically this in an instruction
... | 2.808269 | 071f99e8bd6094c7aa77f65112077937 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809448 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lotosbin/payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/MybankPaymentTradeNormalpayOperateQueryModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128668"
} | starcoder | <gh_stars>1-10
using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// MybankPaymentTradeNormalpayOperateQueryModel Data Structure.
/// </summary>
[Serializable]
public class MybankPaymentTradeNormalpayOperateQueryModel : AlipayObject
{
... | 1.279928 | ada4ff511510d3e8c3bff256d97cc1d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tranphuong02/mvc5-web-framework",
"max_stars_repo_path": "Framework/Framework.Utility/TempDataExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128669"
} | starcoder | //////////////////////////////////////////////////////////////////////
// File Name : TempDataExtensions
// System Name : BreezeGoodlife
// Summary :
// Author : phuong.tran
// Change Log : 12/14/2015 1:37:42 PM - Create Date
/////////////////////////////////////////////////////////////////////
using... | 2.164909 | c0ea827bc29dfc054cafe97319655241 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AestheticalZ/Faithful-SCP-Unity",
"max_stars_repo_path": "Assets/Octave3D World Builder/Scripts/Objects/Object Placement/Path/Tile Connections/ObjectPlacementPathTileConnectionYOffsetVectorCalculator.cs",
"provenance": "train-00027-of... | starcoder | <reponame>AestheticalZ/Faithful-SCP-Unity<gh_stars>0
#if UNITY_EDITOR
using UnityEngine;
namespace O3DWB
{
public class ObjectPlacementPathTileConnectionYOffsetVectorCalculator
{
#region Public Methods
public Vector3 Calculate(ObjectPlacementPathTileConnectionTypeSettings tileConnectionTypeSet... | 1.780712 | 850beb7decb03716a4841f71b27f0cb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809451 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "plunix/identityserverv2",
"max_stars_repo_path": "src/Libraries/Thinktecture.IdentityServer.Protocols/OAuth2/ClientErrorResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128671"
} | starcoder | /*
* Copyright (c) <NAME>, <NAME>. All rights reserved.
* see license.txt
*/
using System;
using System.Net;
using System.Web.Mvc;
using Thinktecture.IdentityModel.Constants;
namespace Thinktecture.IdentityServer.Protocols.OAuth2
{
class ClientErrorResult : RedirectResult
{
public ClientErrorResu... | 2.368267 | 1ad9e0d447c5f63c816b7a327404d207 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eXtensoft/xtool",
"max_stars_repo_path": "XTool/model/connection/neo4j/Neo4jConnectionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128672"
} | starcoder | <reponame>eXtensoft/xtool
// <copyright file="Neo4jConnectionInfo.cs" company="eXtensible Solutions LLC">
// Copyright © 2015 All Right Reserved
// </copyright>
namespace XTool
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
[Serializable]... | 1.511726 | e8612c8244518d00f583d3256801a0a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2015kimdh/Unimation",
"max_stars_repo_path": "Assets/Sci-Fi Lens Flare/Scipts/SciFiFlare.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128673"
} | starcoder | <gh_stars>1-10
using UnityEngine;
[ExecuteInEditMode]
[RequireComponent(typeof(Camera))]
[AddComponentMenu("IndieChest/SciFiFlare")]
public class SciFiFlare : MonoBehaviour
{
#region Editable variables and public properties
[SerializeField, Range(0, 1)] float _intensity = 0.3f;
... | 2.219165 | e28930d5b67cd515863a23bb65e829cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AleksandrinaGeorgieva/SoftUni",
"max_stars_repo_path": "01 - Programming Fundamentals Course/06 - Object and Classes/Exercise/BookLibrary/BookLibrary/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128674"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace BookLibrary
{
class Program
{
private static Library lib = new Library {
books = new List<Book>()
};
privat... | 3.48086 | b413a962b2ccc47540c0b286847159e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809455 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hhko/Books",
"max_stars_repo_path": "3.Lectures/UnitTest/TestingWithEFCore/TestingWithEFCoreLecture/CourseManager.API/Models/Course.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128675"
} | starcoder | <reponame>hhko/Books
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace CourseManager.API.Models
{
[Table("Course")]
public class Course
{
[Key]
... | 2.072007 | 846d30cfabc1592337e74f487765339a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamIge7/2019-06-c-sharp-labs",
"max_stars_repo_path": "labs/labs_71_XML_From_Northwind/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128676"
} | starcoder | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace labs_71_XML_From_Northwind
{
class Program
{
static void Main(string[] args)
{
//product List
... | 2.991923 | e1a485da2d2fd408761ebb53d4092a5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bh-schmidt/fast-sharper",
"max_stars_repo_path": "src/FastSharper.Tests/TestHelpers/Models/Cart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128677"
} | starcoder | using System.Collections.Generic;
namespace FastSharper.Tests
{
public class Cart
{
public string? CartId { get; set; }
public List<Product> Products { get; set; } = new List<Product>();
public List<Customer> Customers { get; set; } = new List<Customer>();
}
}
| 1.796113 | 28c1e6b2f5f6e29f6834c2cdacbcaecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisHammond/Shift8ReadConsumer",
"max_stars_repo_path": "ViewConsumerCategoryKeyword.ascx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128678"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1434
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | 1.07792 | 4271d49e470fe7895af03d5a00218743 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IDoEverything/Silk",
"max_stars_repo_path": "src/Silk.Core.Logic/Commands/Bot/AboutCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128679"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using Silk.Core.Discord;
using Silk.Core.Discord.Utilities.HelpFormatter;
using Silk.Extensions;
namespace Silk.Core.Logic.Commands.Bot
{... | 2.480676 | a9f1f88bbe8c402bcf1cf7b3b7efc5b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809460 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TylerFronczak/GameAISimulator",
"max_stars_repo_path": "Assets/Utilities/BinaryMinHeapTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128680"
} | starcoder | //*************************************************************************************************
// Author: https://www.tylerfronczak.com/
//*************************************************************************************************
using UnityEngine;
public class BinaryMinHeapTests : MonoBehaviour
{
void ... | 2.57873 | 1499d9321fa30935dc500cf37381acc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809461 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JuanSMartinez/HapticGlove",
"max_stars_repo_path": "HapticGlove/Assets/LeapMotionModules/InteractionEngine/Scripts/ControllerImplementations/MoveToControllerVelocity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128681"
} | starcoder | using UnityEngine;
using UnityEngine.Assertions;
namespace Leap.Unity.Interaction {
/**
* The MoveToControllerVelocity class moves the held object into position
* using simulated physical forces.
* @since 4.1.4
*/
public class MoveToControllerVelocity : IMoveToController {
/** The maximum allowed v... | 2.447836 | b397bfb4ecbc93946428669aa36d2eb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809462 | {
"extension": "c-sharp",
"max_stars_count": "1035.0",
"max_stars_repo_name": "jamesmontemagno/shiny",
"max_stars_repo_path": "src/Shiny.Beacons/BeaconRegionState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128682"
} | starcoder | <filename>src/Shiny.Beacons/BeaconRegionState.cs
using System;
namespace Shiny.Beacons
{
public enum BeaconRegionState
{
Unknown,
Entered,
Exited
}
}
| 1.508772 | 821e6ae52339063c19fac9975bad85dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "majbo/connect4",
"max_stars_repo_path": "connect4.test/ScorerTest/SimpleScorerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128683"
} | starcoder | using connect4.lib;
using Moq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace connect4.test.ScorerTest
{
public class SimpleScorerTest
{
[Fact]
public void Should_BeMax_WhenWon()
{
BoardCellState winningColor = BoardCellState.Blue;... | 2.46907 | c58738146919f272d9ca7ce11e8b6a75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809464 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ToJans/MVCExtensions",
"max_stars_repo_path": "src/MvcExtensions/FNHModules/EventHandlerModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128684"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcExtensions.Model;
using FluentNHibernate.Automapping;
using NHibernate.Cfg;
namespace MvcExtensions.FNHModules
{
public class EventHandlerModule : IFNHModule
{
object eventhandler;
public EventHand... | 2.173338 | 19f644d8c64a373c39f1c0185c187e4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809465 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "obecto/perper",
"max_stars_repo_path": "functions/runtime/src/Perper.WebJobs.Extensions/Model/IAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128685"
} | starcoder | using System.Threading.Tasks;
namespace Perper.WebJobs.Extensions.Model
{
public interface IAgent
{
Task<T> CallFunctionAsync<T>(string functionName, object? parameters = default);
Task CallActionAsync(string actionName, object? parameters = default);
}
} | 1.952002 | 2f57ba203721ec96c745becd2ebc40a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MintPlayer/MintPlayer.AspNetCore.SitemapXml",
"max_stars_repo_path": "MintPlayer.AspNetCore.SitemapXml/Formatters/XmlSerializerOutputFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128686"
} | starcoder | using System.Xml;
using System.Xml.Serialization;
namespace MintPlayer.AspNetCore.SitemapXml.Formatters
{
/// <summary>This formatter adds an XML stylesheet reference to each application/xml response</summary>
internal class XmlSerializerOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutpu... | 2.463946 | 65d53c924daf218d7a2ea2d177a23445 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "serenitybrasil/GoExpressTMS",
"max_stars_repo_path": "GoExpressTMS/GoExpressTMS.Web/Modules/Auxiliar/EstadoCivil/EstadoCivilRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128687"
} | starcoder | <gh_stars>0
namespace GoExpressTMS.Auxiliar.Entities
{
using Serenity.ComponentModel;
using Serenity.Data;
using Serenity.Data.Mapping;
using System;
using System.ComponentModel;
[ConnectionKey("Default"), Module("Auxiliar"), TableName("[dbo].[EstadoCivil]")]
[DisplayName("Estados Civis")... | 1.844918 | 32acee39c4dd27d57f9f992d02cfb2a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809468 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sellcorpllc/HATEOS.Net",
"max_stars_repo_path": "HATEOS-Lib/Factory/UrlFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128688"
} | starcoder | <reponame>sellcorpllc/HATEOS.Net
using HATEOS_Lib.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace HATEOS_Lib.Factory
{
public class UrlFactory
{
private string _baseUrl;
public s... | 2.56154 | 91fa77e94d1120004107ffd73c62980c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809469 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FANMixco/farmapp",
"max_stars_repo_path": "Windows Phone/farmapp/pillsSV/Classes/tableSQLite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128689"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sqlite.Classes
{
class states
{
[SQLite.PrimaryKey, SQLite.AutoIncrement]
public int idstate { get; set; }
public string name { get; set; }
public stri... | 2.324823 | 268d067d8ceee4567efc0a79b7067d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809470 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "ryandle/Unity-SharedSpaces",
"max_stars_repo_path": "Assets/SharedSpaces/Scripts/SharedSpacesInputs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128690"
} | starcoder | <gh_stars>10-100
// Copyright (c) Facebook, Inc. and its affiliates.
using UnityEngine;
using UnityEngine.InputSystem;
public class SharedSpacesInputs : MonoBehaviour
{
[Header("Character Input Values")]
public Vector2 move;
public Vector2 orbit;
public bool jump;
[Header("Movement Settings")]
... | 1.646978 | 7dda5c41056d75c9c91243352329313d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isaacrojo/Elevador-freson",
"max_stars_repo_path": "Elevador.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128691"
} | starcoder | <filename>Elevador.cs
using System;
using System.Collections.Generic;
namespace Elevador__linked_list_
{
class Elevator
{
LinkedList<int> pisos = new LinkedList<int>(new int[] {1, 2, 3, 4, 5, 6, 7});
LinkedListNode<int> pisoActual = null;
bool elevadorHabilitado = false;
... | 3.592579 | 3f0ffb0ed904b9114c1716a923e8d866 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeePatrick/Ajman",
"max_stars_repo_path": "V2.0/APTCWEB/Areas/HelpPage/Views/Help/CarTrackApiList.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:128692"
} | starcoder | <reponame>DeePatrick/Ajman<filename>V2.0/APTCWEB/Areas/HelpPage/Views/Help/CarTrackApiList.cshtml
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using System.Collections.ObjectModel
@using APTCWEB.Areas.HelpPage.Models
@model Collection<ApiDescription>
@{
ViewBag.Tit... | 2.165151 | 94d3160fff654565233bed276c886c7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809473 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m-sadegh-sh/WebPlex",
"max_stars_repo_path": "src/WebPlex.MvcApplication/Admin.ConfigurationController.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128693"
} | starcoder | <gh_stars>1-10
// <auto-generated />
// This file was generated by a T4 template.
// Don't change it directly as your change would get overwritten. Instead, make changes
// to the .tt file (i.e. the T4 template) and save it to regenerate this file.
// Make sure the compiler doesn't complain about missing Xml comments... | 1.505744 | e0abf44ec522ef8037e9250146c1d81b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809474 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "irperez/RepositoryPattern",
"max_stars_repo_path": "NRepository/EvitiContact.Domain/ContactModel/EntityValidation/ContactEmailValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128694"
} | starcoder | using System;
using System.Collections.Generic;
using AutoMapper;
using FluentValidation;
using eviti.Data.Tracking.BaseObjects;
using eviti.data.tracking.Interfaces;
using EvitiContact.ContactModel;
namespace EvitiContact.Domain.ContactModelDB
{
public partial class ContactEmailValidator : AbstractValidator<Cont... | 2.133991 | e8adeba724a739e29e4f9f71f2a11968 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809475 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dmitryaksenov99/AspShop",
"max_stars_repo_path": "Helpers/Attributes/FieldAccessAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128695"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace AspShop.Helpers.Attributes
{
[AttributeUsage(AttributeTargets.All)]
public class FieldAccessAttribute : Attribute
{
private string _roles;
... | 2.647335 | 384b20999b83f56ca640a2bb08a80300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dkdk-ryu/TizenFX",
"max_stars_repo_path": "test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/Xaml/TSXamlServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128696"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Xml;
using Tizen.NUI.Binding.Internals;
using Tizen.NUI.Xaml;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("public/xaml/XamlServiceProvider ")]
internal... | 1.882062 | 5c44913d40a03cb8801e2332a7523737 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809477 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aspose-html-cloud/aspose-html-cloud-dotnet",
"max_stars_repo_path": "Aspose.HTML.Cloud.SDK.Examples/SDK/HtmlTemplateMerge/MergeHtmlTemplateWithData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128697"
} | starcoder | using System;
using System.IO;
using Aspose.Html.Cloud.Sdk.Api;
using Aspose.Html.Cloud.Sdk.Api.Interfaces;
namespace Aspose.HTML.Cloud.Examples.SDK.HtmlTemplateMerge
{
/// <summary>
/// Aspose.HTML Cloud for .NET SDK - examples.
/// =========================================
/// Example that demonstra... | 2.683029 | 119b916803d259faca75fc3a429f97cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abitmore/uno",
"max_stars_repo_path": "src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls.Primitives/PopupPlacementMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128698"
} | starcoder | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls.Primitives
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
public enum PopupPlacementMode
{
#if __ANDROID__ || __IOS__ || NET... | 1.739214 | efbadcab416623537b214df537433ea0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Krailit/Aryuwat_Nurse",
"max_stars_repo_path": "AryuwatSystem/Forms/FrmWebCapture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128699"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
using AForge.Video;
using AForge.Video.DirectShow;
using AryuwatSystem.DerClass;
namespace AryuwatSystem.Forms
{
public ... | 1.961371 | 58f68b6dc5b80660e20a376c440a8597 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809480 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TotalJTM/PrimitierModdingFramework",
"max_stars_repo_path": "Dumps/PrimitierDumpV1.0.1/Valve/VR/InteractionSystem/Sample/ControllerHintsExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128700"
} | starcoder | <reponame>TotalJTM/PrimitierModdingFramework
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using UnityEngine;
using Valve.VR... | 1.201238 | 9600e6d807f7d7d158beb3e93fa74bd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nventive/Pantry",
"max_stars_repo_path": "src/Pantry.PetaPoco/Queries/PetaPocoSqlBuilderQuery{TResult}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128701"
} | starcoder | using Pantry.Queries;
namespace Pantry.PetaPoco.Queries
{
/// <summary>
/// Base class for CosmosDb Queries using Sql builder.
/// </summary>
/// <typeparam name="TResult">The query result.</typeparam>
public abstract class PetaPocoSqlBuilderQuery<TResult> : RepositoryQuery<TResult>
{
... | 2.421706 | fb5045b727485e37a3e37c3f21c3555e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809482 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnwildes/bicep",
"max_stars_repo_path": "src/Bicep.LangServer.IntegrationTests/Helpers/LanguageServerHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128702"
} | starcoder | <reponame>johnwildes/bicep
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using Bicep.LanguageServer;
using OmniSharp.Extensions.LanguageServer.Client;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
... | 1.726221 | 794d8905ed45f7c289389b9c9a3f6f55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1804-Apr-USFdotnet/RobertB-Proj0",
"max_stars_repo_path": "RestaurantReviewsLibrary/RestaurantReviews.Library/PrintRestaurant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128703"
} | starcoder | <reponame>1804-Apr-USFdotnet/RobertB-Proj0<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantReviews.Library
{
public static class PrintRestaurant
{
public static List<Restaurant> PrintRestaurantByName(Lis... | 2.61701 | 75c14d1f8ff94f66b5b5bb70603e2b92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dcamarenaAZO/elsa-core",
"max_stars_repo_path": "src/core/Elsa.Core/Activities/Workflows/RunWorkflow/Handlers/ResumeParentWorkflow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128704"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Elsa.Events;
using Elsa.Providers.WorkflowStorage;
using Elsa.Services;
using Elsa.Services.Models;
using Elsa.Services.WorkflowStorage;
using MediatR;
// ReSharper disable once CheckNamespace
namespace Elsa.Activities.Workflows
{
public class ResumePare... | 2.022846 | 987af345c87a1065ded237f1fecc1ccb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809485 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "glitch100/Halo-API",
"max_stars_repo_path": "HaloEzAPI/Model/Response/Stats/Halo5/Warzone/WarzoneServiceRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128705"
} | starcoder | namespace HaloEzAPI.Model.Response.Stats.Halo5.Warzone
{
public class WarzoneServiceRecord : BaseServiceRecord
{
public WarzoneStat WarzoneStat { get; set; }
}
} | 1.390255 | 8e2a4883555d964972a5d757a8d478a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809486 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "davidneumann/WFChatParser",
"max_stars_repo_path": "src/Presentation/ChatLoggerCLI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128706"
} | starcoder | <reponame>davidneumann/WFChatParser<filename>src/Presentation/ChatLoggerCLI/Program.cs
using AdysTech.CredentialManager;
using Application;
using Application.Actionables;
using Application.Actionables.ChatBots;
using Application.Data;
using Application.Enums;
using Application.Interfaces;
using Application.Logger;
usi... | 1.818223 | 3d173a079dbc862f6658ba5799a0b181 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bregann/RetroAchievements-AchievementTracker",
"max_stars_repo_path": "RetroAchievementTracker/Database/Models/UserData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128707"
} | starcoder | <reponame>Bregann/RetroAchievements-AchievementTracker<gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace RetroAchievementTracker.Database.Models
{
public class UserData
{
[Key]
public string Username { get; set; }
public string HashedApiKey { get; set; }
public ... | 1.602323 | 548803d2d905c4d97cf8c84d064200fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brumiros/AnnoSavegameViewer",
"max_stars_repo_path": "AnnoSavegameViewer/Structures/Savegame/OnTop/DataTypes/Description.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128708"
} | starcoder | <reponame>brumiros/AnnoSavegameViewer
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace AnnoSavegameViewer.Structures.Savegame {
[DebuggerDisplay("{CurrentLang}")]
public class Description : IEquatable<Description> {
public virtual int GUID { get; set; }
public virtu... | 2.338027 | 1bbd0f3e1df12c5379404844710ceea1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809489 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ilusi0n/CsharpExtras",
"max_stars_repo_path": "CsharpExtras/Tree/Base/ITreeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128709"
} | starcoder | <filename>CsharpExtras/Tree/Base/ITreeBase.cs
using CsharpExtras.Visitor;
using System;
using System.Collections.Generic;
namespace CsharpExtras.Tree
{
public interface ITreeBase<TPayload> : IVisitableBase<ITreeBase<TPayload>>
{
TPayload Payload { get; }
IEnumerable<ITreeBase<TPayload... | 2.298153 | f84e863ab8c4ac3bf7bbc3cc59413ca9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809490 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "ValdemarOrn/SharpSoundDevice",
"max_stars_repo_path": "SharpSoundDevice/Parameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128710"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpSoundDevice
{
/// <summary>
/// A class containing parameter info.
/// </summary>
[Serializable]
public class Parameter
{
/// <summary>
/// The name of the parameter.
/// </summary>
public string Name { ... | 2.999341 | 8c7549d3e651b774d4cb83cd2d5c0122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gdgeek/hologeek",
"max_stars_repo_path": "Assets/YiHe/Src/Gizmo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128711"
} | starcoder | <filename>Assets/YiHe/Src/Gizmo.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace YiHe {
/// <summary>
/// 整体移动用的控制器
/// </summary>
/// <seealso cref="UnityEngine.MonoBehaviour" />
public class Gizmo : MonoBehaviour {
private bool loc... | 2.658118 | 404a04fe8956511f046e6235845f94df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809492 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mym0404/Voice-Knight",
"max_stars_repo_path": "Assets/02.Script/VoiceUICtr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128712"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class VoiceUICtr : MonoBehaviour {
//스킬포인트가 올라갈 수 있는지
public static VoiceUICtr instance = null;
[HideInInspector]
public int skillPoint = 0;
private bool CanGetSkillPoint = tru... | 2.301063 | 4c0a08f64071cd1adec3bb2b856ff45c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkanyazar/RentACar",
"max_stars_repo_path": "DataAccess/Concrete/EntityFramework/RentACarContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128713"
} | starcoder | <gh_stars>0
using Core.Entities.Concrete;
using Entities.Concrete;
using Microsoft.EntityFrameworkCore;
namespace DataAccess.Concrete.EntityFramework
{
public class RentACarContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
options... | 1.407114 | b105a25d189bd0070242f46eb7a526ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XinYang-YXY/SecureWebAppWebForm",
"max_stars_repo_path": "SecureWebAppWebForm/Default.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128714"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text.RegularExpressions; // for Regular expression
using System.Drawing; // for change of color
// For Password Hashing
using System.Security.... | 1.976589 | 1d2358d3ee8e4a8bf6c6f63d79d976ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "siranen/PalletBuilder",
"max_stars_repo_path": "ExceptionReporter/Core/ExceptionReportGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128715"
} | starcoder | <reponame>siranen/PalletBuilder
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Windows.Forms;
using ExceptionReporting.SystemInfo;
namespace ExceptionReporting.Core
{
/// <summary>
/// ExceptionReportGenerator does everything that needs to happen to generate an Excepti... | 2.480922 | 7376008c518e40a11aef1517edc89060 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gostareh-Negar/TeleNet",
"max_stars_repo_path": "MTProto.NET/Schema/MT/MTAbsSetClientDhParamsAnswer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128716"
} | starcoder | namespace MTProto.NET.Schema.MT
{
public abstract class MTAbsSetClientDhParamsAnswer : MTObject
{
}
}
| 0.969037 | 67c932ae4f03fa20b0b09a6509a322b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809497 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "pulumi/pulumi-aiven",
"max_stars_repo_path": "sdk/dotnet/Inputs/KafkaMirrorMakerKafkaMirrormakerUserConfigGetArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128717"
} | starcoder | <reponame>pulumi/pulumi-aiven
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usin... | 1.430368 | b6e850fbc97c82cc3732dd31c6fbe8f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kiovchev/SKAuto",
"max_stars_repo_path": "ProjectUpdateTo3.1/SKAutoNew/SKAutoNew/Views/UseFullCategory/Update.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:128718"
} | starcoder | <filename>ProjectUpdateTo3.1/SKAutoNew/SKAutoNew/Views/UseFullCategory/Update.cshtml<gh_stars>0
@using SKAutoNew.Web.ViewModels.UseFullCategoryViewModels;
@model UseFullUpdateGetOutputViewModel;
<h1 class="text-white text-center">Промени Полезна категория</h1>
<div class="row text-white justify-content-xl-cen... | 2.193964 | 560b306ceb4d1fc09d893d70ecb95c70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809499 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ga-explorer/NumericalGeometryLib",
"max_stars_repo_path": "NumericalGeometryLib/NumericalGeometryLib/Accelerators/Grids/Space2D/IAccGrid2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128719"
} | starcoder | <filename>NumericalGeometryLib/NumericalGeometryLib/Accelerators/Grids/Space2D/IAccGrid2D.cs
using System.Collections.Generic;
using NumericalGeometryLib.BasicMath.Tuples.Immutable;
using NumericalGeometryLib.BasicShapes;
using NumericalGeometryLib.Borders.Space2D.Immutable;
namespace NumericalGeometryLib.Accelerator... | 2.356816 | 4747c15832469568bf82d38749692336 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809500 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tunjiadelana/AutomateThePlanet-Learning-Series",
"max_stars_repo_path": "TestCaseManager/Fidely/src/Core.Tests/Instrumentation/NullCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128720"
} | starcoder | <reponame>tunjiadelana/AutomateThePlanet-Learning-Series<gh_stars>1-10
using Fidely.Framework.Compilation;
using Fidely.Framework.Compilation.Operators;
using System;
namespace Fidely.Framework.Tests.Instrumentation
{
public class NullCalculator : CalculatingOperator
{
public NullCalculator(string sym... | 1.84215 | 9eb17a1db9367c6a20c0c230af35067f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809501 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "StarEliteCore/Nebula.Admin",
"max_stars_repo_path": "src/Destiny.Core.Flow.Services/IdentityServer4/ApplicationClient/ClientRedirectUriContract/ClientRedirectUriService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128721"
} | starcoder | using DestinyCore.Exceptions;
using DestinyCore.Extensions;
using Destiny.Core.Flow.IServices;
using Destiny.Core.Flow.Model.DestinyIdentityServer4;
using DestinyCore.Ui;
using IDN.Services.BasicsService.Dtos.IdentityServer4.ClientApplication;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using... | 1.826763 | 32b7ccb76ad1a8f1277436fcb07cd125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "izzetaydogdu/PenaltyCalculation-Assignment",
"max_stars_repo_path": "src/Microsoft.Extensions.DependencyInjection.Named/NamedServiceProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128722"
} | starcoder | using System;
using System.Linq;
using Microsoft.Extensions.DependencyInjection.Exceptions;
namespace Microsoft.Extensions.DependencyInjection
{
public static class NamedServiceProvider
{
public static TService GetService<TService>(this IServiceProvider serviceProvider, string name)
{
... | 2.560722 | 014519eb37c18463d5218dc1891d6302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809503 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "asiertarancon/XamaFilm",
"max_stars_repo_path": "17. Effects/XamaFilm/XamaFilm/Strings/AppResources.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128723"
} | starcoder | <filename>17. Effects/XamaFilm/XamaFilm/Strings/AppResources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían caus... | 2.18189 | 8e890252deb637a7885a434b7ea4ac3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809504 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VsIG-official/Study-Projects",
"max_stars_repo_path": "Unity/Data Structures and Design Patterns for Game Developers/1week/ImplementingAnInterface/ImplementingAnInterface/OrderedDynamicArray.cs",
"provenance": "train-00027-of-00045.js... | starcoder | <reponame>VsIG-official/Study-Projects
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImplementingAnInterface
{
/// <remarks>
/// An ordered DynamicArray
/// </remarks>
class OrderedDynamicArray<T> : DynamicArray<T> where T... | 3.65088 | dfafdbb70b259051e0a932deaa5f57c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "betsovIT/TheBedstand",
"max_stars_repo_path": "Web/TheBedstand.Web.ViewModels/Authors/AuthorBasicInfoModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128725"
} | starcoder | <reponame>betsovIT/TheBedstand<gh_stars>0
namespace TheBedstand.Web.ViewModels.Authors
{
using System;
using System.Collections.Generic;
using System.Text;
public class AuthorBasicInfoModel
{
public int Id { get; set; }
public string PersonalName { get; set; }
public stri... | 1.472705 | ebaf59ae2034c13093a5fedad8c46250 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809506 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "abdullin/lokad-cqrs",
"max_stars_repo_path": "Framework/Lokad.Cqrs.Azure/Feature.AtomicStorage/AzureAtomicEntityWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128726"
} | starcoder | <reponame>abdullin/lokad-cqrs
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using System.IO;
using Microsoft.WindowsAzure.... | 2.479822 | f0775ddd87740a9b0e80d9dd564d2e4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masastack/MASA.MC",
"max_stars_repo_path": "src/Contracts/Masa.Mc.Contracts.Admin/Dtos/Channels/Validator/ChannelUpsertDtoValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128727"
} | starcoder | // Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
namespace Masa.Mc.Contracts.Admin.Dtos.Channels.Validator;
public class ChannelUpsertDtoValidator : AbstractValidator<ChannelUpsertDto>
{
public ChannelUpsertDtoVali... | 1.923712 | 09b61f9c732e52ea06b6f79a8fe2af4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809508 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stockmansy/NoeSBot",
"max_stars_repo_path": "NoeSbot.Database/Services/ProfileService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128728"
} | starcoder | using NoeSbot.Database;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Discord.Commands;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NoeSbot.Database.Models;
using NoeSbot.Helpers;
namespace NoeSbot.Database.... | 2.540623 | 4832761b7f9d71f5fd05de5d4c8c6347 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809509 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spkain/ChatServer",
"max_stars_repo_path": "ChatServer/ConnectHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128729"
} | starcoder | <filename>ChatServer/ConnectHost.cs
namespace ChatClient
{
public struct ConnectHost
{
public string ip;
public string port;
}
} | 1.539675 | 13a7da599880b905cafc3a05a39bb61d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809510 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "DlbSt/FormsGtkToolkit",
"max_stars_repo_path": "samples/Samples/Samples/Views/ToggleButtonView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128730"
} | starcoder | using Xamarin.Forms;
namespace FormsGtkToolkit.Samples.Views
{
public partial class ToggleButtonView : ContentPage
{
public ToggleButtonView()
{
InitializeComponent();
}
}
} | 1.129108 | a0ca5a07fa5b90b03399e0da98bf23cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liyanjie8712/Contents",
"max_stars_repo_path": "src/Liyanjie.Modularization.AspNet.Captcha/CaptchaModuleOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128731"
} | starcoder | <filename>src/Liyanjie.Modularization.AspNet.Captcha/CaptchaModuleOptions.cs
using System;
using System.Text.Json;
using System.Threading.Tasks;
using System.Web;
using Liyanjie.Content;
namespace Liyanjie.Modularization.AspNet
{
/// <summary>
///
/// </summary>
public class CaptchaModuleOptions : C... | 2.341985 | 9ef164fad2502cc239a6a5abccd4a48d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikkoTKaipainen/object-oriented",
"max_stars_repo_path": "object-method/TaskVehicle/TaskVehicle/TaskVehicle/Lorry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128732"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TaskVehicle
{
class Lorry : Car
{
protected int _lorryFreightWeight;
protected int _consumeForKg;
public Lorry(int lorryFreightWeight, int consumeForKg)
{
_lorryFreightWeight = lorryFreigh... | 3.138173 | 934368406f7d36483177029f2d790e62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809513 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "huanlin/Examples",
"max_stars_repo_path": "DotNet/Data Access/Entity Framework/OneToManyWithDefaultChild/Models/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128733"
} | starcoder | <reponame>huanlin/Examples
namespace OneToManyWithDefaultChild.Models
{
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
public int? DefaultBankAccountId { get; set; }
// Navigation properties
//public BankAccount Defaul... | 1.686159 | 9b302a0b104a57ede2b54e64a85f62a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809514 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "chinaboard/PureCat",
"max_stars_repo_path": "PureCat/Message/Spi/Heartbeat/IRefresh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128734"
} | starcoder | <filename>PureCat/Message/Spi/Heartbeat/IRefresh.cs
namespace PureCat.Message.Spi.Heartbeat
{
public interface IRefresh
{
void Refresh();
}
} | 1.572967 | b1f559312aec20d3cfc965a7d88a867b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iamprovidence/Software-Design",
"max_stars_repo_path": "Apartments_io/Apartments_io/Areas/Resident/ViewModels/Site/TemplateViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128735"
} | starcoder | <reponame>iamprovidence/Software-Design
namespace Apartments_io.Areas.Resident.ViewModels.Site
{
public class TemplateViewModel
{
public string Header { get; set; }
public string Text { get; set; }
}
}
| 1.194068 | ed8258097e5147b1fae67c1342e3a6e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809516 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "manunio/Roslynator",
"max_stars_repo_path": "src/Formatting.Analyzers.CodeFixes/CSharp/ReplaceTabWithSpacesCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128736"
} | starcoder | <filename>src/Formatting.Analyzers.CodeFixes/CSharp/ReplaceTabWithSpacesCodeFixProvider.cs
// Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Composition;
using Syst... | 2.010403 | ab262689a6ea21590af898f031aa1203 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8809517 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "evanverneyfink/mcma-dotnet",
"max_stars_repo_path": "multi-cloud-ai-workflow/services/Mcma.Aws.AmeService/Worker/MediaInfoProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:128737"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Mcma.Aws.AmeService.Worker
{
internal class MediaInfoProcess
{
private const string MediaInfoFolder = "bin";
static MediaInfoProcess()
{
// adding bin folder ... | 2.578601 | eeb8b0040f3ea9d88d0202334b11005c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.