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
namespace SoftLegion.Common.Core.Paging { public class Pager { public int PageNumber { get; set; } public int PageSize { get; set; } public int RecordsCount { get; set; } public int TotalRecordsCount { get; set; } public int PagesCount { get; set; } } }
23.615385
50
0.596091
[ "MIT" ]
SoftLegion/SoftLegion-Tools
SoftLegion.Common/Core/Paging/Pager.cs
307
C#
// //----------------------------------------------------------------------- // // <copyright file="EWMASpec.cs" company="Akka.NET Project"> // // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // // Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // // </copy...
37.946237
126
0.565316
[ "Apache-2.0" ]
hueifeng/akka.net
src/contrib/cluster/Akka.Cluster.Metrics.Tests/EWMASpec.cs
3,529
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Levels : MonoBehaviour { [SerializeField] private GameObject m_Canvas; [SerializeField] private GameObject m_Prefab; [SerializeField] private Vector2 m_Start; [SerializeField] private Vector2 m_En...
33.365854
175
0.702485
[ "MIT" ]
TeddyTelanoff/BlingBlang
Assets/Scripts/Levels.cs
1,370
C#
using System.ComponentModel.DataAnnotations; namespace Contas.Infrastructure.CrossCutting.Identity.Models.ManageViewModels { public class IndexViewModel { public string Username { get; set; } public bool IsEmailConfirmed { get; set; } [Required] [EmailAddress] public ...
23.272727
77
0.632813
[ "MIT" ]
myrp-alexandre/ContasAPI
src/Contas.Infrastructure.CrossCutting.Identity/Models/ManageViewModels/IndexViewModel.cs
514
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00023245", true, 0xE1FF)] [Attributes(9)] public class CdmaC3Bc01xRxSwitchpoints { [Ele...
29.510574
60
0.499898
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/CdmaC3Bc01xRxSwitchpointsI.cs
9,768
C#
using System; using Sirenix.OdinInspector; using Unit; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class EscMenuController : MonoBehaviour { [Title("Reference")] public GameObject escMenu; public GameObject musicButton; public AudioSource backgroundAudio; pu...
24.013158
111
0.613699
[ "MIT" ]
yimingp/Eros-s-Desk
Assets/Scripts/EscMenuController.cs
1,827
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Follow : MonoBehaviour { public Transform target; void Start() { } // Update is called once per frame void Update() { transform.position = new Vector3(target.position.x, target.pos...
18.947368
101
0.661111
[ "MIT" ]
Loganou974/King-Kaf
King Kaf/Assets/Scripts/Follow.cs
362
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Kudu.Client; using Kudu.Client.Infrastructure; using Kudu.Contracts.Settings; using Kudu.Contracts.SourceCon...
43.601389
3,443
0.571688
[ "Apache-2.0" ]
AzureMentor/kudu
Kudu.FunctionalTests/GitRepositoryManagementTests.cs
62,788
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FirstApplication.Models { public class Book { public string Title { get; set; } public string Author { get; set; } } }
17.133333
42
0.673152
[ "MIT" ]
denicos/android_andela
dotnetcore/FirstApplication/FirstApplication/Models/Book.cs
259
C#
using Mono.Cecil; using RuntimeNullables.Fody.Contexts; namespace RuntimeNullables.Fody.Extensions { internal static class MethodDefinitionExtensions { public static TypeDefinition? GetIteratorStateMachineType(this MethodDefinition method, WeavingContext weavingContext) { ...
46.291667
162
0.750675
[ "MIT" ]
Singulink/RuntimeNullables
Source/RuntimeNullables.Fody/Extensions/MethodDefinitionExtensions.cs
1,113
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...
33.097826
149
0.635796
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/PutItemInputUnmarshaller.cs
3,045
C#
namespace AonWeb.FluentHttp.HAL { public interface IHalBuilderFactory: IBuilderFactory<IHalBuilder> { } }
19.666667
69
0.737288
[ "MIT" ]
andrewescutia/fluent-http
AonWeb.FluentHttp.HAL/IHalBuilderFactory.cs
120
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging;...
45.450216
215
0.563292
[ "MIT" ]
JimBobSquarePants/Statiq.Framework
src/core/Statiq.Core/Execution/PipelinePhase.cs
10,505
C#
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt using System.IO; using System.Reflection; using NUnit.Compatibility; namespace NUnit.Framework.Internal { [TestFixture] public class AssemblyHelperTests { private static readonly string THIS_ASSEMBLY_PATH = ...
52.707692
111
0.638938
[ "MIT" ]
304NotModified/nunit
src/NUnitFramework/tests/Internal/AssemblyHelperTests.cs
3,426
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.Diagnostics; using System.Runtime.CompilerServices; namespace Microsoft.CodeAnalysis { internal static class StackGuard {...
34.107143
161
0.680628
[ "MIT" ]
1Crazymoney/cs2cpp
CoreSource/InternalUtilities/StackGuard.cs
957
C#
namespace Nexmo.Api.Voice.EventWebhooks { [System.Obsolete("The Nexmo.Api.Voice.EventWebhooks.Unanswered class is obsolete. " + "References to it should be switched to the new Vonage.Voice.EventWebhooks.Unanswered class.")] public class Unanswered : CallStatusEvent { } }
33.333333
106
0.72
[ "Apache-2.0" ]
Cereal-Killa/vonage-dotnet-sdk
Vonage/LegacyNexmoLibrary/Voice/EventWebhooks/Unanswered.cs
302
C#
using System; using System.Collections; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.CryptoPro; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Crypto.Generators; using Org.BouncyCastle.Security; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Collections; namespace Org.BouncyCas...
30.875
112
0.602733
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/crypto/src/crypto/parameters/ECKeyParameters.cs
3,952
C#
// <copyright file="Currency.cs" company="Andrey Pudov"> // Copyright (c) Andrey Pudov. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. // </copyright> namespace InvestmentAnalysis.Portfolio { /// <summary> /// ISO 4217 Curr...
24.060241
640
0.452998
[ "Apache-2.0" ]
andreypudov/InvestmentAnalysis
src/InvestmentAnalysis.Portfolio/Currency.cs
21,992
C#
using System; using System.Runtime.CompilerServices; using Binaron.Serializer.Enums; using Binaron.Serializer.Extensions; using Binaron.Serializer.Infrastructure; namespace Binaron.Serializer.Accessors { internal static class MemberSetterHandlers { internal class BoolHandler : MemberSetterHan...
42.51938
122
0.581039
[ "MIT" ]
JTOne123/Binaron.Serializer
src/Binaron.Serializer/Accessors/MemberSetterHandlers.cs
10,970
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Cod...
40.365
156
0.57649
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Refactorings/CSharp/Refactorings/AddMissingCasesToSwitchStatementRefactoring.cs
8,075
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Foolproof { [AttributeUsage(AttributeTargets.Property)] public abstract class ModelAwareValidationAttribute : ValidationAttribute { public ModelAwareValidationAttribute() { } ...
28.888889
112
0.611538
[ "MIT" ]
Vahalas/foolproof
Foolproof/Base Classes/ModelAwareValidationAttribute.cs
1,562
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Lette.ProjectEuler.Core.Runner { public class Solver : ISolver { private Action<Solution> _callback; private CancellationTokenSource _tokenSource...
29.12963
110
0.502543
[ "MIT" ]
Lette/Lette.ProjectEuler.Core
Lette.ProjectEuler.Core/Runner/Solver.cs
3,148
C#
version https://git-lfs.github.com/spec/v1 oid sha256:deda80f48113742cdc86686be453ded2924a4dad7b271316afc8d5f17e36c770 size 19605
32.5
75
0.884615
[ "MIT" ]
kenx00x/ahhhhhhhhhhhh
ahhhhhhhhhh/Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Core/VFXLibrary.cs
130
C#
using System; using System.Windows; using System.Windows.Shell; using System.Windows.Threading; using TwitchLeecher.Core.Models; using TwitchLeecher.Gui.Services; namespace TwitchLeecher.Gui.Views { public partial class SearchWindow : Window { private IGuiService guiService; public SearchWind...
28.833333
102
0.579961
[ "MIT" ]
dstftw/TwitchLeecher
TwitchLeecher/TwitchLeecher.Gui/Views/SearchWindow.xaml.cs
1,559
C#
namespace _08.Snowballs { using System; using System.Numerics; class Snowballs { static void Main(string[] args) { int count = int.Parse(Console.ReadLine()); int snow = 0; int time = 0; int quality = 0; BigInteger maxSum = -1...
27.891892
100
0.468992
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/02. Technology Fundamentals - C#/03. Data Types and Variables/Exercises/08.Snowballs/Snowballs.cs
1,034
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> //----------------------------------------...
36.519231
111
0.556082
[ "MIT" ]
AkshayBhanawala/ASP-MovieTicketBookSystem
CS_MovieTicketBookingApp/Master_Pages/MasterPage_Login_Admin.Master.designer.cs
1,901
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IIndexManager.cs" company="nGratis"> // The MIT License (MIT) // // Copyright (c) 2014 - 2021 Cahya Ong // // Permission is hereby granted, free of charge, to any person obtain...
45.666667
120
0.645464
[ "MIT" ]
cahyaong/ai.kvasir
Source/Kvasir.Core/IO/IIndexManager.cs
1,920
C#
 namespace LAB001 { partial class SignIn { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
51.522727
163
0.610587
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
GNAQ/dotnet-lecturelab1
LAB001/signin.Designer.cs
11,445
C#
using MvcTemplate.Components.Mvc; using MvcTemplate.Objects; using MvcTemplate.Resources.Form; using System; using System.Linq; using System.Web.Mvc; using Xunit; namespace MvcTemplate.Tests.Unit.Components.Mvc { public class DateValidatorTests { private DateValidator validator; private ModelM...
29.5
119
0.660365
[ "MIT" ]
conglc/Asp-MVC-5
test/MvcTemplate.Tests/Unit/Components/Mvc/Validators/DateValidatorTests.cs
1,536
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.7 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
27.516129
83
0.581477
[ "BSD-3-Clause" ]
imincik/pkg-gdal
swig/csharp/gdal/SWIGTYPE_p_int.cs
853
C#
using OpenBots.Commands.Terminal.Library; using OpenBots.Core.Attributes.PropertyAttributes; using OpenBots.Core.Command; using OpenBots.Core.Enums; using OpenBots.Core.Infrastructure; using OpenBots.Core.Properties; using OpenBots.Core.Utilities.CommonUtilities; using System; using System.Collections.Generic; using S...
38.367816
141
0.759437
[ "Apache-2.0" ]
arenabilgisayar/OpenBots.Studio
OpenBots.Commands/OpenBots.Commands.Terminal/OpenBots.Commands.BZTerminal/BZTerminalWaitForTextCommand.cs
3,340
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.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace System.Net.Sockets.Tests { publi...
38.25323
120
0.531883
[ "MIT" ]
zielmicha/corefx
src/System.Net.Sockets/tests/FunctionalTests/Accept.cs
14,804
C#
using System.Management.Automation; using Cognifide.PowerShell.Core.Extensions; using Cognifide.PowerShell.Core.Utility; using Sitecore.Data.Items; using Sitecore.Security.AccessControl; namespace Cognifide.PowerShell.Commandlets.Security.Items { [Cmdlet(VerbsCommon.Set, "ItemAcl", SupportsShouldProcess = true)] ...
31.891892
78
0.642373
[ "MIT" ]
Krusen/Console
Cognifide.PowerShell/Commandlets/Security/Items/SetItemAclCommand.cs
1,182
C#
// This file is part of the DisCatSharp project, based off DSharpPlus. // // Copyright (c) 2021-2022 AITSYS // // 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, includin...
37.262295
122
0.695557
[ "Apache-2.0" ]
Aiko-IT-Systems/DSharpPlusNextGen
DisCatSharp/Entities/Voice/DiscordVoiceRegion.cs
4,546
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Micros...
32.360656
144
0.590679
[ "MIT" ]
yannihilator/FPLForecaster
Startup.cs
1,974
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { #pragma warning disable CS8618 [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatementStatementAndStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchSingleQueryArgument")] public class Waf...
39.4
297
0.790609
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementAndStatementStatementAndStatementStatementSqliMatchStatementFieldToMatchSingleQueryArgument.cs
788
C#
// // Fingers Gestures // (c) 2015 Digital Ruby, LLC // http://www.digitalruby.com // Source code may be used for personal or commercial projects. // Source code may NOT be redistributed or sold. // using System; namespace DigitalRubyShared { /// <summary> /// Allows rotating an object with jus...
38.428571
159
0.625929
[ "MIT" ]
FZarattini/Melting
Assets/FingersLite/Script/Gestures/OneTouchRotateGestureRecognizer.cs
2,154
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace BusterWood.Channels { /// <summary>A Select allows for receiving on one on many channels, in priority order</summary> public class Select { static readonly Task<bool> True = Task.FromResult(true); stati...
35.74269
159
0.538449
[ "Apache-2.0" ]
SammyEnigma/Goodies
Goodies/Channels/Select.cs
6,114
C#
/* * Copyright 2010-2013 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 "...
52.177419
148
0.716229
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/Glacier/Custom/AmazonGlacierClient.Extensions.cs
3,237
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// <summary> /// /// </summary> [DataContract] public class ManagementPermissionReference { /// <summary> /// Gets or...
29.311475
78
0.650447
[ "MIT" ]
chord-io/chord.io-service
Models/Keycloak/ManagementPermissionReference.cs
1,788
C#
namespace GenericsAnalyzer.CodeFixes.Test.PermittedTypeArguments { public abstract class InstanceTypeMemberRemoverCodeFixTests : PermittedTypeArgumentAnalyzerCodeFixTests<InstanceTypeMemberRemover> { } }
31
134
0.83871
[ "MIT" ]
AlFasGD/GenericsAnalyzer
GenericsAnalyzer.CodeFixes.Test/PermittedTypeArguments/InstanceTypeMemberRemoverCodeFixTests.cs
219
C#
// // DO NOT MODIFY! THIS IS AUTOGENERATED FILE! // namespace Xilium.CefGlue.Interop { using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Security; [StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)] [SuppressMessage("Microsoft.Des...
37.079772
145
0.593008
[ "MIT" ]
OutSystems/CefGlue
CefGlue/Interop/Classes.g/cef_x509certificate_t.g.cs
13,015
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 // associated w...
42.464286
98
0.710261
[ "MIT" ]
Embarcadero/ComparisonResearch
fileexplorer/wpf/FileExplorerApp/Properties/AssemblyInfo.cs
2,381
C#
using System; using System.Diagnostics; using System.Globalization; using Android.App; using Android.Content; using Android.Content.PM; using Android.Content.Res; using Android.OS; using Android.Views; using Android.Widget; using Java.Interop; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.Compatibility;...
32.298913
151
0.737843
[ "MIT" ]
APopatanasov/maui
src/Compatibility/ControlGallery/src/Android/Activity1.cs
5,945
C#
using System; using System.Collections.Generic; using System.Text; namespace ValveMultitool.Models.Formats.Vpc { public class VpcValue { public object Value; public VpcValueType Type; public override string ToString() => Value.ToString(); } }
18.8
62
0.684397
[ "MIT" ]
ChaosInitiative/ValveMultitool
ValveMultitool/Models/Formats/Vpc/VpcValue.cs
284
C#
/* * Strings.cs - Implementation of the "I18N.Common.Strings" class. * * Copyright (c) 2002 Southern Storm Software, Pty Ltd * * 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 ...
35.96875
88
0.747176
[ "Apache-2.0" ]
121468615/mono
mcs/class/I18N/Common/Strings.cs
2,302
C#
using System.Collections.Generic; using System.Diagnostics.Contracts; namespace ReClassNET.Util { public class GrowingList<T> { private readonly List<T> list; public T DefaultValue { get; set; } public GrowingList() { Contract.Ensures(list != null); list = new List<T>(); } public GrowingList(T...
14.0625
43
0.604444
[ "MIT" ]
AlisaDarkCoder/ReClass.NET
ReClass.NET/Util/GrowingList.cs
902
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using Microsoft.Maui.Controls.StyleSheets; namespace Microsoft.Maui.Controls { [Flags] public enum InitializationFlags : long { DisableCss = 1 << 0, SkipRenderers = 1 << 1, } } namespace Mi...
36.375566
173
0.722478
[ "MIT" ]
IgorPRZ/maui
src/Controls/src/Core/Registrar.cs
16,078
C#
//======= Copyright (c) Valve Corporation, All rights reserved. =============== using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using Valve.Newtonsoft.Json; using System.IO; namespace Valve.VR { [System.Serializable] public class SteamVR_Input_A...
34.249584
221
0.557958
[ "MIT" ]
HCUM/dronos
DronOS Unity/Assets/SteamVR/Input/SteamVR_Input_ActionFile.cs
20,586
C#
using System.ComponentModel.DataAnnotations; namespace GolfScoreUI.Data { public class RoundSettings { [Range(1, 10, ErrorMessage = "Must be at least 1 and at most 10.")] public int MaxStrokesPerHole { get; set; } = 8; [Range(1, 18, ErrorMessage = "Must be between 1 and 18.")] ...
34.125
171
0.595238
[ "MIT" ]
BuildItBusk/VirtualScoreCard
GolfScoreUI/Data/RoundSettings.cs
548
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("Sat...
37.555556
84
0.751479
[ "Unlicense" ]
MammosGeorgios/TestingGrounds
SaturdayTest/Properties/AssemblyInfo.cs
1,355
C#
using CupCake.Command; using CupCake.Command.Source; using CupCake.Permissions; namespace CupCake.DefaultCommands.Commands.Utility { public class PingCommand : UtilityCommandBase { [MinGroup(Group.Moderator)] [Label("ping")] [CorrectUsage("")] protected override void Run(IInvok...
24.764706
80
0.650831
[ "MIT" ]
KylerM/CupCake
CupCake.DefaultCommands/Commands/Utility/PingCommand.cs
423
C#
using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; namespace JwtAuth.Demo.Dto { public class EncryptRequest { [Required] [JsonPropertyName("text")] public string Text { get; set; } } }
20.461538
45
0.639098
[ "MIT" ]
cdcd72/gss.techtalk.demo
src/ProjectExperience/JwtAuth.Demo/JwtAuth.Demo/Dto/EncryptRequest.cs
266
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Xamarin.BookReader.UI.Listeners; using Xamarin.BookReader.Models; using Java.Lang; using Android.Tex...
35.629921
133
0.625414
[ "Apache-2.0" ]
FleetingWang/Xamarin.BookReader
Xamarin.BookReader/UI/Adapters/TopRankAdapter.cs
4,527
C#
 #region using statements using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #endregion namespace DataJuggler.UltimateHelper { #region XmlPatternHelper /// <summary> /// This class is used to encode and decode xml text if the /// fil...
33.719008
168
0.533578
[ "MIT" ]
DataJuggler/UltimateHelper
XmlPatternHelper.cs
4,082
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; namespace g3 { // This class is analogous to GeneralPolygon2d, but for closed loops of curves, instead // of polygons. However, we cannot do some of the operations we would otherwise do in // GeneralPoly...
21.865546
106
0.681399
[ "BSD-2-Clause" ]
595787816/agg-sharp
geometry3Sharp/curve/PlanarSolid2d.cs
2,604
C#
using System; using UnityEngine; using UnityEngine.EventSystems; using Random = UnityEngine.Random; namespace PcSoft.ExtendedUI._90_Scripts._00_Runtime.Components.UI.Component { [AddComponentMenu(ExtendedUIConstants.Menus.Components.Ui.ComponentMenu + "/Progress Indicator")] [DisallowMultipleComponent] pub...
27.169014
101
0.561949
[ "Apache-2.0" ]
KleinerHacker/unity.extensions
Assets/PcSoft/ExtendedUI/90 Scripts/00 Runtime/Components/UI/Component/UiProgressIndicator.cs
1,929
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 Microsoft.Win32.SafeHandles; using System; namespace Microsoft.Win32 { #if REGISTRY_ASSEMBLY public #else...
35.404762
172
0.697826
[ "MIT" ]
Acidburn0zzz/corefx
src/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryKey.FileSystem.cs
4,461
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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 of the License at // http://w...
35.677419
87
0.587703
[ "MIT" ]
DalavanCloud/azure-powershell
src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/PSADPasswordCredential.cs
1,078
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...
42.538462
312
0.63689
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/Inputs/ProbeArgs.cs
2,765
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using VisitorStatistics.Services.Abstraction; namespace VisitorStatistics.Services { ...
34.115385
120
0.645246
[ "MIT" ]
annices/VisitorStatistics1.0
VisitorStatistics/Services/DeleteVisitorsTimer.cs
2,663
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayPcreditHuabeiAuthBusinessConfirmResponse. /// </summary> public class AlipayPcreditHuabeiAuthBusinessConfirmResponse : AopResponse { /// <summary> /// 业务信息回执失败原因描述 ...
26.708333
78
0.597504
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AlipayPcreditHuabeiAuthBusinessConfirmResponse.cs
779
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class movement : MonoBehaviour { public Animator anim; public bool[] info = new bool[10]; public bool at_flag; private float count_Time = 3; [SerializeField] private float at_Time; private int ran; ...
24.39759
67
0.506173
[ "MIT" ]
dandoc/Game
Assets/boss/script/New_boss/movement.cs
2,055
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.Linq; using MongoDB.Entities.Tests.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MongoDB.Entities.Tests { [TestClass] ...
38.52349
117
0.497125
[ "MIT" ]
unitysir/MongoDB.Entities
Tests/TestSaving.cs
22,960
C#
using JClicker.Upgrades; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Mail; using System.Reflection; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Text; using System.Threading; using System.Threading.Tasks; using Syste...
40.920949
222
0.533855
[ "MIT" ]
jluvisi2021/JClicker
JClicker/JClicker/MainWindow.xaml.cs
10,355
C#
namespace Task_6.Problem2 { using System.IO; public static class Program { public static void Main(string[] args) { var lines = File.ReadAllLines("map.txt"); var map = new Map(lines); var vc = new VirtualConsole(); vc.RenderMap(map); ...
22.285714
61
0.525641
[ "Apache-2.0" ]
m0rphed/SPBU-homework-sem02
Source/ProblemSet06/Task-6.2/Task-6.2/Program.cs
470
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Data.Common; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Diagnostics; using Mic...
36.333333
130
0.607602
[ "Apache-2.0" ]
0x0309/efcore
test/EFCore.SqlServer.FunctionalTests/TestUtilities/TestRelationalTransaction.cs
3,815
C#
using System; using System.Linq; using BluffinMuffin.Poker.Common.Contract; namespace BluffinMuffin.Poker.Common.Helpers { public interface IStringCardHelper { string CardToString(ICard card); ICard StringToCard(string s); } public class StringCardHelper : IStringCardHelper { ...
34.384615
135
0.58613
[ "MIT" ]
BluffinMuffin/Poker.Common
src/Poker.Common/Helpers/StringCardHelper.cs
1,343
C#
// ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) Sebastian Stehle // All rights reserved. Licensed under the MIT license. // ======================================================...
28.941176
78
0.345528
[ "MIT" ]
INOS-soft/notifo
backend/src/Notifo.Domain/UserNotifications/UserNotificationQueryScope.cs
494
C#
namespace Havit.NewProjectTemplate.Model.Localizations { /// <summary> /// Lokalizace. /// </summary> public interface ILocalization<TLocalizedEntity> : Havit.Model.Localizations.ILocalization<TLocalizedEntity, Language> { new TLocalizedEntity Parent { get; set; } // new - Havit.Model.Localizations.ILocalizatio...
35.666667
121
0.736449
[ "MIT" ]
havit/NewProjectTemplate-React
Model/Localizations/ILocalization.cs
545
C#
// // UIImagePickerContrller.cs // // Authors: // Miguel de Icaza // // Copyright 2009, Novell, Inc. // Copyright 2012-2014 Xamarin Inc // #if !TVOS && !WATCH // __TVOS_PROHIBITED, doesn't show up in WatchOS headers using ObjCRuntime; using Foundation; using CoreGraphics; using Photos; using System; using System.Dr...
19.427632
82
0.693532
[ "BSD-3-Clause" ]
NormanChiflen/xamarin-all-IOS
src/UIKit/UIImagePickerController.cs
2,953
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...
37.943396
92
0.636002
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/FIS/AmazonFISClientCmdlet.cs
2,011
C#
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 // //...
29.934211
111
0.712088
[ "Apache-2.0" ]
castleproject-deprecated/Castle.Windsor-READONLY
src/Castle.Windsor.Tests/Configuration2/ConfigWithStatementsTestCase.cs
2,275
C#
using CSRedis.Internal; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using Xunit; namespace CSRedisCore.Tests { public class Resp3HelperTests { public class RedisSocket : IDis...
42.230024
356
0.662749
[ "MIT" ]
277366155/csredis
test/CSRedisCore.Tests/Resp3HelperTests.cs
17,443
C#
using System.Net; namespace ArangoDBNetStandard.CollectionApi.Models { public class GetCollectionFiguresResponse { public FiguresResult Figures { get; set; } public CollectionKeyOptions KeyOptions { get; set; } public string GloballyUniqueId { get; set; } public string Statu...
22.166667
60
0.60043
[ "Apache-2.0" ]
Actify-Inc/arangodb-net-standard
arangodb-net-standard/CollectionApi/Models/GetCollectionFiguresResponse.cs
933
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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. [assem...
35.972973
84
0.752817
[ "BSD-3-Clause" ]
Accessit-Dev/Accessit.Blog
src/Orchard.Web/Modules/Orchard.MediaProcessing/Properties/AssemblyInfo.cs
1,331
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Windows.Input; using Android.OS; using Android.Runtime; using Android.Support.V7.Widget; using Android.Views; using MvvmCross.Binding; using MvvmCross.Binding.BindingContext; ...
31.913478
175
0.550782
[ "Apache-2.0" ]
cryptobuks/AppRopio.Mobile
src/app-ropio/AppRopio.Base/Droid/Adapters/ARFlatGroupAdapter.cs
19,191
C#
using System; using System.Globalization; namespace Gamma.Binding.Converters { public class IdToStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { int id = (int)value; if(id > 0) return id.ToString(); else return "не...
21.52
97
0.713755
[ "Apache-2.0" ]
Art8m/QSProjects
Binding/Gamma.Binding/Binding/Converters/IdToStringConverter.cs
551
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Text; usin...
40.096774
149
0.63757
[ "Apache-2.0" ]
tlmii/LibraryManager
src/LibraryManager.Vsix/Json/SuggestedActions/UninstallSuggestedActions.cs
4,974
C#
using TMPro; using UnityEngine; using UnityEngine.SceneManagement; public class Kitsulope : ObjectType { /// Just adding something to make sure my new repo works. #region LivingRoom public GameObject fridge; public GameObject window; public GameObject shelf; public GameObject aloe; publi...
34.572193
169
0.486991
[ "MIT" ]
FromCaffeineToCode/KitsuCareNewestRepo
Assets/Code/Kitsulope.cs
32,327
C#
using System; using System.Xml.Serialization; using Top.Api.Domain; namespace Top.Api.Response { /// <summary> /// RefundRefuseResponse. /// </summary> public class RefundRefuseResponse : TopResponse { /// <summary> /// 拒绝退款操作是否成功 /// </summary> [XmlElement("is_succe...
22.52
64
0.575488
[ "MIT" ]
objectyan/MyTools
OY.Solution/OY.TopSdk/Response/RefundRefuseResponse.cs
621
C#
using System.Linq; using System.Windows; using System.Windows.Documents; using System.Windows.Input; namespace HindiTransliterator { public partial class MainWindow : Window { bool IsSpecialCharCombinationsEnabled = true; bool IsKeyboardSoundEnglish = false; private void rtb_PreviewTe...
35.679602
241
0.322606
[ "MIT" ]
anujgeek/HindiTransliterator
HindiTransliterator/HindiTransliterator/PreviewTextInput.cs
35,860
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...
48.68
179
0.669351
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/InvalidActivationException.cs
6,085
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Xunit; using BuildXL.Cache.ContentStore.Interfaces.Logging; using BuildXL.Cache.ContentStore.Interfaces.FileSystem; us...
38.151659
161
0.57354
[ "MIT" ]
shivanshu3/BuildXL
Public/Src/Cache/ContentStore/AppTest/AppTests.cs
8,052
C#
using System.Diagnostics; using System.Text; using System.Threading.Tasks; using Qmmands; using Volte.Commands.Results; using Gommon; using Humanizer; namespace Volte.Commands.Modules { public sealed partial class UtilityModule : VolteModule { [Command("Ping")] [Description("Show the Gateway l...
33.617647
110
0.524059
[ "MIT" ]
Perksey/Volte
src/Commands/Modules/Utility/PingCommand.cs
1,145
C#
using System; using System.Reflection; using UnityEngine; using UnityEngine.Video; using Object = System.Object; public static class VideoUtil { //获取Preview Texture public static Texture GetPreviewTexture(Object previewID) { Type videoUtilType = Assembly.Load("UnityEditor.dll").GetType("UnityEditor...
38.090909
152
0.693914
[ "MIT" ]
Enough1122/UnityToolchainsTrick
Assets/Editor/Examples/Example_38_VideoEditorWindow/VideoUtil.cs
1,696
C#
#region License // Moonpie // // Copyright (c) 2022 Stay // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the righ...
39.21875
81
0.756175
[ "MIT" ]
Stay1444/Moonpie
src/Moonpie/Protocol/Packets/s2c/IS2CPacket.cs
1,257
C#
using HtmlAgilityPack; namespace MALScraping.Helpers { internal static class NodeCollectionHelper { internal static HtmlNodeCollection AdaptFavorites(HtmlNodeCollection nodeCollection) { if (nodeCollection.Count == 9) return nodeCollection[5].ChildNodes[1].ChildNodes; e...
38.576923
107
0.693918
[ "MIT" ]
pedro-octavio/MALScraping
MALScraping/Helpers/NodeCollectionHelper.cs
1,005
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.PillPressRegistry.Interfaces { using Models; using System.Collections; using System.Collections.Gene...
46.475728
318
0.57019
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/RegardingobjectidbcgovlocationExtensions.cs
9,574
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Import { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public enum PhotoImportAccessMode { #if __AN...
23.565217
49
0.699262
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Import/PhotoImportAccessMode.cs
542
C#
using System; using System.Collections.Generic; using System.Text; namespace MLStudy.Tree { public class CART { } }
11.818182
33
0.692308
[ "Apache-2.0" ]
durow/MLSharp
MLStudy/Tree/CART.cs
132
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Regression; using System; #if UNITY_V4 using Microsoft.Practices.Unity; #else using Unity; using Unity.Lifetime; #endif namespace Registration { public partial class Legacy { [TestMethod] public void SimpleObject() { ...
30.684211
118
0.605489
[ "Apache-2.0" ]
unitycontainer/container-regression-tests
Container/Registration/Legacy/Instance.cs
2,334
C#
// Copyright © 2020 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. namespace CefSharp.DevTools.Log { /// <summary> /// Violation configuration setting. /// </summary> [System.Runtime.Serialization.DataCon...
29.84375
101
0.589529
[ "BSD-3-Clause" ]
campersau/CefSharp
CefSharp/DevTools/Log/ViolationSetting.cs
956
C#
using Wumpus.Entities; namespace Wumpus.Bot { public class CachedChannel : Channel { } }
11.444444
40
0.660194
[ "MIT" ]
Aux/Wumpus.Net
src/Wumpus.Net.Bot/Entities/CachedChannel.cs
105
C#
using System.CodeDom.Compiler; using System; using System.Runtime.Serialization; namespace SolidRpc.Test.Vitec.Types.PublicAdvertisement.Models { /// <summary> /// /// </summary> [GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")] public class CommercialPropertyMarketing { /// <summary> ...
29.929577
65
0.547294
[ "MIT" ]
aarrgard/solidrpc
SolidRpc.Test.Vitec/Types/PublicAdvertisement/Models/CommercialPropertyMarketing.cs
2,125
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GildedRose.Console { /// <summary> /// An item has a name, sellin value (the number of days to sell the item), /// and a given quality. /// </summary> public class Item ...
20.681818
79
0.624176
[ "MIT" ]
KarimLjung/GildedRoseRefactored
src/GildedRose.Console/Item.cs
457
C#
using Omnius.Axis.Engines.Internal.Models; using Omnius.Core.Cryptography; namespace Omnius.Axis.Engines.Internal.Entities; internal record MerkleTreeSectionEntity { public int Depth { get; set; } public uint BlockLength { get; set; } public ulong Length { get; set; } public OmniHashEntity[]? Hashe...
26.133333
125
0.66199
[ "MIT" ]
OmniusLabs/Xeus
src/Omnius.Axis.Engines/Implementations/Internal/Entities/MerkleTreeSectionEntity.cs
784
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("BAP...
37.833333
84
0.750367
[ "BSD-3-Clause" ]
UniversityRadioYork/BAPS2
BAPSFormControls/Properties/AssemblyInfo.cs
1,363
C#
using System; using System.Collections.Generic; using System.Linq; using MarkDoc.Helpers; namespace MarkDoc.Elements.Markdown { /// <summary> /// Class for markdown tables /// </summary> public class Table : BaseElement, ITable { #region Constants private const string DEL_VERTICAL = "|"; pr...
28.941606
133
0.601513
[ "MIT" ]
hailstorm75/MarkDoc.Core
src/Components/Elements/MarkDoc.Elements.Markdown/Table.cs
3,967
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
40.492784
165
0.555069
[ "BSD-3-Clause" ]
allquixotic/opensim-autobackup
OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs
19,639
C#