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 L2dotNET.model.player; namespace L2dotNET.Network.clientpackets { class RequestItemList : PacketBase { private readonly GameClient _client; public RequestItemList(Packet packet, GameClient client) { _client = client; } public override void RunImpl() ...
21.95
64
0.605923
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SamerMoustafa/L2Ninja
src/L2dotNET/Network/clientpackets/RequestItemList.cs
441
C#
using Cocoa.Web.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; namespace Cocoa.Web.Controllers { public class HomeController : Controller { private re...
28.425
142
0.51847
[ "MIT" ]
Surbowl/cocoa-web
src/Controllers/HomeController.cs
2,276
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Query.InternalTrees { using System.Data.Entity.Core.Metadata.Edm; using System.Diagnostics; // <summary> // A new instance creation ...
30.854839
132
0.604286
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
src/EntityFramework/Core/Query/InternalTrees/NewInstanceOp.cs
1,913
C#
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2021 Energistics // // 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 // // ...
45.873134
233
0.630714
[ "Apache-2.0" ]
pds-technology/etp.net
src/Energistics.CodeGen.Avro/Code/TypeInfoExtensions.cs
6,149
C#
/* * Copyright 2022 MASES s.r.l. * * 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...
36.882353
140
0.695375
[ "Apache-2.0" ]
masesdevelopers/JNet
src/net/JNet/Java/Awt/Dnd/DragSourceDropEvent.cs
1,256
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace System.Fabric.Management.ImageBuilder.SingleInstance { using System.Runtime.Serialization; #if !DotNetCoreClr ...
22.375
94
0.56664
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/Api/src/System/Fabric/Management/ImageBuilder/SingleInstance/FabricApplicationException.cs
1,253
C#
#region License /* * All content copyright Marko Lahma, unless otherwise indicated. 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 * * http://www.apache....
35.576227
97
0.553675
[ "Apache-2.0" ]
Ezeji/quartznet
src/Quartz/JobBuilder.cs
13,768
C#
// Pupil Gaze Tracker service // // Originally written by Yamen Saraiji <mrayyamen@gmail.com> at May 17, 2017 // https://github.com/mrayy/PupilHMDCalibration // // Modified by Diako Mardanbegi <dmardanbeigi@gmail.com> at June 01, 2018 // using UnityEngine; using System.Collections; using System.Collections.Generic; u...
30.691203
191
0.564785
[ "MIT" ]
The-COGAIN-Association/EyeMRTK
EyeMRTK/Assets/Pupil/Scripts/PupilGazeTracker.cs
17,097
C#
// Copyright (c) Nate McMaster. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Reflection; using System.Runtime.Loader; using McMaster.NETCore.Plugins.Loader; namespace McMaster.NETCore.Plugins { /// <sum...
40.523973
196
0.60027
[ "Apache-2.0" ]
AdrianoAE/DotNetCorePlugins
src/Plugins/PluginLoader.cs
11,835
C#
using Cofoundry.Core; using Cofoundry.Domain; using System; using System.Collections.Generic; using System.Linq; namespace Cofoundry.Web.Admin { public class UsersRouteLibrary : AngularModuleRouteLibrary { public const string RoutePrefix = "users"; private readonly AdminSettings _adminSettings...
29.787234
121
0.637857
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Web.Admin/Admin/Modules/Users/Constants/UsersRouteLibrary.cs
1,402
C#
/* ******************************************************************** * * 曹旭升(sheng.c) * E-mail: cao.silhouette@msn.com * QQ: 279060597 * https://github.com/iccb1013 * http://shengxunwei.com * * © Copyright 2016 * ********************************************************************/ using System;...
23.150943
69
0.548492
[ "MIT" ]
1002753959/Sheng.WeixinConstruction
SourceCode/Sheng.WeixinConstruction.WeixinContract/Model/WeixinGetUserListResult.cs
1,310
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace ModifyingDataDemo.Models.ManageViewModels { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { ...
22.136364
56
0.687885
[ "MIT" ]
ardalis/WorkingWithDataDemo
ModifyingDataDemo/Models/ManageViewModels/IndexViewModel.cs
489
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace ChromeRemoteSharp.DomDomain { public partial class DomDomain { /// <summary> /// Enables console to refer to the node with given id via $x (see Command Line API...
34.56
123
0.641204
[ "MIT" ]
jefersonsv/ChromeRemoteSharp
src/ChromeRemoteSharp/DomDomain/SetInspectedNodeAsync.cs
864
C#
namespace TimeLocalization.Localizations { public class CaLocalization : ILocalization { public string SecondAgo { get; set; } = "fa un moment"; public string SecondsAgo { get; set; } = "fa {0} segons"; public string MinuteAgo { get; set; } = "fa 1 minut"; public string MinutesAg...
55.382353
68
0.561338
[ "MIT" ]
sang-sakarin/TimeLocalization
TimeLocalization/Localizations/CaLocalization.cs
1,897
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...
41.217822
141
0.622147
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/ReplaceRouteRequestMarshaller.cs
4,163
C#
using Panuon.UI.Silver.Utils; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; namespace Panuon.UI.Silver { /// <summary> /// Clock.xaml 的交互逻辑 /// </summary> public partial class Clock : UserControl { #region Identity...
37.561056
179
0.563044
[ "MIT" ]
1017369306/PanuonUI.Silver
SharedResources/Panuon.UI.Silver/Controls/Clock.xaml.cs
11,399
C#
using System; using System.IO; using System.Net.Mail; public class MailUtil { /// <summary> /// 一个同步SMTP发送邮件的接口 /// </summary> /// <param name="senderAddress">邮件发送者地址,例如xxx@163.com</param> /// <param name="recvAddress">邮件接收者地址(可以支持多个,通过分号隔开),例如yyy@163.com</param> /// <param name="cop...
38.864198
192
0.568933
[ "MIT" ]
fengbingyang/C-CodeSnaps
Mail.cs
3,374
C#
namespace Andromeda.Framing.Extensions.UnitTests.Models { public class TestMessage { public byte Flag { get; set; } public long Id { get; set; } } }
19.777778
56
0.617978
[ "Apache-2.0" ]
thenameless314159/Andromeda.Network
tests/Andromeda.Framing.Extensions.UnitTests/Models/TestMessage.cs
180
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Web.Api.Infrastructure.Data.Entities { [Table("MST_AppSetting")] public class MstAppSetting { [Key] [Column(Order = 0, TypeName = "varchar(50)")] public string A...
23.2
53
0.681034
[ "MIT" ]
tys-hiroshi/BaseCleanArchitectureWebJob
HostWebJobApp/Web.Api.Infrastructure/Data/Entities/MstAppSetting.cs
350
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Channels { using System; using System.Collections.Generic; using System.ServiceModel; ...
34.484848
159
0.625659
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/WCF/ServiceModel/System/ServiceModel/Channels/ContextOutputChannel.cs
1,138
C#
using System; using GraphicsTemplate.Models; namespace GraphicsTemplate.Adapters { public interface IGraphicsAdapter { Size Size { get; set; } void HandleKey(Key key, bool pressed); Guid AddMesh(string file); /// <summary> /// Create a graphics instance inside Window o...
24.62069
73
0.570028
[ "MIT" ]
slater1/GraphicsTemplate
Infrastructure/GraphicsTemplate.Adapters/IGraphicsAdapter.cs
716
C#
// // EngineTest.cs: // // Author: // Marek Sieradzki (marek.sieradzki@gmail.com) // // (C) 2005 Marek Sieradzki // // 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, i...
34.22782
125
0.649856
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine/EngineTest.cs
31,250
C#
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using MonoTouch.CoreLocation; namespace LMT73 { public partial class LocationTableViewController : UIViewController { LocationTableSource _source; List<CLLocation> _locations; ...
34.047619
120
0.558881
[ "MIT" ]
mikebluestein/learning_monotouch_code
ch7/LMT7-3/LMT7-3/LocationTableViewController.xib.cs
3,575
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/mmeapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
37.583333
145
0.662232
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/mmeapi/MIXERCONTROLATests.cs
1,355
C#
using Microsoft.EntityFrameworkCore; using Abp.Zero.EntityFrameworkCore; using MPACore.PhoneBook.Authorization.Roles; using MPACore.PhoneBook.Authorization.Users; using MPACore.PhoneBook.MultiTenancy; using MPACore.PhoneBook.PhoneBooks.Persons; using MPACore.PhoneBook.PhoneBooks.PhoneNumbers; namespace MPACore.PhoneB...
32.8125
94
0.707619
[ "MIT" ]
g1293722517/ABP.MPA.Core
aspnet-core/src/MPACore.PhoneBook.EntityFrameworkCore/EntityFrameworkCore/PhoneBookDbContext.cs
1,052
C#
using System; using System.Runtime.InteropServices; using NUnit.Framework; using UnityEditor; using UnityEditor.Build; using UnityEngine; using UnityEngine.TestTools; using static CareBoo.Serially.SerializableType; namespace CareBoo.Serially.Editor.Tests { public class SerializableTypeTest : Scriptable...
37.322581
89
0.621651
[ "MIT" ]
CareBoo/Serially
Packages/com.careboo.serially/Tests/Editor/SerializableTypeTest.cs
4,630
C#
/*Problem 4. Multiplication Sign Write a program that shows the sign (+, - or 0) of the product of three real numbers, without calculating it. Use a sequence of if operators. * Examples: a b c result 5 2 2 + -2 -2 1 + -2 4 3 - 0 -2.5 4 0 -1 -0.5 -5.1 - */ namespace MultiplicationS...
31.454545
128
0.448619
[ "MIT" ]
VProfirov/Telerik-Academy
Module 1/[01] CSharp/C# Fundamentals/[05] Conditional-Statements [lecture-08]/04.MultiplicationSign/MultiplicationSign.cs
3,116
C#
/// Copyright (C) 2012-2014 Soomla 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 l...
37.099174
110
0.755848
[ "Apache-2.0" ]
Chanisco/SoomlaHandler
Assets/Plugins/Soomla/Store/IOSImpl/VirtualGoodsStorageIOS.cs
4,489
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. // // Generated on 2020 October 09 06:05:29 UTC // </auto-generated> //--------------...
37.833333
309
0.600294
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/database/sql/sql_RowsStruct.cs
3,405
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Text; using System.Xml.Linq; using ATBase.Serialization; namespace ATBase.Payment.Bill99.Domain { /// <summary> /// /// </summary> public class AgreementApplyRequest : MasMessage { /// <summary> ...
20.863636
65
0.633987
[ "Apache-2.0" ]
SZarrow/ATBaseFX
src/Payment/ATBase.Payment.Bill99/Domain/AgreementApplyRequest.cs
461
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class UI_Setting_MainChat : MonoBehaviour { [SerializeField] private Text Username; [SerializeField] private Button btn_bak; void Start() { Username.text...
24.631579
48
0.700855
[ "MIT" ]
Zakarea79/Messenger-unity2020-Csharp-php
Assets/C#/Object-Chat/UI_Setting_MainChat.cs
468
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Input; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using Avalonia.Threading; using Avalonia.VisualTree; using System; using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; using Ava = Avalonia; #pragma warning...
46.776567
151
0.638143
[ "MIT" ]
gauravagrwal/ScottPlot
src/ScottPlot4/ScottPlot.Avalonia/AvaPlot.axaml.cs
17,169
C#
using System; using System.Linq; using System.Threading.Tasks; using Linq2Shadow; using Linq2Shadow.Extensions; using NUnit.Framework; namespace Linq2ShadowTests.OperatorTests { [TestFixture] public class SelectOnlyOperatorTests: TestBase { private DatabaseContext _db; protected override ...
28.991667
92
0.551595
[ "MIT" ]
DDzia/DziDzi.DynamicQuery
Linq2ShadowTests/OperatorTests/SelectOnlyOperatorTests.cs
3,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using SEDC.Lamazon.Services.Interfaces; using SEDC.Lamazon.Web.Models; using SEDC.Lamazon.WebModels.Enum; using SEDC.Lamazon.WebModels.ViewModels; u...
33.590164
99
0.51212
[ "MIT" ]
chris-t-yan/ASP.NETCoreMVC-projects
Lamazon Store/SEDC.Lamazon/SEDC.Lamazon.Web/Controllers/OrderController.cs
6,149
C#
/* ======================================================================= Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
37.717314
140
0.495784
[ "Apache-2.0" ]
FDYdarmstadt/BoSSS
src/L1-platform/BoSSS.Platform/AffineTrafo.cs
20,783
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; using System.Collections.Generic; using System.Data.Common; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Diagnostics; ...
52.466667
115
0.680559
[ "Apache-2.0" ]
Ali-YousefiTelori/EntityFrameworkCore
src/EFCore.Relational/Storage/Internal/RelationalParameterBase.cs
3,935
C#
namespace LineFormatter { partial class LineReplaceForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
40.4
159
0.59868
[ "Apache-2.0" ]
takubokudori/LineFormatter
LineFormatter/LineReplaceForm.Designer.cs
3,046
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:...
51.683333
182
0.63415
[ "ECL-2.0", "Apache-2.0" ]
soelske/mbunit-v3
src/Gallio/Gallio.Tests/Reports/MHtmlReportFormatterTest.cs
6,202
C#
using Blazor.Gitter.Library; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Blazor.Gitter.Core.Components.Shared { public class MessageModel : ComponentBase ...
35.042105
123
0.528387
[ "MIT" ]
SeppPenner/Gitter
src/Blazor.Gitter.Core/Components/Shared/Message.razor.cs
3,331
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; using StarkPlatform.Compiler.Host; namespace StarkPlatform.Compiler.ImplementAbstractClass { inter...
43.8
161
0.805175
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Features/ImplementAbstractClass/IImplementAbstractClassService.cs
659
C#
using System.Collections.Generic; using System.Threading.Tasks; using System.Web.Http; using BookLovers.Base.Infrastructure; using BookLovers.Base.Infrastructure.Queries; using BookLovers.Filters; using BookLovers.Readers.Application.Commands.Profile; using BookLovers.Readers.Application.Commands.Readers; using BookLo...
37.265873
111
0.633266
[ "MIT" ]
kamilk08/BookLoversApi
BookLovers/Api/ReadersController.cs
9,393
C#
// ReSharper disable All using System.Collections.Generic; using System.Data; using System.Dynamic; using System.Linq; using MixERP.Net.DbFactory; using MixERP.Net.EntityParser; using MixERP.Net.Framework; using MixERP.Net.Framework.Extensions; using Npgsql; using PetaPoco; using Serilog; namespace MixERP.Net.Schemas....
44.442857
218
0.563833
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/DAL/Core/MenuLocale.cs
37,332
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.ResourceManager; using Microsoft.Azure.Management.ResourceManager.Models; using Microsoft.Azure.Management.Sql; using Microsoft....
46.89011
130
0.564331
[ "MIT" ]
AzureAutomationTeam/azure-sdk-for-net
src/SDKs/SqlManagement/Sql.Tests/ElasticPoolActivityScenarioTests.cs
8,536
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x3EE33AA0)] public class STU_3EE33AA0 : STU_CCAD18DB { [STUFieldAttribute(0xADE95629, "m_items", ReaderType = typeof(InlineInstanceFieldReader))] public STU_10307208[] m_...
30.454545
98
0.737313
[ "MIT" ]
ekin1106/OWLib
TankLib/STU/Types/STU_3EE33AA0.cs
335
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("6....
37.810811
84
0.741244
[ "MIT" ]
kostadinlambov/Programming-Fundamentals
09. Methods and Debugging/06. Math Power/Properties/AssemblyInfo.cs
1,402
C#
using System; using GeoAPI.Geometries; using NetTopologySuite.IO; namespace Open.Topology.TestRunner.Result { public interface IResult { bool Equals(IResult other, double tolerance); string ToShortString(); string ToLongString(); string ToFormattedString(); } publi...
24.777778
85
0.564026
[ "EPL-1.0" ]
ChaplinMarchais/NetTopologySuite
NetTopologySuite.TestRunner/Result/Result.cs
4,016
C#
using NUnit.Framework; using TcOpen.Inxton.Swift; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Vortex.Connector; using System.IO; using System.Reflection; namespace TcOpen.Inxton.Swift.Tests { [TestFixture()] public class RecorderTes...
36.549133
143
0.569983
[ "MIT" ]
PTKu/TcOpen
src/TcOpen.Inxton/tests/TcOpen.Inxton.SwiftTests/RecorderTests.cs
6,325
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://www.a...
35.41806
130
0.559679
[ "ECL-2.0", "Apache-2.0" ]
citizenmatt/gallio
src/MbUnit/MbUnit/Framework/TestDefinition.cs
10,590
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Azure.Devices.Client.Transport.Mqtt; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; using System; using System.IO; using System...
57.008751
219
0.695046
[ "MIT" ]
CIPop/azure-iot-sdk-csharp
iothub/device/tests/DeviceClientTests.cs
71,662
C#
using Content.Server.Mind.Components; using Content.Shared.GameTicking; namespace Content.Server.Mind { /// <summary> /// This is absolutely evil. /// It tracks all mind changes and logs all the Mind objects. /// This is so that when round end comes around, there's a coherent list of all Minds that wer...
31.25
125
0.6376
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.Server/Mind/MindTrackerSystem.cs
1,250
C#
using System.Collections.Generic; namespace SuperGlue.EventStore.Projections { public abstract class EventStoreProjection : IEventStoreProjection { public virtual string ProjectionName => string.Join("-", GetType().FullName.Split('.')).ToLower(); public abstract IEnumerable<string> GetInteres...
34.307692
106
0.746637
[ "MIT" ]
MattiasJakobsson/Jajo.Web
src/SuperGlue.EventStore/Projections/EventStoreProjection.cs
448
C#
using System; namespace Machine.Migrations.Services { public interface ICommonTransformations { void AddColumn(string table, string column, Type type, short size, bool allowNull, object currentValue); IDisposable EnableIdentityInsertion(string table); void SetIdentityInsertion(string table, bool enabl...
30
108
0.778788
[ "MIT" ]
emmekappa/machine.migrations
Source/Machine.Migrations/Services/ICommonTransformations.cs
332
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace OpenShift.DotNet.Service.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Mi...
45.03125
368
0.657414
[ "MIT" ]
gbraad/OpenShift.Vsix
OpenShift.DotNetStandard/OpenShift API (with Kubernetes)/Models/Iok8sapimachinerypkgapismetav1DeleteOptions.cs
4,325
C#
using System; using System.Linq; class Q030 { static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse); static (int, int) Read2() { var a = Read(); return (a[0], a[1]); } static void Main() => Console.WriteLine(Solve()); static object Solve() { var (n, k) = Read2(); return Ge...
22.04
81
0.528131
[ "MIT" ]
sakapon/AtCoder-Contests
CSharp/Contests/Typical90/L5/Q030.cs
553
C#
// Copyright (c) Dark Crystal Games. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // Copyright (c) Dark Crystal Games. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace DarkCry...
27.548387
91
0.587822
[ "MIT" ]
Alprog/DarkLine
DarkCrystal/Sample/World.cs
854
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
41.121212
131
0.722181
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/UMG/NamedSlotInterface.cs
1,357
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using NUnit.Framework; using Doubility3D.Util; using Doubility3D.Resource.Downloader; using Doubility3D.Resource.ResourceObj; using Doubility3D.Resource.Manager; using UnitTest.Doubility3D.Resource.Downloade...
30.720506
131
0.672427
[ "MIT" ]
lighter-cd/Doubility3D
DoubilityUnity/UnitTest/Editor/Doubility3D/Resource/Manager/ResourceManagerTest.cs
22,071
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Messaging.EventGrid.Tests { public class CustomEventTests { ...
28.446809
66
0.535527
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/eventgrid/Azure.Messaging.EventGrid/tests/CustomEventTests.cs
1,339
C#
using UnityEngine; using System.Collections; using System; public class GooBinarySubMeshProxy { private GooBinaryMesh _parentMesh; private int _subMeshIndex; public GooBinaryMesh ParentMesh { get { return this._parentMesh; } } public int SubMeshIndex { get { return this._subMeshIndex; } } pu...
15.539007
72
0.703788
[ "MIT" ]
GooTechnologies/CreateUnityExporter
Goo/Editor/Exporters/Goo/GooBinarySubMeshProxy.cs
2,193
C#
using Autodesk.AutoCAD.Geometry; using DaSoft.Riviera.OldModulador.Model; using DaSoft.Riviera.OldModulador.Runtime; using MahApps.Metro.Controls; using NamelessOld.Libraries.DB.Mikasa.Model; using NamelessOld.Libraries.DB.Tessa; using NamelessOld.Libraries.DB.Tessa.Model; using NamelessOld.Libraries.HoukagoTeaTime.Yu...
34.04908
267
0.521982
[ "MIT" ]
ANamelessWolf/RivieraModulador
ModEnfasisPlus/UI/Dialog_ModuleCreator.xaml.cs
5,560
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
27.114286
153
0.520548
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/VpnOnDemandRuleConnectionDomainAction.cs
949
C#
using System.Collections.Generic; using System.Globalization; using UnityEngine; using UnityEditor.Graphing; using UnityEditor.ShaderGraph.Drawing.Controls; namespace UnityEditor.ShaderGraph { enum MetalMaterialType { Iron, Silver, Aluminium, Gold, Copper, ...
33.788235
183
0.581825
[ "Apache-2.0" ]
DPRuin/LearnShader
LearnShader/Library/PackageCache/com.unity.shadergraph@6.9.2/Editor/Data/Nodes/Input/PBR/MetalReflectanceNode.cs
2,872
C#
using HousingProvider.Business.Library.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HousingProvider.Business.Service.Interface { public interface ISvcController<T> { bool Post(); List<T> Get(); } }
19.333333
52
0.741379
[ "MIT" ]
revaturelabs/housing-provider
HousingProvider.Business/HousingProvider.Business.Service/Interface/ISvcController.cs
292
C#
using MediatR; using GiftRegistryService.Data; using GiftRegistryService.Features.Core; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; namespace GiftRegistryService.Features.Users { public class GetUsersQuery { public class GetUsersRequest :...
28.367347
95
0.598561
[ "MIT" ]
QuinntyneBrown/GiftRegistryService
src/GiftRegistryService/Features/Users/GetUsersQuery.cs
1,390
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.IO; using Microsoft.ML.Runtime; using Microsoft.ML.Runtime.Command; u...
55.673913
233
0.658571
[ "MIT" ]
Jungmaus/machinelearning
src/Microsoft.ML.Data/Commands/TrainTestCommand.cs
12,805
C#
using System; using System.Collections.Generic; namespace PmxLib { // Token: 0x0200003A RID: 58 public class VmdCamera : VmdFrameBase, IBytesConvert, ICloneable { // Token: 0x170000A7 RID: 167 // (get) Token: 0x06000326 RID: 806 RVA: 0x00016E1C File Offset: 0x0001501C public int ByteCount { get { ...
28.161905
77
0.692932
[ "MIT" ]
TheOddball/KoikatsuPmxExporter
ClassLibrary1/VmdCamera.cs
2,959
C#
#region License // ================================================================================================= // Copyright 2018 DataArt, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // ...
39.196721
138
0.606023
[ "Apache-2.0" ]
DamirAinullin/Atlas
core/DataArt.Atlas.Core/Application/Http/_NetStandard2_0/OData/SupportODataAttribute.cs
2,391
C#
using Amazon.ElasticLoadBalancingV2; using MountAnything; using Action = Amazon.ElasticLoadBalancingV2.Model.Action; namespace MountAws.Services.Elbv2; public class ForwardActionItem : ActionItem { public ForwardActionItem(ItemPath parentPath, Action action) : base(parentPath, action) { TargetGroupArn...
34.035714
116
0.731375
[ "Apache-2.0" ]
andyalm/mount-aws
MountAws/Services/Elbv2/ActionItems/ForwardActionItem.cs
953
C#
using HotChocolate.Types; namespace HotChocolate.Execution.Batching { public sealed class ExportDirectiveType : DirectiveType<ExportDirective> { protected override void Configure( IDirectiveTypeDescriptor<ExportDirective> descriptor) { descriptor.Name(ExportDirec...
27.875
65
0.612855
[ "MIT" ]
Alxandr/hotchocolate
src/HotChocolate/Core/src/Execution/Batching/ExportDirectiveType.cs
669
C#
 namespace P01._ClubParty { using System; using System.Collections.Generic; public class Program { public static void Main(string[] args) { int capacity = int.Parse(Console.ReadLine()); Stack<string> input = new Stack<string>(Console.ReadLine().Split()); ...
28.297872
101
0.427068
[ "MIT" ]
PhilShishov/Software-University
C# Advanced/Exams/C-Adv-Exam_24Feb2019/P01. ClubParty/Program.cs
1,332
C#
using System; using System.Collections.Generic; using System.Text; namespace QuestomAssets { public class IIdentifiable { } }
12.727273
33
0.721429
[ "MIT" ]
125mom/QuestomAssets
QuestomAssets/IIdentifiable.cs
142
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Zhongli.Data.Migrations { public partial class AddModerationTemplates : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
40.510204
97
0.537028
[ "MIT" ]
WFP-Doobelepers/Zhongli
Zhongli.Data/Migrations/20211225035538_AddModerationTemplates.cs
1,987
C#
#region Copyright notice and license // Protocol Buffers - Google's data interchange format // Copyright 2015 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the fo...
50.871622
139
0.648426
[ "Apache-2.0" ]
1250281649/tensorflow
third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/AnyPartial.cs
7,531
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...
33.783333
104
0.619142
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/Athena/Generated/Model/QueryExecutionStatus.cs
4,054
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assembl...
40.351351
102
0.753516
[ "MIT" ]
PhineasPhreak/trainingBoard
trainingBoard/Properties/AssemblyInfo.cs
1,518
C#
using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Caching.Memory; using OrchardCore.Data.Documents; using OrchardCore.Documents.Options; namespace OrchardCore.Documents { /// <summary> /// A <see cref="DocumentManager{TDocument}"/> using a multi level cache but without any persistent s...
35.958333
159
0.702202
[ "BSD-3-Clause" ]
Lawyerson/OrchardCore
src/OrchardCore/OrchardCore.Infrastructure/Documents/VolatileDocumentManager.cs
863
C#
using ColossalFramework.Math; using HarmonyLib; using ICities; using ModsCommon; using ModsCommon.Utilities; using System; using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.Reflection.Emit; using System.Resources; using static ColossalFramework.Plugins.PluginManager; ...
47.870968
296
0.660827
[ "MIT" ]
MacSergey/NoBigTruck
NoBigTruck/Mod.cs
8,906
C#
/** * Copyright 2015 Canada Health Infoway, 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...
43.923077
128
0.683363
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-v01_r04_4/Main/Ca/Infoway/Messagebuilder/Model/Pcs_cerx_v01_r04_4/Pharmacy/Porx_mt060160ca/Includes.cs
2,855
C#
// // YEncoder.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2018 Xamarin Inc. (www.xamarin.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 w...
33.575092
121
0.651211
[ "MIT" ]
aTakayukiMorita/MimeKit
MimeKit/Encodings/YEncoder.cs
9,168
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace CarBatteries.Data.Migrations { public partial class ImageAndBatteryCodeTable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_Batteries_Image...
29.323529
71
0.55667
[ "MIT" ]
plpetroff/CarBatteryProject-2021
CarBatteries/Data/Migrations/20210723085941_ImageAndBatteryCodeTable.cs
999
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using Mix.Cms.Lib.Models.Cms; using Mix.Cms.Lib.Services; using Mix.Common.Helper; using Mix.Domain.Core.ViewModels; using Mix.Domain.Data.ViewModels; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collecti...
34.725738
161
0.542527
[ "MIT" ]
habita73/mix.core
src/Mix.Cms.Lib/ViewModels/MixModuleDatas/ReadViewModel.cs
8,232
C#
//Apache2, 2010, Sebastian Stehle // =============================================================================== // Copyright (c) .NET Image Tools Development Group. // All rights reserved. // =============================================================================== using System; using System.Collections....
34.514382
146
0.459408
[ "MIT" ]
LayoutFarm/PixelFarm
src/PixelFarm/ImgCodec.Png/PngDecoder.cs
20,400
C#
using System; using System.Windows; using Microsoft.Silverlight.Testing; namespace citPOINT.eNeg.Client.Tests { public partial class App : Application { public App() { this.Startup += this.Application_Startup; this.Exit += this.Application_Exit; this.Unhand...
36.810345
145
0.604215
[ "MIT" ]
ivconsult/eNeg
citPOINT.eNeg.Client.Tests/App.xaml.cs
2,137
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace exkdi { public enum EncodingOptions { ASCII, KOI8R } public enum PrintOutputOptions { text, csv } public enum TypeOutputOptions { he...
13.179487
36
0.575875
[ "MIT" ]
reclaimed/KdiExplorer
src/KdiExplorer/exkdi/enums.cs
516
C#
using Gem.Gui.Configuration; namespace Gem.Gui.Rendering { public class Padding { private int top; public int Top { get { return (int)(top * Settings.Scale.Y); } set { top = value; } } private int right; public int Right { ...
21.530612
60
0.392417
[ "MIT" ]
gmich/Gem
Gem.Gui/Rendering/Padding.cs
1,057
C#
namespace Cmsql.EpiServer.Test { public class PageCriteriaQueryRunnerTest { } }
13.285714
44
0.698925
[ "MIT" ]
rbaarda/Cmsql.EpiServer
src/Cmsql.EpiServer.Test/PageCriteriaQueryRunnerTest.cs
95
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GenshinPray.Type { public enum YSPondType { 其他 = 0, 角色 = 1, 武器 = 2, 常驻 = 3 } }
16
38
0.653846
[ "MIT" ]
GardenHamster/GenshinPray
GenshinPray/Type/YSPondType.cs
226
C#
using Godot; using System; using XHSystem; using GodotArray = Godot.Collections.Array; namespace XHSystem { public interface IObjectPool<TArgs> where TArgs : EventArgs { GodotArray Objects { get; } void ShowObjectFromPool(object sender, TArgs e); void AddObjectToPool(int number); }...
21.466667
63
0.698758
[ "MIT" ]
MapleZX/XH
xh.old/XHSystem/Core/ObjectPools/IObjectPool.cs
322
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Controls.Primitives; using Avalonia.Controls.Templates; using Avalonia.Controls.Utils; using Avalonia.Data; using Avalonia.La...
36.762313
132
0.567684
[ "MIT" ]
Karlyshev/Avalonia
src/Avalonia.Controls/Presenters/ContentPresenter.cs
17,168
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("P0...
37.918919
84
0.746258
[ "MIT" ]
ivakis1/Programming-Fundamentals-C-Sharp
11.2 Strings And REGEX - More Exercises/P05_OnlyLetters/Properties/AssemblyInfo.cs
1,406
C#
using System; using System.Xml.Serialization; namespace Packager.Models.OutputModels.Carrier { [Serializable] [XmlInclude(typeof (VideoCarrier))] [XmlInclude(typeof (AudioCarrier))] public abstract class AbstractCarrierData { } }
21.25
46
0.729412
[ "Apache-2.0" ]
BrianMcGough/IUMediaHelperApps
Packager/Models/OutputModels/Carrier/AbstractCarrierData.cs
257
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> //------------------------------------------...
41.956522
80
0.651813
[ "Unlicense" ]
HexaBinary/triangle-validator
triangle-validator/obj/Debug/net5.0/triangle-validator.AssemblyInfo.cs
965
C#
using ExtendedXmlSerializer.Configuration; using ExtendedXmlSerializer.Core; using ExtendedXmlSerializer.ExtensionModel.Xml; using System.IO; using System.Xml; namespace ExtendedXmlSerializer.Samples.Introduction { public sealed class Create : ICommand<object> { public static Create Default { get; } = n...
28.814815
91
0.705656
[ "MIT" ]
ExtendedXmlSerializer/NextRelease
samples/ExtendedXmlSerializer.Samples/Introduction/Create.cs
780
C#
using System; using System.IO; using dgc_lib_dotnet.Model; using dgc_lib_dotnet.Models.Tests; using Newtonsoft.Json; using Xunit; namespace dgc_lib_net.Tests { public class ValueSetTests { [Theory] [InlineData(@".\Ressources\valuesets\disease-agent-targeted.json")] [InlineData(@".\Resso...
36.75
105
0.682993
[ "MIT" ]
JanKnipp/dgc-lib-dotnet
tests/dgc-lib-dotnet.Model.Tests/ValueSetTests.cs
1,470
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 ...
41.461538
131
0.711812
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/secrets/v1beta1/google-cloud-secretmanager-v1beta1-csharp/Google.Cloud.SecretManager.V1Beta1.StandaloneSnippets/SecretManagerServiceClient.AccessSecretVersionResourceNamesSnippet.g.cs
1,617
C#
using System; using System.Collections; using System.Collections.Generic; //using System.Linq; using UnityEngine; using UnityEngine.UI; using URD = UnityEngine.Random; [CreateAssetMenuAttribute(fileName = "HairStyleCollection", menuName = "WJDR/HairStyleCollection")] public class HairStyleCollection : ScriptableObje...
23.307692
99
0.770627
[ "MIT" ]
sacshadow/ProceduralCharacterLocomotion
Assets/PCL/Scripts/Misc/CharacterCustom/HairStyleCollection.cs
608
C#
using Octopus.Server.Extensibility.Authentication.OpenIDConnect.Common.Infrastructure; namespace Octopus.Server.Extensibility.Authentication.AzureAD.Infrastructure { interface IAzureADPrincipalToUserResourceMapper : IPrincipalToUserResourceMapper { } }
33.125
86
0.845283
[ "Apache-2.0" ]
OctopusDeploy/OpenIDConnectAuthenticationProviders
source/Server.AzureAD/Infrastructure/IAzureADPrincipalToUserResourceMapper.cs
265
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using FSM.NonSO; namespace FSM.NonSO { public class AnyState : IState { public void Update() { } public void OnEnter() { } public void OnExit() ...
14.333333
34
0.561047
[ "MIT" ]
luty4ng/NO-GAME-NO-LIFE
Assets/GameKit/Core/FSM/AnyState.cs
344
C#
using Newtonsoft.Json; namespace UVACanvasAccess.Model.OutcomeResults { internal class OutcomeRollupScoreLinksModel { [JsonProperty("outcome")] public ulong Outcome { get; set; } } }
22.555556
68
0.719212
[ "MIT" ]
sabihoshi/UVACanvasAccess
UVACanvasAccess/Model/OutcomeResults/OutcomeRollupScoreLinksModel.cs
203
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace CommunicationQuestions { public clas...
24.5
62
0.642072
[ "MIT" ]
alexl0gan/social-style-quiz
CommunicationQuestions/Program.cs
639
C#