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 file="TargettedSkillHandler.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameServer.MessageHandler { using MUnique.OpenMU.GameLogic; using MUnique.OpenMU.GameLogic.PlayerActio...
34.64
101
0.619515
[ "MIT" ]
ThisMushroom/OpenMU-1
src/GameServer/MessageHandler/TargettedSkillHandler.cs
1,734
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entities { public class Reports { public string personel_isim { get; set; } public string personel_soyisim { get; set; } public int aksiyon_sayisi { get; set; }...
20.5625
52
0.680851
[ "MIT" ]
atasenturk/Personnel-Tracking-System
applicationUI/PersonnelTrackingSystem/Entities/Reports.cs
331
C#
namespace Sitecore.Feature.Blog.Repositories { using System; using System.Collections.Generic; using System.Linq.Expressions; using ContentSearch.Linq; using ContentSearch.SearchTypes; using Data; using Search; public interface IBlogRepository<T> where T : SearchResultItem { ...
24.521739
98
0.675532
[ "MIT" ]
KKings/Sitecore.Feature.Blog
src/Feature/Blog/code/Repositories/IBlogRepository.cs
566
C#
using nanoFramework.CoAP.Channels; using nanoFramework.CoAP.Exceptions; using nanoFramework.CoAP.Helpers; using nanoFramework.CoAP.Message; using nanoFramework.Networking; using System; using System.Collections; using System.Diagnostics; using System.Threading; namespace nanoFramework.CoAP.Samples { public class ...
45.253333
136
0.579847
[ "MIT" ]
vgolovanov/nanoFramework.CoAP
nanoFramework.CoAP.Samples/ObserverClient.cs
6,790
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.AspNetCore.Razor.Language.Intermediate; using Xunit; using static Microsoft.AspNetCore.Razor.Language.Intermediate.IntermediateNodeAssert; namespace Microsoft.AspNe...
31.09434
115
0.637743
[ "MIT" ]
MitrichDot/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/test/Extensions/SectionDirectivePassTest.cs
3,298
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 System.Collections.Generic; using System.CommandLine.Parsing; using Microsoft.Deployment.DotNet.Releases; using Microsoft.Dot...
48.731343
187
0.672282
[ "MIT" ]
01xOfFoo/sdk
src/Cli/dotnet/commands/dotnet-workload/repair/WorkloadRepairCommand.cs
6,530
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; //using System.Windows.Controls; //using System.Windows.Data; //using System.Windows.Documents; //using System.Windows.Input; //using System.Windows.Media; //using System.Windows.Media.Imaging; //using System.Wi...
20.52381
37
0.761021
[ "MIT" ]
evkapsal/SCSM-2016-IT-Asset-Management
PreviewForms/PreviewForm.cs
433
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SecurityGroupExtensionMethods.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // ------------------------------------------...
45.297872
187
0.590418
[ "MIT" ]
NaosFramework/Naos.AWS
Naos.AWS.Core/SecurityGroupExtensionMethods.cs
2,131
C#
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
29.582011
118
0.57217
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Visual Studio Product Team/Visual Studio 2010 SDK Samples/60968-Visual Studio 2010 SDK Samples/Code Sweep/C#,C++/TDD/Mocks/MockDTESolution.cs
5,591
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...
47.146667
319
0.583767
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/CloudFormation/Basic/Get-CFNStackSetList-Cmdlet.cs
17,680
C#
using UnityEngine; namespace Fps.Movement { public struct MovementRequest { public int Timestamp; public Vector3 Movement; public MovementRequest(int timestamp, Vector3 movement) { Timestamp = timestamp; Movement = movement; } } }
18.176471
63
0.595469
[ "MIT" ]
AllTradesGames/gdk-for-unity-fps-starter-project
workers/unity/Assets/Fps/Scripts/Movement/Behaviours/MovementRequest.cs
309
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码已从模板生成手动更改此文件可能导致应用程序出现意外的行为。 // 如果重新生成代码,将覆盖对此文件的手动更改。 // author MEIAM // </auto-generated> //------------------------------------------------------------------------------ using System.ComponentMod...
26.689474
81
0.347663
[ "Apache-2.0" ]
91270/Meiam.System
Meiam.System.Model/Entity/Sys_TasksQz.cs
5,801
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Security.Cryptography; using System.Text; using Newtonsoft.Json; using EOSNewYork.EOSCore.ActionArgs; using EOSNewYork.EOSCore.Response.API; using EOSNewYork.EOSCore.Utilities; using NextGenSoftware.OASIS.API....
57.019355
459
0.682658
[ "CC0-1.0" ]
neurip/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.Providers.SEEDSOASIS/SEEDSOASIS.cs
26,516
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CRM.Areas.AppPage.Controllers { public class AtencionClienteController : Controller { // GET: AppPage/AtencionCliente public ActionResult Index() { return Vi...
20.176471
55
0.655977
[ "MIT" ]
araucanosland/MDN
CRM/Areas/AppPage/Controllers/AtencionClienteController.cs
345
C#
using System; using System.Threading; using SFA.DAS.Payments.ServiceFabric.Core.Infrastructure.Ioc; namespace SFA.DAS.Payments.EarningEvents.EarningEventsService { internal static class Program { private static void Main() { try { using (ServiceFabricCon...
26.423077
112
0.56623
[ "MIT" ]
PJChamley/das-payments-V2
src/SFA.DAS.Payments.EarningEvents.EarningEventsService/Program.cs
689
C#
using System.Reflection; 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("AWSSDK.CloudHSMV2")] [assembly: AssemblyDe...
52.34375
402
0.76
[ "Apache-2.0" ]
phillip-haydon/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/CloudHSMV2/Properties/AssemblyInfo.cs
1,675
C#
using static PacketType; var input = File.ReadAllLines("input.txt"); var stopWatch = Stopwatch.StartNew(); var stringBuilder = new StringBuilder(); for (var i = 0; i < input[0].Length; i++) { stringBuilder.Append(Convert.ToString(Convert.ToInt32(input[0][i].ToString(), 16), 2).PadLeft(4, '0')); } var binary = ...
25.136752
108
0.566814
[ "Apache-2.0" ]
eNeRGy164/AdventOfCode2021
Day16/Day16.cs
2,943
C#
using System; using System.Runtime.InteropServices; namespace Memoria.Prime.WinAPI { public static class Kernel32 { [DllImport("kernel32.dll", EntryPoint = "RtlFillMemory", SetLastError = false)] public static extern void FillMemory(IntPtr destination, UInt32 length, Byte fill); } }
28.454545
91
0.71885
[ "MIT" ]
Albeoris/Memoria
Memoria.Prime/WinAPI/Kernel32.cs
315
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </...
45.125
161
0.608726
[ "Apache-2.0" ]
JanHarmoshka/MNIST
Resources.Designer.cs
3,399
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Net.Sockets; using System.Net; namespace Network_Core { public class TcpServer { public delegate void AcceptConnectionHandler(TcpConnection tcon); ...
26.906667
102
0.563925
[ "MIT" ]
yuyyi51/ProjectNetwork
Network-Core/TcpServer.cs
2,020
C#
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Kurento.NET { public class ElementConnectionData { public MediaElement source; public MediaElement sink; public Med...
17.782609
39
0.789731
[ "BSD-2-Clause" ]
oBears/Kurento.NET
Kurento.NET/ComplexTypes/ElementConnectionData.cs
409
C#
using Microsoft.Extensions.Configuration; using System; namespace XPNet { /// <summary> /// Provides access to the X-Plane API from a plugin. /// </summary> public interface IXPlaneApi { /// <summary> /// Raised when the configuration in the xpnetcfg.json file has changed. /// </summary> event EventHandl...
17.394737
74
0.64115
[ "MIT" ]
mbrachner/XPNet
XPNet.CLR/Plugin/XPlaneApi.cs
3,307
C#
using System; using NUnit.Framework; namespace TNValidate { /// *********************************************************************** /// <summary> /// Tests for Boolean validation. /// </summary> [TestFixture] public class Bool_Tests { [Test] public void Test_Bool_True_1...
26.173913
79
0.501661
[ "MIT" ]
tndataab/TNValidate
Tests/Bool_Tests.cs
1,206
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Numerics; namespace Tasks { public class A { public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = fals...
40.133333
158
0.519934
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
Other/DDCC2016-QUAL/Tasks/A.cs
1,806
C#
namespace Hagar.Configuration { /// <summary> /// Holds configuration of the specified type. /// </summary> /// <typeparam name="TConfiguration">The configuration type.</typeparam> public interface IConfiguration<TConfiguration> where TConfiguration : class, new() { /// <summary> ...
30.285714
87
0.622642
[ "MIT" ]
ReubenBond/Hagar
src/Hagar/Configuration/IConfiguration.cs
424
C#
using System.Buffers; namespace FastDFSCore.Protocols { /// <summary> /// 查询全部Group /// /// Reqeust /// Cmd: TRACKER_PROTO_CMD_SERVER_LIST_ALL_GROUP 91 /// Body: /// Response /// Cmd: TRACKER_PROTO_CMD_RESP /// Status: 0 right other wrong /// Body: //...
37.148936
94
0.628866
[ "MIT" ]
kerryjiang/FastDFSCore
src/FastDFSCore/Protocols/Request/ListAllGroup.cs
1,756
C#
namespace Sidekick.Domain.Game.Items.Models { public enum Category { Undefined = 0, Accessory = 1, Armour = 2, DivinationCard = 3, Currency = 4, Flask = 5, Gem = 6, Jewel = 7, Map = 8, Weapon = 9, Leaguestone = 10, P...
19.090909
43
0.466667
[ "MIT" ]
5c0r/Sidekick
src/Sidekick.Domain/Game/Items/Models/Category.cs
420
C#
using System; namespace Redola.ActorModel { public class ActorConnectedEventArgs : EventArgs { public ActorConnectedEventArgs(string actorChannelIdentifier, ActorIdentity remoteActor) { if (string.IsNullOrEmpty(actorChannelIdentifier)) throw new ArgumentNullExceptio...
33.074074
119
0.659574
[ "MIT" ]
gaochundong/Redola
Redola/Redola.ActorModel/Actor/EventArgs/ActorConnectedEventArgs.cs
895
C#
using OpenTK.Graphics.OpenGL; using Ryujinx.Common.Logging; using Ryujinx.Graphics.GAL; using Ryujinx.Graphics.OpenGL.Image; using Ryujinx.Graphics.OpenGL.Queries; using Ryujinx.Graphics.Shader; using System; namespace Ryujinx.Graphics.OpenGL { public sealed class Renderer : IRenderer { private readon...
28.155039
134
0.59967
[ "MIT" ]
Octolimar/Ryujinx
Ryujinx.Graphics.OpenGL/Renderer.cs
3,634
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
26.860465
63
0.720346
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-ecs/Ecs/Model/V20140526/DeleteHpcClusterResponse.cs
1,155
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
56.488636
194
0.7069
[ "MIT" ]
kolosovpetro/healthcare-shared-components
src/Microsoft.Health.Client/OAuth2ClientCertificateCredentialProvider.cs
4,973
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Guest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Enab...
22.45
59
0.688196
[ "MIT" ]
sebastienadam/ephec_projet_sgbd
Sources/CSharp/Guest/Program.cs
451
C#
using Dummiesman; using System.IO; using UnityEngine; public class ObjFromFile : MonoBehaviour { string objPath = string.Empty; string error = string.Empty; GameObject loadedObject; void OnGUI() { //objPath = GUI.TextField(new Rect(0, 0, 256, 32), objPath); //GUI.Label(new Rect(0, 0,...
27.702703
68
0.48
[ "MIT" ]
Procdox/moddingtalespire
Mods/PreviewAssetPlugin/PreviewAssetPlugin/OBJImport/Samples/ObjFromFile.cs
1,027
C#
using MollieApi.Net.Resources; using System.Collections.Generic; using System.Threading.Tasks; namespace MollieApi.Net.Endpoints { public class OnboardingEndpoint : EndpointAbstract<Onboarding, BaseCollection<Onboarding>> { public OnboardingEndpoint(MollieApiClient client) : base(client) ...
41.04878
160
0.633987
[ "MIT" ]
janssenr/MollieApi.Net
src/MollieApi.Net/Endpoints/OnboardingEndpoint.cs
1,687
C#
using Microsoft.VisualStudio.Shell; using OpenInApp.Common.Helpers; using OpenInAppAltovaXmlSpy.Commands; using OpenInAppAltovaXmlSpy.Options.AltovaXmlSpy; using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace OpenInA...
43.606061
178
0.770674
[ "MIT" ]
GregTrevellick/OpenInApp.Launcher
src/OpenInAltovaXmlSpy/VSPackage.cs
1,441
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Reflection; using System.Runtime.CompilerServices; using Microsoft.FSharp.Core.CompilerServices; namespace TypeProviderInCSharp { public class TypeThatHasToStringThatThrows { p...
40.068783
279
0.581513
[ "Apache-2.0" ]
AliBaghernejad/visualfsharp
tests/fsharpqa/Source/TypeProviders/Fields/Literals/TestTP/ArtificialType.cs
37,867
C#
using System.Reflection; 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("XamarinTemplate.Droid")] [assembly: Assem...
37.785714
84
0.748582
[ "MIT" ]
BrunoMoureau/XamarinTemplate
XamarinTemplate/XamarinTemplate.Droid/Properties/AssemblyInfo.cs
1,061
C#
/* Copyright 2015-2016 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 writi...
26.210526
79
0.633199
[ "Apache-2.0" ]
hgGeorg/mongo-csharp-driver
src/MongoDB.Bson.TestHelpers/Requires64BitProcessAttribute.cs
1,496
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; using Microsoft.CodeAnalysis.Classification; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.CodeAnalysis.CSharp.Classificatio...
45.938312
161
0.654322
[ "Apache-2.0" ]
GKotfis/roslyn
src/Workspaces/CSharp/Portable/Classification/Worker_Preprocesser.cs
14,151
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; /// <summary>Properties of the database error resource.</summary> public partial class DatabaseMigrateEventProperties : Microsoft.Azure....
79.426087
441
0.747646
[ "MIT" ]
AverageDesigner/azure-powershell
src/Migrate/generated/api/Models/Api20180901Preview/DatabaseMigrateEventProperties.cs
9,020
C#
using Android.App; using Android.Content.PM; using Android.OS; namespace SharpConstraintLayout.Maui.Example; [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChange...
38.272727
254
0.821853
[ "Apache-2.0" ]
xtuzy/SharpConstraintLayout
SharpConstraintLayout.Maui.Example/Platforms/Android/MainActivity.cs
423
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.Diagnostics; using System.Runtime.InteropServices; using System.Globalization; using System.IO; namesp...
37.822785
154
0.618809
[ "MIT" ]
harunpehlivan/corefx
src/System.Drawing.Common/src/System/Drawing/Text/PrivateFontCollection.cs
2,988
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; namespace Lib { public static class RabbitMQServiceCollectionExtensions { public static IServiceCollection AddRabbitMQ( this IServiceCollection services, Actio...
26.304348
86
0.65124
[ "MIT" ]
zehrakarahan/rabbitmqdeserizaedilmisornek
Lib/RabbitMQServiceCollectionExtensions.cs
607
C#
//----------------------------------------------------------------- // AutoSpriteBase // Copyright 2010 Brady Wright and Above and Beyond Software // All rights reserved //----------------------------------------------------------------- // #define SPRITE_FRAME_DELEGATE // Adds code to call a delegate for each frame...
25.895561
155
0.659105
[ "CC0-1.0" ]
sumukhanand/echo
Unity/Assets/Plugins/Sprite Scripts/Support/AutoSpriteBase.cs
29,754
C#
using System; using System.Collections.Generic; using System.Text; namespace KISSMp3MoverBefore.Contracts { public interface IFileRenameStrategyFactory { IFileRenameStrategy Get(string type); } }
19.083333
48
0.716157
[ "MIT" ]
Gandjurov/DesignPatterns
04.KISS/KISS/01. MP3 Mover - Before/Contracts/IFileRenameStrategyFactory.cs
231
C#
using System; using System.Diagnostics; namespace Raging.Toolbox { /// <summary> /// A disposable base class. /// </summary> /// <seealso cref="T:System.IDisposable"/> public abstract class DisposableBase : IDisposable { private bool disposed; /// <summary> /// ...
26.945455
109
0.552632
[ "MIT" ]
RagingKore/Raging.Toolbox
Raging.Toolbox/DisposableBase.cs
1,484
C#
using System; using Xunit; using BlogDB.Core; namespace BlogCore.Tests { public class PostTests : IDisposable { [Fact] public void TestAuthor() { var post = new BlogDB.Core.Post("", new Author("author", 0), ""); Assert.Equal("author", post.Author.Name); ...
23.545455
94
0.492664
[ "MIT" ]
CalvinVest/BlogDB
BlogCore.Tests/PostTests.cs
1,295
C#
using System; using MachineLearning; public class MNIST_NeuralNetwork : NeuralNetwork { public MNIST_NeuralNetwork() : base(numInputs: 784, numHiddenNodes: 90, numOutputs: 10, batches: 1) { m_ActivationFunction.ChangeFunction(ActivationFunctions.FunctionTypes.Sigmoid); m_ActivationFunction.Fu...
31
122
0.545265
[ "MIT" ]
Janushan-Austin/Mnist_ANN_GUI
Mnist_ANN_GUI/src/MNIST_NeuralNetwork.cs
2,885
C#
using System; using System.Collections.Generic; namespace Notification.Domain.Interfaces { public interface INotificatorService { /// <summary> /// Handle a notification message /// </summary> /// <param name="pMessage">Message of notification</param> void HandleNotific...
31.126984
85
0.578786
[ "MIT" ]
PePires58/Notification_nuget
src/Notification.Domain/Interfaces/INotificatorService.cs
1,963
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...
35.258824
137
0.672673
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Transfer/Generated/Model/Internal/MarshallTransformations/InvalidRequestExceptionUnmarshaller.cs
2,997
C#
using Kayak.Framework; using System; using System.Threading; namespace RvtBcfApiExampleClient { public class OAuthModule : KayakService { public static ServerLoginUI ServerLoginUIObj { get; set; } private static SynchronizationContext m_SyncContext; static OAuthModule() { ...
23.897436
112
0.608369
[ "MIT" ]
nicmaes/RvtBcf
RvtBcfApiExampleClient/OAuthModule.cs
934
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Sockets; using Tor.Helpers; using System.ComponentModel; using System.Reflection; using System.Diagnostics; namespace Tor.Events { /// <summary> /// A class which provides monitoring for events occuring with...
34.967841
174
0.527634
[ "MIT" ]
kerryjiang/Tor.NET
src/Tor/Events/Events.cs
22,836
C#
using System.Collections.Generic; namespace TwitterAPI.Models { public class TUser { public int UserID { get; set; } public string Email { get; set; } public string UserName { get; set; } public string Image { get; set; } public TUser() {} public TUser(int ...
24.183333
77
0.522398
[ "MIT" ]
igroup29/ProFeed---TwitterFinalProject
TwitterAPI/Models/TUser.cs
1,453
C#
#if !NETSTANDARD13 /* * 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 ...
42.165899
160
0.674426
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/test/Services/SecurityHub/UnitTests/Generated/_bcl45+netstandard/Paginators/SecurityHubPaginatorTests.cs
18,300
C#
using System.Collections.Generic; using System.Linq; using Akinator.Api.Net.Enumerations; using Akinator.Api.Net.Model; namespace Akinator.Api.Net.Utils { public static class ServerSelector { // todo Add more languages... private static readonly IReadOnlyDictionary<Language, Server[]> m_langua...
38.304348
97
0.444571
[ "MIT" ]
ahmed605/Akinator.Api.Net
Akinator.Api.Net/Utils/ServerSelector.cs
2,645
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using CafeinaXml.XReflection.DataStructures; namespace CafeinaXml.XReflection { internal class EntityReflection { // Precached reflections static Dictionary<Type, ReflectedEntity> Pre...
35.356522
121
0.52361
[ "MIT" ]
dacanizares/CafeinaXml
CafeinaXml/XReflection/EntityReflection.cs
4,068
C#
using Microsoft.Graph; using Microsoft.Graph.ExternalConnectors; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using System; using System.IO; namespace PartsInventoryConnector.Graph { // The Graph SDK serializes enumerations in camelCase. // The Graph service cur...
33.960526
100
0.653623
[ "MIT" ]
microsoftgraph/msgraph-search-connector-sample
PartsInventoryConnector/Graph/CustomSerializer.cs
2,581
C#
using System; using System.Xml; namespace OpenSBR.Xades { internal static class XadesXmlExtension { internal static XmlElement CreateChild(this XmlElement element, string name, string namespaceURI) { XmlElement child = element.OwnerDocument.CreateElement(name, namespaceURI); element.AppendChild(child); ...
25.363636
101
0.767025
[ "MIT" ]
OpenSBR/SBRAssurance
OpenSBR/Xades/XadesExtension.cs
560
C#
using System; namespace Magic { class DerivedClass : BaseClass { public override bool Method(int argument1) => !base.Method(argument1); } class BaseClass { public virtual bool Method(int argument1) => true; } }
14.866667
72
0.713004
[ "Apache-2.0" ]
WiseTechGlobal/WTG.Analyzers
src/WTG.Analyzers.Test/TestData/PointlessOverrideAnalyzer/ModifyingResult/Source.cs
223
C#
#region License /* Copyright © 2014-2018 European Support Limited 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 a...
32.55814
80
0.542857
[ "Apache-2.0" ]
DebasmitaGhosh/Ginger
Ginger/GingerCoreNET/SolutionRepositoryLib/RepositoryObjectsLib/VariablesLib/DecimalRandom.cs
2,801
C#
using UnityEngine; // Script que faz o efeito de paralax no fundo. [AddComponentMenu("Scripts/Enviroment/Background")] public class Background : MonoBehaviour { public static Background currentBackground = null; [System.Serializable] public class ParalaxLayer { public GameObject laye...
28.705882
107
0.618169
[ "MIT" ]
FellowshipOfTheGame/treinamento-grupo1
Treinamento-2018-Grupo1/Assets/Scripts/Enviroment/Background.cs
1,467
C#
using System.Collections.ObjectModel; using System.ComponentModel; using System.Reflection; using System.Windows; using System.Windows.Markup; namespace MvvmKit { /// <summary> /// Use this class to combine run time and design time resources. /// <see cref="DesignTimeResource"/> instances that would be ad...
37.139535
135
0.646838
[ "MIT" ]
kobi2294/MvvmKit
Source/MvvmKit/Ui/Controls/Design Time Support/SelectiveResources.cs
1,599
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Mono.Cecil; using Mono.Cecil.Cil; using Mono.Cecil.Rocks; using Patchwork.Attributes; using Patchwork.Utility; namespace Patchwork { public par...
42.737752
197
0.72967
[ "MIT" ]
DankRank/Patchwork
Patchwork.Engine/AssemblyPatcher/FixReferences.cs
14,842
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.Tasks; using Microsoft.CodeAnalysis.Testing; using Xunit; using VerifyCS = Test.Utilities.CSharpSecurityCodeFixVerifier< Microsoft...
36.124444
161
0.619218
[ "Apache-2.0" ]
AndrewZu1337/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.NetCore.Analyzers/Security/DoNotUseDataSetReadXmlTests.cs
8,130
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
37.32967
180
0.632323
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/DeleteNetworkInterfacePermissionRequestMarshaller.cs
3,397
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Bot { public partial class AzureBotMsteamsDeleteTask : ExternalProcessTaskBase<AzureBotMsteamsDeleteTask> { /// <...
25.105263
104
0.604822
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Bot/AzureBotMsteamsDeleteTask.cs
954
C#
using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using Twilio.OwlFinance.Domain.Interfaces.Services; using Twilio.OwlFinance.Domain.Model; using Twilio.OwlFinance.Domain.Model.Api; namespace Twilio.OwlFinance.BankingService.Api { public class WeatherCo...
32.527778
86
0.674637
[ "MIT" ]
jonedavis/OwlFinanceDemo
api/website/TwilioOwlFinanceApi/Api/WeatherController.cs
1,173
C#
using System; using System.Collections.Generic; using System.Linq; using GeologicalLandforms.GraphEditor; using NodeEditorFramework; using NodeEditorFramework.Utilities; using UnityEngine; namespace TerrainGraph; [Serializable] [Node(false, "Grid/Map Sides", 250)] public class NodeGridRotateToMapSides : NodeBase { ...
30.422535
131
0.598611
[ "MIT" ]
m00nl1ght-dev/GeologicalLandforms
Sources/GeologicalLandforms/GraphEditor/Nodes/Grid/NodeGridRotateToMapSides.cs
4,320
C#
/* Any copyright is dedicated to the Public Domain. * https://creativecommons.org/publicdomain/zero/1.0/ */ using CefSharp.WinForms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks;...
24.675
76
0.64843
[ "CC0-1.0" ]
remi6397/Wowpaper_WinFormsWallpaper
Wowpaper/RootForm.cs
989
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.684783
158
0.638288
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/ImportedDeviceIdentity.cs
4,111
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...
34.833898
148
0.577851
[ "BSD-3-Clause" ]
BlueWall/opensim
OpenSim/Server/Handlers/Presence/PresenceServerPostHandler.cs
10,276
C#
using System; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace WPSystem.Runtime { public enum UIPosition { Top, Down } [CreateAssetMenu] #if UNITY_EDITOR [InitializeOnLoad] //allow to call the static constructor #endif /** *...
34.477778
123
0.618434
[ "MIT" ]
ReyAnthony/waypoint-system
Assets/WPSystem/Runtime/WaypointSettings.cs
3,105
C#
namespace EasyCaching.UnitTests { using System; using EasyCaching.Core.Serialization; using ProtoBuf; using Xunit; public abstract class BaseSerializerTest { protected IEasyCachingSerializer _serializer; [Fact] public void Serialize_Object_Should_Succeed() { ...
27.083333
174
0.615824
[ "MIT" ]
861191244/EasyCaching
test/EasyCaching.UnitTests/SerializerTests/BaseSerializerTest.cs
2,277
C#
using com.idpx.core.oauth.data; using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json; namespace com.idpx.core.oauth.clients { public class OAuth2ClientForPlanningCenter : OAuth2Client<UserData>, IOAuthClient { public OAuth2ClientForPlanningCenter(string loginU...
41.597884
248
0.466039
[ "MIT" ]
iguigova/fribs.netcore.idpx
com.idpx.core.oauth.clients/OAuth2ClientForPlanningCenter.cs
7,864
C#
using System.Collections.Generic; using Contoso.Models; namespace ContosoWeb.ViewModels { public class HomeViewModel { public Match NextMatch { get; set; } public Match CurrentMatch { get; set; } public List<Match> PreviousMatches { get; set; } public List<Product> NewProducts...
26.933333
61
0.658416
[ "MIT" ]
Azure-Architecture-Workshop/contososports
src/ContosoWeb/ViewModels/HomeViewModel.cs
406
C#
namespace JccPropertyHub.Domain.Core.Interfaces { public interface IValidator<in TRequest, out TValidation> { TValidation Validate(TRequest request); } }
34
63
0.741176
[ "Apache-2.0" ]
javiercozar/JccPropertyHub
JccPropertyHub.Domain.Core/Interfaces/IValidator.cs
172
C#
namespace Rosalia.Core.Tasks.Futures { /// <summary> /// A monad used to configure tasks. /// </summary> public interface ITaskFuture<out T> where T : class { Identity Identity { get; } T FetchValue(TaskContext context); } }
22.083333
55
0.607547
[ "MIT" ]
guryanovev/Rosalia
Src/Rosalia.Core/Tasks/Futures/ITaskFuture.cs
265
C#
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // All rights reserved. // // 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 retain ...
41.436364
84
0.689337
[ "BSD-3-Clause" ]
Carolinehan/rhino-mocks
Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Blaz.cs
2,281
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TypeGen.Cli { internal class AppConfig { public static string Version => "2.4.3"; } }
16.642857
48
0.703863
[ "MIT" ]
fabiomaistro/TypeGen
src/TypeGen/TypeGen.Cli/AppConfig.cs
233
C#
namespace King.Service.Demo.Tasks { using System; using System.Diagnostics; /// <summary> /// Simple implementation for regularly used tasks /// </summary> public class AttributeBasedTasks { /// <summary> /// Occurs once during start-up /// </summary> [Initi...
23.381818
70
0.504666
[ "MIT" ]
jefking/King.Service
King.Service.Demo/Tasks/AttributeBasedTasks.cs
1,288
C#
namespace _07.MetricConverter { using System; public class MetricConverter { static void Main() { var number = double.Parse(Console.ReadLine()); string from = Console.ReadLine(); string to = Console.ReadLine(); double resultInMeters = 0; ...
24.418367
63
0.361889
[ "MIT" ]
Steffkn/SoftUni
01.ProgrammingBasicsC#/03.SimpleConditionalStatements/08.MetricConverter/MetricConverter.cs
2,395
C#
namespace JetBrains.RunAs.Tests { using System.Collections; using System.Collections.Generic; using Moq; using Shouldly; using Xunit; public class RunAsConfigurationFactoryTest { [Theory] [ClassData(typeof(TestData))] internal void ShouldCreateConfiguration( ...
38.371429
202
0.528295
[ "Apache-2.0" ]
FDlucifer/runAs
JetBrains.dotnet-runas.Tests/RunAsConfigurationFactoryTest.cs
2,686
C#
// Copyright (c) Yufei Huang. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Xna.Framework.Graphics; public static class Xna4Extensions { private static readonly Stack<RenderTarget2D> _renderTargetStack = new(); p...
38.5
104
0.726589
[ "MIT" ]
yufeih/isles
src/isles/Graphics/Xna4Extensions.cs
1,463
C#
using System.Runtime.InteropServices; using Titan.Windows.D3D11; using Titan.Windows.DXGI; namespace Titan.Windows.Win32 { public static unsafe class GDI32 { [DllImport("gdi32", CallingConvention = CallingConvention.StdCall, SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)] ...
35.26087
97
0.607275
[ "MIT" ]
Golle/Titan
src/Titan.Windows/Win32/GDI32.cs
3,244
C#
namespace Nutanix.Powershell.Models { using static Microsoft.Rest.ClientRuntime.Extensions; /// <summary>Task entity list.</summary> public partial class TaskListIntentResponse { /// <summary> /// <c>AfterFromJson</c> will be called after the json deserialization has finished, allowing ...
63.4
344
0.649054
[ "MIT" ]
gmlp/PowerShell
private/api/Nutanix/Powershell/Models/TaskListIntentResponse.json.cs
6,340
C#
namespace MiCake.DDD.CQS.Tests.Fakes { class BCommand : ICommandModel { } }
12.714286
37
0.640449
[ "MIT" ]
MiCake/MiCake
src/tests/MiCake.DDD.CQS.Tests/Fakes/BCommand.cs
91
C#
namespace StorytellerSpecs.Fixtures.SqlServer.App { public class TraceMessage { public string Name { get; set; } } }
17.25
50
0.652174
[ "MIT" ]
CodingGorilla/jasper
src/StorytellerSpecs/Fixtures/SqlServer/App/TraceMessage.cs
140
C#
namespace mml2vgmIDE { partial class FrmPartCounter { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">...
58.765351
190
0.659887
[ "MIT" ]
kuma4649/mml2vgm
mml2vgm/mml2vgmIDE/form/FrmPartCounter.Designer.cs
27,079
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.PowerFx.Core.Texl.Intellisense{ internal interface ISuggestionHandler { /// <summary> /// Adds suggestions as appropriate to the internal Suggestions and SubstringSuggestions lists of intellisenseDat...
35.357143
123
0.711111
[ "MIT" ]
ivanradicek/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Texl/Intellisense/SuggestionHandlers/ISuggestionHandler.cs
497
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; struct Pad { #pragma warning disable 0414 public double d1; public double d2; public double d3; public double d4; public double d5...
18.811881
101
0.537368
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/JIT/jit64/gc/misc/struct4_4.cs
1,900
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InchesToCentimeters { class Program { static void Main(string[] args) { Console.Write("The number in inches is: "); var inches = double.Parse(Co...
24.142857
60
0.613412
[ "MIT" ]
pkemalov/ProgrammingBasics
SimpleCalculations/InchesToCentimeters/Program.cs
509
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> //--...
35.16129
151
0.568807
[ "MIT" ]
bombomby/brocompiler
BroControls/Properties/Settings.Designer.cs
1,092
C#
/* MIT LICENSE Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.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 limitation the rights to use, c...
47.979021
460
0.598674
[ "MIT" ]
demironur/ExchangeSharp
src/ExchangeSharp/API/Exchanges/Bitstamp/ExchangeBitstampAPI.cs
27,444
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.Linq; using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Metadata.Conventions; using Microsoft.Data.Entity.Sql...
43.257353
158
0.613463
[ "Apache-2.0" ]
suryasnath/csharp
test/EntityFramework.SqlServer.Tests/Metadata/SqlServerMetadataExtensionsTest.cs
47,064
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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...
48.878378
190
0.624385
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Codecs.Http2/InboundHttp2ToHttpAdapter.cs
18,087
C#
/* * The MIT License * * Copyright 2019 Palmtree Software. * * 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, co...
28.424658
80
0.638072
[ "MIT" ]
rougemeilland/Palmtree.Math.Core.Uint
Palmtree.Math.Core.Uint.Test/Int32DataItem.cs
2,077
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
25.795918
79
0.662975
[ "MIT" ]
RikiZilber/LicensingOffice
WpfUI/TraineeWindow.xaml.cs
1,266
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AngularBooking.Models { public enum AgeRatingType { BBFC_UC, BBFC_U, BBFC_PG, BBFC_12A, BBFC_12, BBFC_15, BBFC_18, BBFC_R18, BBFC_T...
16.392857
33
0.555556
[ "MIT" ]
adamlarner/angularbooking
AngularBooking/Models/AgeRatingType.cs
461
C#
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="ALM | DevOps Ranger Contributors"> // © ALM | DevOps Ranger Contributors // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwa...
46.233333
84
0.704758
[ "MIT" ]
ALM-Rangers/Sample-Code
src/Coded-UI/samples/DevelopmentDev10/Source Code/CuiWordAddinTestProject/CuiWordAddinTestProject/Properties/AssemblyInfo.cs
2,778
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.IO.Pipes; using System.Management.Automation.Internal; using System.Management.Automation.Remoting.Server; using System.Management.Automation.Traci...
36.631347
167
0.577498
[ "MIT" ]
Global19/PowerShell
src/System.Management.Automation/engine/remoting/common/RemoteSessionNamedPipe.cs
49,782
C#