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
#region CompositeStateTransitionTests.cs file // // Tests for StaMa state machine controller library // // Copyright (c) 2005-2014, Roland Schneider. All rights reserved. // #endregion using System; using StaMa; using System.Collections; #if !MF_FRAMEWORK using NUnit.Framework; #else using MFUnitTest....
57
251
0.638217
[ "BSD-3-Clause" ]
StaMa-StateMachine/StaMa
Tests/StaMaTest/CompositeStateTransitionTests.cs
6,329
C#
 #region Using Directives using System; using System.ComponentModel; using System.Collections; using System.Xml.Serialization; using System.Data; using Nettiers.AdventureWorks.Entities; using Nettiers.AdventureWorks.Entities.Validation; using Nettiers.AdventureWorks.Data; using Microsoft.Practices.Ent...
24.463415
113
0.733799
[ "MIT" ]
aqua88hn/netTiers
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Services/ProductCostHistoryService.cs
1,005
C#
using System; using CommunityPatch; using TaleWorlds.Library; using TaleWorlds.TwoDimension; namespace Aragas.TextureImportingHack { // Character icon on Map: // ButtonWidget with child ImageIdentifierWidget // ImageId = CharacterId data // ImageTypeCode = 5 // AdditionalArgs = "" // Texture -...
29.027027
131
0.675047
[ "MIT" ]
Aragas/Aragas.MercenaryContract
Aragas.MercenaryContract/TextureImportingHack/SpriteDataFactory.cs
1,076
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using NAudio.Wave; using ASong.Playback; namespace ...
31.642229
129
0.492864
[ "MIT" ]
Lostelle/AdvancedSong
old/ASong/WaveformEditorForm.cs
10,792
C#
/* MIT License Copyright (c) 2016 Marco Silipo (X39) 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, pub...
34.473684
91
0.591094
[ "MIT" ]
X39/CTTResultReader
DLNA_TestResultReader/FileFormats/UCTT/TestCase.cs
3,932
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. namespace ModernWpf.Toolkit { /// <summary> /// Set of helpers to convert between data types and notations. ...
32.86
91
0.460743
[ "MIT" ]
ModernWpf-Community/ModernWpfCommunityToolkit
ModernWpf.Toolkit/Converters.cs
1,643
C#
using Microsoft.Build.Framework; using NUnit.Framework; using System.CodeDom; using System.IO; using System.Linq; using System.Maui.Build.Tasks; using System.Maui.Core.UnitTests; namespace System.Maui.MSBuild.UnitTests { [TestFixture] public class XamlgTests : BaseTestFixture { [Test] public void LoadXaml2006 ...
36.532578
155
0.687112
[ "MIT" ]
AswinPG/maui
System.Maui.Xaml.UnitTests/XamlgTests.cs
12,896
C#
using System; namespace ReservationSystem.Base.Services.Identity { public interface IIdentityContext { Guid UserId { get; } UserRoles Roles { get; } bool IsAuthenticated { get; } bool IsAdmin { get; } } }
19.307692
50
0.613546
[ "MIT" ]
DawidMierzejewski/reservation-system
src/Base/ReservationSystem.Base.Services/Identity/IIdentityContext.cs
253
C#
using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Configuration; namespace SlackBufferedLogger.Extensions { public static class SlackBufferedLoggerExtensions { ...
33.7
142
0.709941
[ "MIT" ]
kristofferjalen/SlackBufferedLogger
SlackBufferedLogger/Extensions/SlackBufferedLoggerExtensions.cs
1,350
C#
using Volo.Abp.Data; using Volo.Abp.MongoDB; namespace EasyAbp.UniappManagement.MongoDB { [ConnectionStringName(UniappManagementDbProperties.ConnectionStringName)] public class UniappManagementMongoDbContext : AbpMongoDbContext, IUniappManagementMongoDbContext { /* Add mongo collections here. Exam...
31.15
100
0.712681
[ "MIT" ]
EasyAbp/UniApp
src/EasyAbp.UniappManagement.MongoDB/EasyAbp/UniappManagement/MongoDB/UniappManagementMongoDbContext.cs
625
C#
#region Licence /**************************************************************************** Copyright 1999-2015 Vincent J. Jacquet. All rights reserved. Permission is granted to anyone to use this software for any purpose on any computer system, and to alter it and redistribute it, subject t...
36.897436
153
0.577716
[ "MIT" ]
vjacquet/WmcSoft
WmcSoft.Business.Primitives/Latitude.Serialization.cs
4,319
C#
using Unity.Networking.Transport; using UnityEngine; public class NetMessage { public OpCode Code { get; set; } public virtual void Serialize(ref DataStreamWriter writer) { writer.WriteByte((byte)Code); } public virtual void Deserialize(DataStreamReader reader) { } public vi...
15.821429
63
0.672686
[ "MIT" ]
f-delacre/chaotic-chess
Assets/Scripts/Net/NetMessage/NetMessage.cs
443
C#
using Grasshopper.Kernel; using Grasshopper.Kernel.Types; using Rhino.Geometry; using System; using System.Collections.Generic; namespace GraphicPlus.Components.Drawings { public class GH_DrawingToText : GH_Component { /// <summary> /// Initializes a new instance of the GH_DrawingToScript clas...
34.928571
179
0.58589
[ "MIT" ]
interopxyz/GraphicPlus
GraphicPlus/Components/Drawings/GH_DrawingToText.cs
2,936
C#
// <copyright file="CalculationType.cs" company="Pyatygin S.Y."> // Copyright (c) Pyatygin S.Y.. All rights reserved. // </copyright> namespace SADT.Core.Enums { /// <summary> /// Calculation type. /// </summary> public enum CalculationType { /// <summary> /// Calculation transform...
21.913043
65
0.569444
[ "MIT" ]
PyatyginSY/BindingRadioButtonsOrCheckBoxesToEnums
BindingRadioButtonsOrCheckBoxesToEnums.Core/Enums/CalculationType.cs
506
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:3.0.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
29.145833
80
0.518942
[ "EPL-1.0" ]
JanneMattila/ZigbeeNet
libraries/ZigbeeNet.Hardware.Ember/Ezsp/Command/EzspCallbackRequest.cs
1,399
C#
// ------------------------------------------------------------------------------------------------- // <copyright file="ElementGroupingMembershipContradictionErrorFactory.cs" company="RHEA System S.A."> // // Copyright 2022 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License");...
46.69863
162
0.533588
[ "Apache-2.0" ]
RHEAGROUP/Kalliope
Kalliope.Dal/AutoGenModelThingFactories/ElementGroupingMembershipContradictionErrorFactory.cs
3,409
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XsDupFinder.Lib.Finder { public class Duplicate { public class Location { public string Filename { get; set; } public string ClassName { get; se...
31.793103
108
0.597614
[ "Apache-2.0" ]
VolkmarR/XsDupFinder
src/XsDupFinder.Lib/Finder/Duplicate.cs
924
C#
using System; using System.Collections.Generic; using System.Linq; using VocaDb.Model.DataContracts; using VocaDb.Model.Helpers; using System.Collections; using VocaDb.Model.Utils; namespace VocaDb.Model.Domain.Globalization { public class NameManager<T> : INameManager<T>, IEnumerable<T> where T : LocalizedStringWi...
26.103448
134
0.701333
[ "MIT" ]
cazzar/VocaDbTagger
VocaDbModel/Domain/Globalization/NameManager.cs
8,329
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. // try/catch, try/finally using System; using System.Runtime.CompilerServices; class Test4 { public static str...
30.086207
119
0.466794
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/Methodical/stringintern/test4.cs
15,705
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Iot.Device.Media { /// <summary> /// The default and current values of a video device's control. /// </summary> public class VideoDeviceValue {...
30.885246
117
0.519108
[ "MIT" ]
gukoff/nanoFramework.IoT.Device
src/devices_generated/Media/VideoDevice/VideoDeviceValue.cs
1,884
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseLook : MonoBehaviour { public float mouseSensitivity = 100f; public Transform playerBody; float xRoration = 0f; public int zoom = 20; public int normal = 60; public float smooth = 5; private ...
30.288889
129
0.622157
[ "MIT" ]
RyzAnugrah/the-maze
Assets/Scripts/Game/MouseLook.cs
1,365
C#
using System; using System.Buffers; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using Alex.Common; using Alex.Common.Blocks; using Alex.Common.Graphics; using Alex.Common.Graphics.GpuResources; using Alex.Common.Utils.Vectors; using Alex.Graphics.Mod...
21.551724
82
0.696
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
kennyvv/Alex
src/Alex/Worlds/Chunks/ChunkRenderStage.cs
1,875
C#
//! \file ImagePRG.cs //! \date 2019 May 05 //! \brief Regrips obfuscated image. // // Copyright (C) 2019 by morkt // // 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 witho...
38.670213
95
0.645942
[ "MIT" ]
AyamiKaze/GARbro
Legacy/Regrips/ImagePRG.cs
3,635
C#
using System; namespace Lidgren.Network { /// <summary> /// Result of a SendMessage call /// </summary> public enum NetSendResult { /// <summary> /// Message failed to enqueue because there is no connection /// </summary> FailedNotConnected = 0, /// <summary> /// Message was immediat...
18.870968
73
0.593162
[ "MIT" ]
BeastLe9enD/lidgren-network-gen3
Lidgren.Network/NetSendResult.cs
589
C#
namespace Nullable.Extensions.Async { using System; using System.Threading.Tasks; /// <summary>Defines the `TapAsync()` extension for `T?` and `Task`s of type `T?`.</summary> public static class TapAsyncExt { /// <summary>Executes an asychronous side effect when the nullable value is not...
60.095238
131
0.614501
[ "MIT" ]
bert2/Nullable.Extensions
src/Nullable.Extensions/Async/TapAsyncExt.cs
2,526
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { Type type = typeof(MyReflectionClass); MethodInfo method = type.GetMethod("MyMethod"); MyReflec...
22.206897
56
0.661491
[ "MIT" ]
AbdelBelkhiri/eiin839
TD2/ReflectionSample/Program.cs
646
C#
using System; using System.Threading; using Dasync.Accessors; using Dasync.Serialization; using Dasync.ValueContainer; namespace Dasync.Serializers.EETypes.Cancellation { public class CancellationTokenSerializer : IObjectDecomposer, IObjectComposer { public IValueContainer Decompose(object value) ...
29.195652
105
0.654505
[ "Apache-2.0" ]
Dasync/Dasync
src/Data/Serializers.EETypes/Cancellation/CancellationToken.cs
1,345
C#
using Acr.UserDialogs; using Android.App; using Android.Content.PM; using Android.OS; using Xamarin.Forms; namespace OrderKingCoreDemo.Droid { [Activity(Label = "OrderKingCoreDemo", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigCha...
29.62963
194
0.6875
[ "MIT" ]
Binwell/Order-King-Mobile-Core
OrderKingCoreDemo/OrderKingCoreDemo.Android/MainActivity.cs
800
C#
namespace ArgentPonyWarcraftClassicClient; /// <summary> /// Item media. /// </summary> public record ItemMedia { /// <summary> /// Gets links for the achievement media. /// </summary> [JsonPropertyName("_links")] public Links Links { get; init; } /// <summary> /// Gets a collection of me...
21.538462
45
0.589286
[ "MIT" ]
blizzard-net/warcraft-classic
src/ArgentPonyWarcraftClassicClient/Models/GameDataApi/Item/ItemMedia.cs
562
C#
namespace dotless.Core.Parser.Functions { using Infrastructure.Nodes; using Tree; class BlueFunction : ColorFunctionBase { protected override Node Eval(Color color) { return new Number(color.B); } protected override Node EditColor(Color color, Number number...
23.130435
69
0.554511
[ "MIT" ]
Zocdoc/cassette
src/Cassette.Less/dotless/Core/Parser/Functions/BlueFunction.cs
534
C#
using System; namespace TextFilter { class TextFilter { public static void Main() { var bannedWords = Console.ReadLine() .Split(new char[] { ' ', ',' }, StringSplitOptions.RemoveEmptyEntries); var text = Console.ReadLine(); foreach (var word ...
24.6
87
0.506098
[ "MIT" ]
hristokrastev/MasteringC
StringProc_Exercises/TextFilter/TextFilter/TextFilter.cs
494
C#
using System; namespace Neuz.DevKit.Extensions { public static partial class DateTimeExt { /// <summary> /// 获取月的开始 DateTime (year-month-day 00:00:00.000) /// </summary> /// <param name="this"></param> /// <returns></returns> /// <exception cref="ArgumentOut...
29.769231
70
0.48708
[ "MIT" ]
Neuz/DevKit
src/Extensions/Neuz.DevKit.Extensions/DateTimeExt/StartOfMonth.cs
788
C#
// Copyright © 2016-2017 NoID Developers. All rights reserved. // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. using System; using System.Configuration; using System.Collections.Generic; using Hl7.Fhir.Model; using NoID.Securit...
43.97093
151
0.584424
[ "MIT" ]
HarmonIQ/noid
source/noid.network.client.test/Program.cs
7,566
C#
#nullable enable using System.Threading.Tasks; using Content.Shared.Construction; using JetBrains.Annotations; using Robust.Server.GameObjects; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Serialization; using Robust.Shared.Utility; namespace Content.Server.Construction.Completions { [UsedImpli...
33.176471
112
0.693262
[ "MIT" ]
BlindfoldedHuman/space-station-14
Content.Server/Construction/Completions/SpriteChange.cs
1,130
C#
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated do...
62.137931
440
0.739734
[ "MIT" ]
amccool/azure-activedirectory-identitymodel-extensions-for-dotnet
src/Microsoft.IdentityModel.Tokens/InternalsVisibleTo.cs
1,804
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PatrolActionManager : SSActionManager { private GoPatrolAction go_patrol; //巡逻兵巡逻 public void GoPatrol(GameObject patrol) { go_patrol = GoPatrolAction.GetSSAction(patrol.transfor...
29.97561
129
0.62083
[ "Apache-2.0" ]
jiushiwola/unity-3D
hw7/Assets/Scripts/PatrolActionManager.cs
1,305
C#
/* Written by Peter O. in 2013. Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ If you like this, you should donate to Peter O. at: http://peteroupc.github.io/ */ using System; namespace PeterO.Numbers { // <summary>Implements the simplified arithmetic in Appendi...
36.576074
81
0.622253
[ "MIT" ]
gebogebogebo/WebAuthnModokiDesktop
Source/WebAuthnModokiDesktop/WebAuthnModokiDesktop/OSS/Numbers/SimpleRadixMath.cs
31,492
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.O...
25.058824
81
0.659624
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/argocd-operator/dotnet/Kubernetes/Crds/Operators/ArgocdOperator/Argoproj/V1Alpha1/Outputs/ApplicationStatusHistorySourceKsonnetParameters.cs
852
C#
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; namespace Benchmark { [SimpleJob(RuntimeMoniker.Net472), SimpleJob(RuntimeMoniker.NetCoreApp31), SimpleJob(RuntimeMoniker.Net60), MemoryD...
31.444444
128
0.484914
[ "Apache-2.0" ]
mgravell/protobuf-net
src/Benchmark/PoolBenchmarks.cs
3,681
C#
using System; using System.Collections.Generic; using System.Text; namespace Animals { class Cat : Animal { public Cat(string name, int age, string gender) : base(name, age, gender) { } public override void ProduceSound() { Console.WriteLine("Meow meow"); ...
18.666667
81
0.574405
[ "MIT" ]
Alexxx2207/CSharpOOP
Inheritance-ex/Animals/Cat.cs
338
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // InlinedAggregationOperatorEnumerator.cs // // =-=-=-=-=-=-=-=-=-=-=-=-=-...
44.220588
125
0.549717
[ "MIT" ]
690486439/corefx
src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Inlined/InlinedAggregationOperatorEnumerator.cs
3,007
C#
using MXGP.Core.Contracts; using MXGP.IO; using MXGP.IO.Contracts; using System; namespace MXGP.Core { public class Engine : IEngine { private IReader consoleReader; private IWriter consoleWriter; private IChampionshipController controller; public Engine() { ...
31.422222
96
0.425035
[ "MIT" ]
VinsantSavov/SoftUni-Software-Engineering
CSharp-OOP/Exams/(Demo) Exam - 07 Dec 2019/01. Structure_Skeleton/MXGP/Core/Engine.cs
2,830
C#
using System; using Android.Gms.Ads; using Plugin.MgAdmob.EventArgs; namespace Plugin.MgAdmob.Listeners; public class MgBannerAdViewListener : AdListener { public event EventHandler AdClicked; public event EventHandler AdClosed; public event EventHandler AdImpression; public event EventHandler AdOpened; ...
27.25
115
0.668705
[ "MIT" ]
mg-code-solutions/MgAdmob
MgAdmob/Listeners/MgBannerAdViewListener.android.cs
1,964
C#
using System; using System.Collections.Generic; using UnityEngine; public class SlimeMovement : MonoBehaviour { [Tooltip("Ground collision settings.")] public RaycastColliderConfig groundColliderConfig; [Tooltip("Speed of movement along a surface, in world units per second.")] public float walkingSp...
30.875862
123
0.625195
[ "MIT" ]
vvnurmi/trappedinside
TrappedInside/Assets/SlimeMovement.cs
4,479
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // asso...
43.160714
99
0.69218
[ "MIT" ]
mariuszf161/Projekt
WpfApp2/Properties/AssemblyInfo.cs
2,420
C#
// **************************************************************** // Copyright 2010, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** using System; using NUn...
43.120482
112
0.58983
[ "MIT" ]
acken/AutoTest.Net
lib/NUnit/src/NUnit-2.6.0.12051/src/ClientUtilities/util/DefaultTestRunnerFactory.cs
3,581
C#
using org.ohdsi.cdm.framework.common.Builder; using org.ohdsi.cdm.framework.common.Omop; using System; using System.Collections.Generic; using System.Data; namespace org.ohdsi.cdm.framework.common.DataReaders.v6 { public class ProcedureOccurrenceDataReader : IDataReader { private readonly IEnumerator<...
28.896194
141
0.506766
[ "Apache-2.0" ]
OHDSI/ETL-CDMBuilder
source/org.ohdsi.cdm.framework.common/DataReaders/v6/ProcedureOccurrenceDataReader.cs
8,353
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v9/errors/asset_group_error.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf...
41.589928
299
0.698063
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Types/AssetGroupError.g.cs
11,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Mercury.Client { [Serializable] public class Session { #region Private Properties private String token; private Int64 securityAuthorityId; private String securityAuthorityName; ...
33.805031
184
0.704372
[ "MIT" ]
Quebe/Mercury-Care-Management
Mercury.Clients/Mercury.Clients.Web/Mercury.Client/Client/Session.cs
5,377
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...
41.4
194
0.643772
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/Model/Internal/MarshallTransformations/AuthorizeIpRulesResponseUnmarshaller.cs
4,761
C#
using Uno.UI.Samples.Controls; using Windows.UI.Xaml.Controls; namespace UITests.Windows_UI_Xaml_Controls.TimePicker { [SampleControlInfo("Pickers", nameof(TimePicker_TimePickerFlyoutStyle))] public sealed partial class TimePicker_TimePickerFlyoutStyle : UserControl { public TimePicker_TimePickerFlyoutStyle() ...
24.133333
75
0.803867
[ "Apache-2.0" ]
iury-kc/uno
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/TimePicker/TimePicker_TimePickerFlyoutStyle.xaml.cs
364
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...
38.6
144
0.643032
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Schemas/Generated/Model/Internal/MarshallTransformations/DescribeSchemaRequestMarshaller.cs
3,667
C#
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // // BRON-Y-ORC STOMP (lighting) // // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any per...
34.811111
92
0.613789
[ "MIT" ]
7erj1/RPG_Starter
Templates/RPGDemo/game/scripts/server/afx/effects/SpellPack2/lighting/byos_lighting_t3d_sub.cs
3,044
C#
namespace MoreLinq { #if UNITY_5_6_OR_NEWER #pragma warning disable CS3015 [System.AttributeUsage(System.AttributeTargets.All)] public class MaybeNullAttribute : System.Attribute {} [System.AttributeUsage(System.AttributeTargets.All)] public class MaybeNullWhenAttribute : System.Attribute {...
26.866667
62
0.727047
[ "Apache-2.0" ]
invocative/MoreLINQ
MoreLinq/MaybeNullAttribute.cs
403
C#
using PnP.Framework.Entities; using PnP.Framework.Graph; using PnP.PowerShell.Commands.Attributes; using PnP.PowerShell.Commands.Base; using PnP.PowerShell.Commands.Base.PipeBinds; using System.Management.Automation; namespace PnP.PowerShell.Commands.Graph { [Cmdlet(VerbsCommon.Clear, "PnPMicrosoft365GroupMember"...
29.90625
90
0.660397
[ "MIT" ]
sebastianmattar/powershell
src/Commands/Graph/ClearMicrosoft365GroupMember.cs
959
C#
/* * Copyright 2017-2018, Optimizely * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
57.752114
235
0.652429
[ "Apache-2.0" ]
Nevett/csharp-sdk
OptimizelySDK.Tests/OptimizelyTest.cs
109,269
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ using System...
36.875
80
0.630508
[ "MIT" ]
feilingdeng/xms
Libraries/QueryView/Xms.QueryView/obj/Release/netstandard2.0/Xms.QueryView.AssemblyInfo.cs
1,001
C#
using System; using System.Net; namespace Neutrino.Core { public class DeferredReceivable { public DeferredReceivable() { } public byte[] ReceivedBuffer { get; set; } public int TimeToReceiveTicks { get; set; } public IPEndPoint Endpoint { get; set; } } }
15.277778
45
0.698182
[ "MIT" ]
Claytonious/Neutrino
NeutrinoCore/DeferredReceivable.cs
277
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScaleWithCameraDistance_Reverse : MonoBehaviour { public float objectScale = 1.0f; private Vector3 initialScale; // set the initial scale, and setup reference camera void Awake() { // record initi...
25
95
0.657931
[ "MIT" ]
Chopium/ClowderBridge
Assets/Scripts/ScaleWithCameraDistance_Reverse.cs
727
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. /*============================================================ ** ** ** Purpose: Base class which can be used to acc...
39.209689
167
0.53545
[ "MIT" ]
AzureMentor/coreclr
src/System.Private.CoreLib/src/System/Array.cs
106,023
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Jc.ApiHelper { internal class TsCreator { public TsCreator() { } /// <summary> /// 生成TsCode /// </summary> public TsResultModel GetTsResultModel(string itemI...
40.426667
151
0.496325
[ "MIT" ]
279328316/JcApiHelper
Jc.ApiHelper/Helper/TsCreator.cs
21,550
C#
using System; using UnityEngine; using UnityEditor.ShaderGraph; using UnityEditor.ShaderGraph.Internal; using UnityEditor.Graphing; using UnityEngine.Rendering.HighDefinition; namespace UnityEditor.Rendering.HighDefinition.ShaderGraph { static class PassDescriptorExtension { public static bool IsDepthO...
39.166667
176
0.67234
[ "MIT" ]
ACBGZM/JasonMaToonRenderPipeline
Packages/com.unity.render-pipelines.high-definition@10.5.0/Editor/Material/ShaderGraph/PassDescriptorExtension.cs
1,645
C#
// <copyright file="FiniteString.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace ZenLib { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using static ZenLib.Languag...
34.395604
123
0.530112
[ "MIT" ]
filippoquaranta/Zen
ZenLib/DataTypes/FiniteString.cs
12,522
C#
using GNB.Api.App.Clients; using NUnit.Framework; using System; using System.Net.Http; using System.Threading.Tasks; namespace GNB.Api.Tests.Clients { [TestFixture] internal class HerokuAppClientTest { private HerokuAppClient herokuAppClient; [SetUp] public void SetUp() { ...
25.736842
80
0.609407
[ "MIT" ]
henksandoval/GNB
NUnitGNB.Api/Clients/HerokuAppClientTest.cs
980
C#
using System; using System.ComponentModel; using System.Globalization; using Devcat.Core.Design; namespace Devcat.Core.Math.GeometricAlgebra { [TypeConverter(typeof(Vector2Converter))] [Serializable] public struct Vector2 : IEquatable<Vector2> { public static Vector2 Zero { get { return Vector2._zer...
28.836387
202
0.644456
[ "MIT" ]
ulkyome/laucher_server
Core/Math/GeometricAlgebra/Vector2.cs
22,033
C#
/***************************************************************************************************************************************** Author: Michael Shoots Email: michael.shoots@live.com Project: Open Space 4x License: MIT License Notes: ***************************************************************************...
29.423077
139
0.522222
[ "MIT" ]
McShooterz/OpenSpace4x
Assets/Scripts/Data/HardPoints.cs
1,532
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.Linq; using NUnit.Framework; namespace ICSharpCode.AvalonEdit.Document { [TestFixture] public cl...
36.415385
103
0.744825
[ "MIT" ]
4lab/ILSpy
AvalonEdit/ICSharpCode.AvalonEdit.Tests/Document/ChangeTrackingTest.cs
2,369
C#
namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Parameter)] public class MaybeNullWhenAttribute : Attribute { public MaybeNullWhenAttribute( bool returnValue) { this.ReturnValue = returnValue; } public bool Return...
21.4375
48
0.618076
[ "Apache-2.0" ]
aetos382/PowerShell.StorageDevice
PSAsync.CodeGenerator/MaybeNullWhenAttribute.cs
345
C#
using System; using System.Collections.Concurrent; using System.Data; namespace NHulk.DynamicCache { public static class SqlDelegate<T> { public delegate void GetCommandByInstance(ref IDbCommand source, object instance); public delegate void GetGenericCommand(ref IDbCommand source, T instance)...
54.275862
131
0.757306
[ "MIT" ]
huangweiboy/NHulk
NHulk/OrmCache/SqlDelegate.cs
1,576
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace EIS.Web.Mail { public partial class...
27.528169
81
0.461499
[ "MIT" ]
chen1993nian/CPMPlatform
Dev/Mail/MailWrite.aspx.designer.cs
5,115
C#
namespace EA.Weee.Core.AatfReturn { using System; using System.ComponentModel.DataAnnotations; [Serializable] public enum FacilityType { [Display(Name = "AATF")] Aatf = 1, [Display(Name = "AE")] Ae = 2 } }
17.6
48
0.568182
[ "Unlicense" ]
DEFRA/prsd-weee
src/EA.Weee.Core/AatfReturn/FacilityType.cs
266
C#
using System; namespace bc.Framework { /// <summary> /// /// </summary> public struct ProbabilisticItem<T> : IEquatable<ProbabilisticItem<T>> where T : IEquatable<T> { public T Item { get; init; } public double Probability { get; init; } public bool Equals(ProbabilisticIte...
43.655172
176
0.673776
[ "MIT" ]
bcbodily/lsystem
src/bc/Framework/ProbabilisticItem.cs
1,266
C#
using System; namespace Vertical.HubSpot.Api.Data { /// <summary> /// attribute indicating id property /// </summary> public class HubspotIdAttribute : Attribute { } }
17.363636
49
0.643979
[ "MIT" ]
loker0/hubspot-api
Vertical.HubSpot.Api/Data/HubspotIdAttribute.cs
193
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.VisioApi { ///<summary> /// DispatchInterface IVStatusBarItem /// ...
27.133536
169
0.672054
[ "MIT" ]
Engineerumair/NetOffice
Source/Visio/DispatchInterfaces/IVStatusBarItem.cs
17,883
C#
namespace BookStore.Web.Controllers { using System.Security.Claims; using BookStore.Services.Data.Book; using BookStore.Web.ViewModels.Author; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; public class AuthorController : Control...
28.659091
110
0.659001
[ "MIT" ]
Anzzhhela98/C-Web
ASP.NET Core/Web/BookStore.Web/Controllers/Author/AuthorController.cs
1,263
C#
using System.Collections.Generic; using System.Runtime.CompilerServices; using Jint.Native.Object; using Jint.Native.Symbol; using Jint.Runtime; using Jint.Runtime.Descriptors; namespace Jint.Native.Array { public class ArrayInstance : ObjectInstance { internal PropertyDescriptor _length; pr...
31.718062
131
0.444965
[ "BSD-2-Clause" ]
KurtGokhan/jint
Jint/Native/Array/ArrayInstance.cs
28,802
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HackerNewsDownloader { public static class JsonNetUtils { public static void SerializeSequenceToJson<T>(this IEnumerable<T> ...
36.55
141
0.548564
[ "MIT" ]
chinna1986/HackerNewsDownloader
JsonNetUtils.cs
2,195
C#
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Generic; using System.Globalization; namespace ImageMagick.Defines { /// <summary> /// Base class that can create defines. /// </summary> public ...
41.519685
92
0.586952
[ "Apache-2.0" ]
ScriptBox99/Magick.NET
src/Magick.NET/Defines/DefinesCreator.cs
5,275
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using GoPay.Common; using GoPay.Model.Payments; using GoPay.Model.Payment; using GoPay.EETProp; using System.Collections.Generic; namespace GoPay.Tests { [TestClass()] public class EetTests { private BasePayment createEETBasePayme...
35.259947
119
0.510193
[ "MIT" ]
gopaycommunity/gopay-dotnet-api
GoPay.net-sdkTests/src/Tests/EetTests.cs
13,295
C#
// <copyright file="OpenGLContextObservable.cs" company="KinsonDigital"> // Copyright (c) KinsonDigital. All rights reserved. // </copyright> namespace Velaptor.Observables { using Velaptor.Observables.Core; /// <summary> /// Creates an observable to send push notifications of OpenGL events. /// </su...
29.777778
79
0.618159
[ "MIT" ]
teezzan/Velaptor
Velaptor/Observables/OpenGLContextObservable.cs
806
C#
using NUnit.Framework; namespace ConfigInjector.UnitTests { public abstract class TestFor<T> { protected abstract T Given(); protected abstract void When(); protected T Subject { get; private set; } [SetUp] public void SetUp() { Subject = Given(); ...
18.789474
49
0.537815
[ "MIT" ]
ConfigInjector/ConfigInjector
src/ConfigInjector.UnitTests/TestFor.cs
359
C#
using Serilog; using Serilog.Events; namespace FilterLists.SharedKernel.Logging; internal static class ConfigurationBuilder { public static readonly LoggerConfiguration BaseLoggerConfiguration = new LoggerConfiguration() .MinimumLevel.Information() .MinimumLevel.Override("Microsof...
31.875
91
0.717647
[ "MIT" ]
collinbarrett/filterlists
services/SharedKernel/FilterLists.SharedKernel.Logging/ConfigurationBuilder.cs
512
C#
using LinCms.Common; using System.ComponentModel.DataAnnotations; namespace LinCms.Cms.Account { public class LoginInputDto { /// <summary> /// 登录名:admin /// </summary> [Required(ErrorMessage = "登录名为必填项")] public string Username { get; set; } /// <summary> ...
22.85
44
0.557987
[ "MIT" ]
KribKing/lin-cms-dotnetcore
src/LinCms.Application.Contracts/Cms/Account/LoginInputDto.cs
497
C#
namespace UI { partial class NonProfitOrganizationForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
53.610619
171
0.629498
[ "MIT" ]
Yanivv77/PromoIt
Client/UI/NonProfitOrganizationForm.Designer.cs
12,118
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("10....
37.837838
84
0.743571
[ "MIT" ]
jstavrev/SoftwareUniversity
2. Tech Module/1. Programming Fundamentals/05. Types n Variables - More Exrc/10. Sum of Chars/Properties/AssemblyInfo.cs
1,403
C#
// This file has been generated using the Simplic.Flow.NodeGenerator using System; using Simplic.Flow; namespace Simplic.Flow.Node { [ActionNodeDefinition(Name = nameof(SystemConvertToString_Boolean_IFormatProvider), DisplayName = "ToString(Boolean,IFormatProvider)", Category = "System/Convert")] public cl...
37.107143
168
0.619185
[ "MIT" ]
simplic/flow
src/Simplic.Flow.Node/ActionNode/Generic/System.Convert/SystemConvertToString_Boolean_IFormatProviderNode.cs
3,117
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("NServiceBus.Transport.Kafka.Tests")]
36
67
0.833333
[ "Apache-2.0" ]
pablocastilla/NServiceBus.Kafka
src/NServiceBus.Kafka/InternalsVisibleTo.cs
110
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Text; using Microsoft.NET.TestFramework; using Microsoft.NET.TestFramework.Assertio...
31.729167
101
0.645437
[ "MIT" ]
5l1v3r1/sdk-1
src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAComServerLibrary.cs
1,525
C#
namespace SpaceEngineers.Core.DataAccess.Orm.InMemoryDatabase.Model { using System; using System.Collections.Generic; using System.Linq; using Api.Model; using AutoRegistration.Api.Attributes; using AutoRegistration.Api.Enumerations; using Basics; using CompositionRoot.Api.Abstractions; ...
31.673913
92
0.592999
[ "MIT" ]
warning-explosive/Core
Modules/DataAccess.Orm.InMemoryDatabase/Model/DatabaseTypeProvider.cs
1,457
C#
using System; namespace SetStartupProjects { /// <summary> /// What versions of Visual Studio to target for .suo creation. /// </summary> [Flags] public enum VisualStudioVersions { /// <summary> /// Target suo creation for Visual Studio 2012. /// </summary> ...
28.40625
86
0.509351
[ "MIT" ]
igorushi/SetStartupProjects
src/SetStartupProjects/VisualStudioVersions.cs
880
C#
/* * Hydrogen Integration API * * The Hydrogen Integration API * * OpenAPI spec version: 1.3.1 * Contact: info@hydrogenplatform.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collections.Generic;...
25.239669
108
0.55632
[ "Apache-2.0" ]
ShekharPaatni/SDK
integration/csharp/src/Integration.Test/Model/SmtpResponseVOTests.cs
3,054
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using SharpGen.Doc; namespace SharpGen.Platform.Documentation { /// <inheritdoc /> internal sealed class DocSubItem : IDocSubItem { private readonly ObservableSet<string> attributes = new(StringCompare...
22.763636
91
0.532748
[ "MIT" ]
JetBrains/SharpGenTools
SharpGen.Platform/Documentation/DocSubItem.cs
1,252
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DocumentFormat.OpenXml.Validation.Semantic { internal class AttributeCannotOmitConstraint : SemanticConstraint { private readonly byte _attri...
32.628571
135
0.6331
[ "MIT" ]
06needhamt/Open-XML-SDK
src/DocumentFormat.OpenXml/Validation/Semantic/AttributeCannotOmitConstraint.cs
1,144
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.344828
153
0.598022
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IWindowsQualityUpdateProfileAssignRequestBuilder.cs
1,112
C#
using OrmTest.Demo; using OrmTest.Models; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest.Demo { /// <summary> /// Secure string operations /// </summary> public class JoinSql : DemoBase { public static void Init() ...
43.776398
183
0.546254
[ "Apache-2.0" ]
690275538/SqlSugar
Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Demos/8_JoinSql.cs
7,050
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Audiochan.API; using Audiochan.Core.Extensions; using Audiochan.Core.Persistence; using Audiochan.Core.Services; using Audiochan.Domain.Entities; using Audiochan.Domain....
36.167808
142
0.604488
[ "MIT" ]
nollidnosnhoj/Audiochan_old
src/api/tests/Audiochan.Core.IntegrationTests/TestFixture.cs
10,563
C#
using RuneForge.Data.Components; using RuneForge.Game.Components.Attributes; using RuneForge.Game.Components.Implementations; namespace RuneForge.Game.Components.Factories { [ComponentDto(typeof(LocationComponentDto))] public class LocationComponentFactory : ComponentFactory<LocationComponent, LocationCompone...
43.941176
172
0.711513
[ "MIT" ]
RuneForge/RuneForge
Source/RuneForge.Game/Components/Factories/LocationComponentFactory.cs
1,496
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
31.146341
85
0.693814
[ "Apache-2.0" ]
CircleOnCircles/Lean
Tests/Indicators/TrueRangeTests.cs
1,279
C#
/* * Original author: Brendan MacLean <brendanx .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2009 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
32.614035
93
0.584185
[ "Apache-2.0" ]
shze/pwizard-deb
pwiz_tools/Skyline/Model/IsotopeLabelType.cs
3,718
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; /// <content> /// Contains the <see cref="Windo...
48.082902
118
0.597091
[ "MIT" ]
jmelosegui/pinvoke
src/User32.Desktop/User32+WindowStylesEx.cs
9,282
C#