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
using System; using System.Collections.Generic; using System.Data.SQLite; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chronokeep.Database.SQLite { class Participants { internal static void AddParticipant(Participant person, SQLiteConnection connection) { ...
57.798387
170
0.600298
[ "MIT" ]
grecaun/chronokeep-windows
ChronoKeep/Database/SQLite/Participants.cs
21,503
C#
// Copyright 2017 Justin Long. All rights reserved. // Licensed under the MIT License. namespace TowersWatsonIoC.Syntax { /// <summary> /// Provides the builder syntax for the containers <see cref="IComponentContainerRegisterSyntax{TComponentType}.To(TComponentType)"/> method. /// </summary> /// <rema...
48.1
145
0.726611
[ "MIT" ]
dukk/TowersWatsonIoC
Code/TowersWatsonIoC/Syntax/IComponentContainerRegisterToSyntax.cs
964
C#
using System.Linq; using Microsoft.AspNetCore.Mvc; using HETSAPI.Models; using HETSAPI.ViewModels; using Microsoft.Extensions.Configuration; namespace HETSAPI.Services.Impl { /// <summary> /// Rental Agreeent Rate Service /// </summary> public class RentalAgreementRateService : IRentalAgreementRateSer...
33.876812
124
0.498396
[ "Apache-2.0" ]
rstens/hets
Server/src/HETSAPI/Services.Impl/RentalAgreementRateService.cs
4,677
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Host.Crawler.UI { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { ...
20.956522
65
0.59751
[ "MIT" ]
KIWI-ST/kiwi.server
Laboratory/Host.Crawler.UI/Program.cs
504
C#
using System; namespace SuperGlue.Web.ModelBinding.ValueConverters { public class DateTimeValueConverter : ParseValueConverter<DateTime> { protected override DateTime Parse(string stringValue, out bool success) { DateTime parsed; success = DateTime.TryParse(stringValue, ...
26.928571
79
0.660477
[ "MIT" ]
MattiasJakobsson/Jajo.Web
src/SuperGlue.Web.ModelBinding/ValueConverters/DateTimeValueConverter.cs
377
C#
// * // * // * This file was generated using NASB_Parser_to_xNode by megalon2d // * https://github.com/megalon/NASB_Parser_to_xNode // * // * using NASB_Parser.FloatSources; using System; using System.Collections.Generic; using System.Text; using UnityEngine; using UnityEditor; using XNode; using XNode...
53.804598
129
0.730747
[ "MIT" ]
megalon/nasb-moveset-editor
Scripts/Nodes/StateActions/SALaunchGrabbedCustomNode.cs
37,448
C#
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using Cassette.BundleProcessing; using Cassette.IO; using Cassette.Spriting.Spritastic; using Cassette.Stylesheets; namespace Cassette.Spriting { public class SpriteImages : IBundleProcessor<Stylesheet...
34.238095
103
0.604312
[ "MIT" ]
DanielWare/cassette
src/Cassette.Spriting/SpriteImages.cs
2,876
C#
using System; using System.Collections.Generic; using Physics.Interfaces; using Physics.Systems; namespace Physics { public class Universe { public SortedList<int, IEntity> entities = new SortedList<int, IEntity>(); private Random _rand; public Infrastructure inf; public Univer...
23.324324
82
0.551564
[ "MIT" ]
jr101dallas/roguelike-tutorial
physics/Universe.cs
863
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("mo...
39.472222
84
0.755806
[ "MIT" ]
eugsterli/BIM_IOT_Openhab
ASPNET.webapi/Properties/AssemblyInfo.cs
1,424
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Abp; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Abplus.MqMessages.AuditingStore")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCom...
27.105263
62
0.738835
[ "MIT" ]
1060877180/abplus
src2/Abplus.MqMessages.AuditingStore/Properties/AssemblyInfo.cs
1,381
C#
using DemoByNuget.Events; using Microsoft.Extensions.DependencyInjection; using Reface.Core.EventBus; using System; namespace DemoByNuget { class Program { static void Main(string[] args) { IServiceProvider serviceProvider = new ServiceCollection() .AddEventBus() ...
24.956522
73
0.616725
[ "MIT" ]
ShimizuShiori/EventBus
src/Core/Reface.Core.EventBus/DemoByNuget/Program.cs
576
C#
using System; using NetOffice; namespace NetOffice.MSProjectApi.Enums { /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff867686(v=office.14).aspx </remarks> [SupportByVersionAttribute("MSProjec...
28.157895
132
0.651402
[ "MIT" ]
brunobola/NetOffice
Source/MSProject/Enums/PjRecalcDriverType.cs
2,142
C#
using System; using System.Collections.Generic; using System.Text; namespace MxNet.Contrib { public abstract class CalibrationCollector { public CalibrationCollector() { throw new NotImplementedRelease2Exception(); } public abstract void Collect(string name, string...
22.409091
79
0.653144
[ "Apache-2.0" ]
SciSharp/MxNet.Sharp
src/MxNet/Contrib/CalibrationCollector.cs
495
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. namespace Cake.Common.Net { /// <summary> /// Contains settings for <see cref="HttpAliases"/> /// </sum...
32.136364
71
0.625177
[ "MIT" ]
cpx86/cake
src/Cake.Common/Net/DownloadFileSettings.cs
709
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Win32; using Microsoft.Win32.SafeHandles; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices;...
35.576412
180
0.472242
[ "MIT" ]
333fred/runtime
src/libraries/System.Security.AccessControl/src/System/Security/AccessControl/Privilege.cs
21,417
C#
using System; using System.Collections; using System.Data; using System.Data.Common; using System.Collections.Generic; using Hades.Pager.Entity; using Hades.Framework.Commons; using Hades.Framework.ControlUtil; using Microsoft.Practices.EnterpriseLibrary.Data; using Hades.HR.Entity; using Hades.HR.IDAL; namespace Ha...
32.210526
85
0.549564
[ "Apache-2.0" ]
robertzml/Hades.HR
Hades.HR.Core/DAL/DALSQL/Base/WorkSection.cs
3,930
C#
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Hello_Universal { public class Application { /// <summary> /// This is the main entry point of the application. /// </summary> static void Main (string[] args) { // if you want...
21.681818
82
0.710692
[ "Apache-2.0" ]
Acidburn0zzz/monotouch-samples
Hello_Universal/Main.cs
477
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("Bo...
37.648649
84
0.744436
[ "MIT" ]
arobertov/Programming-fundametals-course
ListExercises/BombNumber/Properties/AssemblyInfo.cs
1,396
C#
using System; using System.Runtime.ExceptionServices; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Orleans; using Orleans.TestingHost; namespace TestExtensions { public abstract class TestClusterPerTest : OrleansTestingBase, IDisposable { private readonly Ex...
29.746479
119
0.629261
[ "MIT" ]
1007lu/orleans
test/TestInfrastructure/TestExtensions/TestClusterPerTest.cs
2,112
C#
using System.Collections.Generic; using Antlr4.Runtime.Tree; using Mellis.Core.Entities; using Mellis.Lang.Python3.Exceptions; using Mellis.Lang.Python3.Extensions; using Mellis.Lang.Python3.Resources; using Mellis.Lang.Python3.Syntax; using Mellis.Lang.Python3.Syntax.Statements; namespace Mellis.Lang.Python3.Grammar...
42.606965
119
0.60007
[ "MIT" ]
jontebackis4/TestCompiler
src/Mellis.Lang.Python3/Grammar/SyntaxConstructor.Compound.cs
8,566
C#
// // RedundantObjectCreationArgumentListIssueTests.cs // // Author: // Mansheng Yang <lightyang0@gmail.com> // // Copyright (c) 2012 Mansheng Yang <lightyang0@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (...
26.240964
86
0.714876
[ "MIT" ]
4lab/ILSpy
NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeIssues/RedundantObjectCreationArgumentListIssueTests.cs
2,180
C#
using System.Collections; using System.Collections.Generic; using System; using UnityEngine; using System.Text; namespace Cosmos.Test { /// <summary>Helper class that weaver populates with all writer types.</summary> // Note that c# creates a different static variable for each type // -> Weave...
39.68171
165
0.530588
[ "MIT" ]
DonHitYep/CosmosFramework
Assets/Examples/ExampleScripts/Network/NetworkComponent/Components/NetworkWriter.cs
16,708
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Security; using Diadoc.Api.Cryptography; using Diadoc.Api.Http; using Diadoc.Api.Proto; using Diadoc.Api.Proto.Certificates; using Diadoc.Api.Proto.Docflow; using Diadoc.Api.Proto.Documents; using Diadoc.Api.Proto.Documen...
44.015333
243
0.783151
[ "MIT" ]
DonMorozov/diadocsdk-csharp
src/DiadocApi.cs
66,025
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Runtime.Serialization; namespace Nest { public class XPackInfoResponse : ResponseBas...
27.93617
76
0.705509
[ "Apache-2.0" ]
Brightspace/elasticsearch-net
src/Nest/XPack/Info/XPackInfo/XPackInfoResponse.cs
3,941
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.633663
283
0.619321
[ "Apache-2.0" ]
aws/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/QuickSight/Basic/Remove-QSGroupMembership-Cmdlet.cs
14,130
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
29.358974
99
0.499563
[ "MIT" ]
TheWaywardHayward/Industrial-IoT
modules/opc-twin/src/v2/ServiceInfo.cs
1,145
C#
using StoreModels; using System.Collections.Generic; namespace StoreBL { public interface ICustomerOrderLineItemBL { List<CustomerOrderLineItem> GetCustomerOrderLineItems(); void AddCustomerOrderLineItem(CustomerOrderLineItem newCustomerOrderLineItem); CustomerOrderLineItem GetCustomerO...
43.375
133
0.802594
[ "MIT" ]
rjhakes/Richard_Hakes-P0
StoreApp/StoreBL/ICustomerOrderLineItemBL.cs
694
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace TesseractSharp.Hocr { public struct WConf { public WConf(float confidence) { Confidence = confidence; } public float Confidence { get; } } public stru...
27.809045
138
0.503614
[ "Apache-2.0" ]
Beniyoo/TesseractSharp
src/Hocr/HObject.cs
5,536
C#
using System; namespace FP.Spartakiade2015.WebservicePersistence.TestConsole { class Program { static void Main(string[] args) { try { using (BookCapacityService client = new BookCapacityService { Url = "http://localhost:49874/EnergyService.asmx" }) ...
33.837838
130
0.472843
[ "MIT" ]
forki/Spartakiade2015
WebservicePersistence/TestConsole/Program.cs
1,255
C#
using Chip8.Chip8; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace Chip8 { public class Game1 : Game { private GraphicsDeviceManager _graphics; private SpriteBatch _spriteBatch; ...
32.464567
137
0.55348
[ "MIT" ]
RodrigoFNascimento/MonoChip8
Chip8/Game1.cs
4,125
C#
using System; using System.Collections.Generic; using System.Text; using Scintilla; using Scintilla.Forms; using Scintilla.Configuration; using Scintilla.Configuration.SciTE; using WeifenLuo.WinFormsUI.Docking; namespace MyGeneration { public interface IMyGenerationMDI { FindForm FindDialog { get; } ...
24.578947
61
0.738758
[ "BSD-3-Clause" ]
cafephin/mygeneration
src/mygeneration/MyGeneration/IMyGenerationMDI.cs
467
C#
namespace _03.ConvertDecimalToHex { using System; using System.Text; class Program { // Write a program to convert decimal numbers to their hexadecimal representation. static char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };...
31.045977
117
0.453165
[ "MIT" ]
bstaykov/Telerik-CSharp-Part-2
Numeral-Systems/03.ConvertDecimalToHex/Program.cs
2,703
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.XR.ARFoundation; using UnityEngine.XR.Interaction.Toolkit; public class ARInteractionManager : MonoBehaviour { [SerializeField] XRInteractionManager interactionManager; [Seriali...
19.333333
61
0.708333
[ "MIT" ]
3diab/oscp-unity-client
Assets/NGI/Scripts/InDevelopment/ARInteractionManager.cs
696
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...
30.324675
114
0.629979
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/AlexaForBusiness/Generated/Model/RevokeInvitationRequest.cs
2,335
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace WpfUtilV2.Mvvm.CustomControls { public class ListBoxEx : ListBox { public ListBox...
29.423077
96
0.614379
[ "MIT" ]
twinbird827/WpfUtilV2
Mvvm/CustomControls/ListBoxEx.cs
1,576
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.Expressions; using System.Reflection; using JetBrains.Annotations; using Microsoft.EntityFrameworkC...
33.41791
111
0.610094
[ "Apache-2.0" ]
EasonDongH/EntityFrameworkCore
test/EFCore.Tests/Query/ExpressionEqualityComparerTest.cs
2,241
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Engine.Editing; using Engine.Saving; namespace Anomaly { public class ExternalResource : EditableProperty, Saveable { public ExternalResource(String path) { this.Path = path; ...
21.134021
86
0.492195
[ "MIT" ]
AnomalousMedical/Engine
Anomaly/Controller/ProjectManagement/ExternalResource.cs
2,052
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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, including without limitation the righ...
43.8125
82
0.750357
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.Domain.Model/Models/VmGeneralDescriptionSearchListItem.cs
1,404
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
43.828125
142
0.671658
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/metastore/v1beta/google-cloud-metastore-v1beta-csharp/Google.Cloud.Metastore.V1Beta.StandaloneSnippets/DataprocMetastoreClient.CreateServiceRequestObjectAsyncSnippet.g.cs
2,805
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; using System.Diagnostics; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; // If you see i...
43.539683
142
0.651294
[ "MIT" ]
harunpehlivan/azure-iot-sdk-csharp
e2e/Microsoft.Azure.Devices.E2ETests/TestUtil.cs
5,488
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; namespace BO.Base { public class BaseDao<T> : IBaseDao<T> where T : class { public BaseDao() { } public bool Delete(T entity) ...
24.045455
107
0.502836
[ "MIT" ]
Alexandre-Delaunay/ENI_Projet_Sport
ENI_Projet_Sport/BO/Base/BaseDao.cs
2,118
C#
using System; using StartFinance.ViewModels; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; using System.Collections.ObjectModel; namespace StartFinance.Views { public sealed partial class MainPage : Page { public MainPage() { InitializeCom...
21.9
89
0.69863
[ "MIT" ]
AasthaBabbar/Assignment5TSD
StartFinanceMaster/InstaRichie/Views/MainPage.xaml.cs
438
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.Collections.Generic; using System.Reflection; using Xunit; namespace System.CodeDom.Compiler.Tests { ...
37.54
110
0.666489
[ "MIT" ]
L-Dogg/corefx
src/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs
1,877
C#
namespace GamingInterfaceClient.Models { public enum CommandKey { DOWN, UP } }
16.8
39
0.738095
[ "Apache-2.0" ]
Tjalfi/GamingInterfaceClient
GamingInterfaceClient/GamingInterfaceClient/Models/CommandKey.cs
86
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Ratp.Hidalgo.Web.ViewModel { public class CriteresVm { public string LibelleCritere { get; set; } public string ValeurMinCritere { get; set; } public string ValeurMaxCritere { get; set; } ...
21.666667
52
0.683077
[ "MIT" ]
yarraf/MyWork
Src.Ratp.Lot03Dev/Ratp.Hidalgo.Web/ViewModel/CriteresVm.cs
327
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.VictimServices.Interfaces.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// ...
32.878788
235
0.630876
[ "Apache-2.0" ]
JonTaylorBCGov2/pssg-cscp-cpu
cpu-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMcompetitorsalesliterature.cs
2,170
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
33.503704
114
0.574287
[ "BSD-3-Clause" ]
N3X15/VoxelSim
OpenSim/Server/Handlers/Avatar/AvatarServerPostHandler.cs
9,046
C#
#region License // // InputNodeMap.cs July 2006 // // Copyright (C) 2006, Niall Gallagher <niallg@users.sf.net> // // 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...
37.314607
79
0.59726
[ "Apache-2.0" ]
AMCON-GmbH/simplexml
port/src/main/Xml/Stream/InputNodeMap.cs
6,642
C#
using System; using System.Runtime.CompilerServices; namespace MarcusW.VncClient { /// <summary> /// Represents a rectangle of a given <see cref="Position"/> and <see cref="Size"/>. /// </summary> public readonly struct Rectangle : IEquatable<Rectangle> { /// <summary> /// A rectang...
42.734807
180
0.582547
[ "MIT" ]
MarcusWichelmann/MarcusW.VncClient
src/MarcusW.VncClient/Rectangle.cs
7,735
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/wincrypt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
37.636364
145
0.650966
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/wincrypt/CERT_LOGOTYPE_REFERENCETests.cs
1,658
C#
using UnityEngine; using System.Collections; using UnityStandardAssets.Characters.FirstPerson; public class NetworkManager : MonoBehaviour { [SerializeField] bool OfflineMode = false; public Camera standbyCamera; // Use this for initialization void Start () { Connect(); } // Update is call...
29.666667
144
0.690124
[ "MIT" ]
ohyonghao/MultiFPS
Assets/NetworkManager.cs
1,693
C#
namespace LibraryItems { partial class PatronSelectionForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
39.744186
108
0.562025
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
edelenalex/c-sharp
PatronSelectionForm.Designer.cs
3,420
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Threading; using System.Windows.Forms; using TEABot.Bot; using TEABot.TEAScript; namespace TEABot.UI { pub...
36.225806
132
0.547709
[ "MIT" ]
LordPrevious/TEABot
TEABot/UI/MainForm.cs
14,601
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 wri...
34.917241
117
0.507802
[ "Apache-2.0" ]
591094733/mongo-csharp-driver
tests/MongoDB.Driver.Legacy.Tests/Builders/SortByBuilderTests.cs
5,063
C#
namespace Selector.Tizen { class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication { protected override void OnCreate() { base.OnCreate(); LoadApplication(new App()); } static void Main(string[] args) { var app = new Pro...
23.105263
73
0.537585
[ "Apache-2.0" ]
Samsung/xamarin-forms-samples
Templates/DataTemplateSelector/Tizen/App.cs
441
C#
using BusinessLayer.Abstract; using DataAccessLayer.Abstract; using EntityLayer.Concrete; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessLayer.Concrete { public class Message2Manager :IMessage2Service { IMessage2Dal...
21.641509
63
0.610288
[ "MIT" ]
mertozler/BlogPanel
BusinessLayer/Concrete/Message2Manager.cs
1,149
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Microsoft.DotNet.Interactive.Server { public class StreamKernelC...
38.2
123
0.632461
[ "MIT" ]
daxian-dbw/try
Microsoft.DotNet.Interactive/Server/StreamKernelCommandConverter.cs
1,912
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using RandREng.Types; namespace RandREng.MeasureDBEntity { [MetadataType(typeof(Employee.MetaData))] public partial class Employee { public string FirstName { get {...
28.294872
114
0.656094
[ "Apache-2.0" ]
raboud/Measures
MeasuresEntity/Employee.extended.cs
2,209
C#
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net { /// <summary> /// This class provides usefull text methods. /// </summary> public class TextUtils { #region static method QuoteString /// <summary> /// Qoutes string and escapes...
32.9625
158
0.487751
[ "MIT" ]
Kooboo/Kooboo
Kooboo.Mail/LumiSoft.Net/TextUtils.cs
13,185
C#
using NUnit.Framework; namespace Konsole.Tests.WindowTests { [TestFixture] public class BufferTests { public class BufferWrittenShould { [Test] public void not_return_lines_not_written_to() { var console = new MockConsole(10, 10); ...
26
82
0.386946
[ "Apache-2.0" ]
adamhathcock/konsole
Konsole.Tests/WindowTests/BufferTests.cs
1,718
C#
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace aiof.api.data { [ExcludeFromCodeCoverage] public class FakeDataManager { private readonly AiofContext _context; public FakeDataManager(A...
30.534903
130
0.373721
[ "MIT" ]
kamacharovs/aiof-api
aiof.api.data/FakeDataManager.cs
37,621
C#
using ClientCore; using ClientCore.Statistics; using ClientGUI; using DTAClient.Domain.Multiplayer; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Rampastring.Tools; using Rampastring.XNAUI; using Rampastring.XNAUI.XNAControls; using System; using System.Collections.Generic; us...
40.58756
138
0.556114
[ "MIT" ]
GrantBartlett/xna-cncnet-client
DXMainClient/DXGUI/Generic/StatisticsWindow.cs
41,372
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Reflection; using System.T...
31.651671
184
0.417787
[ "ECL-2.0", "Apache-2.0" ]
binsys/roslyn_java
Src/Compilers/Core/Source/MetadataReference/AssemblyIdentity.DisplayName.cs
24,627
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpeedPowerUp : MonoBehaviour { private GameObject player; private PlayerController playerController; // Use this for initialization void Start () { player = GameManager.instance.Player; playerController = player.GetC...
22.583333
61
0.760148
[ "MIT" ]
MylesWritesCode/Unity3D
Legend of Devslopes/Assets/Scripts/SpeedPowerUp.cs
544
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LG.Enums { public sealed class PIPLocationEnum { private readonly String name; private readonly int value; public static readonly PIPLocationEnum OFF = new PIPLocationE...
33.289474
88
0.735968
[ "MIT" ]
knarfalingus/LG43UD79
LG43UD79/Enums/PIPLocationEnum.cs
1,267
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
51.510204
241
0.587824
[ "MIT" ]
Agazoth/azure-powershell
src/MySql/generated/api/Models/Api20171201/ServerForCreate.TypeConverter.cs
7,426
C#
namespace BethanysPieShopHRM.ClientApp { public class Theme { public string ButtonClass { get; set; } = "btn-danger"; } }
17.875
63
0.629371
[ "MIT" ]
TheRealDuckboy/EntityFrameworkCore.LocalStorage
examples/Example1/BethanysPieShopHRM.ClientApp/Theme.cs
145
C#
namespace MyForum.Web.API.Controllers { using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using MyForum.Common; using MyForum.Services.Data.Articles; ...
28.410072
123
0.582173
[ "MIT" ]
BorisLechev/MyForum
Server/Web/MyForum.Web.API/Controllers/ArticlesController.cs
3,951
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Data; using System.Data.Common; using System.Security.Cryptography; using ComLib; using ComLib.Logging; using ComLib.Application; using ComLib.EmailSupport; using ComLib.Notifications; namespace ComLib...
46.339623
149
0.651466
[ "MIT" ]
joelverhagen/Knapcode.CommonLibrary.NET
src/Lib/CommonLibrary.NET/_Samples/Example_Notifications.cs
2,458
C#
using System; using System.Collections.Generic; using System.Globalization; using NUnit.Framework; using TestUtils; using GitHub.Unity; namespace UnitTests { [TestFixture] public class GitLogEntryListTests { [Test] public void NullListShouldEqualNullList() { GitLogEntry[...
35.775785
151
0.456756
[ "MIT" ]
Anras573/Unity
src/tests/UnitTests/IO/GitLogEntryListTests.cs
7,978
C#
#region License // // Copyright 2002-2017 Drew Noakes // Ported from Java to C# by Yakov Danilov for Imazen LLC in 2014 // // 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.843137
141
0.721762
[ "Apache-2.0" ]
AkosLukacs/metadata-extractor-dotnet
MetadataExtractor/Formats/Jpeg/IJpegSegmentMetadataReader.cs
1,930
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Cbr.V1.Model { /// <summary> /// /// </summary> public class OpErrorI...
27.577778
79
0.480661
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Cbr/V1/Model/OpErrorInfo.cs
2,504
C#
using System; using System.Collections.Generic; using System.Linq; using DSharp.Compiler.ScriptModel.Symbols; namespace DSharp.Compiler.Extensions { public static class TypeSymbolExtensions { private static readonly StringComparer stringComparer = StringComparer.InvariantCultureIgnoreCase; in...
32.081081
106
0.611626
[ "Apache-2.0" ]
donluispanis/dsharp
src/DSharp.Compiler/Extensions/TypeSymbolExtensions.cs
2,376
C#
using System; using System.Collections.Generic; using UnityEngine; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// Component /// </summary> public class GComponent : GObject { /// <summary> /// Root container. /// </summary> public Container rootContainer { get; private set; } /// <summary...
23.134993
163
0.619901
[ "MIT" ]
L-Fone/TowerDefense
Unity/Packages/ThirdParty/FairyGUI/Scripts/UI/GComponent.cs
35,532
C#
// <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace graphlibvisu { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetC...
27.522727
106
0.810074
[ "MIT" ]
RBEGamer/MathematischeAlgorithmenSS2022
src/graphlibvisu/obj/Debug/net6.0/RazorDeclaration/_Imports.razor.g.cs
2,422
C#
// <auto-generated /> using Endpoint; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Endpoint.Migrations { [DbContext(typeof(CSVContext))] partial class CSVContextModelSnapshot : ModelSnapshot ...
30
69
0.528369
[ "Apache-2.0" ]
aere69/APTTest
Story3/Endpoint/Migrations/CSVContextModelSnapshot.cs
1,412
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using StackExchange.Redis; namespace HotChocolate.Subscriptions.Redis { public class RedisEventStream : IEventStream { private readonly IEventDescription _eventDescription; private read...
32.521739
91
0.55508
[ "MIT" ]
Coldplayer1995/GraphQLTest
src/Core/Subscriptions.Redis/RedisEventStream.cs
3,740
C#
using System; using System.Buffers.Binary; using System.Collections.Generic; using MySqlConnector.Protocol; using MySqlConnector.Protocol.Serialization; namespace MySqlConnector.Core; internal sealed class BatchedCommandPayloadCreator : ICommandPayloadCreator { public static ICommandPayloadCreator Instance { get; } ...
34.65
156
0.76912
[ "MIT" ]
qinqoushui/MySqlConnector
src/MySqlConnector/Core/BatchedCommandPayloadCreator.cs
1,386
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. namespace Iot.Device.Ft4222 { /// <summary> /// System clock rate /// </summary> internal enum FtCl...
22.733333
71
0.51173
[ "MIT" ]
TobBrandt/iot
src/devices/Ft4222/FtClockRate.cs
684
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("ME2...
37.72973
84
0.748567
[ "MIT" ]
ME3Tweaks/ME2CoalescedCompiler
ME2IniCompiler/Properties/AssemblyInfo.cs
1,399
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CInteractionsManager : IGameSystem { [Ordinal(1)] [RED("activeInter...
32.48
132
0.741379
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CInteractionsManager.cs
788
C#
/* Copyright 2016-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...
46.787755
227
0.5933
[ "Apache-2.0" ]
jeremy-waguet/mongo-csharp-driver
src/MongoDB.Driver.Core/Core/Servers/ServerMonitor.cs
22,928
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
28.651282
128
0.702166
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/_Generated/Types/License/License.g.cs
6,033
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 Microsoft.ML.Runtime.Data; using Microsoft.ML.Trainers.FastTree; using Microsoft.ML.Runtime.Internal.Calibrat...
45.648148
151
0.682353
[ "MIT" ]
Zruty0/machinelearning
test/Microsoft.ML.Tests/Scenarios/Api/Estimators/IntrospectiveTraining.cs
2,467
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dxgiddi.h(862,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct DXGIDDI_MULTIPLANE_OVERLAY_ALLOCATION_INFO { public uint PresentAllocation...
26.571429
84
0.712366
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/DXGIDDI_MULTIPLANE_OVERLAY_ALLOCATION_INFO.cs
374
C#
using System; using SharpFunction.Universal; using static SharpFunction.Universal.EnumHelper; namespace SharpFunction.Commands.Minecraft { /// <summary> /// Represents /execute command. Equal to Minecraft's <code>/execute {tons of params}</code> /// </summary> public sealed class Execute : IComman...
49.123404
166
0.416118
[ "MIT" ]
Maxuss/SharpFunction
SharpFunction/Commands/Minecraft/Execute.cs
34,634
C#
using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; namespace NgrokApi { // <summary> // SSH Host Certificates along with the corresponding private key allows an SSH // server to assert its authenticity to connecting SSH clients who trust the // SSH Certificate Au...
31
101
0.517897
[ "MIT" ]
ffMathy/ngrok-api-dotnet
NgrokApi/Services/SshHostCertificates.cs
4,526
C#
using System.Drawing; using GregsStack.InputSimulatorStandard; using Sidekick.Domain.Platforms; namespace Sidekick.Platform.Windows.Mouse { public class MouseProvider : IMouseProvider { private static InputSimulator simulator = null; public static InputSimulator Simulator { ...
20.702703
55
0.509138
[ "MIT" ]
JadedCricket/Sidekick
src/Sidekick.Platform.Windows/Mouse/MouseProvider.cs
766
C#
// Copyright (c) 2018 Ark S.r.l. All rights reserved. // Licensed under the MIT License. See LICENSE file for license information. using System; namespace Ark.Tools.AspNetCore.NestedStartup { internal class BranchedServiceProvider : IServiceProvider { private IServiceProvider _parentService; ...
30.166667
96
0.689227
[ "MIT" ]
ARKlab/Ark.Tools
Ark.Tools.AspNetCore.NestedStartup/BranchedServiceProvider.cs
726
C#
// <auto-generated /> using AnimalShelter.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace CAnimalShelterAPI.Migrations { [DbContext(typeof(AnimalS...
32
75
0.391518
[ "MIT" ]
AnthonyGolovin/C-AnimalShelterAPI
Migrations/20200131234619_Initial.Designer.cs
2,242
C#
//----------------------------------------------------------------------- // <copyright file="LowPassFilter.cs" company="Google LLC"> // // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtai...
29.473684
83
0.602679
[ "Apache-2.0" ]
AgrMayank/ARCore-Raw-Depth-API
Assets/ARRealismDemos/Common/Scripts/SmoothingFilter/LowPassFilter.cs
3,360
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
43.200692
105
0.603925
[ "MIT" ]
jaz230/Industrial-IoT
samples/src/Microsoft.Azure.IIoT.App/src/Startup.cs
12,485
C#
using JetBrains.ReSharper.UnitTestFramework.Execution.TestRunner; namespace Machine.Specifications.Runner.ReSharper.Runner { public interface IAgentManagerHost { ITestRunnerAgentManager AgentManager { get; } } }
23.4
66
0.769231
[ "MIT" ]
machine/machine.specifications.runner.resharper
src/Machine.Specifications.Runner.ReSharper/Runner/IAgentManagerHost.cs
236
C#
using System; using System.Runtime.InteropServices; namespace ASodium { public static partial class SodiumSecretAeadChaCha20Poly1305Library { #if IOS const string DllName = "__Internal"; #else const string DllName = "libsodium"; #endif [Dll...
57.511111
269
0.746909
[ "MIT" ]
Chewhern/ASodium
Deprecated Source/0.5.1/SodiumSecretAeadChaCha20Poly1305Library.cs
2,590
C#
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) 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, including without limi...
43.123494
200
0.553887
[ "MIT" ]
vkynchev/miningcore
src/MiningCore/Blockchain/Bitcoin/BitcoinPayoutHandler.cs
14,319
C#
// SortReceiveEvent.cs // Script#/Libraries/jQuery/UI // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace jQueryApi.UI.Interactions { [ScriptImport] [ScriptIgnoreNamespace] [ScriptName("Object")] ...
18.830986
90
0.424832
[ "Apache-2.0" ]
AmanArnold/dsharp
src/Libraries/jQuery/jQuery.UI/Interactions/Sortable/SortReceiveEvent.cs
1,337
C#
using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEditor.Animations; using UnityEngine; #if UNITY_2018 using UnityEngine.Experimental.UIElements; #else using UnityEngine.UIElements; #endif namespace EsnyaFactory { [System.Serializable] public class LayerGenerator : EditorWindo...
33.94702
143
0.590714
[ "MIT" ]
esnya/EsnyaUnityTools
Assets/EsnyaUnityTools/AnimGenerator~/Editor/LayerGenerator.cs
5,126
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.Lightup { using System; using System.Collections.Immutable; using Microsoft.CodeAnaly...
41.55102
151
0.670432
[ "Apache-2.0" ]
Andreyul/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/TupleElementSyntaxWrapperTests.cs
4,074
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace JsonLD.Entities { /// <summary> /// Useful extensions of <see cref="Type"/> /// </summary> public static class Typ...
35.782609
144
0.597813
[ "MIT" ]
wikibus/JsonLD.Entities
src/JsonLD.Entities/TypeExtension.cs
2,471
C#
/* * MIT License * * Copyright (c) 2019 plexdata.de * * 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, including without limitation the rights * to use, copy, m...
36.595238
81
0.739753
[ "MIT" ]
akesseler/GitHubViewer
code/src/GitHubAccessor/Abstraction/IReader.cs
1,539
C#