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 System; using System.Collections.Generic; using System.Text; using FlatRedBall; using FlatRedBall.Gui; using FlatRedBall.Graphics; using FlatRedBall.Graphics.Model; using EditorObjects.SaveClasses; #if !FRB_MDX using FlatRedBall.Graphics.Animation3D; #endif using FlatRedBall.IO; namespace EditorObjects.Gui { ...
28.220386
145
0.590102
[ "MIT" ]
coldacid/FlatRedBall
FRBDK/FRBDK Supporting Projects/EditorObjects/Gui/PositionedModelPropertyGrid.cs
10,244
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MusicMan : MonoBehaviour { public Level currentLevel; private AudioSource _audioSource; public void UpdateLevel(Level newLevel) { currentLevel = newLevel; if (currentLevel.MusicIntro != null) ...
22.307692
56
0.601149
[ "MIT" ]
BadRAM/Miz-Jam-1
Assets/Scripts/MusicMan.cs
872
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("Ma...
37.702703
84
0.744803
[ "MIT" ]
schnappischnap/MarkovChain
MarkovChain/Properties/AssemblyInfo.cs
1,398
C#
using System; using System.Threading.Tasks; using Xamarin.Forms; using XFPINView.Helpers; namespace XFPINView { public partial class PINView : ContentView { #region Fields /// <summary> /// A TapGuesture Recognizer to invoke when user tap on any PIN box. /// This will help brin...
32.296774
134
0.544946
[ "MIT" ]
xamarindevelopervietnam/XFPINView
XFPINView/PINView.xaml.cs
5,008
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
24.40884
148
0.671118
[ "MIT" ]
IhateTrains/provinceMapper
Properties/Settings.Designer.cs
4,420
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HurtPlayer : MonoBehaviour { public bool killAtOnce = false; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } pri...
19
52
0.511696
[ "MIT" ]
uvg-cc3063/proyecto-libre-alejandro-diego-ukron
Assets/Scripts/HurtPlayer.cs
686
C#
#region Using Statements using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using UnityEngine; #endregion namespace Delight { /// <summary> /// Controls a collection of animators. /// </summary> public class Animation : List<An...
23.844595
101
0.452536
[ "MIT" ]
delight-dev/Delight
UnityProject/Delight/Assets/Delight/Source/Animation.cs
3,531
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using Starlight.Server.Data; n...
37.034483
128
0.548107
[ "MIT" ]
Eclipse-Origins/Starlight
src/Starlight.Server/Data/Migrations/20200810062846_AddInitialCharactersModel.Designer.cs
3,224
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("WindowsFormsApp1")...
38.783784
99
0.765157
[ "MIT" ]
Kola14/CalculatorWinForms
CalculatorWinForms/Properties/AssemblyInfo.cs
2,015
C#
// ----------------------------------------------------------------------- // <copyright file="RoleInputDto.cs" company="OSharp开源团队"> // Copyright (c) 2014-2015 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>2015-10-14 3:38</...
25.535714
75
0.462937
[ "Apache-2.0" ]
VictorTzeng/osharp
samples/OSharp.Demo.Core/Dtos/Identity/RoleInputDto.cs
1,590
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.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Roslynator.CShar...
38.820896
156
0.640907
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Common/CSharp/Analysis/ConvertMethodGroupToAnonymousFunctionAnalysis.cs
2,603
C#
using System; using System.IO; using System.Text; using static WinSW.Native.ConsoleApis; namespace WinSW.Native { internal static class ConsoleEx { internal static Handle OpenConsoleInput() { return FileApis.CreateFileW( "CONIN$", FileApis.GenericAcc...
30.680672
89
0.421802
[ "MIT" ]
15806122600/winsw
src/WinSW.Core/Native/ConsoleEx.cs
3,653
C#
// <auto-generated /> using Ejercicio3; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Ejercicio3.Migrations { ...
34.140845
90
0.560231
[ "MIT" ]
fcojaviCervera/EjerciciosVocali
Ejercicio3/Migrations/20201122223723_CreateSustitucionesDB.Designer.cs
2,426
C#
// Copyright (c) The Vignette Authors // Licensed under BSD 3-Clause License. See LICENSE for details. using System.Runtime.InteropServices; namespace Oxide.Graphics.Drivers.Vertices { [StructLayout(LayoutKind.Sequential)] public struct Vertex_2f_4ub_2f_2f_28f { [MarshalAs(UnmanagedType.LPArray, S...
27.911111
64
0.647293
[ "BSD-3-Clause" ]
vignetteapp/Mikomi
src/Oxide/Graphics/Drivers/Vertices/Vertex_2f_4ub_2f_2f_28f.cs
1,256
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; // CTRL + R + R public class NavEnemy : Enemy { #region Variables //waypoint variables [Header("Pathfinding")] public EditofPathScript PathToFollow; public Transform[] pathToFollowList; public ...
32.424242
133
0.604984
[ "MIT" ]
MyopicMuppet/NSICert4-TowerDefenseProject
Assets/Scripts/Enemy/NavEnemy.cs
6,422
C#
/* MIT License Copyright (c) 2019 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ...
31.185185
114
0.557346
[ "MIT" ]
stephenhaunts/TextualRealityGameBookCreator
TextualRealityGameBookCreator/Parser/ParseFile.cs
5,896
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. namespace Microsoft.Azure.Search.Models { using Common; public partial class DataSource : IResourceWithETag { /// <summary> /// Cr...
54.099644
147
0.647217
[ "MIT" ]
216Giorgiy/azure-sdk-for-net
src/SDKs/Search/DataPlane/Microsoft.Azure.Search.Service/Customizations/DataSources/Models/DataSource.Customization.cs
15,202
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 Moq; using VSLangProj; namespace VSLangProj80 { internal static class Reference3Factory { public static Reference3 CreateComR...
30.285714
162
0.549191
[ "Apache-2.0" ]
MSLukeWest/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Mocks/Reference3Factory.cs
1,438
C#
/************************************************************************************** Toolkit for WPF Copyright (C) 2007-2017 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For more...
29.405405
88
0.624081
[ "MIT" ]
0xflotus/Materia
wpftoolkit-master/wpftoolkit-master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit.LiveExplorer/Samples/Chart/Views/ChartStylingPieSeriesView.xaml.cs
1,090
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.707182
135
0.598099
[ "Apache-2.0" ]
awesomeunleashed/aws-sdk-net
sdk/src/Services/KinesisFirehose/Generated/Model/S3DestinationUpdate.cs
6,101
C#
using AtheletesSingleResponsibility.Athletes; using System; using System.Collections.Generic; using System.Text; namespace AtheletesSingleResponsibility.Data { public static class Database { public static List<Athelete> Atheletes = new List<Athelete> { new HighJumper("High", "Jumpe...
35.347826
67
0.599016
[ "Apache-2.0" ]
newteq/DevelopmentFundamentals
Practical/AthletesSingleResponsibility/Data/Database.cs
815
C#
using Mono.Options; using System; using System.IO; using System.IO.Compression; using System.Reflection; using System.Text.Json; namespace TouchPortalSDK.Extensions.Tool { class Program { static void Main(string[] args) { var entry = false; var package = false; //TODO: fin...
37.56
132
0.552716
[ "MIT" ]
oddbear/TouchPortalSDK.Extensions
TouchPortalSDK.Extensions.Tool/Program.cs
4,697
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System.Threading.Tasks; namespace Softeq.XToolkit.Chat.Models.Interfaces { public interface IChatAuthService { string UserId { get; } Task<string> GetAccessToken(); Task RefreshToken(); } }
18.294118
48
0.672026
[ "MIT" ]
Softeq/XToolkit.Chat
Softeq.XToolkit.Chat.Models/Interfaces/IChatAuthService.cs
313
C#
using System.Collections.Generic; using System.Linq; using DemoWebApi.Entity; namespace DemoWebApi.Models { public class EmployeeQuery { /// <summary> /// Return All Employee /// </summary> /// <returns>Employee</returns> public IEnumerable<Employee> GetEmployee() ...
28.625
68
0.508734
[ "MIT" ]
Shulyakovskiy/HttpClientSE
DemoWebApi/Models/EmployeeQuery.cs
1,376
C#
using System; using System.Text.Json.Serialization; using BinancePayDotnetSdk.Common.Converters; using BinancePayDotnetSdk.Common.Enums; namespace BinancePayDotnetSdk.Common.Models { /// <summary> /// https://developers.binance.com/docs/binance-pay/api-order-create#child-attribute /// </summary> publi...
30.913043
88
0.587904
[ "MIT" ]
Tusquito/binance-pay-dotnet-sdk
srcs/BinancePayDotnetSdk.Common/Models/CreateOrderResponseDataModel.cs
1,424
C#
using HL7Data.Contracts.Fields; using HL7Data.Models.Base; using HL7Data.Models.Types; namespace HL7Data.Models.Fields { public class MoneyAndCode : BaseField, IMoneyAndCode { public override ElementDataType DataType => ElementDataType.MOC; } #if TODO [CombineOrder(Order = 1, Name = ".1")] #en...
21.666667
72
0.72
[ "MIT" ]
amenkes/HL7Parser
Models/Fields/MoneyAndCode.cs
325
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. /****************************************************************************** * This file is auto-generated from ...
37.581633
187
0.572957
[ "MIT" ]
Davilink/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/Negate.Vector128.Int32.cs
18,415
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace HeroesData.FileWriter.Tests.EmoticonData { [TestClass] public class EmoticonDataOutputJsonTests : EmoticonDataOutputBase { public EmoticonDataOutputJsonTests() { FileOutputType = FileOutputType.Json; } ...
24.4375
73
0.596419
[ "MIT" ]
HeroesToolChest/HeroesDataParser
Tests/HeroesData.FileWriter.Tests/EmoticonData/EmoticonDataOutputJsonTests.cs
1,957
C#
using System; using System.Text.RegularExpressions; namespace ddd.Repository { class Name { private readonly string value; public Name(string value) { if (value == null) throw new ArgumentNullException(nameof(value)); if (!ValidateName(value)) throw new Argumen...
21.821429
81
0.556465
[ "MIT" ]
kaleidot725/ddd
ddd_introduction/ddd/ddd/Repository/Name.cs
613
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("Se...
38.189189
84
0.746638
[ "MIT" ]
tonysneed/Experimental
vCurrent/Serialization/Serialization.Shared/Properties/AssemblyInfo.cs
1,416
C#
//! \file ImageCHD.cs //! \date 2017 Dec 09 //! \brief Forest image format. // // Copyright (C) 2017 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 without re...
35.946565
89
0.551922
[ "MIT" ]
1127815807/GARbro
ArcFormats/ShiinaRio/ImageCHD.cs
4,709
C#
using System; using System.Diagnostics; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Sentry.Infrastructure; using Sentry.Protocol; using Sentry.Reflection; namespace Sentry.Extensions.Logging { /// <summary> /// Sentry Logger Provider. /// </summary> [ProviderAlias("Sen...
30.659794
114
0.535642
[ "MIT" ]
bruno-garcia/sentry-dotnet
src/Sentry.Extensions.Logging/SentryLoggerProvider.cs
2,974
C#
#if LESSTHAN_NET47 || LESSTHAN_NETCOREAPP20 || LESSTHAN_NETSTANDARD20 namespace System.Runtime.CompilerServices { /// <summary>Indicates whether a method is an asynchronous iterator.</summary> [AttributeUsage(AttributeTargets.Method, Inherited = false)] public sealed class AsyncIteratorStateMachineAttribu...
41.842105
153
0.719497
[ "MIT" ]
Emik03/Theraot
Framework.Core/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs
797
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.833333
153
0.616632
[ "MIT" ]
mlafleur/msgraph-sdk-dotnet
src/Microsoft.Graph/Models/Generated/WindowsInformationProtectionAppLearningSummary.cs
1,912
C#
using System; using System.Drawing; using System.Linq; using ScottPlot.Ticks; using ScottPlot.Drawing; using ScottPlot.Renderable; using ScottPlot.Statistics; using System.Data; namespace ScottPlot.Plottable { public class PopulationPlot : IPlottable { public readonly PopulationMultiSeries popMultiSer...
46.359447
161
0.560288
[ "MIT" ]
SommerEngineering/ScottPlot
src/ScottPlot/Plottable/PopulationPlot.cs
20,122
C#
using Nancy.Bootstrapper; using Nancy.Session; using Nancy.TinyIoc; namespace NancyTest { using Nancy; using Nancy.Conventions; public class Bootstrapper : DefaultNancyBootstrapper { // The bootstrapper enables you to reconfigure the composition of the framework, // by ove...
36.444444
117
0.707317
[ "MIT" ]
ActiveDbSoft/active-query-builder-3-asp-net-samples-csharp
NancyFX/Bootstrapper.cs
986
C#
/* ======================================================================= Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
23.471429
110
0.475959
[ "Apache-2.0" ]
FDYdarmstadt/BoSSS
src/L3-solution/BoSSS.Solution.Gnuplot/LineColors.cs
1,576
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using System.Linq; using System.Reflection; using System.Collections; using System.Collections.Generic; [ExecuteInEditMode] public class KeySettings : MonoBehaviour { public ClassSettingsDictionary allSettingData = new ClassSettingsDictionary(); [...
33.367647
119
0.607536
[ "Apache-2.0" ]
leapmotion-examples/SpaceLeap
Assets/Scripts/Utility/Options/KeySettings.cs
4,540
C#
using System.Management.Automation; using PrtgAPI.PowerShell.Base; namespace PrtgAPI.PowerShell.Cmdlets { /// <summary> /// <para type="synopsis">Removes a notification trigger from a PRTG Object.</para> /// /// <para type="description">The Remove-NotificationTrigger cmdlet removes a notification tri...
62.507463
213
0.686724
[ "MIT" ]
ericsp59/PrtgAPI
src/PrtgAPI.PowerShell/PowerShell/Cmdlets/ObjectManipulation/RemoveNotificationTrigger.cs
4,190
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("7....
37.702703
84
0.743369
[ "MIT" ]
snukal/All-Telerik-Homeworks
C#1/Loops/7.Calculate/Properties/AssemblyInfo.cs
1,398
C#
using Melanchall.DryWetMidi.Common; using Melanchall.DryWetMidi.Interaction; using NUnit.Framework; namespace Melanchall.DryWetMidi.Tests.Interaction { [TestFixture] public sealed class NoteIdTests { #region Test methods #region Equals [Test] public void Equals_NullObject...
35.473118
131
0.614732
[ "MIT" ]
MoogleTroupe/drywetmidi
DryWetMidi.Tests/Interaction/Utilities/NodeId/NoteIdTests.cs
3,301
C#
// this code is generated. don't modify this code. using System.Text.Json; namespace VrmValidator { // .animations[{0}].channels[{1}].target.extras public class gltf__animations_ITEM__channels_ITEM__target__extras__Validator { ValidationContext m_context; public gltf__animatio...
27.724138
135
0.603234
[ "MIT" ]
ousttrue/vrm-protobuf
VrmJsonScheme/Validator/Generated/gltf__animations_ITEM__channels_ITEM__target__extras__Validator.cs
806
C#
using System.Threading.Tasks; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace UnofficialGiphyUwp.Views { public sealed partial class SettingsPage : Page { Template10.Services.SerializationService.ISerializationService _SerializationService; public SettingsPage() ...
29.416667
103
0.695467
[ "MIT" ]
kg73/GiphyDotNet
UnofficialGiphyUwp/Views/SettingsPage.xaml.cs
706
C#
using System; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; using Microsoft.EntityFrameworkCore; namespace JwtAuthApi.Entities { [Owned] public class RefreshToken { [Key] [JsonIgnore] public int Id { get; set; } public string Token { ge...
28.807692
62
0.632844
[ "MIT" ]
Tianbowen/AspNetCore3xJwtAuthApiExample
JwtAuthApi/Entities/RefreshToken.cs
751
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.Globalization; namespace Microsoft.Dnx.Runtime.Json { internal class JsonNumber : JsonValue { private reado...
27.333333
111
0.517217
[ "Apache-2.0" ]
cemoses/aspnet
dnx-dev/src/Microsoft.Dnx.Runtime.Json.Sources/JsonNumber.cs
1,396
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.Browser { /// <summary> /// Chrome histogram. /// </summary> [System.Runtime.Serialization.DataContractAttrib...
28.365385
100
0.545763
[ "BSD-3-Clause" ]
campersau/CefSharp
CefSharp/DevTools/Browser/Histogram.cs
1,476
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("Re...
38.297297
84
0.744531
[ "MIT" ]
danielstaikov/List-and-others
Reverse Array In-place/Properties/AssemblyInfo.cs
1,420
C#
using System; using Caliburn.Micro; using SharpDj.Models; namespace SharpDj.ViewModels.SubViews.LeftMenuComponents { public class ObservedRoomViewModel : PropertyChangedBase { public BindableCollection<RoomModel> ObservedRoomCollection { get; private set; } public ObservedRoomViewModel() ...
33.565217
142
0.63342
[ "MIT" ]
newbiedeveloper9/Sharpdj
Client/ViewModels/SubViews/LeftMenuComponents/ObservedRoomViewModel.cs
775
C#
/*---------------------------------------------------------------- Copyright (C) 2022 Senparc 文件名:RequestMessageEvent_Location.cs 文件功能描述:事件之上报地理位置事件 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 ----------------------------------------------------------------*/ ...
23.9
97
0.465481
[ "Apache-2.0" ]
AaronWu666/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Request/Event/RequestMessageEvent_Location.cs
1,092
C#
using System.Threading; using System.Threading.Tasks; using Inshapardaz.Desktop.Common; using Inshapardaz.Desktop.Common.Models; using Inshapardaz.Desktop.Common.Queries; using Microsoft.EntityFrameworkCore; using Paramore.Darker; namespace Inshapardaz.Desktop.Database.Client.QueryHandlers { public class GetDicti...
42.966667
157
0.719162
[ "MIT" ]
inshapardaz/desktop-client
src/api/Inshapardaz.Desktop.Database.Client/QueryHandlers/GetDictionaryByIdQueryHandler.cs
1,291
C#
using System.Reflection; namespace NCop.Aspects.Engine { public interface IFunctionArgs<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> { TArg1 Arg1 { get; set; } TArg2 Arg2 { get; set; } TArg3 Arg3 { get; set; } TArg4 Arg4 { get; set; } TArg5 Arg5 { ge...
27.315789
99
0.554913
[ "MIT" ]
sagifogel/NCop
NCop.Aspects/Engine/IFunctionArgs`8.cs
521
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; using System.Data; namespace Site { public partial class Logar : System.Web.UI.Page { prot...
31.571429
135
0.50724
[ "MIT" ]
williamsartijose/Trabalho-Cadastro-de-Aluno
Logar.aspx.cs
2,213
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System.Net.Http; using Softeq.HttpClient.Extension; using Softeq.HttpClient.Extension.Utility; namespace Softeq.NetKit.ProfileService.Utility.HttpClient { public class ProfileHttpClient : RestHttpClientBase { public Profile...
30
125
0.74386
[ "MIT" ]
Softeq/NetKit.Profile
Softeq.NetKit.Profile.Service/Utility/HttpClient/ProfileHttpClient.cs
572
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace no.teilin.turlogg.Models.ManageViewModels { public class AddPhoneNumberViewModel { [Required] [Phone] [Display(Name = "Phone number")] ...
22.117647
51
0.702128
[ "MIT" ]
teilin/turlogg
src/Turlogg/Models/ManageViewModels/AddPhoneNumberViewModel.cs
376
C#
using Sort_Algorithm_Visualiser.algorithms; using Sort_Algorithm_Visualiser.utils; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Sort_Algorithm_Visualiser { static class main { private static gui mainGui; ...
23.214286
65
0.655385
[ "MIT" ]
ScarVite/Sort-Algorithm-Visualiser
main.cs
652
C#
using System.Collections.Generic; using System.Linq; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Data.Managers; using Sitecore.Diagnostics; using Sitecore.Globalization; using Sitecore.Shell.Applications.ContentEditor; using Sitecore.Web.UI.HtmlControls; using Sitecore.Web.UI.Sheer; using Sitecore.W...
38.446429
116
0.576173
[ "MIT" ]
PavloGlazunov/Console
src/Spe/Client/Controls/TreelistExtended.cs
4,308
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
20.709677
45
0.711838
[ "MIT" ]
DanielaLischeski/GitDani
WPF/WPFCadastroRegex/WPFCadastroRegex/MainWindow.xaml.cs
644
C#
// <auto-generated /> namespace MOE.Common.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class Ev...
27.166667
94
0.618405
[ "Apache-2.0" ]
AndreRSanchez/ATSPM
MOE.Common/Migrations/201802282114224_EventCounts.Designer.cs
815
C#
using Business.Communication; using Business.Domain.Models; using Business.Domain.Services; using Business.Resources; using Business.Resources.Location; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using System.Collection...
47.661538
134
0.729503
[ "MIT" ]
dong-nguyen-hd/HR-Management
BE/API/Controllers/LocationController.cs
3,100
C#
using BudgetScale.Application.Tests.Infrastructure; using BudgetScale.Application.Users; using NUnit.Framework; namespace BudgetScale.Application.Tests.Users { public class UserModelsTests : BudgetScaleTestBase { [Test] public void CredentialsModelValidator_ValidatesValidData() { ...
32.771186
211
0.593742
[ "MIT" ]
NikolayPIvanov/Budget-Scale
tests/BudgetScale.Application.Tests/Users/UserModelsTests.cs
3,869
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210201Preview { using Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PowerShell; /// <summary>tags to be updated</summary> [System.ComponentModel.TypeConverter(typeof(ApplicationPatchTagsTypeConverter))] ...
58.474074
268
0.677857
[ "MIT" ]
AndriiKalinichenko/azure-powershell
src/DesktopVirtualization/generated/api/Models/Api20210201Preview/ApplicationPatchTags.PowerShell.cs
7,760
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 Microsoft.Test.Apex; using Microsoft.Test.Apex.VisualStudio; namespace Microsoft.VisualStudio.ProjectSystem.VS { public abstract class Inte...
38
162
0.678363
[ "Apache-2.0" ]
MSLukeWest/project-system
tests/Microsoft.VisualStudio.ProjectSystem.IntegrationTests/IntegrationTestBase.cs
1,335
C#
using System; using System.ComponentModel; using System.Linq; namespace Aigamo.Saruhashi { public class RadioButton : ButtonBase { private bool _autoCheck = true; private bool _checked; public RadioButton() : base() { IsChecked = () => Checked; SetStyle(ControlStyles.StandardClick, false); } pu...
21.670968
110
0.673415
[ "MIT" ]
ycanardeau/Saruhashi
Aigamo.Saruhashi/RadioButton.cs
3,361
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Windows.Forms; using Sce.Atf.VectorMath; namespace Sce.Atf.Controls.Adaptable.Graphs { /...
38.594452
133
0.517525
[ "Apache-2.0" ]
HaKDMoDz/ATF
Framework/Atf.Gui.WinForms/Controls/Adaptable/Graphs/CircuitRenderer.cs
28,463
C#
namespace p04._03.FindEvensOrOdds { using System; using System.Collections.Generic; using System.Linq; class FindEvensOrOdds { static void Main(string[] args) { int[] numbers = Console.ReadLine() .Split(' ', StringSplitOptions ...
24.428571
62
0.423559
[ "MIT" ]
vesy53/SoftUni
C# Advanced/C#Adanced/LabEndExercises/10.01.FunctionalProgrammingExercises/p04.03.FindEvensOrOdds/FindEvensOrOdds.cs
1,199
C#
using CommunityToolkit.Maui.Markup; using Microsoft.Maui.Controls; using Microsoft.Maui.Graphics; using RockPaperScissors.Extensions; using RockPaperScissors.ViewModels; using static CommunityToolkit.Maui.Markup.GridRowsColumns; namespace RockPaperScissors.Views.Game { public class PlayGroundView : ContentView ...
35.97561
109
0.558644
[ "MIT" ]
Gramli/maui-samples
src/RockPaperScissors/RockPaperScissors/Views/Game/PlayGroundView.cs
1,477
C#
namespace FluentData { public partial class DbContext : IDbContext { public DbContextData Data { get; private set; } public DbContext() { Data = new DbContextData(); } internal void CloseSharedConnection() { if (Data.Connection == null) return; if (Data.UseTransaction && Data.Transact...
17
70
0.670232
[ "MIT" ]
shuaiagain/orm-fluentdata
FluentData/sourceCode/sourceCode/Source/Main/FluentData/Context/DbContext.cs
563
C#
using UnityEngine; using System.Collections; // this script was found on stackoverflow and slighty modified // // it realizes the upward drifting score display [RequireComponent(typeof(TextMesh))] public class RisingText : MonoBehaviour { // private variables: Vector3 crds_delta; float alpha; float life_loss...
27.836364
71
0.693011
[ "MIT" ]
martinkro/tutorials-unity3d
BowArrow/Assets/bowandarrow/Scripts/RisingText.cs
1,533
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; usin...
29.919463
147
0.550247
[ "MIT" ]
Awesome-Of-the-Internet/osu
osu.Game/Skinning/Editor/SkinEditorOverlay.cs
4,310
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Contain...
35.166667
146
0.514827
[ "MIT" ]
ArniDagur/osu
osu.Game/Beatmaps/Drawables/Cards/BeatmapCardContent.cs
7,176
C#
using BlazorComponent; using Microsoft.AspNetCore.Components; namespace MASA.Blazor { public partial class MButtonGroup : MItemGroup { public MButtonGroup() : base(GroupType.ButtonGroup) { } [Parameter] public bool Borderless { get; set; } [Parameter] ...
27.473684
76
0.474457
[ "MIT" ]
BlazorComponent/MASA.Blazor
src/MASA.Blazor/Components/ItemGroup/MButtonGroup.cs
1,568
C#
/****************************************************************************** * Gear: An open-world sandbox game for creative people. * * http://github.com/cathode/gear/ * * Copyright © 2009-2017 William 'cathode' Shelley. All Rights Reserved. *...
32.717949
102
0.513323
[ "MIT" ]
cathode/gear
Gear.Net/Messages/PeerGreetingMessage.cs
1,279
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("04...
37.918919
84
0.744833
[ "MIT" ]
tpulkov/CSharp-Part2
Lections-Demo-Live/03.Methods and 04.Numeral Systems/04.Demo/Properties/AssemblyInfo.cs
1,406
C#
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; namespace RuneCircleGenerator { public class Generator : IDisposable { private const int _textureSize = 1024; private const int _symbolCount = 20; private static readonly float _penWidth = _textureSi...
30.05036
126
0.539143
[ "MIT" ]
alexwnovak/TF2Maps
jump_mirage/src/RuneCircleGenerator/RuneCircleGenerator/Generator.cs
4,179
C#
namespace Vodamep.ReportBase { public interface INamedPerson : IPerson { string FamilyName { get; } string GivenName { get; } } }
19.75
43
0.613924
[ "MIT" ]
connexiadev/Vodamep
src/Vodamep/ReportBase/INamedPerson.cs
160
C#
using System.Diagnostics; using AppName.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; namespace AppName.Web.Controllers { [AllowAnonymous] public class HomeController : Controller { private readonly IOptions<AppSettings> _...
23.929825
112
0.58871
[ "MIT" ]
ryanrodemoyer/AppNameWeb
src/presentation/AppName.Web/Controllers/HomeController.cs
1,366
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.InteropServices; using System; internal class NullableTest { private static bool BoxUnboxToNQ(object o) { return Helper.Compare((GCHandle)o, He...
24.366667
78
0.659371
[ "MIT" ]
belav/runtime
src/tests/JIT/jit64/valuetypes/nullable/box-unbox/box-unbox/box-unbox017.cs
731
C#
using Newtonsoft.Json; using VkApi.Wrapper.Objects; using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Threading.Tasks; namespace VkApi.Wrapper.Responses { public class GroupsGetCallbackServersResponse { [JsonProperty("count")] public int Count { ge...
25.117647
57
0.709602
[ "MIT" ]
FrediKats/VkLibrary
VkApi.Wrapper/Responses/Groups/GroupsGetCallbackServersResponse.cs
427
C#
using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace GZ_SpotGate.Core { class MyConsole { private static MyConsole _output; private static readonly ILog ...
23.755556
86
0.381197
[ "MIT" ]
ysjr-2002/GZ-SpotGate
GZ-SpotGate/Core/MyConsole.cs
2,140
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Web.WebPages.OAuth; using Ko.PoC.Web.Models; namespace Ko.PoC.Web { public static class AuthConfig { public static void RegisterAuth() { // To let users of this site log in using t...
28.969697
127
0.596234
[ "MIT" ]
chualuoi/KnockoutMVC
Ko.PoC.Web old/App_Start/AuthConfig.cs
958
C#
using System; using System.Text; namespace LinqToDB.DataProvider.Informix { using Mapping; using SqlQuery; public class InformixMappingSchema : MappingSchema { static readonly char[] _extraEscapes = { '\r', '\n' }; public InformixMappingSchema() : this(ProviderName.Informix) { } prote...
30.893333
110
0.655589
[ "MIT" ]
Arithmomaniac/linq2db
Source/LinqToDB/DataProvider/Informix/InformixMappingSchema.cs
2,319
C#
// // Mono.VisualC.Interop.CppInstancePtr.cs: Represents a pointer to a native C++ instance // // Author: // Alexander Corrado (alexander.corrado@gmail.com) // Andreia Gaita (shana@spoiledcat.net) // // Copyright (C) 2010 Alexander Corrado // // Permission is hereby granted, free of charge, to any person obtaining ...
30.845679
109
0.723634
[ "MIT" ]
shana/cppinterop
src/Mono.VisualC.Interop/CppInstancePtr.cs
4,997
C#
using Cake.Core; using Cake.Core.Annotations; using System; using System.Collections.Generic; namespace Cake.Docker { // Contains functionality for working with run command. partial class DockerAliases { /// <summary> /// Creates a new container using default settings. /// </summa...
37.169492
156
0.577747
[ "MIT" ]
KevM/Cake.Docker
src/Cake.Docker/Container/Run/Docker.Aliases.Run.cs
2,195
C#
using System.Collections.Generic; namespace Yargon.Terms { /// <summary> /// A green term. /// </summary> /// <remarks> /// Green terms are part of the DAG and may only store information about themselves, /// or information derivable from their descendants. /// </remarks> public interf...
31.787234
88
0.573628
[ "Apache-2.0" ]
cyberlect/yargon-terms
src/Yargon.Terms/IGreenTerm.cs
1,496
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Threading; using TerraFX.Interop; using TerraFX.Threadi...
36.510903
145
0.5657
[ "MIT" ]
phizch/terrafx
sources/UI/Win32/UI/Win32WindowService.cs
11,721
C#
using System.Collections.Generic; using System.Data.SqlClient; namespace WrappedSqlFileStream { public interface IWrappedSqlFileStreamContext { SqlConnection Connection { get; } SqlTransaction Transaction { get; } string TableName { get; } string IdentifierName {...
22.916667
52
0.627273
[ "MIT" ]
RupertAvery/WrappedSqlFileStream
WrappedSqlFileStream/IWrappedSqlFileStreamContext.cs
550
C#
// // Auto-generated from generator.cs, do not edit // // We keep references to objects, so warning 414 is expected #pragma warning disable 414 using System; using System.Drawing; using System.Diagnostics; using System.ComponentModel; using System.Threading.Tasks; using System.Runtime.InteropServices; using UIKit; us...
36.490323
269
0.774929
[ "MIT" ]
ygit/clevertap-xamarin
clevertap-component/src/ios/CleverTap.Bindings.iOS/obj/Debug/ios/CleverTapSyncDelegate.g.cs
5,656
C#
using nce.adosql; using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace BoatRenting { public partial ...
30.672414
121
0.44688
[ "Apache-2.0" ]
richardreamz/rentaboat
admin/boats_pre_mant.aspx.cs
5,337
C#
namespace XenAdmin.Dialogs { partial class AdPasswordPrompt { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
46.647399
149
0.600743
[ "BSD-2-Clause" ]
AaronRobson/xenadmin
XenAdmin/Dialogs/AdPasswordPrompt.Designer.cs
8,070
C#
using System; using System.Threading.Tasks; using Nethereum.JsonRpc.Client; using Nethereum.RPC.Eth.DTOs; using Nethereum.RPC.Eth.Transactions; namespace Nethereum.RPC.Tests.Testers { /// <summary> /// use web3 tests for calls and transactions tests /// </summary> public class EthCallTester : IRPCReque...
43.666667
438
0.7064
[ "MIT" ]
6ara6aka/Nethereum
tests/Nethereum.RPC.IntegrationTests/Testers/EthCallTester.cs
1,703
C#
using System.Collections; using System.Collections.Generic; using ThirdEyeSoftware.GameLogic; using ThirdEyeSoftware.GameLogic.LogicHandlers; using UnityEngine; public class btnPrivacyPolicy : MonoBehaviour, IComponent { public ILogicHandler LogicHandler { get; set; } // Use this for ...
16.15625
57
0.665377
[ "BSD-3-Clause" ]
jaydpather/UnityGameEngineInterface
btnPrivacyPolicy.cs
519
C#
// The MIT License (MIT) // // Copyright (c) 2015-2018 Rasmus Mikkelsen // Copyright (c) 2015-2018 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softwar...
41.678161
188
0.632488
[ "MIT" ]
OsvaldoJ/EventFlow
Source/EventFlow.TestHelpers/Suites/TestSuiteForEventStore.cs
18,132
C#
// Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. namespace Microsoft.DevSkim { /// <summary> /// Class holds information about suppressed issue /// </summary> public class SuppressedIssue { publ...
26.8
95
0.661692
[ "MIT" ]
PavelBansky/DevSkim
src/Microsoft.DevSkim/Microsoft.DevSkim/SuppressedIssue.cs
404
C#
namespace NAngular.Areas.HelpPage { /// <summary> /// Indicates whether the sample is used for request or response /// </summary> public enum SampleDirection { Request = 0, Response } }
21.363636
69
0.578723
[ "Unlicense" ]
robert-claypool/nangular
server/NAngular/Areas/HelpPage/SampleGeneration/SampleDirection.cs
225
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("Pr...
38.189189
84
0.745223
[ "Apache-2.0" ]
imasm/Prism.WinForms
Source/WinForms/Prism.WinForms.Tests/Properties/AssemblyInfo.cs
1,416
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Azure.Messaging.EventHubs.Compatibility; using NUnit.Framework; namespace Azure.Messaging.EventHubs.Tests { /// <summary> /// The suite of tests for the <see cref="TrackOneEventHubProducer" /...
40.455645
220
0.630021
[ "MIT" ]
gaurangisaxena/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/tests/Compatibility/TrackOneComparerTests.cs
10,035
C#
namespace EmployeesMapping.App.Commands { using System; using System.Globalization; using System.Linq; using CustomMapper; using EmployeesMapping.App.Commands.Contracts; using EmployeesMapping.App.DTO; using EmployeesMapping.Data; public class SetBirthdayCommand : ICommand { ...
31.375
187
0.628818
[ "MIT" ]
viktornikolov038/-Databases-Advanced-October-2019
Custom Automapper/Exercise/EmployeesMapping.App/Commands/SetBirthdayCommand.cs
1,508
C#
using System; using System.Text; using chapter09.lib.ML; using chapter09.trainer.Enums; using chapter09.trainer.Helpers; using chapter09.trainer.Objects; namespace chapter09.trainer { public class Program { public static void Main(string[] args) { Encoding.RegisterProvider(CodePa...
34.190476
147
0.600279
[ "MIT" ]
PacktPublishing/Hands-On-Machine-Learning-With-ML.NET
chapter09/chapter09.trainer/Program.cs
1,438
C#
// Decompiled with JetBrains decompiler // Type: Gtk.MacWebView // Assembly: CocoStudio.Gtk.Extend, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: DBDD1FAC-46EB-4E25-BF62-EB35EC7EDA10 // Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.Gtk.Extend.dll using CocoStudio.Basic; us...
33.551282
233
0.681697
[ "MIT" ]
gdbobu/CocoStudio2.0.6
CocoStudio.Gtk.Extend/Gtk/MacWebView.cs
2,619
C#
using System; namespace SharpVk.Glfw { /// <summary> /// Bitmask indicating modifer keys. /// </summary> [Flags] public enum Modifier { Shift = 0x1, Control = 0x2, Alt = 0x4, Super = 0x8 } }
16
44
0.5
[ "MIT" ]
xuri02/SharpVk
src/SharpVk.Glfw/Modifier.cs
258
C#