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 UnityEngine; using System.Collections; public class DeftRigidBody : MonoBehaviour { public enum DeftRigidBodyType { PLAYER, PHYSICSOBJECT }; public DeftRigidBodyType type; public double m_InterpolationBackTime = 0.1; public double m_ExtrapolationLimit = 0.5; public string controllerScript; inter...
31.783439
98
0.645691
[ "MIT" ]
scarlethammergames/showcase
Assets/Scripts/DeftNetwork/DeftRigidBody.cs
4,992
C#
/* * MemorySharp Library * http://www.binarysharp.com/ * * Copyright (C) 2012-2016 Jämes Ménétrey (a.k.a. ZenLulz). * This library is released under the MIT License. * See the file LICENSE for more information. */ using System; using System.Collections.Generic; using Binarysharp.MemoryManagement.Internals; name...
36.813953
123
0.589387
[ "MIT" ]
LichProject/MemorySharp
src/MemorySharp/Assembly/AssemblyTransaction.cs
4,754
C#
namespace tomenglertde.ResXManager { using System; using System.Collections.ObjectModel; using System.ComponentModel.Composition; using System.Linq; using System.Windows; using System.Windows.Input; using JetBrains.Annotations; using tomenglertde.ResXManager.Infrastructure;...
27.140625
97
0.581462
[ "MIT" ]
johnmbaughman/ResXResourceManager
ResXManager/OutputViewModel.cs
1,739
C#
using System; using System.Collections; using System.Windows.Forms; // // Created by SharpDevelop. // User: elijah // Date: 05/20/2011 // Time: 8:45 PM // // To change this template use Tools | Options | Coding | Edit Standard Headers. // using ICSharpCode.SharpDevelop.Gui.XmlForms; using System.IO; using System.Refle...
27.642857
146
0.738157
[ "MIT" ]
Stevie-O/SharpLua
OLD.SharpLua/SharpLuaAddIn/Src/MyUserControl.cs
1,161
C#
using System; using System.Text; namespace SharpGlyph { public class GlyphIdOffsetPair { /// <summary> /// Glyph ID of glyph present. /// </summary> public ushort glyphID; /// <summary> /// Location in EBDT. /// </summary> public ushort offset; public static GlyphIdOffsetPair[] ReadArray(BinaryRe...
23.804878
83
0.656762
[ "MIT" ]
hikipuro/SharpGlyph
SharpGlyph/SharpGlyph/Tables/EBLC/GlyphIdOffsetPair.cs
978
C#
using System; using System.Reflection; namespace GlimpseCore.Agent.Internal.Inspectors.Mvc.Proxies { public interface IActionDescriptor { string Id { get; } string DisplayName { get; } string ActionName { get; } string ControllerName { get; } Type ControllerTypeInfo { g...
23.3125
59
0.63807
[ "MIT" ]
GlimpseCore/GlimpseCore
src/GlimpseCore.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/IActionDescriptor.cs
375
C#
namespace MuOnline.Core.Commands { using Contracts; using Models.Heroes.HeroContracts; using Models.Monsters.Contracts; using Repositories.Contracts; public class AttackMonsterCommand : ICommand { private const string commandMessage = "{0} is the winner!"; private readonly IRe...
30.773585
70
0.594727
[ "MIT" ]
MertYumer/C-Fundamentals---January-2019
C# OOP - February 2019/08. Workshop/MuOnline/Core/Commands/AttackMonsterCommand.cs
1,633
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Dolittle.Rules; using Dolittle.Validation.Rules; using Machine.Specifications; using Moq; using It = Machine.Specifications.It; namespace Dolittle.Specs.Validati...
32.714286
194
0.69214
[ "MIT" ]
dolittle-fundamentals/DotNET.Fundamentals
Specifications/Validation/Rules/for_Required/when_evaluating_integer_holding_zero.cs
918
C#
using UnityEngine; using System.Collections; using HoloToolkit.Unity; public class tapReact : MonoBehaviour { [Tooltip("Scale factor to use for tap reaction")] public float scaleFactor = 0.8f; [Tooltip("Time in seconds to play the hit and recovery animation")] public float hitTime = 0.5f; privat...
21.605263
71
0.64799
[ "MIT" ]
Polyrhythm/bud
Assets/Scripts/tapReact.cs
823
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...
34.578947
158
0.657839
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/ModifyImageAttributeResponseUnmarshaller.cs
3,285
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.EventHubs.Models { public partial class Encryption : IUtf8JsonSeriali...
33.371795
101
0.482136
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/Encryption.Serialization.cs
2,603
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.Buffers; using System.Text; using System.Diagnostics; using System.IO; using System.Runti...
37.5
188
0.561614
[ "MIT" ]
AraHaan/corefx
src/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/PkcsHelpers.cs
16,725
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("Tra...
38.756757
84
0.752441
[ "MIT" ]
SaladLab/TrackableData
plugins/TrackableData.Redis.Tests/Properties/AssemblyInfo.cs
1,437
C#
using UnityEngine; namespace Exanite.Core.Utilities { /// <summary> /// Utility class for miscellaneous Unity methods /// </summary> public static class UnityUtility { /// <summary> /// Calls Destroy in Play mode and calls DestroyImmediate in Edit /// mode ...
26.571429
79
0.494624
[ "MIT" ]
Exanite/Exanite.Core
Utilities/UnityUtility.cs
932
C#
using Microsoft.AspNetCore.Blazor.Hosting; namespace Blazor.IndexedDB.Framework.Example { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IWebAssemblyHostBuilder CreateHostBuilder(string[] args)...
25.588235
81
0.643678
[ "MIT" ]
Reshiru/Blazor.IndexedDB.Connector
src/Blazor.IndexedDB.Framework/Blazor.IndexedDB.Framework.Example/Program.cs
437
C#
using System.IO; namespace mi2cs.Helpers { public static class ResourcesHelper { public static string ReadResourceContent(string resourceName) { var assembly = typeof(ResourcesHelper).Assembly; using (var stream = assembly.GetManifestResourceStream(resourceName)) ...
25.25
81
0.546535
[ "MIT" ]
matthewrdev/mi2cs
mi2cs/Helpers/ResourcesHelper.cs
507
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities.Solvers { /// <summary> /// Provides a solver that follows the TrackedObject/TargetTran...
41.546012
181
0.620939
[ "MIT" ]
AdamMitchell-ms/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/Utilities/Solvers/Orbital.cs
6,772
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...
33.181818
113
0.535452
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/DirectConnect/Generated/Model/AllocatePublicVirtualInterfaceResponse.cs
18,250
C#
namespace SKIT.FlurlHttpClient.Wechat.Work.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/corpgroup/corp/list_app_share_info 接口的响应。</para> /// </summary> public class CgibinCorpGroupCropListAppShareInfoResponse : WechatWorkResponse { public static class Types { publ...
35.302326
81
0.523715
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinCorpGroup/CgibinCorpGroupCropListAppShareInfoResponse.cs
1,632
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace SolarCoffee.Data.Migrations { public partial class Orders : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_SalesOrderItems_SlSalesOrders...
35.295918
71
0.560856
[ "MIT" ]
productive-dev/solar-coffee
SolarCoffee.Data/Migrations/20200209030602_Orders.cs
3,461
C#
using System.Xml.Serialization; namespace Instagraph.DataProcessor.DtoModels.Export { [XmlType("user")] public class ExportCommentsDto { public string Username { get; set; } public int MostComments { get; set; } } }
20.833333
51
0.664
[ "MIT" ]
georgidelchev/CSharp-Databases
02 - [Entity Framework Core]/[Entity Framework Core - Exams]/08 - [C# DB Advanced Exam - 04 December 2017]/Instagraph.DataProcessor/DtoModels/Export/ExportCommentsDto.cs
252
C#
using Q42.HueApi.Models.Groups; using Q42.HueApi.Streaming.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Q42.HueApi.Streaming.Effects.BasEffects { public abstract class AngleEffect : BaseEffect { /// <summary> /// ...
26.528736
118
0.605286
[ "MIT" ]
AngusMcIntyre/Q42.HueApi
src/Q42.HueApi.Streaming/Effects/BasEffects/AngleEffect.cs
2,308
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Vue2SpaSignalR.Models { [Table("Employees")] public class Employee { public int Id { get; set; } [StringLength(60, MinimumLength = 2)] public...
24.272727
53
0.651685
[ "MIT" ]
greenec/aspnetcore-Vue-signalR
Models/Employee.cs
534
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> //--...
30.166667
81
0.501381
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/InventCountingGroup_BR.cs
726
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LogExpert { public interface IColumnizedLogLine { #region Properties ILogLine LogLine { get; } IColumn[] ColumnValues { get; } #endregion } }
16.052632
40
0.609836
[ "MIT" ]
BestFriend83/LogExpert
src/ColumnizerLib/IColumnizedLogLine.cs
307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using System.Web.Http.Dispatcher; using WebApiV2.Custom; namespace WebApiV2 { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuratio...
43.794872
175
0.665105
[ "MIT" ]
manuepeva/Angular-asp.netWebApp
WebApiV2/App_Start/WebApiConfig.cs
1,710
C#
namespace MassTransit.PipeConfigurators { using System; using System.Threading; using Automatonymous; using Context; using GreenPipes; using GreenPipes.Configurators; using Saga; using SagaConfigurators; /// <summary> /// Configures a message retry for a saga, on the saga confi...
38.389831
159
0.705077
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/MassTransit/Configuration/PipeConfigurators/MessageRetrySagaConfigurationObserver.cs
2,265
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Hub.E2E.Test { using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.IO; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; ...
48.099585
166
0.610076
[ "MIT" ]
kiranpradeep/iotedge
edge-hub/core/test/Microsoft.Azure.Devices.Edge.Hub.E2E.Test/DependencyManager.cs
11,592
C#
using UnityEngine; using System.Collections.Generic; /// <summary> /// AudioSource pool. /// </summary> /// <remarks> /// Any AudioSource released will be added to an internal watchlist; the list /// is periodically checked, and any finished sound will be returned to the /// pool. /// /// If activateOnGet is true, th...
23.160714
77
0.686199
[ "MIT" ]
areyoutoo/ChicoPlugins
Project/Assets/Plugins/ChicoPlugins/Pools/AudioPool.cs
1,299
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior an...
41.655405
165
0.596594
[ "MIT" ]
50Wliu/azure-pipelines-agent
src/Agent.Service/Windows/Resource.Designer.cs
6,165
C#
using System; namespace MCSong { public class CmdWhisper : Command { public override string name { get { return "whisper"; } } public override string[] aliases { get { return new string[] { "" }; } } public override CommandType type { get { return CommandType.Other; } } public o...
37.875
130
0.551815
[ "ECL-2.0" ]
727021/MCSong
MCSong/Commands/CmdWhisper.cs
1,515
C#
using System; using System.Linq; using System.Data.Entity; using AMPAExt.Comun; using System.Collections.Generic; using AMPA.Modelo; namespace AMPAExt.Modelo { /// <summary> /// Realiza las llamadas relacionadas con las actividades extraescolares /// </summary> public class clsActividad { ...
40.132867
197
0.519603
[ "MIT" ]
susandiro/UNIR_AMPAExt
AMPA.Modelo/Clases/clsActividad.cs
22,982
C#
using System.Collections.Generic; using System.Diagnostics; namespace MvcPerfmon { /// <summary> /// This should be registered as a singleton by your container /// </summary> public interface IPerfCounterUtility { /// <summary> /// The named collection of performance counters ...
33.588235
99
0.6331
[ "MIT" ]
PeteW/MvcPerfmon
MvcPerfmon/IPerfCounterUtility.cs
1,144
C#
using System; using System.Collections.Generic; using System.Linq; using Ultraviolet.Core; namespace Ultraviolet.Graphics.Graphics3D { /// <summary> /// Represents a node in a model hierarchy. /// </summary> public class ModelNode : IModelNodeProvider<ModelNode> { /// <summary> ///...
34.869565
118
0.583719
[ "Apache-2.0", "MIT" ]
MicroWorldwide/ultraviolet
Source/Ultraviolet/Shared/Graphics/Graphics3D/ModelNode.cs
5,616
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using Tutorials_RazorPagesMovie.Models; using Tutorials_RazorPagesMovie.Services; namespace Tutorials_Raz...
25.069767
83
0.642857
[ "Apache-2.0" ]
vincoss/NetCoreSamples
AspNetCore-2.0/src/Tutorials_RazorPagesMovie/Pages/Movies/Create.cshtml.cs
1,078
C#
using System; using System.Diagnostics.CodeAnalysis; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Template10.Common; using Template10.Services.NavigationService; namespace Wicip.Sample.Views { public sealed partial class Shell : Page { public static Shell Instance { get; set...
29.433962
127
0.725641
[ "MIT" ]
balassy/wiip
Wicip.Sample/Views/Shell.xaml.cs
1,562
C#
using System.Collections.Generic; namespace RpgNotes.Desktop.Data.Templates { public class FactionArticle : IArticleTemplate { public string TemplateName() => "Faction"; public string TemplateHint() => "groups and factions"; public Image TemplateIcon() => new Image { WebPath="static/images/icons/faction.l...
26.35
96
0.656546
[ "MIT" ]
qkmaxware/RpgNotes.Desktop
Data/Templates/FactionArticle.cs
527
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 ...
22.859649
63
0.693016
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-config/Config/Model/V20190108/PutConfigRuleResponse.cs
1,303
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...
30.015873
113
0.553675
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ServerlessApplicationRepository/Generated/Model/CreateCloudFormationChangeSetResponse.cs
3,782
C#
namespace WindowsFormsApp1 { partial class Form2 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
54.642857
142
0.672418
[ "MIT" ]
hbsishenriquekang/GitC
05-08-19_09-08-19/WindowsFormsApp1/Form2.Designer.cs
11,477
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.Runtime.InteropServices; using HeapAllocFlags = Interop.Kernel32.HeapAllocFlags; namespace Microsoft.Win32.SafeHandles { internal sealed class SafeHe...
27.491525
104
0.539457
[ "MIT" ]
333fred/runtime
src/libraries/System.Security.Cryptography.Pkcs/src/Microsoft/Win32/SafeHandles/SafeHeapAllocHandle.cs
1,622
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Globalization; using System.Linq; using DataAccess.Base; using DataAccess.Common; using DataAccess.Entity; using Interface.SCM; using Application.Common; using System.Collections; namespace BusinessProcess.SCM...
45.405286
164
0.578927
[ "MIT" ]
uon-crissp/IQCare
SourceBase/DataAccess/BusinessProcess.SCM/BBudgetConfigDetail.cs
10,309
C#
# CS_ARCH_ARM64, 0, None 0x20,0x48,0x28,0x4e = aese v0.16b, v1.16b 0x20,0x58,0x28,0x4e = aesd v0.16b, v1.16b 0x20,0x68,0x28,0x4e = aesmc v0.16b, v1.16b 0x20,0x78,0x28,0x4e = aesimc v0.16b, v1.16b 0x20,0x08,0x28,0x5e = sha1h s0, s1 0x20,0x18,0x28,0x5e = sha1su1 v0.4s, v1.4s 0x20,0x28,0x28,0x5e = sha256su0 v0.4s, v1.4s 0...
39.75
51
0.710692
[ "BSD-3-Clause" ]
02107/Lilu
capstone/suite/MC/AArch64/neon-crypto.s.cs
636
C#
using System; namespace NETStandard.ClassLibrary { public class Class1 { } }
10.111111
34
0.659341
[ "MIT" ]
binki/RoslynCodeTaskFactory
Samples/NETStandard.ClassLibrary/Class1.cs
93
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using Pomelo.EntityFrameworkCore.MySql.Infrastructure; using System; using System.IO; namespace PointOfSale.Persistence.Infrastructure { public abstract class DesignTimeDbContextFactoryBase<T...
40.876712
157
0.639745
[ "MIT" ]
rmnavz/PointOfSale
Src/Infrastructure/PointOfSale.Persistence/Infrastructure/DesignTimeDbContextFactoryBase.cs
2,986
C#
namespace Loupedeck.VoiceMeeterPlugin.Library.Voicemeeter { using System; using System.Collections.Generic; public sealed class VoicemeeterClient : IDisposable, IObservable<Single> { public void Dispose() { try { RemoteWrapper.Logout(); ...
27.066667
94
0.512931
[ "MIT" ]
XeroxDev/Loupedeck-plugin-VoiceMeeter
VoiceMeeterPlugin/Library/Voicemeeter/VoicemeeterClient.cs
1,626
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.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis; ...
44.123867
181
0.590003
[ "Apache-2.0" ]
AArnott/roslyn
src/Workspaces/Core/Portable/Shared/Extensions/IMethodSymbolExtensions.cs
14,607
C#
using System; public class SquareRoot { public static void Main() { double number = 12345; number = Math.Sqrt(number); Console.WriteLine("{0}", number); } }
18.090909
46
0.562814
[ "MIT" ]
emilti/Telerik-Academy-My-Courses
C#-Part1/1.IntroProgrammingHomework/08. Square Root/Square Root.cs
201
C#
using System; using System.Threading; using System.Net.Sockets; using System.Net; using System.IO; namespace PubNubMessaging.Core { #region "Network Status -- code split required" internal abstract class ClientNetworkStatus { private static bool _status = true; private static bool _failClie...
41.778523
230
0.536627
[ "MIT" ]
samuelcadieux/pubnub-c-sharp
mono-for-android/PubNubMessaging/ClientNetworkStatus.cs
12,450
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DestroyIfTooFarLeft : MonoBehaviour { void Update() { if(transform.position.x < -20f) { Destroy(gameObject); } } }
16.0625
48
0.622568
[ "MIT" ]
danielschneider22/Floopy-Birbs
Assets/Scripts/DestroyIfTooFarLeft.cs
257
C#
using System; using System.Collections.Generic; using System.Linq; namespace NQuery.Authoring.Outlining { public abstract class SyntaxTokenOutliner : IOutliner { public IEnumerable<OutliningRegionSpan> FindRegions(SyntaxNodeOrToken nodeOrToken) { return !nodeOrToken.IsToken ...
29.666667
91
0.694757
[ "MIT" ]
dallmair/nquery-vnext
src/NQuery.Authoring/Outlining/SyntaxTokenOutliner.cs
534
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; using DM___Server.Models; namespace DM___Server.Controllers { public class ControllerOnGoingGame { private Database db; private Data.OnGoingGamesData on...
35
123
0.59106
[ "MIT" ]
Gabriel-Em/Clash-of-the-Elements___Online-2D-TCG
DM - Server/DM - Server/Controllers/ControllerOnGoingGame.cs
15,997
C#
//********************************************************************* //xCAD //Copyright(C) 2021 Xarial Pty Limited //Product URL: https://www.xcad.net //License: https://xcad.xarial.com/license/ //********************************************************************* using SolidWorks.Interop.sldworks; using System;...
25.694915
118
0.538918
[ "MIT" ]
EddyAlleman/xcad
src/SolidWorks/Geometry/Surfaces/SwCylindricalSurface.cs
1,518
C#
using Abp.EntityFrameworkCore.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.EntityFrameworkCore; using Code.Together.EntityFrameworkCore.Seed; namespace Code.Together.EntityFrameworkCore { [DependsOn( typeof(TogetherCoreModule), typeof(AbpZeroCoreEntityFramewor...
32.117647
116
0.591575
[ "MIT" ]
antonio-mikulic/code.together
aspnet-core/src/Code.Together.EntityFrameworkCore/EntityFrameworkCore/TogetherEntityFrameworkModule.cs
1,640
C#
using System; using System.Linq; using System.Reflection; namespace Regulus.Remote.Client { public class MethodStringInvoker { private readonly TypeConverterSet _TypeConverterSet ; public readonly object Target; public readonly MethodInfo Method; public MethodStringInvoker(ob...
29.983607
115
0.561509
[ "BSD-2-Clause" ]
jiowchern/Regulus
Regulus.Remote.Client/MethodStringInvoker.cs
1,831
C#
namespace SpineEngine.GlobalManagers.Tweens { public enum LoopType { None, RestartFromBeginning, PingPong } }
14.363636
45
0.56962
[ "MIT" ]
ApmeM/SpineEngine
SpineEngine/GlobalManagers/Tweens/LoopType.cs
160
C#
// Copyright (C) 2003-2012 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Denis Krjuchkov // Created: 2013.01.22 using System; namespace Xtensive.Tuples.Packed { internal abstract class PackedFieldAccessor { /// <summary> /// G...
26.967273
129
0.640912
[ "MIT" ]
SergeiPavlov/dataobjects-net
DataObjects/Tuples/Packed/PackedFieldAccessor.cs
14,834
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; using Sanatana.Contents.Objects; using Sanatana.Contents.Objects.DTOs; using Sanatana.Contents.Objects.Entities; using Sanatana.Patterns.Pipelines; namespace Sanatana.Contents.Selectors.Comments { public i...
76
355
0.783158
[ "MIT" ]
RodionKulin/ContentManagementBackend
Sanatana.Contents/Selectors/Comments/ICommentSelector.cs
1,902
C#
using System.Net; using System.Web.Mvc; using NinjaDomain.Classes; using NinjaDomain.DataModel; namespace MVCApp.Controllers { public class NinjaEquipmentsController : Controller { private readonly DisconnectedRepository _repo = new DisconnectedRepository(); // GET: NinjaEquipments/Create public Actio...
32.263889
117
0.681877
[ "MIT" ]
JYang17/SampleCode
Samples/EF6/Distribution/MVCApp Repository/Controllers/NinjaEquipmentsController.cs
2,325
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Collections.Generic; namespace FASTER.core { /// <summary> /// Interface for users to control creation and retrieval of checkpoint-related data /// FASTER calls this interface during...
37.035398
99
0.604779
[ "MIT" ]
marius-klimantavicius/mister
Marius.Mister/FASTER.core/Index/Recovery/ICheckpointManager.cs
4,187
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ManaPotion : MonoBehaviour, ItemOnGUIDoubleClickable { public float addMana = 100; public void ItemOnGUIDoubleClick (ItemHandleOnGUI gui) { if (GameCentalPr.Instance.PlayerProcessor.AddMana(addMana)) ...
24.32
74
0.667763
[ "MIT" ]
Visin1991/Role-playing-Game-Framework
FrameWork/Assets/Script/FrameWroks/Entity/ItemSystem/ItemInstance/ManaPotion.cs
610
C#
#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using DotVVM.Framework.Controls; using DotVVM.Framework.Utils; using System.Diagnostics; using DotVVM.Framework.Compilation; using DotVVM.Frame...
41.906149
285
0.628466
[ "Apache-2.0" ]
AMBULATUR/dotvvm
src/DotVVM.Framework/Binding/DotvvmProperty.cs
12,949
C#
using AutoHistory; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Sample.Data; using Sample.Models; using System.Diagnostics; namespace Sample.Controllers { public class HomeController : Controller { private readonly ILogger<HomeController> _logger; private readonly ...
25.422222
112
0.577797
[ "MIT" ]
Alibesharat/AutoHistory
Sample/Controllers/HomeController.cs
1,146
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.CodeDom.Compiler; using Microsoft.CSharp; using RTSEngine.Interfaces; using RTSEngine.Controllers; namespace RTSEngine.Data.Parsers { public static class ScriptParser { // Create The...
33.370968
122
0.57999
[ "Apache-2.0" ]
RegrowthStudios/VoxelRTS
RTSGame/RTSEngine/Data/Parsers/ScriptParser.cs
2,071
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LanguageExt.Trans; namespace LanguageExt { public static partial class Prelude { /// <summary> /// Use with Try monad in LINQ expressions to auto-clean up disposable items...
30.032432
118
0.428366
[ "MIT" ]
jonny-novikov/language-ext
LanguageExt.Core/Prelude_Use.cs
5,558
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------...
37.920578
100
0.548363
[ "BSD-3-Clause" ]
9192939495969798/Websitepanel
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/RDS_Settings.ascx.designer.cs
10,504
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("De...
37.351351
84
0.743126
[ "MIT" ]
mmmaxwwwell/space-engineers-dedicated-cluster
DedicatedServerMessageQueuePlugin/DedicatedServerMessageQueuePlugin/Properties/AssemblyInfo.cs
1,384
C#
using Lumia.Application.Interfaces; using Lumia.Domain.Clientes; using Lumia.Persistence.Context; using System; using System.Collections.Generic; using System.Text; namespace Lumia.Persistence.Repositories { public class ClienteRepository : Repository<Cliente>, IClienteRepository { public ClienteRepos...
22.391304
76
0.697087
[ "MIT" ]
JeannAndrade/Lumia
LumiaSln/src/Lumia.Persistence/Repositories/ClienteRepository.cs
517
C#
namespace DTML.EduBot.UserData { using System; [Serializable] public class UserData { private Gamification.GamerProfile _gamerProfile; public string UserId { get; set; } public string NativeLanguageIsoCode { get; set; } public Gamification.GamerProfile GamerProfile ...
21.290323
68
0.484848
[ "MIT" ]
eklavyamirani/DTML.EduBot
DTML.EduBot/UserData/UserData.cs
662
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...
44.744737
308
0.574193
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/IoT/Basic/Get-IOTCertificateListByCA-Cmdlet.cs
17,003
C#
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restr...
34.865591
100
0.675251
[ "MIT" ]
Alan-love/Torque3D
Templates/BaseGame/game/core/postFX/scripts/MLAA.cs
6,300
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace SingleWordKeyboard { public class Application { // This is the main entry point of the application. static void Main (string[] args) { // if you want to use a different Application Delegate class fr...
20.380952
82
0.724299
[ "MIT" ]
Art-Lav/ios-samples
ios8/SingleWordKeyboard/SingleWordKeyboard/Main.cs
430
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Globalization; namespace System { public static class DateTimeExtensions { public static double CalculateUtcOffset(this DateTime dateTime) { return dateTime.Subtract(DateT...
33.431034
142
0.579852
[ "MIT" ]
ryanhorath/Rybird.Framework
Core/Framework/Extensions/DateTimeExtensions.cs
5,819
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using JsonApiDotNetCore; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Serialization.Objects; using JsonApiDotNetCoreExampleTests.Startups; u...
38.71134
158
0.502869
[ "MIT" ]
sgryphon/JsonApiDotNetCore
test/JsonApiDotNetCoreExampleTests/IntegrationTests/ReadWrite/Updating/Resources/ReplaceToManyRelationshipTests.cs
41,305
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LionFire.Execution { public interface IHasProgressMessage { string ProgressMessage { get; } } }
17.307692
40
0.728889
[ "MIT" ]
LionFire/Core
src/LionFire.Execution.Abstractions/Execution/Progress/IHasProgressMessage.cs
227
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.878788
153
0.620116
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/EducationRootClassesCollectionResponse.cs
1,382
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
31.861538
103
0.627716
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Vpc/V20170312/Models/ModifyAddressesBandwidthRequest.cs
2,163
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1011_7635-e1d2a3e1")] public void Method_1011_7635() { ii(0x1011_7635, 5); push(0x2c); ...
78.111111
114
0.439138
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1011-7635.cs
4,921
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.Common.CommandTrees.Internal { using System.Collections.Generic; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity....
39.248619
133
0.594172
[ "Apache-2.0" ]
TerraVenil/entityframework
src/EntityFramework/Core/Common/CommandTrees/Internal/Validator.cs
7,104
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DotVVM.Framework.ViewModel; namespace OldWebApp.ViewModels { public class AboutViewModel : SiteViewModel { public override string Title => "About"; } }
17.733333
48
0.733083
[ "Apache-2.0" ]
riganti/dotvvm-samples-webforms-migration
src/OldWebApp/OldWebApp.NetCore/ViewModels/AboutViewModel.cs
266
C#
using Eventuous.Subscriptions.Context; using Eventuous.Subscriptions.Filters.Partitioning; using static Eventuous.Subscriptions.Diagnostics.SubscriptionsEventSource; namespace Eventuous.Subscriptions.Filters; public sealed class PartitioningFilter : ConsumeFilter<DelayedAckConsumeContext>, IAsyncDisposable { read...
49.580645
119
0.732596
[ "MIT" ]
Eventuous/eventuous
src/Core/src/Eventuous.Subscriptions/Filters/PartitioningFilter.cs
1,537
C#
namespace DWGitsh.Extensions.Models { public class GitConfigUser { public string Name { get; set; } public string Mailbox { get; set; } public string Email { get; set; } public override string ToString() { if (Name == null && Email == null) return string.Emp...
25.25
67
0.529703
[ "MIT" ]
DavidWise/DWGitSH
DWGitsh.Extensions/Models/GitConfigUser.cs
406
C#
using UnityEngine; using System.Collections; public class Cat : MonoBehaviour { private enum State { Idle, Fight, Shoot, Exploding, }; public Animator anim; public BoxCollider2D box; public BoxCollider2D playerBox; public GameObject player; public Rigidbody2D bullet; public GameObject explode; publ...
20.417476
87
0.664765
[ "MIT" ]
djoyahoy/uniman2
Assets/Scripts/Cat.cs
2,105
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 Microsoft.VisualStudio.Shell; namespace Microsoft.Sarif.Viewer { /// <summary> /// Handles management ...
37.482143
127
0.530014
[ "MIT" ]
Bhaskers-Blu-Org2/sarif-visualstudio-extension
src/Sarif.Viewer.VisualStudio/WeakEventHandlerManager.cs
4,200
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.Collections.Immutable; using Microsoft.CodeAnalysis.Common; namespace Microsoft.CodeAnalysis.Editor { internal class TodoItemsUpdatedArgs :...
34.068966
161
0.654858
[ "Apache-2.0" ]
0x53A/roslyn
src/EditorFeatures/Core/Implementation/TodoComment/TodoItemsUpdatedArgs.cs
990
C#
using System.Runtime.Serialization; using System.Xml; using Newtonsoft.Json; namespace Iviz.Urdf { [DataContract] public sealed class Texture { [DataMember] public string Filename { get; } internal Texture(XmlNode node) { Filename = Utils.ParseString(node.Attributes?["f...
23.052632
79
0.639269
[ "MIT" ]
KIT-ISAS/iviz
iviz_urdf/Urdf/Texture.cs
438
C#
/* http://www.cgsoso.com/forum-211-1.html CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源! CGSOSO 主打游戏开发,影视设计等CG资源素材。 插件如若商用,请务必官网购买! daily assets update for try. U should buy the asset from home store if u use it in your project! */ #if !BESTHTTP_DISABLE_SERVERSENT_EVENTS using System; using System.Collections.Generic; u...
31.412308
189
0.52919
[ "MIT" ]
zhoumingliang/test-git-subtree
Assets/RotateMe/Scripts/Best HTTP (Pro)/BestHTTP/ServerSentEvents/EventSource.cs
20,512
C#
#region Copyright & License // Copyright © 2012 - 2020 François Chabot // // 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 r...
32.957447
163
0.763073
[ "Apache-2.0" ]
FrancoisHub/Be.Stateless.BizTalk.Pipeline.MicroComponents
src/Be.Stateless.BizTalk.Pipeline.MicroComponents.Tests/MicroComponent/ZipDecoderFixture.cs
1,553
C#
namespace SadConsole.Themes { using System; using System.Collections.Generic; using System.Runtime.Serialization; using SadConsole.Controls; /// <summary> /// The library of themes. Holds the themes of all controls. /// </summary> [DataContract] public class Library { p...
33.246835
139
0.552065
[ "MIT" ]
SoRRiSoJa/SadConsole
src/SadConsole/Themes/Library.cs
5,255
C#
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System; using System.Runtime.InteropServices; /// <cont...
42.638298
193
0.58508
[ "MIT" ]
jmelosegui/pinvoke
src/User32.Desktop/User32+DeviceContextValues.cs
4,010
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.Runtime.InteropServices; internal static partial class Interop { internal static partial class mincore { /// <summary> ...
29.0625
101
0.597849
[ "MIT" ]
690486439/corefx
src/Common/src/Interop/Windows/mincore/Interop.EventWriteTransfer.cs
930
C#
using Markdraw.Delta; namespace Markdraw.Tree { public class ImageLeaf : Leaf { private ImageInsert _correspondingInsert; public override ImageInsert CorrespondingInsert { get => _correspondingInsert; } public ImageLeaf(ImageInsert imageInsert) : this(imageInsert, null, 0) { } public ImageLeaf(Im...
29.62963
133
0.665
[ "MIT" ]
jonathanjameswatson/markdraw
Markdraw.Tree/ImageLeaf.cs
800
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using AudioCore.Common; using AudioCore.Input; using AudioCore.Output; namespace AudioCore.Demo { public partial class TestTonePage : DemoPage { #region Private Fields /// <summary> /// The test tone input. //...
33.377193
134
0.515243
[ "Apache-2.0" ]
orryverducci/AudioCore
AudioCore.Demo/TestTonePage.xaml.cs
7,612
C#
using System; using System.Collections.Generic; using System.Text; namespace Section1Video4 { public enum SecurityLevel { Trace = 0, Info = 1, Warning = 2, Error = 3, Critical = 4 } public interface IReporter { void Report(Exception ex, string descr...
17.047619
75
0.600559
[ "MIT" ]
PacktMrunal/Modern-App-Development-with-C-8-and-.NET-Core-3.0
Section 1/Section1Video4/Section1Video4/IReporter.cs
360
C#
using System; using System.Linq; using Gdk; using NLog; namespace QS.Project.Search.GtkUI { [System.ComponentModel.ToolboxItem(true)] public partial class OneEntrySearchView : Gtk.Bin { private static Logger logger = LogManager.GetCurrentClassLogger(); #region Настройка /// <summary> /// Задержка в переда...
24.169014
99
0.700466
[ "Apache-2.0" ]
opopve/QSProjects
QS.Project.Gtk/Project.Search.GtkUI/OneEntrySearchView.cs
1,782
C#
using System; // https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-videocontroller namespace Hardware.Info.Net6 { /// <summary> /// WMI class: Win32_VideoController /// </summary> public class VideoController { /// <summary> /// Memory size of the video adapter. ...
37.910714
132
0.594442
[ "MIT" ]
tjdskaqks/Hardware.Info
Hardware.Info.Net6/Components/VideoController.cs
4,248
C#
/* ==================================================================== Copyright (C) 2004-2008 fyiReporting Software, LLC This file is part of the fyiReporting RDL project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
23.43299
75
0.687198
[ "Apache-2.0" ]
gregberns/ZipRdlProjectDev410
src/RdlEngine/Functions/FunctionFieldIsMissing.cs
2,273
C#
using System.Linq; using Model = Discord.API.AuditLog; using EntryModel = Discord.API.AuditLogEntry; namespace Discord.Rest { public class ChannelUpdateAuditLogData : IAuditLogData { private ChannelUpdateAuditLogData(ulong id, ChannelInfo before, ChannelInfo after) { ChannelId = i...
40.804348
112
0.63399
[ "MIT" ]
CasinoBoyale/Discord.Net
src/Discord.Net.Rest/Entities/AuditLogs/DataTypes/ChannelUpdateAuditLogData.cs
1,879
C#
// System using System; using System.Collections; using System.Collections.Generic; // Unity Engine using UnityEditor; using UnityEngine; #if UNITY_EDITOR [InitializeOnLoad] public class PrettyDebug : ILogHandler { public PrettyDebug() { Debug.unityLogger.logHandler = this; } #region Instance M...
25
109
0.581429
[ "MIT" ]
oliviasculley/nervv
Assets/Scripts/Debug/PrettyDebug.cs
1,402
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.Concurrent; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.IO; using System.Thre...
45.138009
181
0.455767
[ "MIT" ]
AzureMentor/BuildXL
Public/Src/Engine/Cache/Artifacts/InMemoryArtifactContentCache.cs
19,951
C#