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
// /* // Copyright 2008-2011 Alex Robson // // 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 // // Unless required by applicable law o...
32.619048
93
0.69781
[ "Apache-2.0" ]
code-attic/Symbiote
src/Symbiote.Core/DI/ISupplyPlugin.cs
1,372
C#
using System; namespace RICADO.RabbitMQ { internal struct RedeliveredMessage { public Guid MessageID; public DateTime FirstTimestamp; public DateTime LastTimestamp; public int RedeliveredCount; } }
19.692308
40
0.644531
[ "MIT" ]
ricado-group/dotnet-rabbitmq
RICADO.RabbitMQ/RedeliveredMessage.cs
258
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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:...
47.036697
148
0.602984
[ "ECL-2.0", "Apache-2.0" ]
soelske/mbunit-v3
src/Gallio/Gallio/Framework/Pattern/ITestBuilder.cs
10,254
C#
using System; using System.Collections.Generic; using System.Text; namespace Hanabi.Flow.Model { /// <summary> /// 通用分页信息类 /// </summary> public class PageModel<T> { /// <summary> /// 当前页标 /// </summary> public int page { get; set; } = 1; /// <summary> ...
20.828571
47
0.444444
[ "MIT" ]
GadHao/Hanabi.Flow.API
Hanabi.Flow.Model/PageModel.cs
783
C#
// Licensed to the Mixcore Foundation under one or more agreements. // The Mixcore Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.AspNet.OData; using Microsoft.AspNet.OData.Query; using Microsoft.AspNetCore.Authorization; u...
36.75
138
0.613776
[ "MIT" ]
habita73/mix.core
src/Mix.Cms.Api/Controllers/v1/OData/AttributeSetDatas/ApiODataAttributeSetDataReadController.cs
5,882
C#
using UnityEngine; using UnityEditor.Presets; // // DISCLAIMER // //This is really messy but working code, feel free to upgrade and modify //Made by Adrien Houdoux with the help of Sebastian Lague and libnoise.net. //I'm not an experienced developer so don't throw your keyboard out of the window if some code sucks, ...
32.895954
178
0.644351
[ "MIT" ]
TheSlippyPenguin/Procedural-Planets-in-Unity
Procedural Planets/Assets/RNG.cs
5,693
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PlanetWars.Shared; namespace CSharpAgent { public class Agent : AgentBase { public Agent(string name, string endpoint) : base(name, endpoint){} /// <summary> /// D...
35.75
137
0.569231
[ "BSD-3-Clause" ]
charij/PlanetWars
Agent-EnemyHammer/Agent.cs
1,432
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FEA3D.elem; namespace FEA3D.material { public class Material { // StressContainer state (plstrain/plstress/axisym/threed) protected String stressState; // Elastic...
26.821429
132
0.568575
[ "Apache-2.0" ]
ravi-2912/3D-Finite-Element-Analysis
3D Finite Element Analysis/material/Material.cs
2,255
C#
/* Copyright 2010-present MongoDB Inc. * * 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 * * Unless required by applicable law or agreed to in wr...
29.045455
101
0.683099
[ "Apache-2.0" ]
Anarh2404/mongo-csharp-driver
tests/MongoDB.Bson.Tests/Serialization/Conventions/DelegateClassMapConventionTests.cs
1,280
C#
using System; using System.Xml.Serialization; namespace EZOper.NetSiteUtilities.AopApi { /// <summary> /// AlipayTradeBatchRefundQueryModel Data Structure. /// </summary> [Serializable] public class AlipayTradeBatchRefundQueryModel : AopObject { /// <summary> /// 商户请求批量退款时传递的批次号...
25.12
61
0.611465
[ "MIT" ]
erikzhouxin/CSharpSolution
NetSiteUtilities/AopApi/Domain/AlipayTradeBatchRefundQueryModel.cs
712
C#
using System; using System.Runtime.InteropServices; namespace CoreAudioAPI { /// <summary> /// Provides access to the control value of a device-specific hardware control. /// </summary> /// <remarks> /// MSDN Reference: http://msdn.microsoft.com/en-us/library/dd371121.aspx /// </remarks> p...
48.354839
168
0.646097
[ "MIT" ]
vuplea/CoreAudioAPI
Interfaces/IDeviceSpecificProperty.cs
3,000
C#
// <auto-generated /> using DatingApp.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DatingApp.Data.Migrations { [DbContext(typeof(DataContext))] partial class DataContextModelSnapshot : Mode...
28.8
69
0.575397
[ "MIT" ]
Yaret3000/DatingApp
DatingApp/Data/Migrations/DataContextModelSnapshot.cs
1,010
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...
37.295775
141
0.592145
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/Internal/MarshallTransformations/UpdateWebhookRequestMarshaller.cs
5,296
C#
/* * Copyright (C) Sony Computer Entertainment America LLC. * All Rights Reserved. */ using System; using System.ComponentModel.Composition; using System.Reflection; using System.Xml.Schema; using Sce.Atf; using Sce.Atf.Dom; using Sce.Sled.Shared; using Sce.Sled.Shared.Dom; namespace Sce.Sled.Lua.Dom { [Ex...
44.506329
142
0.665529
[ "Apache-2.0" ]
MasterScott/SLED
tool/SledLuaLanguagePlugin/Dom/SledLuaDomLoader.cs
7,032
C#
// <auto-generated /> using System; using Aguacongas.IdentityServer.EntityFramework.Store; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.V...
31.818792
113
0.48186
[ "Apache-2.0" ]
aguacongas/TheIdServer
src/IdentityServer/Migrations/Aguacongas.TheIdServer.Migrations.Oracle/Migrations/OperationalDb/20220114083050_Ciba.Designer.cs
9,484
C#
using System; namespace Joke.Joke.Tree { public interface IVisitor { void Visit(IType type) => throw new NotImplementedException(); void Visit(IntersectionType type); void Visit(UnionType type); void Visit(TupleType type); void Visit(NominalType type); ...
26.166667
83
0.611465
[ "MIT" ]
knutjelitto/Joke
Joke.Joke/Tree/Visiting/IVisitor.cs
630
C#
using System; using CUE4Parse.UE4.Assets.Readers; using CUE4Parse.UE4.Objects.Core.i18N; using Newtonsoft.Json; namespace CUE4Parse.UE4.Assets.Objects { [JsonConverter(typeof(TextPropertyConverter))] public class TextProperty : FPropertyTagType<FText> { public TextProperty(FAssetArchive Ar, ReadTy...
31.029412
132
0.645498
[ "MIT" ]
Mrzzbelladonna/ProSwapper
CUE4Parse/CUE4Parse/UE4/Assets/Objects/Properties/TextProperty.cs
1,057
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.Testing; using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Azure.AI.TextAnalytics.Samples { [LiveOnly] public partial cl...
41.141176
156
0.565342
[ "MIT" ]
LijuanZ/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatch.cs
3,499
C#
namespace Book.ViewModels.Samples.Chapter17.Sample02 { using System; using ReactiveUI; public sealed class TopicViewModel { private readonly string name; private readonly Func<IRoutableViewModel> createViewModel; public TopicViewModel( string name, Func<...
25.652174
80
0.644068
[ "MIT" ]
AlexejLiebenthal/YouIandReactiveUI
ViewModels/Samples/Chapter 17/Sample 02/TopicViewModel.cs
590
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /*============================================================ ** ** ** ** ** ** Purpose: For writing text to streams in a particular ** encoding. ** ** =============...
43.583527
163
0.571482
[ "MIT" ]
CyberSys/coreclr-mono
src/mscorlib/src/System/IO/StreamWriter.cs
37,569
C#
#if !UNITY_EDITOR && UNITY_WEBGL using System; using System.Collections.Generic; using System.Runtime.InteropServices; using AOT; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Sweet.Unity.Amazon.JavaScript { public sealed class JavaScriptSQSClient : IAmazonSQS { private static r...
45.446154
177
0.699729
[ "MIT" ]
SweetDigitalEntertainment/aws-sdk
src/SQS/JavaScriptSQSClient.cs
5,908
C#
using System; using System.Collections.Generic; namespace OceanChip.Queue.Protocols.Brokers { [Serializable] public class BrokerConsumerListInfo { public BrokerInfo BrokerInfo { get; set; } public IList<ConsumerInfo> ConsumerList { get; set; } public BrokerConsumerListInfo() ...
23.529412
61
0.65
[ "Apache-2.0" ]
OceanChip/OQueue
OQueue/Protocols/NameServers/BrokerConsumerListInfo.cs
402
C#
using System; namespace CHD.Common.Breaker { public sealed class Breaker<TException> : IBreaker where TException : Exception { private volatile bool _shouldBreak = false; public string BreakMessage { get; private set; } p...
22.354839
107
0.422078
[ "MIT" ]
lsoft/CHD
CHD.Common/Breaker/Breaker.cs
1,388
C#
using System; using System.Diagnostics.Contracts; using System.Security; using System.Threading; namespace Helios.Concurrency { /// <summary> /// An instanced, dedicated thread pool. /// </summary> internal class DedicatedThreadPool : IDisposable { public DedicatedThreadPool(DedicatedThrea...
35.630631
175
0.495954
[ "Apache-2.0" ]
rogeralsing/DedicatedThreadPool
src/core/Helios.DedicatedThreadPool/ThreadPool.cs
7,912
C#
using System.IO; using System.Numerics; using ProjEuler; using ProjEuler.Resources; namespace ProjectEuler.adventOfCode._2018 { public class Day01 : IProblem { public Day01() { } private string MyFunc(StreamReader sr) { var result = new BigInte...
20.666667
88
0.531017
[ "MIT" ]
davemfletcher/ProjectEuler
ProjectEuler/adventOfCode/2018/Day01.cs
808
C#
//----------------------------------------------------------------------- // <copyright file="VersionInformationWindow.xaml.cs" company="dc1394's software"> // Copyright © 2014-2018 @dc1394 All Rights Reserved. // </copyright> //----------------------------------------------------------------------- namespace ASB2...
29.430769
119
0.533194
[ "Unlicense" ]
dc1394/ASB2
ASB2/VersionInformationWindow.xaml.cs
2,156
C#
using System.Reflection; using System.Runtime.InteropServices; // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The followin...
44.6
84
0.775785
[ "Apache-2.0" ]
ArtemGontar/aws-logging-dotnet
src/AWS.Logger.Core/Properties/AssemblyInfo.cs
448
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...
34.083333
300
0.599244
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Cdn/Latest/GetRule.cs
4,505
C#
using LinqToDB; using SchulIT.SchildExport.Data; using SchulIT.SchildExport.Models; using System.Collections.Generic; using System.Linq; namespace SchulIT.SchildExport.Repository { class StudyGroupRepository { private const string GradeStudyGroupMembershipType = "PUK"; private GradeRefReposit...
39.504505
181
0.485405
[ "MIT" ]
SchulIT/schildexport
SchildExport/Repository/StudyGroupRepository.cs
8,774
C#
using Nager.Country.Currencies; namespace Nager.Country.CountryInfos { /// <summary> /// French Polynesia /// </summary> public class FrenchPolynesiaCountryInfo : ICountryInfo { ///<inheritdoc/> public string CommonName => "French Polynesia"; ///<inheritdoc/> public ...
28.692308
70
0.565684
[ "MIT" ]
Tri125/Nager.Country
src/Nager.Country/CountryInfos/FrenchPolynesiaCountryInfo.cs
1,119
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace invertFrase { class Program { static void Main(string[] args) { /*Faça um programa que receba uma frase digitada pelo usuário e exiba a mesma frase com cada...
59.178571
249
0.514786
[ "MIT" ]
danielspositocoelho/DS-EtecAlbertEinstein-Programacao_e_Algoritmos
Vetores/invertFrase/Program.cs
3,334
C#
using System.Diagnostics; using System.Linq; using Feedpipes.Rss20; using Feedpipes.Tests.SampleData; using Feedpipes.Utils.Xml; using Xunit; namespace Feedpipes.Tests { public class DebuggerBreakTests { [Fact] public void DebugInvalidXml() { var sampleFeeds =...
32.957447
108
0.510652
[ "MIT" ]
tompazourek/Feedpipes
tests/Feedpipes.Tests/DebuggerBreakTests.cs
3,007
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace INZFS.MVC.Services.FileUpload { public interface IFileUploadService { public string ModifyFileName(string originalFileName); public Tas...
33.157895
119
0.763492
[ "MIT" ]
BEIS-Digital-Services/INZFS
INZFS.MVC/Services/FileUpload/IFileUploadService.cs
632
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Collections.Generic; using System.Text; ...
37.482143
144
0.495474
[ "BSD-3-Clause" ]
0xCM/z0
src/root/src/text/x/FormatList.cs
2,099
C#
namespace Presentation.ViewModel { public interface IWindow { void Show(); } }
12.5
33
0.6
[ "MIT" ]
Tomek742/ProgTech
LibraryTask2/Presentation/ViewModel/IWindow.cs
102
C#
using MediatR; using NoDaysOffApp.Data; using NoDaysOffApp.Features.Core; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; namespace NoDaysOffApp.Features.Profiles { public class GetProfileByIdQuery { public class Request : BaseR...
27.020833
89
0.564379
[ "MIT" ]
QuinntyneBrown/no-days-off-app
Features/Profiles/GetProfileByIdQuery.cs
1,297
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...
38.72956
144
0.599221
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/SecurityInsights/BookmarkRelation.cs
6,158
C#
// This file is part of the re-linq project (relinq.codeplex.com) // Copyright (C) 2005-2009 rubicon informationstechnologie gmbh, www.rubicon.eu // // re-linq is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License as published by the // Free Software F...
42.504673
150
0.704485
[ "MIT" ]
rajcybage/BrightstarDB
src/portable/BrightstarDB.Portable/relinq/RelinqCore/Clauses/Ordering.cs
4,548
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chain { class App { List<IMiddleware> middlewares = new List<IMiddleware>(); public void Use(IMiddleware middleware) { middlewares.Add(middleware);...
22.40625
64
0.541144
[ "MIT" ]
isbdnt/csharp-design-patterns
Chain/App.cs
719
C#
namespace RDotNet.Internals { /// <summary> /// Type of R's working. /// </summary> public enum BusyType { /// <summary> /// Terminated states of business. /// </summary> None = 0, /// <summary> /// Embarks on an extended computation /// </sum...
20.333333
46
0.494536
[ "MIT" ]
David-McCarty/rdotnet
R.NET/Internals/BusyType.cs
366
C#
namespace Restaurant { public class Beverage : Product { public Beverage(string name, decimal price, double milliliters) :base(name, price) { Milliliters = milliliters; } public double Milliliters { get; set; } } }
20.357143
71
0.568421
[ "MIT" ]
StasiS-web/SoftuniCourse
C# OOP/Inheritance - Exercise/Restaurant/Beverage.cs
287
C#
using System.IO; using Xunit; using YellowCounter.FileSystemState; public class FileSystemStateSerializableTests { [Fact] public void RoundTripDoesNotAffectOriginalTest() { string currentDir = Utility.GetRandomDirectory(); string fileName = Path.GetRandomFileName() + ".txt"; string...
27.302083
86
0.602823
[ "MIT" ]
MisinformedDNA/YellowCounter.FileSystemState
YellowCounter.FileSystemState.Tests/SerializableTests.cs
2,623
C#
using Proxem.NumNet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Proxem.Word2Vec.Test { public class TestSortingNeighbors: IClassFixture<Shared> { private Word2Vec _w2v; // random matrix of shape (10, 4) private readonly Array<f...
37.195402
121
0.519056
[ "Apache-2.0" ]
Proxem/Word2Vec
Proxem.Word2Vec.Test/TestSortingNeighbors.cs
9,710
C#
using DataClassHierarchy; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Microsoft.Extensions.Logging; using System.Threading.Tasks; using ServersWithLayers; namespace Compiler.Tests { [TestClass] ...
23.035714
65
0.538501
[ "MIT" ]
CSProjectsAvatar/SimCopIA
Gos/Compiler/Tests/ReturnTests.cs
1,937
C#
using System; using System.Collections.Generic; using System.IO; using Amazon.IdentityManagement.Model; using Calamari.Commands.Support; using Calamari.Common.Commands; using Calamari.Common.Features.Packages; using Calamari.Common.Features.Packages.NuGet; using Calamari.Common.Plumbing.Variables; using Calamari.Integ...
36.55814
168
0.638359
[ "Apache-2.0" ]
OctopusDeploy/Calamari
source/Calamari.Tests/Fixtures/Integration/Packages/CombinedPackageExtractorFixture.cs
3,146
C#
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentMo...
40.781646
577
0.536354
[ "MIT" ]
wildbook/LeagueClientApi
Model/CollectionsLcdsChampionDTO.cs
12,887
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.296296
153
0.583673
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsSumRequest.cs
1,960
C#
using System; class MissCat2011 { static void Main() { uint N; uint VoteFor; uint Winner = 0; uint WinnerVotes=0; uint[] cat = new uint[10]; N = uint.Parse(Console.ReadLine()); for (int i = 0; i < N; i++) { VoteFor = uint.Parse(Conso...
23.52381
53
0.275304
[ "MIT" ]
Ico093/TelerikAcademy
C#1/Exams/C#Part1-SampleExam/MissCat2011/MissCat2011.cs
1,484
C#
using System; //library delegate int Sum(int sum); //delegate namespace TutorialCSharp //namespace { class Program //class { static void Main(string[] args) //method special, automatic run program on this Main method and call a statement { Sum plus = new Sum(Plus); Sum m...
23.409091
120
0.503883
[ "MIT" ]
fauzigalih/TutorialCSharp
data/070 Delegate Type.cs
1,030
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using JetBrains.Annotations; #pragma warning disable SA1649 // File name must match first ty...
30.06235
146
0.498165
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/FrontEnd/Script/Util/StructArray.cs
12,536
C#
using NUnit.Framework; using SimpleEventSourcing.Tests; namespace SimpleEventSourcing.EntityFramework.Tests { [TestFixture] public class PersistenceEngineEntityFrameworkTests : PersistenceEngineTests { public PersistenceEngineEntityFrameworkTests() : base(new EntityFrameworkTe...
22.9375
80
0.686649
[ "MIT" ]
warappa/SimpleEventSourcing
SimpleEventSourcing.EntityFramework.Tests/WriteModel/PersistenceEngineEntityFrameworkTests.cs
369
C#
using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Windows.ApplicationModel.Background; using Windows.Storage; using Windows.System.UserProfile; using Unsplasharp.Models; using Tasks.Data; using Unsplasharp; namespace Tasks { public sealed class WallUpdater : IBackgroundTask...
34.593939
112
0.59513
[ "MIT" ]
rootasjey/Hangon
Tasks/WallUpdater.cs
5,710
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.870968
151
0.587419
[ "MIT" ]
Draeniky/Office-IT-Pro-Deployment-Scripts
Office-ProPlus-Deployment/SelfServiceWebDeployment/SelfServiceConfigXmlEditor/Properties/Settings.Designer.cs
1,083
C#
using Alphaleonis.Win32.Vss; using BitShelter.Agent.Controls; using BitShelter.Models; using BitShelter.Models.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitShelter.Agent.Forms { partial class EditSnapshotRuleForm ...
32.83871
97
0.720039
[ "MIT" ]
alexis-/BitShelter
BitShelter.Agent/Forms/EditSnapshotRuleForm.Advanced.cs
2,038
C#
using System.Reflection; using SentinelMission; using HarmonyLib; using KSP.Localization; using UnityEngine; namespace KERBALISM { public class KerbalismSentinel : SentinelModule, IContractObjectiveModule { // ec consumed per-second [KSPField] public double ec_rate = 0.0; // required comms data ...
34.229412
165
0.724867
[ "Unlicense" ]
Bellabong/Kerbalism
src/Kerbalism/Modules/KebalismSentinel.cs
5,652
C#
using System; using System.Net.Http; using System.Threading.Tasks; namespace Discord_UncrateGO_SkinCasesGenerator { /// <summary> /// Handles fetching html data from internet /// </summary> internal static class HtmlFetcher { public static async Task<string> RetrieveFromUrl(string url) ...
28
90
0.527778
[ "MIT" ]
jaihysc/Csgo-CaseDataFetcher
Discord-UncrateGO-SkinCasesGenerator/HtmlFetcher.cs
1,010
C#
// Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; namespace CausalityDbg.Core { static partial class NativeMethods { // HRESULT CLRCreateInstance( ...
32.380952
164
0.720588
[ "Apache-2.0" ]
brian-reichle/CausalityDbg
src/CausalityDbg.Core/Native/Win32/NativeMethods.MsCorEE.cs
680
C#
using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using AgentMulder.ReSharper.Domain.Patterns; using AgentMulder.ReSharper.Domain.Registrations; using AgentMulder.ReSharper.Domain.Utils; using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch; using JetBrains.ReSh...
41.164557
176
0.649139
[ "MIT" ]
ERNICommunity/AgentMulder
src/AgentMulder.Containers.SimpleInjector/Patterns/RegisterAll.cs
3,254
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Sumo.Data { [TestClass] public class SqlReader_Tests { [TestMethod] public void NotFinished() { Assert.Fail($"todo: implement {GetType().FullName}"); } } }
18.666667
65
0.596429
[ "MIT" ]
SumoSoftware/Data
test/Test.Sumo.Data/Core/Readers/SqlReader_Tests.cs
282
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; internal partial class Interop { internal partial class Kernel32 { ...
40.111111
133
0.722992
[ "MIT" ]
Azure-2019/corefx
src/Common/src/CoreLib/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs
722
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace SkbKontur.Cassandra.DistributedTaskQueue.Monitoring.TestService { public static class MonitoringServiceEntryPoint { public static void Main(string[] args) { Host.CreateDefaultBuilder(args) ...
29.0625
89
0.647312
[ "MIT" ]
skbkontur/cassandra-distributed-task-queue
Cassandra.DistributedTaskQueue.Monitoring.TestService/MonitoringServiceEntryPoint.cs
467
C#
/* Copyright (C) 2020 Jean-Camille Tournier (mail@tournierjc.fr) This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore QLCore is free software: you can redistribute it and/or modify it under the terms of the QLCore and QLNet license. You should have received a copy of the license along w...
33.253731
140
0.54234
[ "BSD-3-Clause" ]
OpenDerivatives/QLCore
QLCore/Math/AbcdMathFunction.cs
6,686
C#
using DotNetNuke.Entities.Users; using System.Collections.Generic; using System.Linq; using Vanjaro.Common.Engines.UIEngine.AngularBootstrap; using Vanjaro.Common.Entities.Apps; namespace Vanjaro.UXManager.Extensions.Menu.MemberProfile.Factories { public class AppFactory { private const string ModuleR...
35.92126
251
0.546471
[ "MIT" ]
dowdian/VanjaroPlatform
DesktopModules/Vanjaro/UXManager/Extensions/Menu/MemberProfile/Factories/AppFactory.cs
4,564
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Globalization; using Xunit; namespace System.Globalization.CalendarsTests { // Syste...
38.280702
110
0.529239
[ "MIT" ]
benjamin-bader/corefx
src/System.Globalization.Calendars/tests/TaiwanCalendar/TaiwanCalendarToDateTime.cs
10,910
C#
namespace Win.Tienda { partial class FormMenu { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <para...
54.632075
126
0.664997
[ "MIT" ]
Roxanadubon1/Ventas
Vinyl Store/Win.Tienda/FormMenu.Designer.cs
11,585
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
36.714286
84
0.757198
[ "MIT" ]
michaelbowman1024/OurSchedule
OurSchedule/OurSchedule.Android/Properties/AssemblyInfo.cs
1,288
C#
using System; using System.Numerics; using Windows.UI; using Windows.UI.Composition; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Hosting; using Microsoft.Graphics.Canvas.Effects; namespace Ignite.Features.Views { public sealed partial class EffectsView { pri...
30.295775
105
0.582985
[ "MIT" ]
derekjwilliams/talks
ignite-2016/Ignite.Features/Views/EffectsView.xaml.cs
2,153
C#
using InTheHand.Net; using InTheHand.Net.Bluetooth; using InTheHand.Net.Sockets; using log4net; using System; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace More.Net.Channels.Bluetooth { /// <summary> /// /// </summary> public class BluetoothChannel// : IBlu...
26.823944
96
0.487267
[ "MIT" ]
fallfromgrace/More.Net.Windows.Desktop
More.Net.Windows.Desktop/Channels/Bluetooth/BluetoothChannel.cs
7,620
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: AssemblyTitle("05...
38.081081
84
0.74308
[ "MIT" ]
todorm85/TelerikAcademy
Courses/Programming/Object-Orineted Programming/03.Extensions,Lambda,LINQ/05. Order students/Properties/AssemblyInfo.cs
1,412
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using MlHostSdk.Repository; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Toolbox.Models; usin...
33.491803
144
0.656877
[ "MIT" ]
khooversoft/MlHost
Src/MlHostServer/MlHostCli.Test/Application/ModelFixture.cs
2,045
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 genera...
40.84
138
0.587659
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
srdelsalto/XamarinProject
Xamarin Curse/Listas1/Listas1/Listas1/obj/Debug/netstandard2.0/MainPage.xaml.g.cs
1,026
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.iMote2 { using System; using RT = Microsoft.Zelig.Runtime; using TS = Microsoft.Zelig.Runtime.TypeSystem; public sealed class Storage : RT.Storage { const uint DRAMSize = 2 * ...
30.10687
113
0.393509
[ "MIT" ]
NETMF/llilum
Zelig/Zelig/RunTime/DeviceModels/iMote2/HardwareModel/Storage.cs
7,888
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.138889
153
0.566314
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IApprovalStageRequestBuilder.cs
1,229
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 // //...
36.08
82
0.741685
[ "Apache-2.0" ]
castleproject-deprecated/Castle.Facilities.Wcf-READONLY
src/Castle.Facilities.WcfIntegration/IWcfChannelExtension.cs
902
C#
using DataWF.Data; using DataWF.Module.Counterpart; using System.ComponentModel; using System.Runtime.Serialization; namespace DataWF.Module.Flow { [Table("ddocument_customer", "Document", BlockSize = 400)] public class DocumentCustomer : DBItem, IDocumentDetail { public static readonly DBTable<Do...
30.348624
96
0.576481
[ "MIT" ]
alexandrvslv/datawf
DataWF.Module.Flow/Document/DocumentCustomer.cs
3,310
C#
namespace AzurePipelineRunner.BuildDefinitions { public interface IBuildDefinitionReader { Build GetBuild(string buildYamlPath); } }
20.125
48
0.701863
[ "Apache-2.0" ]
fredrikn/AzurePipelineRunner
AzurePipelineRunner/BuildDefinitions/IBuildDefinitionReader.cs
163
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TenancyContract.Entities { public class Thana { [Key] public int ThanaId { get; set; } public string ThanaName { get; set; } public int DistrictId { get; set; } } }
26.25
51
0.669841
[ "MPL-2.0" ]
4L4M1N/Tenancy_Contract
src/Web/Entities/Thana.cs
315
C#
using MinecraftMappings.Internal.Textures.Block; using MinecraftMappings.Minecraft.Bedrock.Textures.Block; namespace MinecraftMappings.Minecraft.Java.Textures.Block { public class OakLog : JavaBlockTexture { public OakLog() : base("Oak Log") { AddVersion("oak_log") ...
26.9375
61
0.647332
[ "MIT" ]
null511/MinecraftMappings.NET
MinecraftMappings.NET/Minecraft/Java/Textures/Block/OakLog.cs
433
C#
using RequirementsLab.Core.Abstractions; using RequirementsLab.Core.DTO.PoorWords; using RequirementsLab.DAL; using System; using System.Collections.Generic; using System.Text; using System.Linq; using Microsoft.EntityFrameworkCore; using RequirementsLab.Core.Entities; namespace RequirementsLab.Services { public ...
29.68932
93
0.508502
[ "MIT" ]
LTania/Tanstep
RequirementsLab.Services/PoorWordsService.cs
3,115
C#
// Copyright (c) 2020 Ubisoft Entertainment // // 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 // // Unless required by applicable law or ...
39.232877
167
0.552898
[ "Apache-2.0" ]
Cheaterdev/Sharpmake
samples/CSharpImports/common.sharpmake.cs
5,728
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy : Combatant { private Rigidbody2D myBody; private Animator animator; private NpcGroundDetection groundCheck; void Start() { myBody = GetComponent<Rigidbody2D>(); animato...
27.583333
86
0.664653
[ "CC0-1.0" ]
SoloMorris/Combo-System-CGS
ComboSystemSolo/Assets/Scripts/Enemy.cs
995
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; namespace Microsoft.AspNetCore.JsonPatch.Internal; /// <sum...
29.845188
119
0.622179
[ "MIT" ]
3ejki/aspnetcore
src/Features/JsonPatch/src/Internal/PocoAdapter.cs
7,133
C#
using System; using CompoundFileDirectory = Lucene.Net.Store.CompoundFileDirectory; using Directory = Lucene.Net.Store.Directory; namespace Lucene.Net.Codecs.Lucene3x { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distribut...
43.022472
176
0.619222
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net/Codecs/Lucene3x/Lucene3xTermVectorsFormat.cs
3,829
C#
namespace Passwords { using System; public class Program { private static int n; private static char[] relations; private static int k; private static int[] objects; private static int counter; private static bool zeroTaken; public static void ...
29.858586
108
0.356225
[ "MIT" ]
iliangogov/Data-Structures-and-Algorithms
Workshop2016/WorkshopDsa/Passwords/Program.cs
2,958
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using NerdBotCommon.Messengers; using NerdBotCommon.Parsers; using Serilog; namespace NerdBotCommon.Plugin { public abstract class PluginBase : IPlugin { protected IBotServices _services; ...
27.473684
103
0.573436
[ "MIT" ]
jpann/nerdbot-core
NerdBotCore/NerdBotCommon/Plugin/PluginBase.cs
1,512
C#
namespace AppInsightsBot { using System.Collections.Generic; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.Bot.Builder.Dialogs; using Newtonsoft.Json; public static class TelemetryExtensions { public static TraceTelemetry CreateTraceTelemetry(this IDialogContext ct...
38.75
158
0.600679
[ "MIT" ]
ArtemKiyashko/telebotexample
CSharp/core-AppInsights/TelemetryExtensions.cs
2,947
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Xenko.Core; namespace Xenk...
31.452381
114
0.561317
[ "MIT" ]
Aminator/xenko
sources/engine/Xenko.Assets/SpriteFont/CharacterRegion.cs
2,642
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
37.648649
84
0.556353
[ "MIT" ]
aukgit/StoreManament
JustFood/Models/Garbage/AccountBalance.cs
1,393
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.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit; namespace...
37.56962
132
0.612028
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
test/EFCore.Tests/Metadata/NavigationExtensionsTest.cs
5,936
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// <summary> /// KoubeiMerchantKbdeviceDispenserQueryResponse. /// </summary> public class KoubeiMerchantKbdeviceDispenserQueryResponse : AopResponse { ...
26.424242
76
0.579128
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/KoubeiMerchantKbdeviceDispenserQueryResponse.cs
928
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using ICSharpCode.SharpDevelop.Dom.Refactoring; using ICSharpCode.SharpDevelop.Gui; namespace ICSharpCode.Packa...
30.888889
103
0.790168
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Misc/PackageManagement/Project/Src/DocumentLoader.cs
836
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; //This Manager is used to manage each game session that a player has. namespace SA { public class SessionManager : MonoBehaviour { // Start is called before the first frame update ...
24.78
82
0.553672
[ "MIT" ]
jody1999/ClimateChangeGame
Assets/Scripts/Manager/SessionManager.cs
1,241
C#
using AniSharp.Types.Connections; using CSGraphQL.GraphQL; using CSGraphQL.GraphQL.Short; namespace AniSharp.Types.Users { //Fix recursion public class Favourites : GraphQlType { [TypeField] public MediaConnection Anime { get; set; } [TypeField] public MediaConnection Manga { get; set; } [TypeField] public Ch...
30.25
65
0.752066
[ "MIT" ]
MaximumOverflow/AniSharp
AniSharp/Types/Users/Favourites.cs
484
C#
using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Microsoft.Azure.WebJobs.Extensions.SignalRService; using System.Net.Http; using System.Collections.Generic; using Microsoft.Azure.Documents; names...
38.844444
146
0.667048
[ "MIT" ]
robhabraken/sitecore-audit-trail
AuditTrail/AuditTrail.Feature.AuditTrail.AzureFunctions/SignalR/GeneralHub.cs
1,748
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class Enemy : MonoBehaviour { public Transform target; private NavMeshAgent agent; // Start is called before the first frame update void Start() { agent = GetComponent<NavMeshAgen...
18.04
52
0.674058
[ "Unlicense" ]
AceofGrades/Cert4Programming
Artificial-Intelligence/FirstPersonShooter/Assets/Scripts/Enemy.cs
453
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: AssemblyTitle("Ado...
38.428571
84
0.750929
[ "MIT" ]
phillipsj/ado-ff-test
AdoFfTest/AdoFfTest/Properties/AssemblyInfo.cs
1,348
C#
/***************************************************************************** Copyright 2020 Haiping Chen. 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. You may obtain a copy of the License at ...
37.458333
79
0.599555
[ "Apache-2.0" ]
Liang813/TensorFlow.NET
src/TensorFlowNET.Keras/Datasets/KerasDataset.cs
901
C#
using ChatClient.Commands.NavigationCommands; using ChatClient.Enums; using ChatClient.Interfaces.BaseConfiguration; using ChatClient.Interfaces.Factories; using SharedItems.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Win...
30.952381
109
0.75
[ "MIT" ]
TheAlexLight/SignalR_Chat
ChatClient/MVVM/ViewModels/ChatMainViewModels/MainViewModel.cs
1,302
C#
///author:huwei ///date:2018.4.17 using TrueSync; using AStarMachine; namespace PathFinding { class GridNode : AStarNode { public IInt2 gridPos; // Tile XY public GridNode() { gridPos.x = 0; gridPos.y = 0; } public override void R...
18.125
56
0.45977
[ "Apache-2.0" ]
weiou063374/path_finding
Assets/PathFinding/GridNode.cs
437
C#
using System; using System.IO.MemoryMappedFiles; using System.Runtime.InteropServices; namespace EventStore.Core.DataStructures.ProbabilisticFilter.MemoryMappedFileBloomFilter { [StructLayout(LayoutKind.Explicit, Size = Size, Pack = 1)] public struct Header { internal const byte CurrentVersion = 1; internal cons...
30.909091
94
0.711765
[ "Apache-2.0", "CC0-1.0" ]
EventStore/EventStore
src/EventStore.Core/DataStructures/ProbabilisticFilter/MemoryMappedFileBloomFilter/Header.cs
2,040
C#