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.Text; namespace Futura.Engine.ECS { public abstract class EcsSystem { public uint ExecutionOrder { get; private set; } = 100; protected EcsWorld World { get; private set; } = null; internal void Setup(EcsWorld world, uint ex...
25.914286
63
0.566703
[ "MIT" ]
Lama96103/Futura
Source/Futura.Engine/ECS/EcsSystem.cs
909
C#
//----------------------------------------------// // Gamelogic Grids // // http://www.gamelogic.co.za // // Copyright (c) 2013 Gamelogic (Pty) Ltd // //----------------------------------------------// using System; namespace Gamelogic.Grids { /** Rep...
19.341667
69
0.602757
[ "Apache-2.0" ]
jvlppm/ggj-2017-abaiara
Assets/3rdParty/GamelogicGrids/Plugins/Gamelogic/Grids/GridTypes/Rect/RectGrid.cs
2,321
C#
// /************************************************************ // * // * Copyright (c) 2010 Dave Dolan. All Rights Reserved // * // * Author: Dave Dolan // * // ************************************************************/ using System; using bsn.GoldParser.Semantic; namespace SimpleREPL.Simple3{ ...
33.666667
84
0.508911
[ "Apache-2.0" ]
dolan/simple3-interpreter
bsn.Simple3/Simple2REPL/Simple3/WhileStatement.cs
1,012
C#
using System.ComponentModel; namespace Mkh.Mod.Admin.Core.Domain.Menu { /// <summary> /// 菜单类型 /// </summary> public enum MenuType { /// <summary> /// 未知 /// </summary> [Description("未知")] UnKnown = -1, /// <summary> /// 节点 /// </summ...
18.783784
40
0.401439
[ "MIT" ]
HmmmWoo/Mkh
modules/00_Admin/Admin.Core/Domain/Menu/MenuType.cs
765
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
23.321429
81
0.644717
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/EnterpriseKnowledgeGraph/Outputs/SkuResponse.cs
653
C#
using System; using essentialMix.Patterns.Object; namespace essentialMix.Threading.Other.JonSkeet.MiscUtil; /// <summary> /// Type of buffer returned by BufferManager. /// </summary> public class Buffer : Disposable, IBuffer { private readonly bool _clearOnDispose; private bool _available; internal Buffer(int siz...
19.378378
60
0.718271
[ "MIT" ]
asm2025/essentialMix
Standard/essentialMix.Threading/Other/JonSkeet/MiscUtil/Buffer.cs
717
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
41.185714
463
0.768644
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/PresentationCore/Sources/System.Windows.Media.Media3D.Converters.Vector3DValueSerializer.cs
2,883
C#
namespace UnityToolBox.Utils { using UnityEngine; public static class PooledGameObjectExtension { public static void ReturnToPool(this GameObject gameObject) { PooledObject pooledObject = gameObject.GetComponent<PooledObject>(); if (pooledObject == null) ...
28.052632
120
0.628518
[ "MIT" ]
davidejones88/unity-common-utils
Assets/unitytoolbox-utils/ObjectPool/Utils/PooledGameObjectExtension.cs
533
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace VSTSCore.Models { public class Team { public Guid id; public string name; public string url; public string description; public string identityUrl; ...
19.294118
35
0.631098
[ "MIT" ]
rbnswartz/VSTSCore
Models/Team.cs
330
C#
using PieShop.Core.Models; using System; using System.Collections.Generic; namespace PieShop.Data.Repository.Intefaces { public interface IShoppingCartRepository { List<ShoppingCartItem> ShoppingCartItems { get; set; } void AddToCart(Pie pie, int amount); int RemoveFromCart(Pie pie); ...
22.55
62
0.694013
[ "MIT" ]
ikenb/ShopCollections
src/PieShop/PieShopApplication/Data/PieShop.Data/Repository/Interfaces/IShoppingCart.cs
453
C#
/* Copyright 2010-2014 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...
32.279412
92
0.622323
[ "Apache-2.0" ]
mfloryan/mongo-csharp-driver
src/MongoDB.Driver.Legacy.Tests/Jira/CSharp93Tests.cs
2,197
C#
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. namespace ServiceStack.IntroSpec.Enrichers.Interfaces { /// <summary> /// Marker interface showing that clas...
38.272727
89
0.714964
[ "MPL-2.0" ]
wwwlicious/servicestack-introspec
src/ServiceStack.IntroSpec/ServiceStack.IntroSpec/Enrichers/Interfaces/IEnrich.cs
421
C#
using System; using System.Collections.Generic; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public ...
45.54386
136
0.838213
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
anam/abs
V1/App_Code/BLL/Manager/Pos_ProductTransactionMasterManager.cs
2,596
C#
namespace Sharpen { using System; using System.Text.RegularExpressions; public class Matcher { private int current; private MatchCollection matches; private Regex regex; private string str; public Matcher (Regex regex, string str) { this.regex = regex; this.str = str; } public int End ()...
18.238095
61
0.619452
[ "BSD-3-Clause" ]
renaud91/n-metadata-extractor
Sharpen/Sharpen/Matcher.cs
1,532
C#
using System; using System.Collections; using UnityEngine; namespace Scripts.Level.Dialogue { [RequireComponent(typeof(DialogueIndicator))] public class DialogueTalkerDirect : DialogueTalker { public bool FacePlayer = false; protected DialogueIndicator Indicator; private Quaternio...
24.862069
116
0.565881
[ "MIT" ]
Freezer-Games/Frozen-Out
FrozenOut/Assets/Scripts/Level/Dialogue/Acter/Talker/DialogueTalkerDirect.cs
2,163
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using JetBrains.Annotations; using Reusable.Extensions; using Reusable.IOnymous; namespace Reusable.Utilities.SqlClient.SqlSchemas { // Based on // https://docs.microsoft.com/en-us/dotnet/framewor...
40.020833
161
0.597345
[ "MIT" ]
he-dev/DotNetBits
Reusable.Utilities.SqlClient/src/SqlSchemas/SqlSchemaReader.cs
3,842
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace _06Server...
32.688172
113
0.465132
[ "MIT" ]
yemingxingkong/ymxk
code/CSharp/old/Projects/4.21socket/06Server/Form1.cs
6,670
C#
global using Dapr; global using Dapr.Client; global using Microsoft.AspNetCore.Mvc; global using Serilog; global using Shared.Events; global using System.ComponentModel.DataAnnotations; global using UserService.Models;
31.142857
51
0.844037
[ "MIT" ]
fawohlsc/dapr-microservices
src/UserService/GlobalUsings.cs
218
C#
#region LICENSE //==============================================================================// // Copyright (c) 2014 Daniel Castaño Estrella // // This projected is licensed under the terms of the MIT license. // // See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT // //========...
23.340909
137
0.639727
[ "MIT" ]
danielcestrella/x-unity-android-framework
Assets/Scripts/xButtons.cs
2,055
C#
using System.Linq; using Content.Client.HUD.UI; using Content.Client.Inventory; using Content.Client.Preferences; using Content.Shared.CharacterAppearance.Systems; using Content.Shared.GameTicking; using Content.Shared.Inventory; using Content.Shared.Preferences; using Content.Shared.Roles; using Content.Shared.Species...
37.173184
166
0.602344
[ "MIT" ]
Carou02/space-station-14
Content.Client/Lobby/UI/LobbyCharacterPreviewPanel.cs
6,654
C#
using System.Linq; public enum Classification { Perfect, Abundant, Deficient } public static class PerfectNumbers { public static Classification Classify(int number) { var divisors = GetDivisors(number); var sumOfDivisors = divisors.Sum(); if (sumOfDivisors == number) { ...
24.346154
81
0.617694
[ "MIT" ]
Sankra/ExercismSolutions
csharp/perfect-numbers/PerfectNumbers.cs
635
C#
using Microsoft.Extensions.Options; using OrchardCore.ResourceManagement; namespace OrchardCore.Spatial { public class ResourceManagementOptionsConfiguration : IConfigureOptions<ResourceManagementOptions> { private static ResourceManifest _manifest; static ResourceManagementOptionsConfiguratio...
48.085714
182
0.682115
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore.Modules/OrchardCore.Spatial/ResourceManifestOptionsConfiguration.cs
1,683
C#
using System; using System.Collections.Generic; namespace _08.MatrixPassChecker { internal class Labyrinth { private const char UNPASSABLE = '0'; private bool pathFound = false; private char[,] matrix; private int[,] dir = new int[,] { { 1, 0 }, { 0, 1 }, { -1, 0 }, { 0, -1 }...
27.136364
85
0.441374
[ "MIT" ]
Camyul/Modul_2_CSharp
DSA/03.Recursion/08.MatrixPassChecker/Labyrinth.cs
2,390
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Debugger { /// <summary> /// Stops on the next JavaScript statement. /// </summary> [CommandResponse(ProtocolName.Debugger.Pause)] public class PauseCommandResponse { } }
20.933333
53
0.77707
[ "MIT" ]
brewdente/AutoWebPerf
MasterDevs.ChromeDevTools/Protocol/Debugger/PauseCommandResponse.cs
314
C#
using System; namespace Thriot.Client.DotNet.Management { /// <summary> /// This exception will be thrown when the registration is performed on a Thriot installation where activation is needed after registration. /// When this exception is thrown the user was registered successfully by the <see cref="User...
38.181818
191
0.675
[ "MIT" ]
kpocza/thriot
Client/DotNet/Thriot.Client.DotNet/Management/ActivationRequiredException.cs
842
C#
// ----------------------------------------------------------------------- // <copyright file="GossipActor.cs" company="Asynkron AB"> // Copyright (C) 2015-2021 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; using System.Coll...
39.289941
150
0.587199
[ "Apache-2.0" ]
Damian-P/protoactor-dotnet
src/Proto.Cluster/Gossip/GossipActor.cs
13,280
C#
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using Photon.Pun; using Photon.Realtime; using ExitGames.Client.Photon; public class RoomPanel : BasePanel { [SerializeField] private TextMeshProUGUI _roomName = null; [SerializeField] private TextMeshProUGUI _playerCountT...
38.385542
142
0.682674
[ "MIT" ]
CheckShumm/QuoteMe
Assets/Assets/Scripts/ViewPanels/RoomPanel.cs
3,188
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
27.282051
81
0.629699
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/RecoveryServices/V20210210/Outputs/UserIdentityResponse.cs
1,064
C#
using System.Web.Mvc; namespace FluentSecurity.SampleApplication.Controllers { public class ExampleController : Controller { public ActionResult MissingConfiguration() { return View(); } public ActionResult DenyAnonymousAccess() { return View(); } pu...
17.96875
54
0.612174
[ "MIT" ]
DiogenesPolanco/FluentSecurity
SampleApplication/FluentSecurity.SampleApplication/Controllers/ExampleController.cs
575
C#
using System.Collections; using System.Collections.Generic; using Stranne.BooliLib.Models; namespace Stranne.BooliLib.Tests.Models { public class SoldRoot { public IEnumerable<SoldObject> Sold { get; set; } } }
19.416667
57
0.72103
[ "MIT" ]
stranne/BooliLib
Stranne.BooliLib.Tests/Models/SoldRoot.cs
235
C#
using System; using System.Linq; using FubuCore.Logging; using FubuCore.Reflection; using FubuMVC.Core.ServiceBus; using FubuMVC.Core.ServiceBus.Configuration; using FubuMVC.Core.ServiceBus.Logging; using FubuMVC.Core.ServiceBus.Runtime; using FubuMVC.Core.ServiceBus.Runtime.Headers; using FubuMVC.Core.ServiceBus.Runt...
29.248485
103
0.54569
[ "Apache-2.0" ]
JohnnyKapps/fubumvc
src/FubuMVC.Tests/ServiceBus/Configuration/ChannelNodeTester.cs
9,654
C#
using System.Threading.Tasks; using Termigram.Bot; using Termigram.Commands; namespace Termigram.ResultProcessors { public abstract class ResultProcessorBase<TResult> : IResultProcessor<TResult> { public virtual async Task<bool> TryProcessResultAsync(IBot bot, ICommand command, TResult result) ...
26.88
116
0.604167
[ "MIT" ]
Kir-Antipov/Termigram
Termigram/ResultProcessors/ResultProcessorBase`1.cs
674
C#
using Codeizi.DI.Helper.Anotations; using Codeizi.Domain.Customers; using Codeizi.Infra.Data.Context; using System; namespace Codeizi.Infra.Data.DAO.Customers { [Injectable(typeof(ICustomerDAO), typeof(CustomerDAO))] public class CustomerDAO : GenericDAO<Customer, Guid>, ICustomerDAO { ...
24.882353
71
0.669031
[ "MIT" ]
JDouglasMendes/codeizi-architecture
src/Codeizi.Infra.Data/DAO/Customers/CustomerDAO.cs
425
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...
38.741379
80
0.714731
[ "BSD-3-Clause" ]
WhiteCoreSim/WhiteCore-Merger
OpenSim/Framework/Communications/XMPP/XmppWriter.cs
2,247
C#
using Cirrious.CrossCore; using Cirrious.CrossCore.Plugins; namespace Cheesebaron.MvxPlugins.AppId { public class Plugin : IMvxPlugin { public void Load() { Mvx.RegisterSingleton<IAppIdGenerator>(new AppIdGenerator()); } } }
18.866667
73
0.632509
[ "Apache-2.0" ]
Ideine/Cheesebaron.MvxPlugins
AppId/Touch/Plugin.cs
285
C#
// Copyright (c) Imazen LLC. // No part of this project, including this file, may be copied, modified, // propagated, or distributed except as permitted in COPYRIGHT.txt. // Licensed under the GNU Affero General Public License, Version 3.0. // Commercial licenses available at http://imageresizing.net/ using System.Ref...
41.043478
84
0.787076
[ "MIT" ]
2sic/resizer
Plugins/AdvancedFilters/AssemblyInfo.cs
946
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 System.Runtime.InteropServices; using BasicTestApp; using BasicTestApp.RouterTest; using Microsoft.AspNetCore.Com...
39.995851
158
0.59695
[ "Apache-2.0" ]
7Q2019/AspNetCore
src/Components/test/E2ETest/Tests/RoutingTest.cs
19,278
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using MongoDB.Driver; using Quartz; using Turquoise.Common.Mongo; using Turquoise.Common.Scheduler; using Turquoise.Common.Scheduler.HealthCheck; using Turquoise.Models.Scheduler; namespace Turquoise....
41.032258
142
0.57521
[ "Apache-2.0" ]
mmercan/Turquoise.HealthChecks
App/Workers/Turquoise.Worker.Scheduler/QuartzJobSchedules/HealthCheckSchedulerRepositoryFeeder.cs
3,816
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/d3d11.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.C...
49.044776
176
0.678028
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/d3d11/ID3D11GeometryShader.cs
3,288
C#
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
34.723077
178
0.575764
[ "Apache-2.0" ]
Quantler/Core
Quantler/Messaging/Event/AccountInfoMessage.cs
4,516
C#
//////////////////////////////////////////////////////////////////////////// // <copyright file="Pronunciations.cs" company="Intel Corporation"> // // Copyright (c) 2013-2015 Intel Corporation  // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
34.494062
132
0.552403
[ "Apache-2.0" ]
AchilleFoti/acat
src/Libraries/ACATCore/TTSManagement/Pronunciations.cs
14,599
C#
using AutoMapper; using MediatR; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NetCoreWebTemplate.Api.Contracts.Version1.Requests; using NetCoreWebTemplate.Api.Routes.Version1; using NetCoreWebTempla...
39.507463
91
0.687571
[ "MIT" ]
marlonajgayle/NetCoreWebTemplate
NetCoreWebTemplate.Api/Controllers/Version1/ClientController.cs
2,649
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("Le...
38.243243
84
0.745583
[ "MIT" ]
coolkev/LewisTech.Utils
src/LewisTech.Utils.Tests/Properties/AssemblyInfo.cs
1,418
C#
using System; using System.Data; using System.Text; using System.Data.SqlClient; using MxWeiXinPF.DBUtility; using MxWeiXinPF.Common;//Please add references namespace MxWeiXinPF.DAL { /// <summary> /// 数据访问类:wx_message_blacklist /// </summary> public partial class wx_message_blacklist { public wx_message_blackl...
32.017766
132
0.499723
[ "MIT" ]
herrylau/wwzkushop
MxWeiXinPF.DAL/plugs/wx_message_blacklist.cs
12,879
C#
using Presentation.Common.Domain.StructuralMetadata.Interfaces; namespace Presentation.Common.Domain.StructuralMetadata.Abstracts { public abstract class AbstractDomain : AuditableEntity, IDomain { public long Id { get; set; } } }
25.3
67
0.750988
[ "MIT" ]
parstat/structural-metadata
Parstat.StructuralMetadata/Presentation/Presentation.Common.Domain/StructuralMetadata/Abstracts/AbstractDomain.cs
255
C#
/* The MIT License (MIT) Copyright (c) 2015 Dimitri Slappendel 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, modify, ...
46.236486
140
0.682011
[ "MIT" ]
bloodypenguin/csl-ambient-sounds-tuner
CSL Ambient Sounds Tuner/Compatibility/SoundDuplicator.cs
6,845
C#
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 ...
40.229358
138
0.596807
[ "Apache-2.0" ]
Bhaskers-Blu-Org2/poshtools
PowerShellTools/LanguageService/BraceCompletion/BraceCompletionContext.cs
4,387
C#
using Dhgms.GripeWithRoslyn.Analyzer.CodeCracker.Extensions; namespace Dhgms.GripeWithRoslyn.Analyzer.Analyzers { using System; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; /// <summary> /// Roslyn Analyzer to check for us...
40.987654
283
0.631928
[ "MIT" ]
DHGMS-Solutions/gripewithroslyn
src/Dhgms.GripeWithRoslyn.Analyzer/Analyzers/FluentDataQueryManyWithNullArgumentAnalyzer.cs
3,322
C#
// Copyright (c) 2012, Event Store LLP // 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 the above copyright notice, // this list of condit...
40.021978
115
0.676002
[ "BSD-3-Clause" ]
eleks/EventStore
src/EventStore/EventStore.Core.Tests/Infrastructure/RandomTestRunner.cs
3,644
C#
#pragma warning disable 1591 // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.17020 // // Changes to this file may cause incorrect behavior and will be lost if // the code ...
22.835821
99
0.655556
[ "MIT" ]
PacktPublishing/Xamarin-Cross-Platform-Mobile-Application-Development
Module 1/Chapter6/XamChat.Droid/Resources/Resource.designer.cs
4,590
C#
using UnityEngine.InputSystem.Layouts; using UnityEngine.InputSystem.LowLevel; namespace UnityEngine.InputSystem.Controls { /// <summary> /// A floating-point 2D vector control composed of two <see cref="AxisControl"/>s. /// </summary> /// <remarks> /// An example is <see cref="Pointer.position"/>....
31.679487
91
0.57588
[ "Apache-2.0" ]
AhmadAlrifa1/Shooter-Game
Library/PackageCache/com.unity.inputsystem@1.3.0/InputSystem/Controls/Vector2Control.cs
2,471
C#
using System; using Mirror; using System.Collections.Generic; using UnityEngine.Assertions; namespace Insight { public class InsightMessageBase : MessageBase {} public class InsightMessage : InsightMessageBase { public int callbackId; public CallbackStatus status = CallbackStatus.Default; public InsightMessa...
24.173469
91
0.762769
[ "MIT" ]
PsarTech-Shorii/Insight
Insight/InsightMessage.cs
4,738
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using Microsoft.ML.Data; using Microsoft.ML.Internal.Utilities; usin...
44.676329
182
0.585262
[ "MIT" ]
mnboos/machinelearning
test/Microsoft.ML.Tests/TrainerEstimators/TreeEstimators.cs
18,496
C#
/* * Copyright (c) Contributors, http://virtual-planets.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or wit...
38.107438
103
0.543917
[ "MIT" ]
johnfelipe/Virtual-Universe
Universe/Framework/SceneInfo/ClientManager.cs
9,222
C#
namespace Nacos { using System.Threading; public class Listener { public Listener(string name, Timer timer) { this.Name = name; this.Timer = timer; } public string Name { get; private set; } public Timer Timer { get; set; } } }
17.333333
49
0.525641
[ "Apache-2.0" ]
coldhighsun/nacos-sdk-csharp
src/Nacos/Config/Core/Listener.cs
314
C#
using System; using Newtonsoft.Json.Linq; namespace Stripe.Infrastructure { internal static class StringOrObject<T> where T : StripeEntityWithId { public static void Map(object value, Action<string> updateId, Action<T> updateObject) { if (value is JObject) { ...
25.541667
93
0.513866
[ "Apache-2.0" ]
TrueNorthIT/stripe-dotnet
src/Stripe.net/Infrastructure/StringOrObject.cs
615
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("CodeCamper.Model")] [assembly: Ass...
38.916667
85
0.723055
[ "MIT" ]
kushan2018/CodeCamper
CodeCamper.Model/Properties/AssemblyInfo.cs
1,404
C#
using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; using Vic.Api.Helpers.Mail; using Vic.Api.Models.Contact; namespace Vic.Api.Controllers { /// <summary> /// ContactController class, provides a controller for contact endpoints. /// </summary> [ApiController] [Route("[controller]")] ...
30.045455
165
0.606657
[ "MIT" ]
FosolSolutions/vic-api
src/Controllers/ContactController.cs
1,324
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Statiq.Common; namespace Statiq.Common { public static class IDocumentCloneExtensions { /// <summary> /// Clones this document. /// </summary> /// <param name...
50.466387
136
0.618017
[ "MIT" ]
JoshClose/Statiq.Framework
src/core/Statiq.Common/Documents/IDocumentCloneExtensions.cs
12,013
C#
#pragma checksum "C:\Users\darko\Desktop\NBPpr\recipe-blog\PronadjiRecept\PronadjiRecept\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a4bc9cb4a1d11f0c28a746ed054b4cb82c25e233" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemA...
52.363636
197
0.760417
[ "MIT" ]
JovanMarkovic99/recipe-blog
PronadjiRecept/PronadjiRecept/obj/Debug/netcoreapp3.1/Razor/Views/_ViewStart.cshtml.g.cs
2,304
C#
#region Copyright(c) Carlos Segura Sanz, All right reserved. // ----------------------------------------------------------------------------- // Copyright(c) 2008-2009 Carlos Segura Sanz, All right reserved. // // csegura@ideseg.com // http://www.ideseg.com // // * Attribution. You must attribute the work i...
45.020408
159
0.641886
[ "MIT" ]
csegura/YACAMLQP
IdeSeg.SharePoint.Caml.QueryParser/AST/Base/FieldList.cs
2,208
C#
using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using Lykke.Service.EthereumCore.Core; namespace Lykke.Service.EthereumCore.Models.Models { public class GasPriceModel { [Required] [RegularExpression(Constants.BigIntTemplate)] public string Max { get; se...
26.235294
53
0.697309
[ "MIT" ]
JTOne123/EthereumApiDotNetCore
src/Lykke.Service.EthereumCore..Models/Models/GasPriceModel.cs
448
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace JiraCloneMVC.Web { public class MvcApplication : System.Web.HttpApplication { p...
30.346154
98
0.723701
[ "MIT" ]
CrazyLlama98/JiraCloneMVC
JiraCloneMVC.Web/Global.asax.cs
791
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 Kmd.Logic.Cpr.Client.Models { using Newtonsoft.Json; using System.Linq; public partial class ExperianProvid...
31.133333
288
0.585011
[ "MIT" ]
deviprasad-kmd/kmd-logic-cpr-client
src/Kmd.Logic.Cpr.Client/Models/ExperianProviderConfigurationResponse.cs
2,335
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...
29.605263
110
0.734222
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MediaPackage/Generated/Model/TagResourceResponse.cs
1,125
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace QRCoderDemo { static class Program { /// <summary> /// Der Haupteinstiegspunkt für die Anwendung. /// </summary> [STAThread] static void Main() { ...
22.826087
65
0.594286
[ "MIT" ]
0x7d9/QRCoder
QRCoderDemo/Program.cs
528
C#
using UnityEngine; using System.Collections; public class RecordPlayer : MonoBehaviour { //-------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------- //--------------------------------------...
32.823529
94
0.290621
[ "Apache-2.0" ]
anthonywong555/Vector-Google-Daydream
unity/PersonalProject/Assets/Record_player/Scripts/RecordPlayer.cs
3,348
C#
/* insert license info here */ using System; using System.Collections; namespace Business.Data.Laboratorio { /// <summary> /// Generated by MyGeneration using the NHibernate Object Mapping template /// </summary> [Serializable] public sealed class SectorServicio: Business.BaseDataAccess { #regi...
20.910448
98
0.578396
[ "MIT" ]
saludnqn/laboratorio
Business/Data/Laboratorio/SectorServicio.cs
4,203
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> //--...
39.478873
186
0.601498
[ "MIT" ]
hubertfuchs/Components
WindowsFormsApp1/Properties/Resources.Designer.cs
2,805
C#
/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (C) 2012 Prince Samuel <prince.samuel@gmail.com> Copyright (C) 2012-2013 Michael Möller <mmoeller@op...
28.9
81
0.55523
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AlannaMuir/open-hardware-monitor
Utilities/HttpServer.cs
11,274
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...
40.410714
156
0.634114
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/LookoutforVision/Generated/Model/Internal/MarshallTransformations/UpdateDatasetEntriesRequestMarshaller.cs
4,526
C#
using Microsoft.ApplicationInsights.Extensibility; using softaware.UsageAware.ApplicationInsights; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace softaware.UsageAware.UI.DemoClient { //...
21.217391
51
0.711066
[ "MIT" ]
softawaregmbh/library-usageaware
src/softaware.UsageAware.UI.DemoClient/App.xaml.cs
490
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. // Original file: https://github.com/IdentityServer/IdentityServer4.Quickstart.UI // Modified by Jan Škoruba namespace ODMIdentity.STS.Identi...
34.526316
107
0.681402
[ "MIT" ]
omikolaj/IdentityServer4-Admin
ODMIdentity/src/ODMIdentity.STS.Identity/ViewModels/Consent/ScopeViewModel.cs
659
C#
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
41.2
119
0.760518
[ "Apache-2.0" ]
AkhilNaidu09/IdentityServer3.Samples
source/MembershipReboot/WebHost/IdMgr/MembershipRebootIdentityManagerServiceExtensions.cs
1,856
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Metozis.External.WeightedRandomization; using Metozis.TeTwo.Internal.Entities.Archetypes; using Metozis.TeTwo.Internal.Entities.Factories; using Metozis.TeTwo.Interna...
34.522059
112
0.572311
[ "MIT" ]
Donatoz/Terrabound
Internal/Generation/World/WorldGenerator.cs
4,697
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00021008", true, 0xE1FF)] [Attributes(9)] public class Bc3PaSmpsPdmLevelTemp { [Element...
21.761905
60
0.617068
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/Bc3PaSmpsPdmLevelTempI.cs
457
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.Drawing; using static Interop; namespace System.Windows.Forms { public partial class DataGridView...
37.907692
165
0.471591
[ "MIT" ]
adamsitnik/winforms
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs
7,394
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See the License.txt file in the project root for full license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Specialized; using System.Configurati...
49.148148
218
0.592206
[ "MIT" ]
Expecho/MicrosoftConfigurationBuilders
src/AzureAppConfig/AzureAppConfigurationBuilder.cs
18,580
C#
using System.Collections.Generic; using UnityEngine; namespace CXUtils.Common { ///<summary> CX's Helper Mesh Utils and extensions </summary> public static class MeshUtils { #region Script Methods /// <summary> Recalculates all the bounds, normals and tangents of the mesh </summary> ...
37.364532
144
0.524588
[ "MIT" ]
AMAIOLAMO/CXUtilsByCXRedix-UnityUtils
Scripts/Src/Unity/Utilities/Mesh/MeshUtils.cs
7,587
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using Octopus.Client.Model; namespace Octopus.Client.Repositories { public interface ITaskRepository : IPaginate<TaskResource>, IGet<TaskResource>, ICreate<TaskResource> { TaskResource E...
50.078947
246
0.655176
[ "Apache-2.0" ]
roederja/OctopusClients
source/Octopus.Client/Repositories/TaskRepository.cs
9,515
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Xml; using System.Text; using Microsoft.Test.ModuleCore; using System.IO; using XmlCoreTest.Common; using Xunit; namespace CoreXml.Test.XLinq { public...
115.26908
278
0.661848
[ "MIT" ]
AndyAyersMS/runtime
src/libraries/System.Private.Xml.Linq/tests/xNodeReader/FunctionalTests.cs
117,805
C#
namespace BaristaLabs.ChromeDevTools.Runtime.DOM { using Newtonsoft.Json; /// <summary> /// Requests that the node is sent to the caller given the JavaScript node object reference. All /// nodes that form the path from the node to the root are also sent to the client as a series of /// `setChildNod...
27.325581
101
0.579574
[ "MIT" ]
BaristaLabs/chrome-dev-tools-runtime
BaristaLabs.ChromeDevTools.Runtime/DOM/RequestNodeCommand.cs
1,175
C#
using CleanArchitecture.Application.Common.Exceptions; using CleanArchitecture.Application.Common.Interfaces; using CleanArchitecture.Domain.Entities; using CleanArchitecture.Domain.Events; using MediatR; using System.Threading; using System.Threading.Tasks; namespace CleanArchitecture.Application.MediatR.TodoItems.C...
29.181818
106
0.692368
[ "MIT" ]
Ulysses31/Clean-Architecture
src/Application/MediatR/TodoItems/Commands/DeleteTodoItem/DeleteTodoItemCommand.cs
1,286
C#
using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class Food : Draggable { public ItemData food; private PlayerAnimationController player; [SerializeField] private TextMeshProUGUI stackUI; ...
23.762887
86
0.560954
[ "MIT" ]
DilaverSerif/PotatoPET
Assets/Scripts/Food.cs
2,305
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associadas a um assembly. [assembly: AssemblyTitle("ConsoleBa...
38.135135
95
0.752658
[ "MIT" ]
Felipe13devmaster/Console-Bank
ConsoleBank/01-ConsoleBank/Properties/AssemblyInfo.cs
1,436
C#
namespace formulate.app.DataValues.Kinds { // Namespaces. using core.Types; using DataInterfaces; using Helpers; using Newtonsoft.Json.Linq; using Suppliers; using System; using System.Collections.Generic; using System.Linq; using Constants = Constants.DataValues.DataValueListF...
25.983607
104
0.526498
[ "MIT" ]
DKompile/formulate
src/formulate.app/DataValues/Kinds/DataValueListFunction.cs
3,172
C#
using ManageCourse.Core.Data.Common; using System.Collections.Generic; namespace ManageCourse.Core.Data { public class Grade: Audit, IHasId { public int Id { get; set; } public int AssignmentId { get; set; } public int StudentId { get; set; } public string MSSV { get; set; } ...
31.545455
66
0.628242
[ "MIT" ]
hdh-se/classroom-api
ManageCourse.Core/Data/Grade.cs
696
C#
using Jigsaw_2.Abstracts; using System.Windows.Controls; namespace Jigsaw_2.Games.LetterOnLetter.Commands { internal class SelectCommand : ICommand, IUndoable { private readonly ILoLGameBehavior lolGameBehavior; private readonly Button selecter; public SelectCommand(ILoLGameBehavior ...
22.793103
79
0.627837
[ "MIT" ]
shkemilo/Jigsaw-2
Jigsaw 2/Games/LetterOnLetter/Commands/SelectCommand.cs
663
C#
using System; using Alipay.AopSdk.Domain; using System.Collections.Generic; using Alipay.AopSdk.Response; namespace Alipay.AopSdk.Request { /// <summary> /// AOP API: alipay.marketing.tool.fengdie.space.batchquery /// </summary> public class AlipayMarketingToolFengdieSpaceBatchqueryRequest : IAopReques...
24.154545
130
0.614227
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Request/AlipayMarketingToolFengdieSpaceBatchqueryRequest.cs
2,669
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common.Contract { public class FileRequest { public string FileFullName { get; set; } } }
17.533333
56
0.695817
[ "Apache-2.0" ]
Theremiracle/FileService
Common/Contract/FileRequest.cs
265
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Goog...
26.914286
81
0.611465
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Storage/V1/Inputs/BucketOwnerArgs.cs
942
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
44.4375
176
0.599156
[ "Unlicense" ]
Slesa/Poseidon
sketches/wpf/caliburn/01_Start/Properties/Resources.Designer.cs
2,846
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
38.641026
128
0.578633
[ "MIT" ]
imanshu15/x-sms
X-SMS/X-SMS-DAL/Database/Game.cs
1,507
C#
using System.Collections.Generic; using UnityEngine.Serialization; #if ENVIRO_LWRP && ENVIRO_HD namespace UnityEngine.Rendering.LWRP { public class EnviroFogLWRP : UnityEngine.Rendering.Universal.ScriptableRendererFeature { EnviroBlitPass blitPass; private Camera myCam; #region Fog V...
45.356784
317
0.619433
[ "Unlicense" ]
adityawahyu04/Tugas-Pertemuan-1-Lab-Pemgame
Assets/Enviro - Sky and Weather/Enviro Standard/URP Support/Scripts/EnviroFogLWRP.cs
9,028
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using ASTRA.EMSG.Business.Entities.Common; using ASTRA.EMSG.Business.Entities.Summarisch; using ASTRA.EMSG.Business.Infrastructure.Transactioning; using ASTRA.EMSG.Business.Models.Summarisch; using ASTRA.EMSG.Business.ReflectionMappingConfig...
47.786885
178
0.773242
[ "BSD-3-Clause" ]
astra-emsg/ASTRA.EMSG
Master/ASTRA.EMSG.Business/Services/EntityServices/Summarisch/NetzSummarischDetailService.cs
2,915
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; namespace C1_BT2_Client { class SimpleTcpClient { static void Main(string[] args) { byte[] data = new byte[1024]; string input, stringData; ...
30.588235
104
0.526282
[ "Unlicense" ]
phuccoder/Network-Program
2_1_SimpleTcpClient/SimpleTcpClient.cs
1,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace api { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}...
23.791667
99
0.581436
[ "MIT" ]
ShenLx1/WebApi
api/App_Start/RouteConfig.cs
573
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Livet; using Livet.Commands; using Livet.Messaging; using Livet.Messaging.IO; using Livet.EventListeners; using Livet.Messaging.Windows; using ProgressiveTweet.Models; namespace ProgressiveTweet....
22.294118
74
0.614776
[ "MIT" ]
paralleltree/ProgressiveTweet
ProgressiveTweet/ViewModels/Navigative/RootThumbViewModel.cs
1,139
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 Microsoft; using NuGet.ProjectManagement; using NuGet.VisualStudio; namespace NuGet.PackageManagement.VisualStudio { /// <summa...
35.275862
111
0.72825
[ "Apache-2.0" ]
AntonC9018/NuGet.Client
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/ProjectServices/VsCoreProjectSystemServices.cs
2,046
C#
using Skybrud.Social.Vimeo.Endpoints.Raw; using Skybrud.Social.Vimeo.Responses.Users; namespace Skybrud.Social.Vimeo.Endpoints { /// <summary> /// Class representing the implementation of the me endpoint. /// </summary> /// <see> /// <cref>https://developer.vimeo.com/api/endpoints/me</cref> ...
25.754717
104
0.578755
[ "MIT" ]
jemayn/Skybrud.Social.Vimeo
src/Skybrud.Social.Vimeo/Endpoints/VimeoMeEndpoint.cs
1,367
C#