content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
namespace InsaneOne.EcsRts
{
struct AddPlayerResourcesEvent
{
public int Value;
}
} | 14.857143 | 34 | 0.644231 | [
"MIT"
] | InsaneOneHub/ecs-based-rts | Assets/Sources/Components/Events/AddPlayerResourcesEvent.cs | 104 | C# |
using System.Threading.Tasks;
using FluentAssertions.Specialized;
namespace FluentAssertions;
public static class AsyncAssertionsExtensions
{
#pragma warning disable AV1755 // "Name of async method ... should end with Async"; Async suffix is too noisy in fluent API
/// <summary>
/// Asserts that the completed... | 49.218182 | 146 | 0.685999 | [
"Apache-2.0"
] | IT-VBFK/fluentassertions | Src/FluentAssertions/AsyncAssertionsExtensions.cs | 2,707 | C# |
namespace DIYTracker.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Materials",
c => new
{
... | 36.6 | 81 | 0.385792 | [
"MIT"
] | TacoMantra/DIYTracker | DIYTracker/Migrations/202011230130194_Initial.cs | 4,577 | C# |
// *** 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;
using Pulumi.Serialization;
names... | 28.333333 | 168 | 0.637255 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/Ec2/Outputs/ManagedPrefixListEntry.cs | 1,020 | C# |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Enjin.SDK.GraphQL;
using Enjin.SDK.Utility;
using SimpleJSON;
using UnityEngine;
namespace Enjin.SDK.Core
{
public class EnjinIdentities
{
/// <summary>
/// Gets a specific identity
/// </summa... | 38.12381 | 133 | 0.610292 | [
"MIT"
] | Drake-s-Games-LLC/Enjin-Unity-sample | Enjin Test Project/Assets/Enjin/SDK/Core/EnjinIdentities.cs | 4,005 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class song_select_button : MonoBehaviour {
public track Track;
public Text title;
public Text artist;
public Text duration;
public Text bpm;
public Image album_cover;
public Image selected_cursor;
[H... | 22.983051 | 61 | 0.728614 | [
"MIT"
] | Dmcdominic/Beatsketball | Beatsketball/Assets/Scripts/Song Selection/song_select_button.cs | 1,358 | C# |
namespace CommonTools.Lib11.GoogleTools
{
public class FirebaseCredentials
{
public string BaseURL { get; set; }
public string ApiKey { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string HumanName { ... | 28.5 | 65 | 0.550439 | [
"MIT"
] | peterson1/PermissionSetter | CommonTools.Lib11/GoogleTools/FirebaseCredentials.cs | 462 | C# |
using System.Collections;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;
using UnityEngine.Events;
public class InputManager : MonoBehaviour {
private static InputManager control;
public bool isRebinding;
public KeyCode cancelRebindKey = KeyCode.Escape;
[SerializeField]
private K... | 28.694301 | 107 | 0.693572 | [
"BSD-3-Clause"
] | celechii/Unity-Tools | InputManager.cs | 11,078 | C# |
using UnityEngine;
using UnityEditor;
namespace UniBt.Editor.Inspector
{
[CustomEditor(typeof(Wait))]
public sealed class WaitInspector : TaskInspector
{
private Wait wait;
public override void OnEnable()
{
base.OnEnable();
wait = task as Wait;
}
... | 26.067797 | 73 | 0.483745 | [
"MIT"
] | gitter-badger/UniBt | Assets/UniBt/Scripts/Editor/InspectorDrawers/Built-In Nodes/WaitInspector.cs | 1,540 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using WRLDCWarehouse.Data;
using WRLDCWarehouse.Core.Entities;
using WRLDCWarehouse.ETL.Extracts;
using WRLDCWarehouse.ETL.Loads;
using WRLDCWarehouse.ETL.Enums;
using WRLDCWarehouse.Core.ForiegnEntities;
using Microsoft.Extensions.Logging;
namespace WRL... | 39.642857 | 144 | 0.763964 | [
"MIT"
] | POSOCO/wrldc_data_warehouse_csharp | WRLDCWarehouse.ETL/Jobs/JobReadForeignAcTransLines.cs | 1,112 | C# |
using System.Collections.Generic;
using Repository.Models.Issue;
namespace Repository.Issue
{
public interface IIssueRepository
{
int Create(int projectId, string title, string description, int priorityId, int? assigneeId, int createdBy);
List<IssueSummaryModel> GetByFilters(int userId, int st... | 44.222222 | 116 | 0.723618 | [
"MIT"
] | yrshaikh/Issue-Tracker | Src/Repository/Issue/IIssueRepository.cs | 798 | C# |
//------------------------------------------------------------------------------
// <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 causar un comportamiento incorrecto y se perderán si
// se vuelve a gener... | 46.027397 | 214 | 0.630357 | [
"MIT"
] | iAJTin/iCPUID | src/lib/net/iTin.Core/iTin.Core/Localization/Exceptions/InvalidPeriodException.Designer.cs | 3,374 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MD380FileIO
{
public class Channel
{
public int ID { get; set; }
public string Name { get; set; }
//0x61=Analogue 0x62=Digital
public byte AnalogDigital { get; set; }
// Power Level H=0x24 L... | 21.75 | 48 | 0.601533 | [
"MIT"
] | kc9yjp/md380reader | MD380File/Channel.cs | 524 | C# |
using Google.Protobuf;
using Microsoft.AspNetCore.WebUtilities;
using Yngdieng.Protos;
namespace Yngdieng.Common
{
public static class DocRefs
{
public static DocRef Decode(string docId)
{
return DocRef.Parser.ParseFrom(Base64UrlTextEncoder.Decode(docId));
}
public... | 22.75 | 79 | 0.657143 | [
"MIT"
] | MindongLab/yngdieng | server/common/DocRefs.cs | 457 | C# |
//-----------------------------------------------------------------------
// <copyright file="ActorRefFactoryExtensions.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </co... | 35.8 | 130 | 0.534916 | [
"Apache-2.0"
] | Chinchilla-Software-Com/akka.net | src/core/Akka/Actor/ActorRefFactoryExtensions.cs | 718 | C# |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.ComponentModel;
using Microsoft.EntityFrameworkCore... | 43.492754 | 139 | 0.715761 | [
"Apache-2.0"
] | Thodor12/openiddict-core | src/OpenIddict.EntityFrameworkCore/Configurations/OpenIddictEntityFrameworkCoreTokenConfiguration.cs | 3,003 | C# |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.ComponentModel;
using System.Diagnostics.CodeAnalys... | 41.174603 | 138 | 0.680898 | [
"Apache-2.0"
] | Shaddix/openiddict-core | src/OpenIddict.Validation/OpenIddictValidationBuilder.cs | 20,754 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Wisp {
class Parser {
private int i;
private string code;
public Parser(string code)
{
this.code = code;
i = 0;
}
pu... | 20.688 | 102 | 0.430008 | [
"MIT"
] | m-r-hunt/Wisp | Wisp/Parser.cs | 2,588 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Models;
using DAL;
using System.Collections.Generic;
using DBUtil;
using Utils;
namespace DBHelperTest
{
[TestClass]
public class DeleteTest
{
#region 变量
private BsOrderDal m_BsOrderDal = ServiceHelper.Get<BsOrderDal>(... | 22.15 | 77 | 0.600451 | [
"MIT"
] | 0611163/DBHelper | DBHelper/DBHelperTest/DeleteTest.cs | 928 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Ecs20140526.Models
{
public class DetachDiskResponse : TeaModel {
[NameInMap("RequestId")]
[Validation(Required=true)]
public strin... | 18.736842 | 54 | 0.688202 | [
"Apache-2.0"
] | alibabacloud-sdk-swift/alibabacloud-sdk | ecs-20140526/csharp/core/Models/DetachDiskResponse.cs | 356 | C# |
namespace Microsoft.Examples.V3.Controllers
{
using Microsoft.Web.Http;
using Models;
using System.Web.Http;
public class AgreementsController : ApiController
{
// GET ~/v3/agreements/{accountId}
// GET ~/agreements/{accountId}?api-version=3.0
public IHttpActionResult Get( ... | 34.538462 | 159 | 0.685969 | [
"MIT"
] | AzureMentor/aspnet-api-versioning | samples/webapi/ByNamespaceWebApiSample/V3/Controllers/AgreementsController.cs | 451 | C# |
using MasteringEFCore.MultiTenancy.Starter.Core.Commands.Files;
using MasteringEFCore.MultiTenancy.Starter.Data;
using MasteringEFCore.MultiTenancy.Starter.Helpers;
using MasteringEFCore.MultiTenancy.Starter.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data.... | 28.298246 | 77 | 0.605704 | [
"MIT"
] | PacktPublishing/Mastering-Entity-Framework-Core | Chapter 12/Starter/MasteringEFCore.MultiTenancy.Starter/Infrastructure/Commands/Files/UpdateFileCommand.cs | 1,615 | C# |
using EltraCommon.ObjectDictionary.Common.DeviceDescription.Profiles.Application.Parameters;
using EltraCommon.ObjectDictionary.Common.DeviceDescription.Profiles.Application.Parameters.Events;
using EltraCommon.ObjectDictionary.Xdd.DeviceDescription.Profiles.Application.Parameters;
using EltraXamCommon.Controls;
using... | 29.224684 | 103 | 0.512507 | [
"Apache-2.0"
] | eltra-ch/eltra-sdk | samples/Streema/Navigo/EltraNavigoStreema/Views/Streema/StreemaControl/StreemaControlViewModel.cs | 9,237 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using ARSoft.Tools.Net;
using ARSoft.Tools.Net.Dns;
namespace Arashi
{
public class DNSChina
{
public static List<DomainName> ChinaList = File.Exists(DNSChinaConfig.Config.ChinaListPath)
?... | 42.307692 | 113 | 0.586182 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | mili-tan/ArashiDNS.Aoi | Arashi.Aoi/DNS/DNSChina.cs | 2,752 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using md = System.Data.Entity.Core.Metadata.Edm;
//
// The PropertyRef class (and its subclasses) represent references to a property
// of a type.
// The PropertyRefList class represent... | 42.719512 | 132 | 0.669712 | [
"Apache-2.0"
] | CZEMacLeod/EntityFramework6 | src/EntityFramework/Core/Query/PlanCompiler/PropertyRef.cs | 3,503 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 38.783784 | 85 | 0.725436 | [
"MIT"
] | 6A/nucleus | Nucleus.Tests/Properties/AssemblyInfo.cs | 1,438 | C# |
// Copyright (c) 2013 Richard Long & HexBeerium
//
// Released under the MIT license ( http://opensource.org/licenses/MIT )
//
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace dotnet.lib.CoreAnnex.work
{
class WorkQueue
{
private Que... | 22.877193 | 80 | 0.480828 | [
"MIT"
] | rlong/dotnet.lib.CoreAnnex | work/WorkQueue.cs | 1,306 | C# |
namespace aspmvc5_glimpse_trace.Services
{
using System.Web.Mvc;
using Boilerplate.Web.Mvc;
using aspmvc5_glimpse_trace.Constants;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class ManifestService : IManifestService
{
private readonly UrlHelper urlHelper;
pub... | 48.393443 | 119 | 0.599255 | [
"MIT"
] | ashumeow/noobs | aspnet/aspmvc5_glimpse_trace/aspmvc5_glimpse_trace/Services/Manifest/ManifestService.cs | 2,954 | C# |
// ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.a... | 40.892473 | 214 | 0.582698 | [
"MIT"
] | Agazoth/azure-powershell | src/RecoveryServices/RecoveryServices.SiteRecovery/DiskReplicationConfiguration/AzureRmInMageRcmDiskInput.cs | 3,713 | C# |
using System.Collections.Generic;
using UnityEngine;
namespace UnityEditor.Timeline
{
class TimelineCursors
{
public enum CursorType
{
MixBoth,
MixLeft,
MixRight,
Replace,
Ripple,
Pan
}
class CursorInfo
... | 41.416667 | 149 | 0.662223 | [
"MIT"
] | 11xdev-coder/Snek | Library/PackageCache/com.unity.timeline@1.4.8/Editor/Manipulators/Cursors/TimelineCursors.cs | 3,976 | C# |
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Denis Krjuchkov
// Created: 2009.11.07
namespace Xtensive.Sql.Compiler
{
internal class CycleItemNode : Node
{
public readonly int Index;
internal override... | 19.615385 | 62 | 0.633333 | [
"MIT"
] | SergeiPavlov/dataobjects-net | DataObjects/Sql/Compiler/Internals/Nodes/CycleItemNode.cs | 510 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace Opal
{
// Yes this is inspired by the Poiyomi editor
public class OpalBRDFEditor : ShaderGUI
{
public static GUIStyle opalLogoStyle, centerBoldStyle, centerBoldBiggerStyle;
public st... | 38.676692 | 137 | 0.550156 | [
"MIT"
] | zCubed3/OpalCollection | Scripts/Editor/OpalBRDFEditor.cs | 10,290 | C# |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace Microsoft.Xna.Framework
{
/// <summary>
/// Provides helper methods to make it easier
/// to safely raise ... | 40.933333 | 122 | 0.606406 | [
"MIT"
] | 06needhamt/MonoGame | MonoGame.Framework/EventHelpers.cs | 1,844 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 35.695652 | 85 | 0.547381 | [
"MIT"
] | JiaJian/swen | DelonixRegia/DelonixRegiaHMS/Manage/Guest_Account_Add.aspx.designer.cs | 4,107 | C# |
using System;
using System.Runtime.Serialization;
namespace Wexflow.Core.Service.Contracts
{
public enum LaunchType
{
Startup,
Trigger,
Periodic,
Cron
}
[DataContract]
public class WorkflowInfo:IComparable
{
[DataMember]
public int Id { get; pri... | 31.549296 | 281 | 0.588839 | [
"MIT"
] | fossabot/Wexflow | src/dotnet/Wexflow.Core.Service.Contracts/WorkflowInfo.cs | 2,242 | C# |
using IdentityModel;
using IdentityServer4;
using IdentityServer4.Events;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using IdentityServer4.Test;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ... | 44.25 | 155 | 0.611647 | [
"Apache-2.0"
] | zhongbodong/IdentityServer4 | IdentityServerCenter.EFCore/Quickstart/Account/ExternalController.cs | 11,505 | C# |
using System.Web;
using System.Web.Mvc;
namespace NurTek.Proxy.Web
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| 19.214286 | 80 | 0.654275 | [
"MIT"
] | mjsamet/NurTek.Proxy.Core | examples/NurTek.Proxy.Web/App_Start/FilterConfig.cs | 271 | C# |
using System;
using System.Linq;
namespace SlimJim.Model
{
public sealed class VisualStudioVersion
{
private static readonly VisualStudioVersion vs2008 = new VisualStudioVersion("2008", "10.00", "9.0");
private static readonly VisualStudioVersion vs2010 = new VisualStudioVersion("2010", "11.00", "10.0");... | 26.54717 | 105 | 0.668443 | [
"MIT"
] | jpk6789/SlimJim | src/SlimJim/Model/VisualStudioVersion.cs | 2,814 | C# |
// Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | 38.361702 | 101 | 0.703827 | [
"Apache-2.0"
] | aallfredo/MassTransitPHP | src/MassTransit/Configuration/EndpointSpecifications/PublishPipeConfiguration.cs | 1,805 | C# |
/*
* 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://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 49.830508 | 256 | 0.678118 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/IoTEventsData/Generated/_netstandard/IAmazonIoTEventsData.cs | 8,820 | C# |
using System.Collections;
using System.Collections.Generic;
using Joystick_Pack.Scripts.Joysticks;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(FloatingJoystick))]
public class FloatingJoystickEditor : JoystickEditor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
... | 27.909091 | 90 | 0.69544 | [
"MIT"
] | neziruran/SirStudiosTest | Assets/Joystick Pack/Scripts/Editor/FloatingJoystickEditor.cs | 616 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chess_Game
{
class Bishop : Piece
{
public Bishop(String colour) : base(colour)
{
Name = "B";
}
internal override bool validateMove(Move mo... | 33.560976 | 113 | 0.493459 | [
"MIT"
] | DeepanshuKapoor/Chess-Game | selfchess/Bishop.cs | 1,378 | C# |
//--------------------------------------------------------------------------------------------
// Copyright 2015 Sitecore Corporation A/S
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
// ... | 40.851852 | 95 | 0.625567 | [
"Apache-2.0"
] | STDGA/experience-extractor | src/ExperienceExtractor.Components/PostProcessors/PartitionField.cs | 1,105 | C# |
using System;
using System.Web;
using System.Web.SessionState;
namespace MicroAPI.Demo
{
/// <summary>
/// Demo 的摘要说明
/// </summary>
public class Demo : MicroAPI
{
public Demo()
{
RegTextAction("get_server_time", getServerTime);
RegJsonAction("get_server_inf... | 27.56 | 70 | 0.571118 | [
"MIT"
] | starchen88/MicroAPI | MicroAPI/Demo/Demo.ashx.cs | 1,390 | C# |
using System;
namespace Library.API.Models
{
public class BookWithConcatenatedAuthorName
{
public Guid Id { get; set; }
public string Author { get; set; }
public string Title { get; set; }
public string Description { get; set; }
}
}
| 17.625 | 47 | 0.606383 | [
"MIT"
] | yangzuo0621/RESTfulAPIAspNetCore | src/Library/Library.API.Swagger/Models/BookWithConcatenatedAuthorName.cs | 284 | C# |
// ***********************************************************************
// Copyright (c) 2016 NUnit Project
//
// 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 without restriction, incl... | 52.083893 | 426 | 0.620063 | [
"MIT"
] | devopsschool-sample-programs/dotnet-test-nunit | test/dotnet-test-nunit.test/TestListeners/TestExecutionListenerTests.cs | 15,523 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Text;
namespace com.tmobile.oss.security.taap.poptoken.builder.mstest
{
[TestClass]
public class PopTokenBuilderUnitTest
{
string _publicRsaKeyPem;
string _publicRsaKeyXml;
string _pr... | 61.702265 | 1,714 | 0.68908 | [
"Apache-2.0"
] | cprothm1/tmobile-api-security-lib | poptoken-lib/poptoken-builder/cs-lib-tmobile-oss-poptoken-builder/poptoken.builder.test/PopTokenBuilder.UnitTest.cs | 19,066 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServeurCShark;
using System.ServiceModel;
namespace AppliServeurCShark
{
class Program
{
static void Main(string[] args)
{
/*Uri baseAddress = new Uri("http://l... | 27.142857 | 120 | 0.570526 | [
"Unlicense"
] | groupeCShark/ServeurLauncher | AppliServeurCShark/Program.cs | 954 | C# |
using System;
namespace Orchard.Scripting.Compiler {
public class Token {
public TokenKind Kind { get; set; }
public int Position { get; set; }
public object Value { get; set; }
public override string ToString() {
return Value == null ? String.Format("Token '{0}' at po... | 34.076923 | 172 | 0.591422 | [
"BSD-3-Clause"
] | 1996dylanriley/Orchard | src/Orchard.Web/Modules/Orchard.Scripting/Compiler/Token.cs | 445 | C# |
namespace ZetaShortPaths;
[UsedImplicitly]
public static class DirectoryInfoExtensions
{
[UsedImplicitly]
public static FileSystemInfo[] GetFileSystemInfos(this DirectoryInfo i, SearchOption searchOption)
{
return i.GetFileSystemInfos(@"*", searchOption);
}
[UsedImplicitly]
public sta... | 30.764706 | 102 | 0.648821 | [
"Apache-2.0"
] | UweKeim/ZetaShortPaths | Source/Runtime/DirectoryInfoExtensions.cs | 1,571 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace RedemptionEngine.ObjectClasses
{
public class CharacterAttribute
{
private string name; //The attribute/stat name
private int attributeValue; //the current value of th... | 26.511628 | 93 | 0.578947 | [
"MIT"
] | Erbelding/Redemption | PROJECT/REDEMPTION/RedemptionEngine/ObjectClasses/CharacterAttribute.cs | 1,142 | C# |
using Assets.Scripts.Animations;
using Assets.Scripts.Systems;
using UnityEngine;
namespace Assets.Scripts.Physics
{
[RequireComponent(typeof(CustomCollision))]
public class Character : MonoBehaviour
{
[HideInInspector] public CustomCollision collision;
[SerializeField] private CustomColli... | 29.329268 | 124 | 0.571102 | [
"MIT"
] | theGusPassos/Broken-Delivery-Service | Assets/Scripts/Physics/Character.cs | 4,812 | C# |
using System;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Text;
namespace Rosie.SmartThings
{
public class SmartThingsUpdateListener
{
SmartThingsApi api;
public SmartTh... | 27.277778 | 108 | 0.658746 | [
"Apache-2.0"
] | Clancey/Rosie | src/SmartThings/Rosie.SmartThings/SmartThingsUpdateListener.cs | 4,421 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using ProtoBuf;
namespace PlusServer.Data
{
[ProtoContract]
public class GameUser
{
[ProtoMember(1)]
public int UserId { get; set; }
[ProtoMember(2)]
public string NickName { get; set; }
... | 18.111111 | 45 | 0.595092 | [
"MIT"
] | jessegame/plusgame | PlusServer/Data/GameUser.cs | 328 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SistemaVentas.Datos;
namespace SistemaVentas.Presentacion.REPORTES
{
public partial class MenuReportes : Form
{
p... | 53.701847 | 375 | 0.663342 | [
"MIT"
] | pedromaironi/Pedroveloper | SistemaVentas/Presentacion/REPORTES/MenuReportes.cs | 20,373 | C# |
namespace FortniteReplayAnalyzer.ExternalApis
{
public class S3Response
{
public bool Success { get; internal set; }
public string Guid { get; internal set; }
}
} | 23.875 | 50 | 0.65445 | [
"MIT"
] | flyrev/Fortnite-Replay-Analyzer | app/ExternalApis/S3Response.cs | 193 | C# |
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANT... | 35.45283 | 110 | 0.542044 | [
"Apache-2.0"
] | jdm7dv/Microsoft-Biology-Foundation | archive/Changesets/beta/V1/MBF/MBF.Test/LongestIncreasingSubsequenceTest.cs | 11,276 | C# |
/*
* 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://aws.amazon.com/apache2.0
*
* or in the "li... | 30.645038 | 108 | 0.537053 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/TrialComponentSummary.cs | 8,029 | C# |
using EarTrumpet.UI.Helpers;
using EarTrumpet.UI.ViewModels;
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Windows.Input;
namespace EarTrumpet.Actions.ViewModel
{
public class ImportExportPageViewModel : SettingsPageViewModel
{
public ICommand Imp... | 29.6 | 112 | 0.501931 | [
"MIT"
] | D-Arora/EarTrumpet | EarTrumpet/Addons/EarTrumpet.Actions/ViewModel/ImportExportPageViewModel.cs | 2,005 | C# |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Reflection;
namespace wa.Orm.Pg.Reflection
{
public class PropertyDescriber
{
public PropertyInfo Property { get; set; }
public string DbName { get; set; }
public bool IsKey { ... | 38.413793 | 102 | 0.653501 | [
"MIT"
] | wootapa/wa-pg-orm | wa.Orm.Pg/Reflection/PropertyDescriber.cs | 1,116 | C# |
using Blazorify.Utilities.Styling.Internals;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Blazorify.Utilities.Styling
{
/// <summary>
/// Represents a list of css classes. The final result is obtainable with the ToString call.
/... | 38.055556 | 174 | 0.534153 | [
"MIT"
] | faddiv/CommonLibraries | CommonLibraries.Core.Web/CommonLibraries.Core.Web/Styling/CssClassList.cs | 12,674 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Moq;
using Xunit;
namespace Mi... | 36.179775 | 135 | 0.617391 | [
"Apache-2.0"
] | devlead/aspnetcore-tooling | src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/RazorLSPOptionsMonitorTest.cs | 3,222 | C# |
using Voxels.Networking.Clientside;
using ZeroFormatter;
namespace Voxels.Networking {
public class S_UnloadChunkMessageHandler : BaseServerMessageHandler {
public override ServerPacketID CommandId {
get {
return ServerPacketID.ChunkUnload;
}
}
public override void ProcessMessage(byte[] rawCommand)... | 25.26087 | 87 | 0.762478 | [
"MIT"
] | TxN/VoxelLand | Assets/Scripts/Networking/ServerMessages/MessageHandlers/S_UnloadChunkMessageHandler.cs | 581 | C# |
using Granikos.SMTPSimulator.Core;
using Xunit;
namespace SMTPSimulatorTest
{
public class ValidationHelperTest
{
[Theory]
[InlineData("a.a")]
[InlineData("a.a0")]
[InlineData("a-a.aa")]
[InlineData("a-0.b-a")]
[InlineData("a-b-c.d")]
[Inlin... | 31.414286 | 71 | 0.515689 | [
"MIT"
] | Granikos/SMTPSimulator | Granikos.SMTPSimulator.Test/ValidationHelperTest.cs | 2,201 | C# |
using AVDump3Lib.Information.InfoProvider;
using AVDump3Lib.Information.MetaInfo.Core;
using AVDump3Lib.Processing.BlockConsumers.Matroska;
using AVDump3Lib.Reporting.Core;
using System.Xml.Linq;
namespace AVDump3Lib.Reporting.Reports;
public class MatroskaReport : XmlReport {
protected override XDocument Report { ... | 25.039216 | 126 | 0.665623 | [
"MIT"
] | acidburn0zzz/AVDump3 | AVDump3Lib/Reporting/Reports/MatroskaReport.cs | 1,279 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using WinRT.Interop;
namespace WinRT
{
public interface IWinRTObject : IDynamicInterfaceCastable
{
bool IDynamicInterfaceCastable.IsInterfaceImplemented(RuntimeTypeHandle interface... | 42.201117 | 173 | 0.558247 | [
"MIT"
] | avadim777/CsWinRT | src/WinRT.Runtime/IWinRTObject.net5.cs | 7,554 | C# |
/*
* Copyright 2010-2014 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://aws.amazon.com/apache2.0
*
* or in the "l... | 40.006944 | 173 | 0.630099 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/SimpleEmail/Generated/Model/Internal/MarshallTransformations/CreateConfigurationSetTrackingOptionsResponseUnmarshaller.cs | 5,761 | C# |
/*
* 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://aws.amazon.com/apache2.0
*
* or in the "li... | 39.587838 | 181 | 0.59447 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/IdentityManagement/Generated/Model/Internal/MarshallTransformations/DetachUserPolicyResponseUnmarshaller.cs | 5,859 | C# |
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Interaction;
using Melanchall.DryWetMidi.Tests.Utilities;
using Melanchall.DryWetMidi.Tools;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Melanchall.DryWetMidi.Tests.Tools
{
[TestFixture]
publi... | 37.367442 | 172 | 0.530371 | [
"MIT"
] | valimaties/drywetmidi | DryWetMidi.Tests/Tools/Resizer/ResizerTests.Resize.cs | 16,070 | C# |
using Byn.Awrtc.Base;
namespace Byn.Awrtc.Browser
{
public class BrowserWebRtcCall : AWebRtcCall
{
private NetworkConfig mConfig;
public BrowserWebRtcCall(NetworkConfig config) :
base(config)
{
mConfig = config;
Initialize(CreateNetwork());
... | 26.341463 | 81 | 0.524074 | [
"MIT"
] | AwuChen/1am | 1am_Unity/Assets/WebRtcVideoChat/scripts/browser/BrowserWebRtcCall.cs | 1,082 | C# |
/*
* Lab 4
* Bailey Gann
* 4/21/2022
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BaileyGann.AdventureGame.Memory
{
public interface ICharacterRoster
{
string Add ( Character character );
string Delete ( int... | 20.26087 | 54 | 0.658798 | [
"MIT"
] | Bailey-Gann/itse1430 | labs/Lab3/BaileyGann.AdventureGame/BaileyGann.AdventureGame/Memory/ICharacterRoster.cs | 468 | C# |
// SF API version v41.0
// Custom fields included: False
// Relationship objects included: True
using System;
using NetCoreForce.Client.Models;
using NetCoreForce.Client.Attributes;
using Newtonsoft.Json;
namespace NetCoreForce.Models
{
///<summary>
/// Accepted Event Relation
///<para>SObject Name: AcceptedEventR... | 27.561404 | 55 | 0.65139 | [
"MIT"
] | keylightberlin/NetCoreForce | src/NetCoreForce.Models/SfAcceptedEventRelation.cs | 4,713 | C# |
using GitVersion.Common;
using GitVersion.Extensions;
using GitVersion.Logging;
namespace GitVersion;
internal class MergeBaseFinder
{
private readonly ILog log;
private readonly Dictionary<Tuple<IBranch, IBranch>, ICommit> mergeBaseCache = new();
private readonly IGitRepository repository;
private re... | 33.08871 | 104 | 0.597368 | [
"MIT"
] | bitbonk/GitVersion | src/GitVersion.Core/Core/MergeBaseFinder.cs | 4,103 | C# |
namespace TeamTaskboard.Web.ViewModels.Account
{
using System.ComponentModel.DataAnnotations;
public class ResetPasswordViewModel
{
[Required]
[EmailAddress]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength(100, ErrorMess... | 32.04 | 110 | 0.62422 | [
"MIT"
] | lostm1nd/TeamTaskboard | Source/TeamTaskboard.Web/ViewModels/Account/ResetPasswordViewModel.cs | 803 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Devices
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class MediaDeviceControl
{
#if __ANDROID__ || __IOS__ || NET461 ... | 38.039216 | 157 | 0.745876 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Devices/MediaDeviceControl.cs | 1,940 | C# |
using Avalonia;
using Avalonia.Controls.Metadata;
using Avalonia.Controls.Shapes;
using Avalonia.Media;
using NodeEditor.Model;
namespace NodeEditor.Controls;
[PseudoClasses(":selected")]
public class Connector : Shape
{
public static readonly StyledProperty<Point> StartPointProperty =
AvaloniaProperty.R... | 27.974684 | 89 | 0.634842 | [
"MIT"
] | janbiehl/NodeEditor | src/NodeEditorAvalonia/Controls/Connector.cs | 2,212 | C# |
// This is a generated file created by Glue. To change this file, edit the camera settings in Glue.
// To access the camera settings, push the camera icon.
using Camera = FlatRedBall.Camera;
namespace Dodgeball
{
public class CameraSetupData
{
public float Scale { get; se... | 52.643939 | 329 | 0.596201 | [
"MIT"
] | vchelaru/Dodgeball | Dodgeball/Dodgeball/Setup/CameraSetup.cs | 6,949 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.C... | 51.075949 | 182 | 0.686493 | [
"MIT"
] | Perksey/terrafx.interop.windows | sources/Interop/Windows/um/d3d10/ID3D10RenderTargetView.cs | 4,037 | C# |
namespace Template
{
using System;
public abstract class Bread
{
public abstract void MixIngredients();
public abstract void Bake();
public virtual void Slice()
{
Console.WriteLine("Slicing the " + GetType().Name + " bread!");
}
// Template me... | 18.04 | 75 | 0.490022 | [
"MIT"
] | stanislavstoyanov99/SoftUni-Software-Engineering | DB-with-C#/Labs-And-Homeworks/Entity Framework Core/13. Design Patterns - Exercise/Template/Bread.cs | 453 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using error = Microsoft.Build.BuildEngine.Shared.ErrorUtilities;
namespace Microsoft.Build.BuildEngine
{
/// <summary>
/// Re... | 39.381503 | 158 | 0.569353 | [
"MIT"
] | 0xced/msbuild | src/Deprecated/Engine/Engine/ToolsetRegistryReader.cs | 6,813 | C# |
using System;
using System.Collections.Generic;
namespace T3.SimpleCalculator
{
internal class Program
{
static void Main(string[] args)
{
Stack<string> stack = new Stack<string>();
}
}
}
| 15.933333 | 54 | 0.589958 | [
"MIT"
] | Tencho0/SoftuniEducation | C# Advanced/advanced-jan22/StacksandQueues-Lab/T3.SimpleCalculator/Program.cs | 241 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using fyiReporting.RDL;
using System.Drawing;
using System.ComponentModel;
using System.Xml;
namespace fyiReporting.CRI
{
public class BarCodeEAN8 : ICustomReportItem
{
static public readonly float OptimalHeight = 35.91f; // O... | 29.627219 | 110 | 0.526463 | [
"Apache-2.0"
] | Enzogord/My-FyiReporting | RdlCri/BarCodeEAN8.cs | 5,009 | C# |
namespace Lab_10
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name=... | 43.100478 | 136 | 0.574489 | [
"MIT"
] | GoonerMAK/SWE_4202_OOC-I | Lab_10/Lab 10/Form1.Designer.cs | 9,010 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
/// <summary>
/// OapiUserListbypageResponse.
/// </summary>
public class OapiUserListbypageResponse : DingTalkResponse
{
/// <summary>
/// errcode
... | 23.61326 | 62 | 0.452737 | [
"MIT"
] | lee890720/YiShaAdmin | YiSha.Util/YsSha.Dingtalk/DingTalk/Response/OapiUserListbypageResponse.cs | 4,274 | C# |
using LiteDB;
using Repo2.Core.ns11.Exceptions;
using Repo2.SDK.WPF45.ChangeNotification;
using Repo2.SDK.WPF45.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace Repo2.SDK.WPF45.Databases
{
public abstract... | 32.512195 | 125 | 0.517879 | [
"MIT"
] | peterson1/Repo2 | Repo2.SDK.WPF45/Databases/LocalRepoBase_Write.cs | 4,033 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Stratis.FederatedPeg.Features.FederationGateway.Interfaces;
using Stratis.FederatedPeg.Features.FederationGateway.Models;
using Stratis.FederatedPeg.Features.FederationGateway... | 45.019737 | 179 | 0.633348 | [
"MIT"
] | rowandh/FederatedSidechains | src/Stratis.FederatedPeg.Features.FederationGateway/TargetChain/MaturedBlocksSyncManager.cs | 6,845 | C# |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Rill.Core;
using Rill.Stores.EfCore.Serialization;
namespace Rill.Stores.EfCore
{
internal class RillEventEntity
{
internal Guid Id { get; }
... | 35.539007 | 125 | 0.538815 | [
"MIT"
] | danielwertheim/Rill | src/main/Rill.Stores.EfCore/RillEventEntity.cs | 5,013 | C# |
using System;
using ComputerAssistedRoleplay.Model.Weapons.Affliction;
namespace ComputerAssistedRoleplay.Model.Character.StatusEffect
{
class Bleed : IStatusEffect
{
private CauseBleed affliction;
public Bleed(CauseBleed affliction)
{
this.affliction = affliction;
... | 20.481481 | 63 | 0.616637 | [
"MIT"
] | ghosta0815/ComputerAssistedRoleplay | ComputerAssistedRoleplay/Model/Character/StatusEffect/Bleed.cs | 555 | C# |
using System;
using System.IO;
using System.Web;
using Ramone.IO;
using Ramone.Utility.ObjectSerialization;
using System.Text;
namespace Ramone.Utility
{
public class FormUrlEncodingPropertyVisitor : IPropertyVisitor
{
protected TextWriter Writer;
protected Encoding Encoding;
protected ... | 21.385965 | 148 | 0.641509 | [
"MIT"
] | ArvoX/Ramone | Ramone/Utility/FormUrlEncodingPropertyVisitor.cs | 1,221 | C# |
using System;
using System.Configuration;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace WebJobs
{
class Program
{
// Please set the following connection strings in app.config for this WebJob to run:
// AzureWebJobsDashboard and AzureWebJobsStorage
... | 32.757576 | 95 | 0.635523 | [
"MIT"
] | NickSchweitzer/SumpPumpMonitor | WebJobs/Program.cs | 1,083 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-gen... | 56.481481 | 333 | 0.637705 | [
"Apache-2.0"
] | Evgeniy347/NetHook | NetHook.MSTest/GenerateSourceCode/TestArgsReturnHook.cs | 3,184 | C# |
using System;
using Cron.Interface;
using Serilog;
namespace Cron.CLI.Logging
{
public class CronLogger: ICronLogger
{
private readonly ILogger _logger;
public CronLogger(ILogger logger)
{
_logger = logger;
}
public void Debug(string message)
{
... | 20.06 | 52 | 0.516451 | [
"MIT"
] | cronfoundation/cronium-cli | Cron.CLI/Logging/CronLogger.cs | 1,005 | C# |
using ClipperLib;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Xml.Serialization;
using Polygons = System.Collections.Generic.List<System.Collections.Generic.List<ClipperLib.IntPoint>>... | 38.345274 | 227 | 0.447854 | [
"MIT"
] | fape/GerberTools | GerberLibrary/Core/GerberPanel.cs | 88,848 | C# |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.MSHTMLApi
{
///<summary>
/// DispatchInterface HTMLOptionButtonElemen... | 33.966738 | 184 | 0.72022 | [
"MIT"
] | Engineerumair/NetOffice | Source/MSHTML/DispatchInterfaces/HTMLOptionButtonElementEvents2.cs | 31,657 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Numerics;
using System.Linq;
using Atma.Math.Swizzle;
// ReSharper disable InconsistentNaming
namespace Atma.Math
{
/// <summ... | 27.368421 | 90 | 0.636538 | [
"MIT"
] | xposure/Atma.Math | source/Atma/Math/Mat2x2/double2x2.glm.cs | 1,040 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using ZYSocket;
using ZYSocket.Client;
using ZYSocket.FiberStream;
using ZYSocket.FiberStream.Synchronization;
using ZYSocket.Share;
namespace TestClient
{
class Program
{
static SocketClient client... | 25.044335 | 108 | 0.350708 | [
"Apache-2.0"
] | luyikk/ZYSOCKET-V | ZYSocketFrame/MultithreadClient/Program.cs | 5,086 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 27.290323 | 100 | 0.673759 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20200801/Outputs/VirtualHubRouteTableResponse.cs | 846 | C# |
namespace Kgb.ChessApp.Models
{
public enum CellType
{
White,
Black
}
}
| 11.222222 | 30 | 0.534653 | [
"MIT"
] | KostyaBaklan/Chess-KGB | Chess/App/Models/CellType.cs | 103 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 41.418301 | 129 | 0.757456 | [
"BSD-3-Clause"
] | x-xing/Quantlib-SWIG | CSharp/csharp/SequenceStatistics.cs | 6,337 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Dex.Cap.OnceExecutor
{
public abstract class BaseOnceExecutor<TContext, TResult> : IOnceExecutor<TContext, TResult>
{
protected abstract TContext Context { get; }
public Task<TResult?> Execute(Guid idempotentKey,
... | 41.35 | 171 | 0.646917 | [
"MIT"
] | dex-it/dex-common | src/Dex.Cap/Dex.Cap.OnceExecutor/BaseOnceExecutor.cs | 1,654 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.