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
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Converters; namespace Twilio.Rest.Sync.V1.Service { /// <summary> /// FetchSyncMapOptions /// </summary> publ...
31.894273
115
0.545304
[ "MIT" ]
BrimmingDev/twilio-csharp
src/Twilio/Rest/Sync/V1/Service/SyncMapOptions.cs
7,240
C#
using MicroGarden.Settings.Core.Schemas.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace MicroGarden.Settings.Core.Schemas.Services.Provider { public interface ISettingsSchemaProvider { Task<IReadOnlyList<SettingsEntity>> List(); /// <exception cref="SchemaNotF...
29.066667
101
0.75
[ "MIT" ]
chaliy/microgarden-settings
src/MicroGarden.Settings.Core/Schemas/Services/Provider/ISettingsSchemaProvider.cs
436
C#
namespace DevFreela.Application.ViewModels { public class CreateProjectViewModel { public string Title { get; set; } public string Description { get; set; } public int IdClient { get; set; } public int IdFreelancer { get; set; } public decimal TotalCost { get; set; } ...
27.083333
47
0.621538
[ "MIT" ]
ClaudioSiqueira/DevFreela
DevFreela.Application/ViewModels/CreateProjectViewModel.cs
327
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class YggDoor : MonoBehaviour { public string nextScene; private bool isPlayerIn = false; void Update() { if (Input.GetKeyDown(KeyCode.E) && isPlayerIn) { SceneManager.LoadSc...
20.6
57
0.662968
[ "MIT" ]
yosonlineapp/blog2dgame
Assets/Scripts/Objects/YggDoor.cs
723
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// A Grid Object Collection is simply a set of child objects organized with some /// layout parameters. The collection can ...
36.840753
239
0.497327
[ "MIT" ]
CDiaz-MS/MixedRealityToolkit-Unity
Assets/MRTK/SDK/Features/UX/Scripts/Collections/GridObjectCollection.cs
21,517
C#
using Microsoft.AspNetCore.Identity; using Abp.Authorization; using Abp.Authorization.Users; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Zero.Configuration; using Concise_CMS.Authorization.Roles; using Concise_CMS.Authori...
33.108696
76
0.641497
[ "MIT" ]
xhl592576605/Concise_CMS
src/concise_cms-aspnet-core/src/Concise_CMS.Core/Authorization/LoginManager.cs
1,523
C#
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
27.533163
151
0.702307
[ "BSD-2-Clause" ]
Bhalddin/MatterControl
MatterControlLib/SlicerConfiguration/SettingsRow.cs
10,795
C#
using Splaak.Core.Values; using Splaak.Core.Values.Types; using Xunit; namespace Splaak.Tests.Values.Types { public class PairVTests { private static Value _1 = new IntV(0); private static Value _2 = new IntV(1); private PairV _obj = new PairV(_1, _2); [Fact] public vo...
22.192982
78
0.515415
[ "MIT" ]
CptWesley/Splaak
tests/src/Values/Types/PairVTests.cs
1,267
C#
using UnityEngine; using UnityAtoms.SceneMgmt; namespace UnityAtoms.SceneMgmt { /// <summary> /// Event of type `SceneFieldPair`. Inherits from `AtomEvent&lt;SceneFieldPair&gt;`. /// </summary> [EditorIcon("atom-icon-cherry")] [CreateAssetMenu(menuName = "Unity Atoms/Events/SceneFieldPair", fileNam...
32.769231
103
0.725352
[ "MIT" ]
puschie286/unity-atoms
Packages/SceneMgmt/Runtime/Events/SceneFieldPairEvent.cs
426
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
29.345455
140
0.614002
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/providerhub/Microsoft.Azure.Management.ProviderHub/src/Generated/Models/SkuZoneDetail.cs
1,614
C#
using Microsoft.SqlServer.Server; using System; using System.Data.SqlTypes; using System.IO; namespace Microsoft.SqlServer.Types { /// <summary> /// The SqlGeography type represents data in a geodetic (round earth) coordinate system. /// </summary> [SqlUserDefinedType(Format.UserDefined, IsB...
52.319549
342
0.605698
[ "Apache-2.0" ]
MuhKuh7/Microsoft.SqlServer.Types
src/Microsoft.SqlServer.Types/SqlGeography.cs
27,840
C#
using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace MicroFeel.Yonyou.Api { public class Materialout { ///<Summary> ///单据编号 ///</Summary> [JsonPropertyName("code")] public string Code { get; set; } ///<Summary> /...
25.453521
69
0.482736
[ "Apache-2.0" ]
microfeel/Yonyou
MicroFeel.Yonyou.OpenApi/Model/Data/Stock/Materialout.cs
9,678
C#
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Drawing; using System.Linq; using System.Threading.Tasks; using Dapplo.HttpExtensions; using Dapplo.HttpExtensions.Extensions; using Dapplo....
36.220183
126
0.670719
[ "MIT" ]
oldmansauls/Dapplo.Jira
src/Dapplo.Jira.Tests/ProjectTests.cs
3,950
C#
using AspnetRun.Services.Orders.Core.Entities; using AspnetRun.Services.Orders.Core.Repositories.Base; using System.Collections.Generic; using System.Threading.Tasks; namespace AspnetRun.Services.Orders.Core.Repositories { public interface IOrderRepository : IRepository<Order> { Task<IEnumerable<Order...
28.692308
74
0.788204
[ "MIT" ]
nilavanrajamani/ecommerce-microservice
AspnetRun.Services.Orders/Core/Repositories/IOrderRepository.cs
375
C#
// Polar2D using ClubPenguin; using UnityEngine; public struct Polar2D { public static readonly Polar2D Zero = new Polar2D(0f, 0f); public float Angle { get; private set; } public float Distance { get; private set; } public Polar2D(float angle, float distance) { this = default(Polar2D); Angle =...
22.448276
119
0.692268
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin/Polar2D.cs
1,953
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
52.384615
97
0.528634
[ "MIT" ]
Agazoth/azure-powershell
src/ContainerInstance/generated/runtime/Conversions/Instances/JsonObjectConverter.cs
671
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net; namespace Octokit.Internal { /// <summary> /// Represents a generic HTTP response /// </summary> internal class Response : IResponse { [Obsolete("Use the constructor with maximum paramet...
35.583333
120
0.614988
[ "MIT" ]
Aarojas3012a/octokit.net
Octokit/Http/Response.cs
2,137
C#
// // Copyright 2020 Google LLC // // 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, Ver...
40.805556
99
0.662355
[ "Apache-2.0" ]
Bhisma19/iap-desktop
sources/Google.Solutions.IapDesktop.Application.Test/Services/Adapters/TestInstanceExtensions.cs
4,409
C#
using System; using System.Linq; using FluentAssertions; using VaraniumSharp.DryIoc.Tests.Fixtures; using Xunit; namespace VaraniumSharp.DryIoc.Tests { public class ContainerSetupTest { #region Public Methods [Fact] public void ClassWithMultipleConstructorsIsRegisteredCorrectly() ...
30.774194
102
0.577743
[ "MIT" ]
NinetailLabs/VaraniumSharp.DryIoc
VaraniumSharp.DryIoc.Tests/ContainerSetupTest.cs
5,726
C#
// GENERATED AUTOMATICALLY FROM 'Assets/Input/InputActions.inputactions' using System; using System.Collections; using System.Collections.Generic; using UnityEngine.InputSystem; using UnityEngine.InputSystem.Utilities; public class @InputActions : IInputActionCollection, IDisposable { public InputActionAsset asse...
45.949045
113
0.490204
[ "MIT" ]
noirhero/ActionFramework
Assets/Input/InputActions.cs
21,642
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...
53.714286
127
0.694632
[ "BSD-3-Clause" ]
AlericInglewood/opensimulator
OpenSim/Tests/Common/Helpers/BaseRequestHandlerHelpers.cs
4,136
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoinBTG.Policy { public class StandardTransactionPolicy : ITransactionPolicy { public StandardTransactionPolicy() { ScriptVerify = NBitcoinBTG.ScriptVerify.Standard; ...
25.689655
149
0.648993
[ "MIT" ]
LykkeCity/NBitcoinBTG
NBitcoin/Policy/StandardTransactionPolicy.cs
5,962
C#
using System.Collections.Generic; using AutoStep.Elements.Metadata; namespace AutoStep.Elements.Test { /// <summary> /// A built scenario outline. /// </summary> public class ScenarioOutlineElement : ScenarioElement, IScenarioOutlineInfo { private readonly List<ExampleElement> examples = n...
33.566667
85
0.575968
[ "MIT" ]
SivaGudivada/AutoStep
src/AutoStep/Elements/Test/ScenarioOutlineElement.cs
2,016
C#
using System; using System.Collections.Concurrent; namespace _12.ConcurrentQueue { class Startup { static void Main(string[] args) { ConcurrentQueue<int> queue = new ConcurrentQueue<int>(); queue.Enqueue(1); queue.Enqueue(2); int result; ...
25.521739
83
0.572402
[ "MIT" ]
YakoYakov/ParallelProgrammingWithCSharp
ParallelProgrammingExamples/12.ConcurrentQueue/Startup.cs
589
C#
namespace Contoso.AADB2C.API.Models { public class OutputClaimsModel { public string loyaltyNumber { get; set; } public string action { get; set; } } }
22.375
49
0.636872
[ "MIT" ]
scottluskcis/adb2c-custom-claims
src/Contoso.AADB2C.API/Models/OutputClaimsModel.cs
179
C#
namespace HttpServer.Http.Constants { public static class CookieData { public static string MaxAgeHeader = "Max-Age"; public static string PathHeader = "Path"; public static string HttpOnlyHeader = "HttpOnly"; } }
22.909091
57
0.662698
[ "MIT" ]
gtsonkov/SimpleHttpServer
HttpServer/HttpServer.Http/Constants/CookieData.cs
254
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using fruitShop.EntityFrameworkCore; namespace fruitShop.Migrations { [DbContext(typeof(fruitShopDbContext))] [Mi...
31.718438
117
0.439981
[ "MIT" ]
ThomasMar1/fruitShop
aspnet-core/src/fruitShop.EntityFrameworkCore/Migrations/20170608053244_Upgraded_To_Abp_2_1_0.Designer.cs
34,924
C#
using Incoding.Core.Block.Logging; using Incoding.Core.Block.Logging.Core; namespace Incoding.UnitTest.Block { #region << Using >> using System; using Incoding.UnitTests.MSpec; using Machine.Specifications; #endregion [Subject(typeof(LoggingFactory))] public class When_logging_factory_lo...
47.375
183
0.505937
[ "Apache-2.0" ]
Incoding-Software/Incoding-Framework-Core
src/Incoding.UnitTestsCore/Block/LoggingFactoryGroup/Factory/When_logging_factory_log.cs
1,516
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 29.05.2018. using NUnit.Framework; using xEFCore=Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb; namespace EFCore...
26.013889
81
0.585958
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Unit/ErrorServices/Check/TestsFor__RelationalTypeMappingInfo__IsUnicode.cs
3,748
C#
using LunarLabs.WebServer.Core; using LunarLabs.WebServer.HTTP; using LunarLabs.WebServer.Plugins; using Phantasma.Core; namespace Phantasma.API { public class RPCServer : Runnable { public int Port { get; } public string EndPoint { get; } public readonly NexusAPI API; private...
30.239583
155
0.451257
[ "MIT" ]
GOATi/PhantasmaChain
Phantasma.API/RPCServer.cs
2,905
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Day08 { class Program { static void Main(string[] args) { var input = File.ReadAllLines("input.txt") .Select(line => (op: line[..3], arg: int.Parse(line[4..]))) ...
27.680851
100
0.399308
[ "MIT" ]
modernist/AdventOfCode
2020/Day08/Program.cs
2,604
C#
namespace Terka.FontBuilder.Optimizer { using System; using System.Collections.Generic; using System.Linq; using Terka.FontBuilder.Compiler; using Terka.FontBuilder.Compiler.Output; using Terka.FontBuilder.Extensions; class TransitionCountStateEqualityComparer : IEqualityComparer<State> ...
50.805046
247
0.528238
[ "Apache-2.0" ]
miloush/Terka.TinyFonts
TerkaFont Builder/Optimizer/StateMachineOptimizer.cs
22,153
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...
32.829268
108
0.625186
[ "Apache-2.0" ]
TallyUpTeam/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/DetectEntitiesRequest.cs
2,692
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.CodeAnalysis; [assembly: SuppressMessage("Microsoft.MSInternal", "CA905:SystemAndMicrosoft...
42.047619
171
0.636467
[ "MIT" ]
Bhaskers-Blu-Org2/winforms
src/System.Windows.Forms/src/System/Windows/Forms/VisualStyles/Edges.cs
1,766
C#
#region License // // Copyright 2002-2019 Drew Noakes // Ported from Java to C# by Yakov Danilov for Imazen LLC in 2014 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
37.117925
126
0.541492
[ "Apache-2.0" ]
XelaNimed/metadata-extractor-dotnet
MetadataExtractor/Formats/Exif/makernotes/SamsungType2MakernoteDescriptor.cs
7,869
C#
using System; using Monitor = System.Threading.Monitor; namespace ThreadingUtilities { /// <summary> /// Reader writer. /// /// This class Solves a fequent problem with databases in mind. /// This allows you to read multiple times with a lightswitch and allows you to write using the semaphore token. /// This ...
31.875
158
0.702241
[ "MIT" ]
Mark-Fulton/Threading-Utilities
ReaderWriter.cs
3,572
C#
using Microsoft.AspNetCore.Mvc; namespace Saas.Admin.Web.Controllers { public class UsersController : Controller { public IActionResult Index() { return View(); } } }
16.692308
45
0.59447
[ "MIT" ]
Azure/azure-saas
src/Saas.Admin/Saas.Admin.Web/Controllers/UsersController.cs
219
C#
namespace Tavenem.Wiki.Web; /// <summary> /// Options for the wiki web client. /// </summary> public interface IWikiWebOptions { /// <summary> /// <para> /// The title of the main about page. /// </para> /// <para> /// Default is "About" /// </para> /// <para> /// May be set to <se...
26.028902
93
0.508106
[ "MIT" ]
Tavenem/Wiki.Web
src/IWikiWebOptions.cs
4,505
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
31.714286
84
0.494595
[ "Apache-2.0" ]
MoysheBenRabi/setp
csharp/Examples/XnaTank/MXTankWeb/Default.aspx.designer.cs
1,112
C#
// Maybe: Unit Tests // Copyright (c) bfren - licensed under https://mit.bfren.dev/2019 using MaybeF; using NSubstitute.ExceptionExtensions; using static MaybeF.F.M; namespace Abstracts; public abstract class IfNull_Tests { public abstract void Test00_Exception_In_IfNull_Func_Returns_None_With_UnhandledExceptionMsg...
27.21223
117
0.69187
[ "MIT" ]
bfren/maybe
tests/Tests.MaybeF/- Test Abstracts -/IfNull/IfNull_Tests.cs
7,565
C#
using System; using System.Collections.Concurrent; using WireMock.Handlers; using WireMock.Logging; using WireMock.Matchers; using WireMock.Util; #if !USE_ASPNETCORE using Owin; #else using IAppBuilder = Microsoft.AspNetCore.Builder.IApplicationBuilder; using Microsoft.Extensions.DependencyInjection; #endif namespace...
41.329268
130
0.730304
[ "Apache-2.0" ]
qq362220083/WireMock.Net
src/WireMock.Net/Owin/WireMockMiddlewareOptions.cs
3,391
C#
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Umbraco.Core.Models; namespace Umbraco.Tests.Models { [TestFixture] public class PreValueCollectionTests { [Test] public void Can_Deep_Clone() { var d = new PreValueCollection...
32.352941
84
0.503636
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Tests/Models/PreValueCollectionTests.cs
1,650
C#
using CodeBrosForum.Data; using CodeBrosForum.Data.Models; using CodeBrosForum.Service; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjecti...
33.824324
143
0.620455
[ "MIT" ]
FatlumBehrami/CodeBros-Forum
Startup.cs
2,503
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Humanizer; using...
43.222944
215
0.559743
[ "MIT" ]
DouglasMarq/osu
osu.Game/Database/ArchiveModelManager.cs
39,019
C#
 #region License /* Copyright (c) 2015 Betson Roy 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, merge, publish...
32
74
0.68254
[ "MIT" ]
HMBSbige/QueryMaster
QueryMaster/GameServer/DataObjects/LogFilter.cs
2,018
C#
using System; using System.Collections.Generic; using System.Text; using Game.Logic.AI; namespace GameServerScript.AI.Game { public class TimeVortexEpicGame : APVEGameControl { public override void OnCreated() { Game.SetupMissions("40040");// vòng xóa LG Game.TotalMissi...
20.413043
58
0.447284
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/Game.Server.Scripts/AI/Game/TimeVortexEpicGame.cs
943
C#
//------------------------------------------------------------------------------ // <auto-generated /> // This file was automatically generated by the UpdateVendors tool. //------------------------------------------------------------------------------ // dnlib: See LICENSE.txt for more info using System; using System....
29.184762
146
0.680068
[ "Apache-2.0" ]
theletterf/signalfx-dotnet-tracing
tracer/src/Datadog.Trace/Vendors/dnlib/DotNet/PropertyDef.cs
15,322
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.SchemaObjectModel { using System.Collections.Generic; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Utilities; us...
32.56338
139
0.497405
[ "Apache-2.0" ]
Cireson/EntityFramework6
src/EntityFramework/Core/SchemaObjectModel/RowTypePropertyElement.cs
9,248
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; /** [EasyMotionRecorder] Copyright (c) 2018 Duo.inc This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ namespace Entu...
32.25419
117
0.514333
[ "MIT" ]
arumani/EasyMotionRecorder
EasyMotionRecorder/Assets/EasyMotionRecorder/Scripts/FaceAnimationRecorder.cs
12,081
C#
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; using System.Windows.Forms; namespace ItelexLogger { public partial class LogView : Form { public delegate void Cl...
23.183486
133
0.677879
[ "MIT" ]
detlefgerhardt/ItelexLogger
Visual Studio/ItelexLogger/LogView.cs
2,421
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
33.42
133
0.53471
[ "MIT" ]
BrainPlus/squidex
backend/src/Squidex.Domain.Apps.Entities/Contents/GraphQL/GraphQLExecutionContext.cs
6,686
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/UIAnimation.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Run...
49
302
0.715463
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/UIAnimation/IUIAnimationVariableIntegerChangeHandler2.cs
2,550
C#
using UnityEngine; using UnityEngine.XR.Interaction.Toolkit; [RequireComponent(typeof(XRGrabInteractable))] public class ComplexCube : MonoBehaviour { XRGrabInteractable m_GrabInteractable; MeshRenderer m_MeshRenderer; static Color s_UnityMagenta = new Color(0.929f, 0.094f, 0.278f); static Color ...
30.079365
81
0.705013
[ "MIT" ]
BIGdinosaurDDD/VR_exist
Assets/Scripts/ComplexCube.cs
1,897
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("Ch...
37.918919
84
0.744833
[ "MIT" ]
aaRopi/CheckCheque
Application/CheckCheque/CheckCheque.iOS/Properties/AssemblyInfo.cs
1,406
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Catalogo.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult About() ...
19.166667
67
0.561739
[ "Apache-2.0" ]
esteban18plus/Catalogo
Catalogo/Controllers/HomeController.cs
577
C#
using Discord; using Discord.WebSocket; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nayu.Core.Features.GlobalAccounts; using Nayu.Modules.Inbox; namespace Nayu.Core.LevelingSystem { public class LevelingRewards { public stat...
34.705128
168
0.468969
[ "MIT" ]
Phytal/Nayu
Nayu/Core/LevelingSystem/LevelingRewards.cs
5,416
C#
using lunge.Library.Discord.RPC.Message; /// <summary> /// Delegates used for events sent by the pipe. /// </summary> namespace lunge.Library.Discord.RPC { /// <summary> /// Called when the Discord Client is ready to send and receive messages. /// </summary> /// <param name="sender">The Discord client handler tha...
47.604651
181
0.736932
[ "MIT" ]
lunacys/lunge
src/lunge.Library/Discord/RPC/Events.cs
4,096
C#
using Knight.Core.WindJson; using Microsoft.IO; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Threading.Tasks; namespace Knight.Hotfix.Core { public class HotfixNetworkMessagePacker { private static readonly RecyclableMemoryStreamManager mRe...
31.022472
117
0.558855
[ "MIT" ]
JansonC/knight
knight-client/Assets/Game.Hotfix/Core/Network/HotfixNetworkMessagePacker.cs
2,763
C#
using System.Collections.Generic; using Coevery.ContentManagement; using Coevery.Localization; using Coevery.Messaging.Services; using Coevery.UI.Admin.Notification; using Coevery.UI.Notify; using Coevery.Users.Models; namespace Coevery.Users.Services { public class MissingSettingsBanner : INotificationProvider {...
40.425
158
0.65368
[ "BSD-3-Clause" ]
Coevery/Coevery-Framework
src/Coevery.Web/Modules/Coevery.Users/Services/MissingSettingsBanner.cs
1,619
C#
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Application.Services.Dto; using Abp.Authorization; using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.Extensions; using Abp.IdentityFramewo...
36.714912
198
0.630868
[ "MIT" ]
Hastrodis/MyFirstBP
aspnet-core/src/MyFirstBP.Application/Users/UserAppService.cs
8,373
C#
using UnityEngine; using UnityEngine.EventSystems; namespace m039.Common { public class Unselectable : MonoBehaviour, ISelectHandler { bool _selected; public void OnSelect(BaseEventData eventData) { _selected = true; } void Update() { if...
19.333333
76
0.548276
[ "MIT" ]
m039/CommonUnityLibrary
Runtime/Scripts/UI/Unselectable.cs
580
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("Wi...
36.53125
84
0.754491
[ "MIT" ]
PumpkinPaul/Gearset
GearsetContent/Properties/AssemblyInfo.cs
1,172
C#
using System; using System.Collections.Generic; using UnityEngine; namespace PNLib.Utility { public class SingletonCollection : MonoBehaviour { protected static readonly Dictionary<Type, object> Instances = new Dictionary<Type, object>(); protected static bool IsApplicationQuitting; protected virtual void On...
20.909091
96
0.76087
[ "MIT" ]
protonames/PNLib
Runtime/Utility/SingletonCollection.cs
462
C#
using System; using System.Collections.Generic; using NUnit.Framework; using Rebus.Logging; using Rebus.Testing; using Rhino.Mocks; using log4net.Config; namespace Rebus.Tests { public abstract class FixtureBase { static FixtureBase() { XmlConfigurator.Configure(); ...
26.951613
94
0.478755
[ "Apache-2.0" ]
dev4ce/Rebus
src/Rebus.Tests/FixtureBase.cs
1,671
C#
using System.Web; using System.Web.Optimization; namespace WebApplicationDbcontext { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles....
38.967742
113
0.586921
[ "MPL-2.0" ]
kvolodymyr/Clout-It-C-19-04
Course/Module10/ExampleApps/WebApplicationDbcontext/WebApplicationDbcontext/App_Start/BundleConfig.cs
1,210
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AvaPlugin; using System.Threading; using System.Data; namespace Driver { public class DriverInterface { HANDLER.PluginTool _doc; HANDLER.PluginTool doc { get { if (_doc == null) _doc =...
28.433333
107
0.444314
[ "MIT" ]
rualb/ava-agent-xamarin
AvaPlugin/DriverInterface.cs
1,706
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerCollision : MonoBehaviour { private AudioManager audioManager; private void Start() { audioManager = AudioManager.Instance; } private void OnCollisionEnter(Collision collision) { ...
20.722222
54
0.718499
[ "Unlicense" ]
Zai-shen/Fless
Assets/Scripts/PlayerCollision.cs
375
C#
/* * Copyright 2016 Google Inc. All Rights Reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ using System; using System.Collections; using System.Collections.Generic; namespace Google.A...
47.09375
114
0.666888
[ "BSD-3-Clause" ]
Global19/gax-dotnet
Google.Api.Gax/PagedEnumerable.cs
3,016
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
40.136364
104
0.562571
[ "Apache-2.0" ]
BradLewis/TensorFlow.NET
src/TensorFlowNET.Core/Train/Saving/saver.py.cs
3,534
C#
using CharacterMap.Core; using CharacterMap.Helpers; using CharacterMap.Models; using CharacterMap.Services; using CharacterMap.Views; using Microsoft.Toolkit.Mvvm.DependencyInjection; using Microsoft.Toolkit.Mvvm.Messaging; using Microsoft.Toolkit.Mvvm.Input; using System; using System.Collections.Generic; using Syst...
32.649351
101
0.56424
[ "MIT" ]
Avid29/Character-Map-UWP
CharacterMap/CharacterMap/ViewModels/QuickCompareViewModel.cs
5,030
C#
using System; /* Task Description: Write a computer program that finds the number of the cat (from 10 cats all together) that is going to win the competition "Miss Cat", i.e. has gathered the most jury votes (from N members of the jury). Input: The input data is being read from the console. The number N is on the...
32.566667
122
0.553736
[ "MIT" ]
VesKark/Telerik-Academy-BG
Programming with C#/C# - Part 1 - Contests/Sample-Exam-2011-2012/MissCat2011/MissCat2011.cs
1,956
C#
using NotaFiscalNet.Core.Interfaces; using NotaFiscalNet.Core.Utils; using NotaFiscalNet.Core.Validacao; using System.Xml; namespace NotaFiscalNet.Core { /// <summary> /// Representa a Contribuição de Intervenção no Domínio Econômico do Combustível /// </summary> public sealed class CideCombustivel : ...
34.373494
93
0.545741
[ "MIT" ]
NotaFiscalNet/NotaFiscalNet
src/NotaFiscalNet.Core/CideCombustivel.cs
2,864
C#
using System; using System.Collections.Generic; using System.Text; using Utils.NET.IO; namespace TitanCore.Net.Packets.Server { public class TnError : TnPacket { public override TnPacketType Type => TnPacketType.Error; public string message; public TnError() { } ...
18.028571
64
0.562599
[ "MIT" ]
steele123/Trials-Of-Titan
Client/Project-Titan-Client/Assets/Plugins/TitanCore/Net/Packets/Server/TnError.cs
633
C#
#region "copyright" /* Copyright © 2016 - 2021 Stefan Berg <isbeorn86+NINA@googlemail.com> and the N.I.N.A. contributors This file is part of N.I.N.A. - Nighttime Imaging 'N' Astronomy. 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 ...
39.867725
171
0.653616
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
daleghent/NINA
NINATest/Sequencer/Conditions/MoonIlluminationConditionTest.cs
7,538
C#
namespace AH.ModuleController.UI.INVMS.Forms { partial class frmTrackingGroupwiseStock { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used....
49.482213
216
0.607557
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/INVMS/Forms/frmTrackingGroupwiseStock.Designer.cs
12,521
C#
// TODO: To speedup summing up of long to decimal accumulation, Josh suggested using a long accumulator and catching the overflow exception and then adding to decimal - i.e. most of the time accumulate to long and once in // a while accumulate to decimal instead of always accumulating to decimal (offer this vers...
58.18602
254
0.622895
[ "Apache-2.0" ]
DragonSpit/CsharpFreeParallelAlgorithms
HPCsharp/SumParallel.cs
201,442
C#
using System; namespace POETradeHelper.ItemSearch.ViewModels { public class BindableSocketsFilterViewModel : BindableMinMaxFilterViewModel { public BindableSocketsFilterViewModel(System.Linq.Expressions.Expression<Func<PathOfExileTradeApi.Models.SearchQueryRequest, PathOfExileTradeApi.Models.Filters.I...
33.588235
196
0.686515
[ "Apache-2.0", "MIT" ]
alueck/POE-TradeHelper
Source/POETradeHelper.ItemSearch/ViewModels/AdvancedQuery/BindableSocketsFilterViewModel.cs
573
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace CustomerManagement.Domain.Migrations { public partial class Init : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.EnsureSchema( name: "CustomerManagement"); ...
34.763158
85
0.526874
[ "MIT" ]
RezaJenabi/Ecommerce
Src/Services/CustomerManagement/CustomerManagement.Domain/Migrations/20200326005410_Init.cs
1,323
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LegController : MonoBehaviour { [SerializeField] Player player; [SerializeField] float playerRad = 1.2f; [SerializeField] List<Leg> legs; void Update() { transform.position = player.transform.position; } void OnTrig...
24.389831
95
0.650452
[ "MIT" ]
Team-on/13-legs
13-legs/Assets/Scripts/Game/Player/LegController.cs
1,441
C#
// Generated from https://github.com/nuke-build/nuke/blob/master/build/specifications/CoverallsNet.json using JetBrains.Annotations; using Newtonsoft.Json; using Nuke.Common; using Nuke.Common.Execution; using Nuke.Common.Tooling; using Nuke.Common.Tools; using Nuke.Common.Utilities.Collections; using System; using Sy...
48.31931
342
0.594057
[ "MIT" ]
KonH/nuke
source/Nuke.Common/Tools/CoverallsNet/CoverallsNet.Generated.cs
44,792
C#
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.7.9 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协议:...
37.178392
167
0.550517
[ "Apache-2.0" ]
SuperSnowYao/Furion
framework/Furion/DatabaseAccessor/Helpers/DbHelpers.cs
15,822
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using RadarSoft.RadarCube.Controls; using RadarSoft.RadarCube.Layout; using RadarSoft.RadarCube.Tools; namespace RadarSoft.RadarCube.Engine.Md { [Serializable] [DebuggerDisplay("OlapCubeMetaLine ID = {ID}")] intern...
29.696429
100
0.575466
[ "MIT" ]
RadarSoft/radarcube-olap-analysis
src/Engine/Md/MdMetaLine.cs
1,663
C#
using Nager.Date.Contract; using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { /// <summary> /// Switzerland /// </summary> public class SwitzerlandProvider : IPublicHolidayProvider, ICountyProvider { private reado...
67.524272
400
0.532135
[ "MIT" ]
Marcelo366/Nager.Date
Src/Nager.Date/PublicHolidays/SwitzerlandProvider.cs
6,962
C#
// // Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Amazon Software License (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/asl/ // // or in the "license" file acco...
30.342857
97
0.690207
[ "MIT" ]
ciaranodonnell/KinesisDotNet
Code/Amazon/ClientLibrary/messages/ShardEndedAction.cs
1,062
C#
namespace HallOfFame.Web.Areas.Administration.Controllers.Base { using System.Web.Mvc; using HallOfFame.Common.Constants; using HallOfFame.Data.Contracts; using HallOfFame.Web.Controllers; [Authorize(Roles = GlobalConstants.AdministratorRoleName)] public class AdministrationController : BaseC...
24.333333
63
0.613394
[ "MIT" ]
StefanSinapov/Hall-of-Fame
src/HallOfFame.Web/Areas/Administration/Controllers/Base/AdministrationController.cs
659
C#
#if UNITY_2018_2_OR_NEWER using UnityEditor; using UnityEngine; namespace Alf.UnityLocker.Editor.Drawers { [InitializeOnLoad] public static class HeaderLockDrawer { private static readonly Rect sm_headerRect = new Rect(7, 7, 21, 21); private static readonly GUIStyle sm_lockLabelStyle = new GUIStyle { alig...
30.436508
173
0.674837
[ "Apache-2.0" ]
AffeJonsson/UnityLocker
UnityLocker/Assets/Plugins/UnityLocker/Scripts/Editor/Drawers/HeaderLockDrawer.cs
3,837
C#
using System; using System.IO; using System.Linq; using System.Collections.Generic; using Microsoft.Dnx.Runtime; using Microsoft.Dnx.Runtime.Common.CommandLine; using Newtonsoft.Json; using System.Threading.Tasks; using System.Diagnostics; namespace Srclib.Nuget { class DepresolveConsoleCommand { stati...
32.164502
214
0.501211
[ "MIT" ]
sourcegraph/srclib-csharp
Srclib.Nuget/ConsoleCommands/DepresolveConsoleCommand.cs
7,430
C#
using System; using System.IO; using Wire.Extensions; namespace Wire.ValueSerializers { public class ToSurrogateSerializer : ValueSerializer { private readonly Func<object, object> _translator; public ToSurrogateSerializer(Func<object, object> translator) { _translator = t...
27.054054
95
0.64036
[ "MIT" ]
Longzhiwu2015/SimpleBinary
Other/Wire/ValueSerializers/ToSurrogateSerializer.cs
1,003
C#
 namespace GMap.NET.MapProviders { using System; using GMap.NET.Projections; public abstract class CzechMapProviderBase : GMapProvider { public CzechMapProviderBase() { RefererUrl = "http://www.mapy.cz/"; Area = new RectLatLng(51.2024819920053, 11.8401353319027, 7....
23.5
104
0.520014
[ "Apache-2.0" ]
forgy/ntripshare-base
GMap.NET.Core/GMap.NET.MapProviders/Czech/CzechMapProvider.cs
2,775
C#
#if UNITY_ANDROID using UnityEngine; namespace FPCSharpUnity.unity.Android.Bindings.java.nio.charset { public class Charset : Binding { public static readonly Charset UTF_8; static readonly AndroidJavaClass klass; static Charset() { klass = new AndroidJavaClass("java.nio.charset.Charset"); ...
27.227273
65
0.707846
[ "MIT" ]
FPCSharpUnity/FPCSharpUnity
parts/0000-library/Assets/Vendor/FPCSharpUnity/unity/Android/Bindings/java/nio/charset/Charset.cs
601
C#
using DamaCoreCMS.Framework.Core.Models.ViewModels; using System.Collections.Generic; namespace Core.Blog.Models { public class TagCloudViewModel { public bool ShowTagHasPost { get; set; } public bool ShowPostCount { get; set; } public List<TagCloudItemViewModel> ItemList { get...
25.923077
65
0.679525
[ "BSD-3-Clause" ]
damaraaxaindonesia/DamaCMS
DamaCoreCMS.Web/Core/Core.Blog/Models/TagCloudViewModel.cs
339
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 ...
34.443787
113
0.545954
[ "Apache-2.0" ]
Weflac/nodejstools
Nodejs/Product/Npm/NodeModuleBuilder.cs
5,655
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 System.ComponentModel.Composition; using Microsoft.VisualStudio.Shell; namespace Microsoft.VisualStudio.ProjectSystem.VS { /// <summ...
42.136364
162
0.728155
[ "Apache-2.0" ]
333fred/roslyn-project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/VsService`2.cs
929
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-generate...
44.71875
185
0.601677
[ "MIT" ]
JamesHuntCode/Car-Hire-App
SOFT151-Coursework/Properties/Resources.Designer.cs
2,864
C#
using CopperSharp.Item; namespace CopperSharp.Blocks.State; /// <summary> /// Represents a dispenser/dropper inventory /// </summary> public sealed class DispenserInventory : Inventory { /// <inheritdoc /> protected override int MaxSize => 9; }
21.5
50
0.709302
[ "MIT" ]
Maxuss/CopperSharp
CopperSharp/Blocks/State/DispenserInventory.cs
258
C#
// // System.ComponentModel.DefaultPropertyAttribute // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // Andreas Nahr (ClassDevelopment@A-SoftTech.com) // // (C) 2002 Ximian, Inc (http://www.ximian.com) // (C) 2003 Andreas Nahr // // // Permission is hereby granted, free of charge, to any person obtaini...
29.231884
96
0.7412
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System/System.ComponentModel/DefaultPropertyAttribute.cs
2,017
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/winnt.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.CompilerService...
35.610442
175
0.579677
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/winnt/PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY.cs
8,869
C#
using System; using System.Threading.Tasks; using MicroServices.Services.Activities.Domain.Models; namespace MicroServices.Services.Activities.Domain.Repositories { public interface IActivityRepository { Task<Activity> GetAsync(Guid id); Task AddAsync(Activity activity); } }
25.416667
63
0.754098
[ "MIT" ]
berkayalcin/Micro-Services
src/MicroServices.Services.Activities/Domain/Repositories/IActivityRepository.cs
307
C#
namespace PCG.MapIngredientConfigs { using UnityEngine; [CreateAssetMenu(fileName = "CivilizationIngredientConfig", menuName = "Osnowa/PCG/Maps/CivilizationIngredientConfig", order = 0)] public class CivilizationIngredientConfig : MoistureIngredientConfig { public AnimationCurve HeightInfluence; public Animat...
32.75
131
0.824427
[ "MIT" ]
azsdaja/Osnowa
Assets/Scripts/PCG/MapIngredientConfigs/CivilizationIngredientConfig.cs
395
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; using Microsoft.Build.BackEnd; using Microsoft.Build.Construction;...
42.430911
221
0.571945
[ "MIT" ]
AlexanderSemenyak/msbuild
src/Build.UnitTests/Instance/ProjectInstance_Internal_Tests.cs
41,455
C#