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; public class LaserSpawner : MonoBehaviour { private float _rndAngle; private float _time; private float _previousSpawnRotation; private float _canNotSpawnNewLightningAngle; private static float _maxTime; public static float TimeBetweenLaserSpawns { g...
27.109375
156
0.592507
[ "Unlicense" ]
Arthur-St-06/CircleRoller
Assets/Scripts/LaserSpawner.cs
1,737
C#
namespace MoreCyclopsUpgrades.API { using System; using System.Collections.Generic; using System.IO; using System.Reflection; using Common; using MoreCyclopsUpgrades.API.Charging; using MoreCyclopsUpgrades.API.General; using MoreCyclopsUpgrades.API.PDA; using MoreCyclopsUpgrades.API...
52.320388
205
0.638384
[ "MIT" ]
Denkkar/PrimeSonicSubnauticaMods
MoreCyclopsUpgrades/API/MCUServiceS.cs
21,558
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 may...
36.397849
128
0.651699
[ "Apache-2.0" ]
Havret/activemq-nms-amqp
src/main/csharp/Message/Factory/MessageFactory.cs
3,387
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Threading; using HandyControl.Data; using HandyControl.Interactivity; using HandyControl.P...
33.900979
151
0.505794
[ "MIT" ]
JeremyWu917/HandyControl
src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs
31,325
C#
using UnityEngine; using System.Collections; using System.Xml; using System.IO; /// <summary> /// Base class for importing a sprite atlas from an XML file /// </summary> public class OTSpriteAtlasImportXML : OTSpriteAtlasImport { protected string AttrS(XmlNode node, string field) { try { ...
24.397059
111
0.592526
[ "MIT" ]
BuloZB/hotfix
Unity/Assets/Standard Assets/OT/Graphics/Sprites/Atlas/OTSpriteAtlasImportXML.cs
1,659
C#
/* * Copyright (c) 2008, DIaLOGIKa * 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 o...
33.647321
252
0.553536
[ "BSD-3-Clause" ]
datadiode/B2XTranslator
src/Common/StructuredStorage/Common/AbstractHeader.cs
7,537
C#
using System; namespace COLID.Graph.TripleStore.DataModels.Sparql { internal class SparqlPrefix { public string ShortPrefix { get; set; } public Uri Url { get; set; } public SparqlPrefix(string shortPrefix, Uri url) { ShortPrefix = shortPrefix; Url = ur...
20.058824
56
0.580645
[ "BSD-3-Clause" ]
Bayer-Group/COLID-Registration-Service
libs/COLID.Graph/TripleStore/DataModels/Sparql/SparqlPrefix.cs
343
C#
using System; namespace PixelMatrix.Core.Interfaces { public interface IMatrixContainer<TMatrix, TValue> where TMatrix : IMatrix<TValue> where TValue : struct { TMatrix Matrix { get; } } }
18.916667
54
0.647577
[ "MIT" ]
hsytkm/PixelMatrix
source/PixelMatrix.Core/Interfaces/IMatrixContainer.cs
229
C#
using Lucene.Net.Util; using System; namespace Lucene.Net.Codecs { /* * 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. * Th...
39.805556
86
0.662945
[ "Apache-2.0" ]
NikolayXHD/Lucene.Net.Contrib
Lucene.Net/Support/Codecs/CodecNameAttribute.cs
1,435
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("Ca...
36.862069
84
0.746492
[ "Apache-2.0" ]
15217711253/xamarin-forms-samples
Navigation/CarouselPage/UWP/Properties/AssemblyInfo.cs
1,072
C#
using AtlasWorkFlows.Jobs; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sprache; namespace AtlasWorkFlowsTest.Jobs { [TestClass] public class JobPrintTest { [TestMethod]...
33.671053
115
0.541618
[ "MIT" ]
LHCAtlas/AtlasSSH
AtlasWorkFlowsTest/Jobs/JobPrintTest.cs
2,561
C#
using Bitmex.NET.Models; namespace Bitmex.NET { public class BitmexAuthorization : IBitmexAuthorization { public BitmexEnvironment BitmexEnvironment { get; set; } public string Key { get; set; } public string Secret { get; set; } } }
20.416667
58
0.730612
[ "MIT" ]
AlexejShevchenko/Bitmex.NET
Bitmex.NET/BitmexAuthorization.cs
247
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MiniOJ.Entity { public class JudgeInfo { public string Code { set; get; } public string Lang { set; get; } public string Title { set; get; } } }
19.333333
41
0.648276
[ "MIT" ]
OmegaZhou/MiniOJ
MiniOJ/Entity/JudgeInfo.cs
292
C#
using System; using System.Collections.Generic; namespace Zefugi.DotNet.Optimization { public abstract class PooledObjectBase<T> : IPooledObject where T : class, IPooledObject, new() { private static readonly Queue<IPooledObject> _pool = new Queue<IPooledObject>(); public static T Cre...
22.84
88
0.558669
[ "MIT" ]
Zefugi/DotNet
Zefugi.DotNet/Zefugi.DotNet/Optimization/PooledObjectBase.cs
573
C#
using NPOI.Util; using System; using System.Text; namespace NPOI.HSSF.Record { /// <summary> /// Section [2.4.324]. The Text record specifies the properties of an attached label and specifies the beginning of /// a collection of records as defined by the chart sheet substream ABNF. This collection of records speci...
25.488994
130
0.67997
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.HSSF.Record/TextRecord.cs
16,211
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; #nullable disable namespace ScaffoldingTester.Models { public partial class Invoice { public string ShipName { get; set; } public string ShipAddress ...
38.421053
96
0.614384
[ "MIT" ]
ErikEJ/EFCorePowerTools
test/ScaffoldingTester/ScaffoldingTester5/Models/Invoice.cs
1,462
C#
//------------------------------------------------------------------- // Copyright © 2012 Kindel Systems, LLC // http://www.kindel.com // charlie@kindel.com // // Published under the MIT License. // Source control on SourceForge // http://sourceforge.net/projects/mcecontroller/ //--------------------------...
38.634816
161
0.510762
[ "MIT" ]
jgus/mce-controller
MainWindow.cs
40,838
C#
using UnityEngine; using System.Collections; public class Weapon { public GunType weaponType; public float bulletSpeed; public float shootCD; public string bulletResPath; public string propsResPath; } public class WeaponSystem : MonoBehaviour, ISystem { #region ISystem implementation public void Init () { ...
17.355372
85
0.70381
[ "Apache-2.0" ]
xclouder/topdown_shooter_demo
Assets/Scripts/Systems/WeaponSystem.cs
2,102
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Wbs.Everdigm.Database; namespace Wbs.Everdigm.BLL { public class AppBLL : BaseService<TB_Application> { public AppBLL() : base(new BaseRepository<TB_Application>()) { } public override ...
26.864865
157
0.541247
[ "Apache-2.0" ]
wanbangsoftware/Everdigm
Wbs.Everdigm.Web/Wbs.Everdigm.BLL/AppBLL.cs
996
C#
using System; using System.IO; using System.Text; namespace SharpDiff.Formatter { public class HtmlFormatter : BaseFormatter { private readonly string _outputPath; public HtmlFormatter(string outputPath) { _outputPath = outputPath; } public override void E...
37.9
110
0.428252
[ "Apache-2.0" ]
SharpRepository/SharpDiff
SharpDiff.Formatter/HtmlFormatter.cs
4,929
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelloMVP.Presentation { public interface IView<TPresenter> { TPresenter Presenter { get; set; } } }
17.714286
42
0.721774
[ "MIT" ]
epidemicz/HelloMVP
src/HelloMVP/HelloMVP.Presentation/IView.cs
250
C#
// Copyright (c) Team CharLS. // SPDX-License-Identifier: BSD-3-Clause using System.Runtime.InteropServices; [assembly: ComVisible(false)]
20.142857
40
0.758865
[ "BSD-3-Clause" ]
team-charls/charls-native-dotnet
tests/AssemblyInfo.cs
141
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Controls; using NAudioWpfDemo.ViewModel; namespace NAudioWpfDemo { class MainWindowViewModel : ViewModelBase { private IModule selectedModule; public MainWindowViewModel(IEnumerable<IModule> modules) ...
24.607143
65
0.480406
[ "MIT" ]
skor98/DtWPF
speechKit/NAudio-master/NAudioWpfDemo/MainWindowViewModel.cs
1,380
C#
using System; using System.Runtime.InteropServices; using System.Security; namespace MSMQ.Messaging.Interop { using UnmanagedType = UnmanagedType; [ComImport, Guid("0FB15084-AF41-11CE-BD2B-204C4F4F5020"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface ITransaction { ...
26.869565
114
0.601133
[ "MIT" ]
kwende/MSMQ.Messaging
src/Messaging/Interop/ITransaction.cs
1,236
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
25.863636
189
0.595431
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapDCETModelRandomHelperWrapWrapWrapWrap.cs
2,847
C#
using UnityEngine; [RequireComponent(typeof(Rigidbody), typeof(PlayerScript))] public class PathFollowScript : MonoBehaviour, IAccelMultiplier { /****************************************************** * variables ******************************************************/ private static readonly int la...
37.245098
118
0.482144
[ "MIT" ]
kidshenlong/warpspeed
Project Files/Assets/Scripts/AI/PathFollowScript.cs
11,399
C#
// ---------------------------------------------------------------------------- // Copyright (c) Aleksey Nemiro, 2014-2015. 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 Lic...
34.607143
294
0.605484
[ "Apache-2.0" ]
ivandrofly/nemiro.oauth.dll
src/Nemiro.OAuth/Clients/FoursquareClient.cs
6,785
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.Diagnostics; using JetBrains.Annotations; namespace Microsoft.EntityFrameworkCore.Metadata.Internal { /// <summary> /// This A...
44.575758
120
0.685928
[ "Apache-2.0" ]
MareevOleg/EntityFrameworkCore
src/EFCore/Metadata/Internal/InternalMetadataItemBuilder.cs
1,471
C#
using System; using LinCms.Blog.UserLikes; using LinCms.Entities.Blog; using Xunit; namespace LinCms.Test.Controller.Blog { public class UserLikeControllerTest : BaseControllerTests { public UserLikeControllerTest() : base() { } [Fact] public void Create() {...
20.1
88
0.608624
[ "MIT" ]
KribKing/lin-cms-dotnetcore
test/LinCms.Test/Controller/Blog/UserLikeControllerTest.cs
605
C#
// Copyright (C) 2015-2021 ricimi - All rights reserved. // This code can only be used under the standard Unity Asset Store End User License Agreement. // A Copy of the Asset Store EULA is available at http://unity3d.com/company/legal/as_terms. using System.Collections; using UnityEngine; using UnityEngine.UI; namesp...
37.177215
114
0.618999
[ "MIT" ]
ADustyOldMuffin/Sudoktris
Assets/Imports/GUIPack-Clean&Minimalist/Demo/Scripts/Popup.cs
2,937
C#
using ConcreteMC.MolangSharp.Runtime; using ConcreteMC.MolangSharp.Runtime.Value; namespace ConcreteMC.MolangSharp.Parser.Expressions.BinaryOp { public class GreaterExpression : BinaryOpExpression { /// <inheritdoc /> public GreaterExpression(IExpression l, IExpression r) : base(l, r) { } /// <inheritdoc /> ...
25.833333
98
0.729032
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ConcreteMC/MolangSharp
src/MolangSharp/Parser/Expressions/BinaryOp/GreaterExpression.cs
620
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class latterntrick : MonoBehaviour { // Start is called before the first frame update public string latterntagC; private Animator myAnim; private Animator realAnim; private GameObject latternrealobject...
27.05
83
0.628466
[ "MIT" ]
njuxjx/Mirror-world
Mirror/Assets/Scripts/gq5/latterntrick.cs
1,082
C#
using UnityEditor; using UnityEngine; namespace InControl { using Internal; [CustomPropertyDrawer( typeof(OptionalInt32) )] class OptionalInt32PropertyDrawer : PropertyDrawer { public override void OnGUI( Rect position, SerializedProperty property, GUIContent label ) { EditorGUI.BeginProperty( position, l...
24
116
0.731399
[ "MIT" ]
EstasAnt/Estsoul
Assets/InControl/Editor/OptionalTypes/OptionalInt32PropertyDrawer.cs
1,344
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using AutoDog.Editor.Document; using Au...
26.395349
117
0.734361
[ "MIT" ]
devdiv/AutoDog
AutoDog/AutoDog.Editor/Editing/EmptySelection.cs
2,272
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using System.Timers; using OctoBot.Commands; using OctoBot.Configs; using OctoBot.Configs.Server; using OctoBot.Configs.Users; namespace OctoBot.Automated { public class CheckBirthday {...
43.6
118
0.435938
[ "MIT" ]
mylorik/OctoBot-Core
OctoBot/Automated/CheckBirthday.cs
6,324
C#
using System; using System.Collections.Generic; namespace SharpCompress.Common { public abstract class Entry : IEntry { /// <summary> /// The File's 32 bit CRC Hash /// </summary> public abstract long Crc { get; } /// <summary> /// The string key of the file in...
27.819149
97
0.545315
[ "MIT" ]
bipinbaglung/sharpcompress
src/SharpCompress/Common/Entry.cs
2,617
C#
namespace Testing.Networking.Objects { public class SimpleObject { // Default Parameterless Constructor public SimpleObject() { } public SimpleObject(int arg1, string arg2, double arg3, char arg4, bool arg5) { prop1 = arg1; prop2 = arg2; ...
23.465753
99
0.526562
[ "MIT" ]
GurunadhPachappagari/meet.me
Testing/Networking/Serialization/Objects.cs
1,715
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace SCDataManager.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey { /// <...
37.439306
175
0.569863
[ "MIT" ]
swcollins92/RetailManager
SCDataManager/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
6,477
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.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace System.Net.NetworkInformation....
38.52381
247
0.645241
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Net.Ping/tests/FunctionalTests/TestSettings.cs
1,618
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 ...
38.710526
96
0.765466
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-ram/Ram/Transform/V20150501/DeletePolicyVersionResponseUnmarshaller.cs
1,471
C#
// // Signature.cs - Signature implementation for XML Signature // // Author: // Sebastien Pouliot (spouliot@motus.com) // Tim Coleman (tim@timcoleman.com) // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) Tim Coleman, 2004 // // // Permission is hereby granted, free of charge, ...
27.774775
122
0.677911
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Security/System.Security.Cryptography.Xml/Signature.cs
6,166
C#
using System; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Interop; namespace DayHelper { /// <summary> /// The dock position of the window /// </summary> public class WindowResizer { #region Private Members /// <summary> /// The window ...
30.636792
117
0.578445
[ "MIT" ]
LessIsMoreMK/DayHelper
DayHelper/Helpers/WindowResizer.cs
6,497
C#
namespace DotNetRevolution.Core.Domain { public interface IApply<TDomainEvent> where TDomainEvent : IDomainEvent { void Apply(TDomainEvent domainEvent); } }
20.666667
45
0.693548
[ "MIT" ]
DotNetRevolution/DotNetRevolution-Framework
src/DotNetRevolution.Core/Domain/IApply.cs
188
C#
using DevExpress.XtraEditors; using OtelYeniProje.Entity; using OtelYeniProje.Repositories; 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 Ot...
29.419753
120
0.534201
[ "MIT" ]
CaglaT/C-ve-MVC-ile-Otel-Rezervasyon-Projesi
OtelYeniProje/OtelYeniProje/Formlar/WebSite/FrmMesajKarti.cs
2,391
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.Compute.Models { /// <summary> Specifies information about the Shared Image Gallery that you want to update. </summary> public partial class P...
44.085106
138
0.662162
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableGalleryData.cs
2,072
C#
//----------------------------------------------------------------------- // <copyright file="AccountController.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2016 // </copyright> // <summary>Defines the AccountController class.</summary> //-------------------------------------...
40.835017
193
0.553403
[ "Apache-2.0" ]
Sitecore/Reference-Storefront
Storefront/CF/CSF/Controllers/AccountController.cs
36,386
C#
using System; using System.IO; namespace Org.BouncyCastle.Crypto.Tls { public interface TlsEncryptionCredentials : TlsCredentials { /// <exception cref="IOException"></exception> byte[] DecryptPreMasterSecret(byte[] encryptedPreMasterSecret); } }
23
72
0.658863
[ "Apache-2.0", "MIT" ]
flobecker/trudi-koala
src/IVU.BouncyCastle.Crypto/src/crypto/tls/TlsEncryptionCredentials.cs
301
C#
using System.Net; using System.Net.Http; using System.Net.Http.Headers; using Sentry.Http; namespace Sentry.Benchmarks; internal class FakeHttpClientFactory : ISentryHttpClientFactory { public HttpClient Create(SentryOptions options) => new(new FakeMessageHandler()); } internal class FakeMessageHandler : Delegat...
28.351351
94
0.744519
[ "MIT" ]
TawasalMessenger/sentry-dotnet
benchmarks/Sentry.Benchmarks/FakeHttpClientFactory.cs
1,049
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...
50.2218
153
0.655255
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/test/Services/CodeGuruProfiler/UnitTests/Generated/Marshalling/CodeGuruProfilerMarshallingTests.cs
185,218
C#
using System.ComponentModel.DataAnnotations; namespace Gicco.Module.Core.ViewModels.Manage { public class AddPhoneNumberViewModel { [Required] [Phone] [Display(Name = "Phone number")] public string PhoneNumber { get; set; } } }
21.076923
47
0.649635
[ "Apache-2.0" ]
dvbtham/gicco
src/Modules/Gicco.Module.Core/Areas/Core/ViewModels/Manage/AddPhoneNumberViewModel.cs
276
C#
/* * OpenDoc_API-文档访问 * * API to access AnyShare 如有任何疑问,可到开发者社区提问:https://developers.aishu.cn # Authentication - 调用需要鉴权的API,必须将token放在HTTP header中:\"Authorization: Bearer ACCESS_TOKEN\" - 对于GET请求,除了将token放在HTTP header中,也可以将token放在URL query string中:\"tokenid=ACCESS_TOKEN\" * * The version of the OpenAPI do...
33.206107
257
0.588046
[ "MIT" ]
ArtyDinosaur404/AnyShareSDK
AnyShareSDK/Model/ContactorSearchcountRes.cs
4,486
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Netw...
48.690751
203
0.585267
[ "MIT" ]
Priya91/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteLinksRestClient.cs
16,847
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.Diagnostics; using System.Linq; using Analyzer.Utilities; us...
57.274775
177
0.545262
[ "Apache-2.0" ]
paulomorgado/roslyn-analyzers
src/Microsoft.NetCore.Analyzers/Core/Security/DoNotUseWeakKDFInsufficientIterationCount.cs
12,717
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace SourceGrid.Cells.Views { /// <summary> /// Summary description for a 3D Header. /// This is a standard header without theme support. Use the ColumnHeaderThemed for theme support. /// </summary> [Serializ...
32.435897
180
0.64664
[ "Unlicense" ]
GibraltarSoftware/SourceGrid
src/SourceGrid/Cells/Views/ColumnHeader.cs
3,795
C#
#region Copyright notice and license // Copyright 2015, Google Inc. // 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 copyrig...
37
109
0.587755
[ "BSD-3-Clause" ]
CharaD7/grpc
src/csharp/Grpc.Core.Tests/MetadataTest.cs
9,065
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.94636
108
0.518898
[ "Apache-2.0" ]
icanread/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/CreateUploadRequest.cs
8,599
C#
/* * Copyright (c) 2020 Christopher Boustros <github.com/christopher-boustros> * SPDX-License-Identifier: MIT */ // This script is not linked to a game object using UnityEngine; /* * This class defines the constant timestep interval used for the game's physics computations * The lower the time interval, the fast...
51.275862
196
0.736382
[ "MIT" ]
christopher-boustros/Unity-Cannon-Shooter-Game
Assets/Scripts/GameTime.cs
1,489
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.511111
104
0.690101
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/servicedirectory/v1beta1/google-cloud-servicedirectory-v1beta1-csharp/Google.Cloud.ServiceDirectory.V1Beta1.StandaloneSnippets/RegistrationServiceClient.TestIamPermissionsRequestObjectSnippet.g.cs
1,778
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.Buffers; using System.Collections.Generic; using System.Runtime.InteropServices; namespace System.IO.Pipelines.Networking.Libuv.Interop { /// <summary...
31.828767
113
0.501829
[ "MIT" ]
eerhardt/corefxlab
src/System.IO.Pipelines.Networking.Libuv/Interop/UvWriteReq.cs
4,647
C#
namespace Qts.Ultimate.EntityFrameworkCore.Seed.Host { public class InitialHostDbBuilder { private readonly UltimateDbContext _context; public InitialHostDbBuilder(UltimateDbContext context) { _context = context; } public void Create() { ...
26.086957
62
0.623333
[ "MIT" ]
nirzaf/Qts.Ultimate
src/Qts.Ultimate.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/InitialHostDbBuilder.cs
602
C#
#pragma warning disable CS0618 // MetadataFileReference to be removed using System; using System.Collections.Immutable; using System.IO; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.CSharp.UnitTests { public clas...
42.462585
162
0.604454
[ "Apache-2.0" ]
sperling/cskarp
Src/Compilers/CSharp/Test/Symbol/Compilation/MetadataFileReferenceCompilationTests.cs
6,244
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Controllers; using BTCPayServer.Events; using BTCPayServer.Services.Apps; namespace BTCPayServer.HostedServices { public class AppInventoryUpdaterHostedService : EventHostedSe...
39.904762
137
0.484828
[ "MIT" ]
1Blackdiamondsc/btcpayserver
BTCPayServer/HostedServices/AppInventoryUpdaterHostedService.cs
5,866
C#
/* * Selling Partner API for Messaging * * With the Messaging API you can build applications that send messages to buyers. You can get a list of message types that are available for an order that you specify, then call an operation that sends a message to the buyer for that order. The Messaging API returns response...
36.057554
426
0.571429
[ "MIT" ]
GuybrushX/Amazon-SP-API-CSharp
Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Messaging/GetAttributesResponse.cs
5,012
C#
namespace MyWebServer.ByTheCakeApp.Services.Contracts { using System.Collections.Generic; using ViewModels.Products; public interface IProductService { void Create(string name, decimal price, string imageUrl); IEnumerable<ProductListingViewModel> All(string searchTerm = null); ...
24.3
85
0.718107
[ "MIT" ]
DannyBerova/CSharp-Web-Development-Basics-May-2018
05-HandmadeWebServer-EF-Core/WebServer/ByTheCakeApp/Services/Contracts/IProductService.cs
488
C#
namespace TrafficManager.UI.MainMenu { using State; using State.Keybinds; public class PrioritySignsButton : MenuToolModeButton { protected override ToolMode ToolMode => ToolMode.AddPrioritySigns; protected override ButtonFunction Function => ButtonFunction.PrioritySigns; public o...
34.947368
92
0.718373
[ "MIT" ]
kianzarrin/Cities-Skylines-Traffic-Manager-President-Edition
TLM/TLM/UI/MainMenu/PrioritySignsButton.cs
664
C#
using EventSourcingOnAzureFunctions.Common.CQRS.CommandHandler.Events; using EventSourcingOnAzureFunctions.Common.EventSourcing; using EventSourcingOnAzureFunctions.Common.EventSourcing.Interfaces; using System; using System.Collections.Generic; namespace EventSourcingOnAzureFunctions.Common.CQRS.CommandHandler.Proje...
29.779817
92
0.56716
[ "MIT" ]
MerrionComputing/EventsSourcing-on-Azure-Functions
src/EventSourcingOnAzureFunctions.Common/CQRS/CommandHandler/Projections/ExecutionState.cs
3,248
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 using MicroCommerce.Identity.STS...
24.916667
107
0.742475
[ "MIT" ]
bao2703/b-shop
src/Services/Identity/MicroCommerce.Identity.Web/ViewModels/Device/DeviceAuthorizationViewModel.cs
602
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...
48.132075
176
0.72599
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ServiceFabric/Latest/Outputs/ArmApplicationHealthPolicyResponse.cs
2,551
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using HoloToolkit.Unity.InputModule; using UnityEngine; namespace HoloToolkit.Unity { /// <summary> /// Controls slicing planes for use in volumetr...
37.283465
118
0.615628
[ "MIT" ]
UBCHiveLab/SpectatorBrain
UnityProject/Assets/HoloToolkit-Examples/Medical/Scripts/SlicingPlaneController.cs
4,737
C#
using System; /* * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.math.impl.statistics.descriptive { using ArgChecker = com.opengamma.strata.collect.ArgChecker; using DoubleArrayMath = com.opengamma.s...
41.857143
205
0.681077
[ "Apache-2.0" ]
ckarcz/Strata.ConvertedToCSharp
modules/math/src/main/java/com/opengamma/strata/math/impl/statistics/descriptive/InterpolationQuantileMethod.cs
5,276
C#
// Copyright © 2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// <summary> /// Generic callback interface used for asynchronous completion. /// </summary> publi...
27.08
100
0.623338
[ "BSD-3-Clause" ]
364988343/CefSharp.Net40
CefSharp/Callback/ICompletionCallback.cs
678
C#
using MessagingClientMVVM.MicroMVVM; using MessagingClientMVVM.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MessagingClientMVVM.ViewModels { public class FriendRequestViewModel : ObservableObject { private FriendR...
23.932584
104
0.447887
[ "Apache-2.0" ]
topham101/MultiUserMessagingApplication
MessagingClientMVVM/ViewModels/FriendRequestViewModel.cs
2,132
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace BabySmash.iOS { 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 from "A...
19.272727
82
0.716981
[ "MIT" ]
rmarinho/babysmash
BabySmash.iOS/Main.cs
426
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Speck { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private ...
23.636364
65
0.617308
[ "MIT" ]
GreenPasalacqua/Speck
Speck/Program.cs
522
C#
#region COPYRIGHT© 2009-2014 Phillip Clark. All rights reserved. // For licensing information see License.txt (MIT style licensing). #endregion using System; using System.Diagnostics.Contracts; namespace FlitBit.Core.Buffers { internal static class CRC { internal const int CrcTableLength = 256; } /// ...
24.189573
98
0.514303
[ "MIT" ]
flitbit-org/fbcore
FlitBit.Core/Buffers/CRC.cs
5,107
C#
using System; using System.Collections.Generic; using C5; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using QuickGraph; namespace PacePrototype { using HashSet = System.Collections.Generic.HashSet<string>; public class Pair { ...
37.087019
141
0.396761
[ "MIT" ]
Madsen90/Pace17
PacePrototype/MinFillKernelizer.cs
26,000
C#
//----------------------------------------------------------------------------- // FILE: PageBase.razor.cs // CONTRIBUTOR: Marcus Bowyer // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; usin...
27.3125
80
0.695652
[ "Apache-2.0" ]
codelastnight/neonKUBE
Services/neon-dashboard/Pages/PageBase.razor.cs
1,313
C#
// WARNING // // This file has been generated automatically by Visual Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace Stylophone.iOS.ViewContro...
21.114286
83
0.694181
[ "MIT" ]
Difegue/Stylophone
Sources/Stylophone.iOS/ViewControllers/SubViews/FilePathCell.designer.cs
739
C#
using System; using System.Collections.Generic; using System.Net.Http; namespace EveOpenApi.Api { internal interface IApiRequest { public Uri RequestUri { get; } public HttpMethod HttpMethod { get; } public string User { get; } public string Scope { get; } public IDictionary<string, string> Headers { ...
22.121212
53
0.654795
[ "MIT" ]
henrik9864/EsiNet
Eve-OpenApi/Interfaces/API/IApiRequest.cs
732
C#
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace RedPlus.WebApp.Data { public class ApplicationDbContext : IdentityDbContext { public ApplicationDbContext(DbContextOptions<Applicat...
23.470588
83
0.734336
[ "MIT" ]
VisualAcademy/RedPlus.RazorPages
RedPlus.WebApp/Data/ApplicationDbContext.cs
401
C#
using System.Diagnostics.Contracts; namespace System.Reactive.Linq { public static partial class Observable2 { /// <summary> /// Creates an observable sequence with two notification channels from the <paramref name="subscribe"/> implementation. /// </summary> /// <typeparam name="TLeft">Type of th...
49.926829
125
0.708354
[ "MIT" ]
slorion/multiagent-system-example
DLC.Multiagent/Rxx/System/Reactive/Linq/Observable2 - Either - Create.cs
2,049
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("Csh...
38.540541
84
0.748247
[ "MIT" ]
James-chen-ha/C-_control_8_LED_GUI
Properties/AssemblyInfo.cs
1,429
C#
using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Nest; using Tests.Framework; using static Tests.Framework.UrlTester; namespace Tests.XPack.Security.Role.ClearCachedRoles { public class ClearCachedRolesUrlTests : UrlTestsBase { [U] public override async Task Urls() { var role = "some_ro...
28.521739
83
0.737805
[ "Apache-2.0" ]
Henr1k80/elasticsearch-net
src/Tests/Tests/XPack/Security/Role/ClearCachedRoles/ClearCachedRolesUrlTests.cs
658
C#
#region Using using Emotion.Graphics.Objects; using Emotion.Primitives; #endregion #nullable enable namespace Emotion.Graphics.ThreeDee { /// <summary> /// Settings description of how to render a 3D object. /// </summary> public class MeshMaterial { public string Name = null!; p...
22.125
72
0.679849
[ "MIT" ]
simo-andreev/Emotion
Emotion/Graphics/ThreeDee/MeshMaterial.cs
533
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Windows; using System.Windows.Media.Imaging; using System.Windows.Media; using SharpVectors.Renderers.Wpf; using SharpVectors.Converters; using SharpVectors.Dom.Svg; using G...
31.72381
120
0.505154
[ "MIT" ]
tgiqfe/GazoView
GazoView/ImageStore.cs
10,325
C#
using System; using System.Drawing; using System.Drawing.Drawing2D; using PdfSharp.Drawing; namespace XDrawing.TestLab.Tester { /// <summary> /// Draws a Spirograph. /// </summary> public class MiscSpiroGraph : TesterBase { /// <summary> /// Source and more infos: http://www.math.dartmou...
32.205479
108
0.549128
[ "MIT" ]
dankennedy/PDFSharp
dev/XGraphicsLab/Tester/Miscellaneous/MiscSpiroGraph.cs
2,351
C#
/*<FILE_LICENSE> * NFX (.NET Framework Extension) Unistack Library * Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. 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:/...
30.371134
135
0.604718
[ "Apache-2.0" ]
agnicore/nfx
src/NFX.Wave/Templatization/WaveTemplate.cs
5,892
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. namespace Contoso.GameNetCore.Proto { public class GameSocketAcceptContext { public virtual string SubProtocol { get; set; } ...
32.5
112
0.707692
[ "Apache-2.0" ]
bclnet/GameNetCore
src/Proto/Proto.Features/src/WebSocketAcceptContext.cs
325
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace HelpingHands.Data.Migrations { public partial class addedstatustopurchaseorder : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "Status",...
26.913043
71
0.594507
[ "MIT" ]
tmoodley/crispans
content/Data/Migrations/20200410190834_added status to purchase order.cs
621
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore.Sqlite.Internal; namespace Microsoft.EntityFrameworkCore.Query; public class ComplexNavigationsQuerySqliteTest : ComplexNavigationsQueryRelation...
49.217391
160
0.746908
[ "MIT" ]
Applesauce314/efcore
test/EFCore.Sqlite.FunctionalTests/Query/ComplexNavigationsQuerySqliteTest.cs
2,264
C#
using UnityEngine; using UnityEngine.Rendering; using System.Collections.Generic; /// <summary> /// Creates and maintains a command buffer to set up the textures used in the glowing object image effect. /// </summary> public class GlowController : MonoBehaviour { private static GlowController _instance; private Co...
34.921569
196
0.754913
[ "Apache-2.0" ]
DavidMann10k/Marionette
Assets/_third_party/Outline/GlowController.cs
3,564
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...
30.594595
113
0.739399
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MigrationHub/Generated/Model/NotifyApplicationStateResponse.cs
1,132
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using System.Composition; using System.Threading; using Microsoft.CodeAnalysis....
45.411765
159
0.628474
[ "Apache-2.0" ]
HenrikWM/roslyn
src/Features/CSharp/Portable/UseIndexOrRangeOperator/CSharpUseRangeOperatorDiagnosticAnalyzer.cs
8,494
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.1 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gen...
42.185185
152
0.584723
[ "MIT" ]
NetOffice/NetOffice
Toolbox/Toolbox/Properties/Settings.Designer.cs
1,143
C#
using ColossalFramework.UI; using ServiceRestrictions.Compatibility; using ServiceRestrictions.GUI.Districts; using ServiceRestrictions.Internal; using UnityEngine; namespace ServiceRestrictions.GUI { public class UiTitleBar : UIPanel { public static UiTitleBar Instance; private UIButton _clos...
38.189723
98
0.602463
[ "MIT" ]
Celisuis/ServiceRestricter
ServiceRestrictions/GUI/UITitlebar.cs
9,664
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; namespace Qwiq.Exceptions { [DebuggerStepThrough] internal class InnerExceptionExploder : IExceptionExploder { private static readonly ReadOnlyCollection<Exception> Empty = new ReadOnlyCo...
30
127
0.66
[ "MIT" ]
rjmurillo/Qwiq
src/Qwiq.Core/Exceptions/InnerExceptionExploder.cs
750
C#
namespace MegaBuild { #region Using Directives using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Drawing; using System.IO; using System.Text; using System.Threading; using System.Windows.Forms; using Menees; #endregion [StepDisp...
25.393574
137
0.687332
[ "MIT" ]
bmenees/MegaBuild
src/MegaBuildSdk/Classes/MegaBuildStep.cs
6,323
C#
using System; namespace Szark { /// <summary> /// A struct containing RGBA information. /// </summary> public struct Color { public byte red, green, blue, alpha; /// <summary> /// The Constructor for a color in RGBA form. /// Alpha is not required and will just rend...
36.432927
83
0.487364
[ "MIT" ]
TheOnlyMarv/SzarkEngine
Engine/Color.cs
5,975
C#
using System.Runtime.CompilerServices; using BepuPhysics; using BepuUtilities; namespace Demos.Port { public class CustomPositionLastTimestepper : ITimestepper { /// <summary> /// Fires after the sleeper completes and before bodies are integrated. /// </summary> public event Ti...
42.044944
128
0.622929
[ "Apache-2.0" ]
FEETB24/bepuphysics2
Demos/Port/CustomPositionLastTimestepper.cs
3,744
C#
// 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 // regenerated. namespac...
31.388889
96
0.613274
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/Network/Management.Network/Generated/Models/QueryTroubleshootingParameters.cs
2,260
C#