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 Microsoft.VisualStudio.TemplateWizard; namespace Ezfx.Csv.ItemWizards { public class VBClassWizard : ClassWizard, IWizard { protected override string GetPropertyCode(CsvColumn col) { return col.ToVBCode(); } } }
20.615385
64
0.656716
[ "Apache-2.0" ]
EricWebsmith/csv2entity
Templates/Ezfx.Csv.Templates/Wizard/VBClassWizard.cs
270
C#
using System.Collections.Generic; namespace SIS.HTTP.Sessions { using Common; public class HttpSession : IHttpSession { private readonly Dictionary<string, object> sessionParameters; public HttpSession(string id) { CoreValidator.ThrowIfNull(id, nameof(id)); this....
28.181818
72
0.616935
[ "MIT" ]
sapphire119/Musaca-Exam-SoftUni
Exam/SIS.HTTP/Sessions/HttpSession.cs
1,242
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Components; using BootstrapBlazor.DataAcces.EntityF...
43.953488
278
0.678836
[ "Apache-2.0" ]
Witchie/BootstrapBlazor
src/Extensions/DataServices/BootstrapBlazor.DataAcces.EntityFrameworkCore/EFCoreServiceCollectionExtensions.cs
1,920
C#
// Copyright 2018 yinyue200.com // 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 agre...
30.571429
94
0.654206
[ "Apache-2.0" ]
alex-harper/LottieSkiaSharp
LottieSkiaSharp/Model/Font.cs
1,072
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("03E...
38.378378
84
0.752817
[ "Unlicense" ]
rusky65/HowToCSharp
07Day/03ExceptionDotNetFramework/Properties/AssemblyInfo.cs
1,423
C#
namespace LocalizationDemo; public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string? Summary { get; set; } }
19.461538
65
0.671937
[ "MIT" ]
NimblePros/ApiLocalizationDemo
LocalizationDemo/WeatherForecast.cs
253
C#
// <copyright file="AccountUpdateErpFigures.cs" company=""> // Copyright (c) 2015 All Rights Reserved // </copyright> // <author></author> // <date>1/26/2015 1:55:15 PM</date> // <summary>Implements the AccountUpdateErpFigures Plugin.</summary> // <auto-generated> // This code was generated by a tool. // Runti...
37.606557
102
0.638187
[ "MIT" ]
doodlleus/XrmMockup
tests/SharedPluginsAndCodeactivites/AccountPostImagePlugin.cs
2,296
C#
using System; using System.Collections.Generic; using System.Text; namespace GrillMaster.Domain.Entities { public class GrillMenu { public GrillMenu() { Items = new List<GrillMenuItem>(); } public int sId { get; set; } public string Id { get; set; } ...
19.454545
55
0.570093
[ "MIT" ]
Changelling/GrillMaster
src/Domain/Entities/GrillMenu.cs
430
C#
using Hangfire; using Hangfire.PostgreSql; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using StackExchange.Redis; using System; using TibiaApi.Comum; namespace TibiaApi.Web.Config { public static class HangfireStartStatic { public static void StartHangfire(this ...
37.212121
163
0.613735
[ "Apache-2.0" ]
guigolabs/ScrapyTibiaCSharp
TibiaApi.Comum.DependecysStart/Config/HangfireStartStatic.cs
3,686
C#
using System; using System.Collections.Generic; using System.Data; using System.Text; namespace Rebus.AdoNet.Dialects { /// <summary> /// This class maps a DbType to names. /// </summary> /// <remarks> /// Associations may be marked with a capacity. Calling the <c>Get()</c> /// method with a type an...
32.698864
127
0.609904
[ "MIT" ]
DiegoVeraEvicertia/Rebus.AdoNet
Rebus.AdoNet/Dialects/TypeNames.cs
5,860
C#
// ====================================================================== // // Copyright (C) 2018-2068 湖南心莱信息科技有限公司 // All rights reserved // // filename : FromImageMessage.cs // description : // // created by codelove1314@live.cn at 2021-02-09 10:48:26 // ...
28.125
74
0.469333
[ "MIT" ]
CacoCode/Magicodes.Wx.Sdk
src/Magicodes.Wx.PublicAccount.Sdk.AspNet/ServerMessages/From/FromImageMessage.cs
1,223
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace MekSweeper.UI.App { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); ...
29.232143
83
0.562615
[ "Apache-2.0" ]
mekmak/MekSweeper
MekSweeper.UI.App/MainWindow.xaml.cs
1,639
C#
/*---------------------------------------------------------------- Copyright (C) 2018 Senparc 文件名:SsoApi.cs 文件功能描述:OA数据开放接口(Work中新增) 创建标识:Senparc - 20170617 修改标识:Senparc - 20170709 修改描述:v0.3.1 修复OaDataOpenApi接口AccessToken传递问题 修改标识:Senparc - 20170712 修改描述:v14.5.1 AccessT...
44.636086
237
0.617635
[ "Apache-2.0" ]
253437873/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/OaDataOpen/OaDataOpenApi.cs
15,956
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BulletEnemy : MonoBehaviour { [SerializeField, Range(0.1f, 100f)] public float speed = 0f; public int damage = 50; public Rigidbody2D rb; public GameObject impactEffect; void Start () { ...
22.516129
78
0.611748
[ "MIT" ]
BunnyHop99/Mafia2D
Assets/Scripts/BulletEnemy.cs
698
C#
using System.Diagnostics.Contracts; namespace Examples.Zoppi { public class ATM { public bool cardInserted; public bool authenticated; [ContractInvariantMethod] private void Invariant() { Contract.Invariant(!authenticated || cardInserted); } ...
20.545455
63
0.525811
[ "MIT" ]
lleraromero/contractor-net
Examples.Zoppi/ATM.cs
1,358
C#
using Xunit; namespace Marten.Testing.Bugs { public class Bug_416_cannot_create_index_on_datetime_field: IntegratedFixture { [Fact] public void should_throw_a_defensive_check_telling_you_that_you_cannot_index_a_date_time_field() { StoreOptions(_ => _.Schema.For<Target>().Ind...
26.9375
104
0.691415
[ "MIT" ]
Crown0815/marten
src/Marten.Testing/Bugs/Bug_416_cannot_create_index_on_datetime_field.cs
431
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using ModularMonolith.Modules.Conferences.Core.DTO; using ModularMonolith.Modules.Conferences.Core.Entities; using ModularMonolith.Modules.Conferences.Core.Exceptions; using ModularMonoli...
36.080645
117
0.614662
[ "MIT" ]
davidhenley/ModularMonolith
src/Modules/Conferences/ModularMonolith.Modules.Conferences.Core/Services/ConferenceService.cs
4,474
C#
//=============================================================================== // Microsoft patterns & practices Enterprise Library // Policy Injection Application Block //=============================================================================== // Copyright © Microsoft Corporation. All rights reserved. // T...
48.189024
182
0.661647
[ "MIT" ]
talley/EnterpriseLibraryNetCore
Source/Policy Injection Application Block/PolicyInjection/Configuration/PropertyMatchingRuleData.cs
7,906
C#
// // assign.cs: Assignments. // // Author: // Miguel de Icaza (miguel@ximian.com) // Martin Baulig (martin@ximian.com) // Marek Safar (marek.safar@gmail.com) // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2001, 2002, 2003 Ximian, Inc. // Copyright 2004-2008 Novell, Inc // Copyrigh...
25.692666
137
0.680517
[ "Apache-2.0" ]
alistair/mono
mcs/mcs/assign.cs
22,070
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Run...
49.951327
279
0.705731
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIDevice2.cs
11,291
C#
//////////////////////////////////////////////////////////////////////////////// // // @module Assets Common Lib // @author Osipov Stanislav (Stan's Assets) // @support support@stansassets.com // @website https://stansassets.com // //////////////////////////////////////////////////////////////////////////////// usi...
27.535714
179
0.612516
[ "MIT" ]
KingOfFawns/Special_Course
Special Course/Assets/Plugins/StansAssets/Support/Common/Effetcs/Animations/Tween/Methods/SA_ValuesTween.cs
3,084
C#
using System; using System.Collections.Generic; using Chloe.Server.Data.Contracts; using Chloe.Server.Dtos; using Chloe.Server.Services.Contracts; using System.Data.Entity; using System.Linq; using Chloe.Server.Models; namespace Chloe.Server.Services { public class ProjectService : IProjectService { pu...
31.949153
119
0.607958
[ "MIT" ]
QuinntyneBrown/dynamic-scheduling
Server/Services/ProjectService.cs
1,885
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.Collections.Generic; using System.Linq; using Xunit; namespace System.Collections.Tests { /// <summary> /// Contains tests that ensure the correctness of the Qu...
32.670259
115
0.572465
[ "MIT" ]
belav/runtime
src/libraries/System.Collections/tests/Generic/Queue/Queue.Generic.Tests.cs
15,159
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; /*=============================================================== Project: Core Library Developer: Marci San Diego Company: Personal - marcisandiego@gmail.com Date: 06/11/2018 16:03 =====================================...
24.795455
110
0.669569
[ "MIT" ]
marcisd/com.marcisd.core
Modules/Collections/Runtime/RuntimeDictionary.cs
2,182
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
42.348837
264
0.694399
[ "MIT" ]
lantuma/DDZ
Unity/Assets/Model/ILBinding/System_Collections_Generic_List_1_Single_Binding.cs
3,642
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace WebRTCme { public interface IBlob { int Size { get; } string Type { get; } Task<byte[]> ArrayBuffer(); IBlob Slice(int start = 0, int end = 0, string contentType = "");...
17.32
73
0.595843
[ "MIT" ]
BlazorHub/WebRTCme
WebRTCme.Api/Interfaces/IBlob.cs
435
C#
using System; namespace Microsoft.Maui.Graphics { public static class GeometryUtil { public const float Epsilon = 0.0000000001f; public static float GetDistance(float x1, float y1, float x2, float y2) { var a = x2 - x1; var b = y2 - y1; return (float) Math.Sqrt(a * a + b * b); } public static f...
25.169565
116
0.603558
[ "MIT" ]
junior-ts/Microsoft.Maui.Graphics
src/Microsoft.Maui.Graphics/GeometryUtil.cs
5,789
C#
/* * Based on OpenIZ - Based on OpenIZ, Copyright (C) 2015 - 2019 Mohawk College of Applied Arts and Technology * Portions Copyright 2019-2020, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE) * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except i...
45.985294
325
0.564226
[ "Apache-2.0" ]
chochohtunn/santedb
SanteDB.Messaging.FHIR/Rest/Serialization/FhirMessageDispatchFormatter.cs
9,383
C#
namespace MassTransit.Courier.Contexts { using System; using System.Threading; using Context; using Contracts; public abstract class TimeoutCourierContextProxy : TimeoutConsumeContext<RoutingSlip>, CourierContext { readonly CourierContext _courierContext; prote...
32.678571
112
0.723497
[ "ECL-2.0", "Apache-2.0" ]
AhmedKhalil777/MassTransit
src/MassTransit/Courier/Contexts/TimeoutCourierContextProxy.cs
915
C#
namespace Phantasma.Core.Log { /// <summary> /// Represents the kind of the log message. /// </summary> public enum LogEntryKind { None, Message, Success, Warning, Error, Debug, } }
15.9375
47
0.501961
[ "MIT" ]
pau121/PhantasmaChain
Phantasma.Core/Log/LogKind.cs
257
C#
using Redb.OBAC.DB; using System; using System.Collections.Generic; using System.Text; using Microsoft.EntityFrameworkCore; using System.Threading.Tasks; using Redb.OBAC.Permissions; namespace Redb.OBAC.MySql { public class MySqlObacStorageProvider : IObacStorageProvider { private readonly MySqlObacCo...
31.020408
112
0.634211
[ "Apache-2.0" ]
redberriespro/Redb.OBAC
Redb.OBAC.MySql/MySqlObacStorageProvider.cs
1,522
C#
using System; using System.Collections.Generic; using UnityEngine; using Unity.Profiling; namespace Obi { [AddComponentMenu("Physics/Obi/Obi Rope Chain Renderer", 885)] [ExecuteInEditMode] public class ObiRopeChainRenderer : MonoBehaviour { static ProfilerMarker m_UpdateChainRopeRendererChunksP...
33.668605
140
0.518218
[ "MIT" ]
CalvinFehl/ColtsWithCalvin
Assets/Obi/Scripts/RopeAndRod/Rendering/ObiRopeChainRenderer.cs
5,791
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.Collections.Generic; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options...
34.904762
116
0.645293
[ "Apache-2.0" ]
251763889/Mvc
src/Microsoft.AspNetCore.Mvc.RazorPages/RazorPagesOptionsConfigureCompatibilityOptions.cs
1,468
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Threading; public class WaterCollector : MonoBehaviour { private Pipe pipe; void Start() { pipe = GetComponentInParent<Pipe>(); } private void OnTriggerEnter2D(Collider2D collision) ...
26.903226
103
0.645084
[ "MIT" ]
OccularFlow/Of-Mice-And-Messages
Assets/Team23/Scripts/Pipes/WaterCollector.cs
836
C#
// // Copyright (C) 2012-2014 DataStax Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
42.725309
157
0.576717
[ "Apache-2.0" ]
902Software/csharp-driver
src/Cassandra.IntegrationTests/Core/BasicTypeTests.cs
27,688
C#
using System; namespace CcAcca.LogEvents { public class AppStoppedLogEventInfo : LogEventInfo { private const string ShutdownMetricKey = "ShutdownMsec"; private const string RuntimeMetricKey = "RuntimeMinutes"; public AppStoppedLogEventInfo(DateTime? signalTime = null, DateTime? appSt...
33.473684
135
0.592767
[ "MIT" ]
christianacca/LogEvents
src/CcAcca.LogEvents/AppStoppedLogEventInfo.cs
1,274
C#
using System.Collections.Generic; namespace Veldrid.Assets { public static class CreatedResourceCache { private static readonly Dictionary<object, object> s_cache = new Dictionary<object, object>(); public static void ClearCache() => s_cache.Clear(); public static bool TryGetCachedIte...
26.741935
102
0.54041
[ "MIT" ]
mellinoe/Veldrid-3.0
src/Veldrid.Assets/CreatedResourceCache.cs
831
C#
using TaskoMask.Application.Share.Dtos.Workspace.Owners; using TaskoMask.Application.Share.Helpers; using TaskoMask.Application.Core.Queries; namespace TaskoMask.Application.Workspace.Owners.Queries.Models { public class SearchOwnersQuery:BaseQuery<PaginatedListReturnType<OwnerOutputDto>> { public Sear...
29.142857
84
0.678105
[ "MIT" ]
GhalamborM/TaskoMask
Src/Libraries/2-Application/Application/Workspace/Owners/Queries/Models/SearchOwnersQuery.cs
614
C#
// // MidiJack - MIDI Input Plugin for Unity // // Copyright (C) 2013-2016 Keijiro Takahashi // // 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 limit...
31.113924
80
0.604963
[ "Unlicense" ]
Ivorforce/MidiJack
Assets/MidiJack/Midi.cs
2,458
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> //--...
38.625
178
0.60338
[ "BSD-3-Clause" ]
grzegorzpietrzak321/TaskerClient
Properties/Resources.Designer.cs
2,783
C#
namespace ClearHl7.Codes.V280 { /// <summary> /// HL7 Version 2 Table 0168 - Processing Priority. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0168</remarks> public enum CodeProcessingPriority { /// <summary> /// A - As soon as possible (a priority lower than stat). ...
26.909091
75
0.48902
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V280/CodeProcessingPriority.cs
1,186
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("Mvx...
39.189189
84
0.754483
[ "Apache-2.0" ]
xabre/MvvmCross---Bluetooth-LE
.build/PluginNugetTest/MvxPluginNugetTest.iOS/Properties/AssemblyInfo.cs
1,452
C#
using CLAP; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCApp.WebServices.SubmitResumeWebService; namespace TCApp.Cmd { class Actions { SubmitResumeSoapClient client = new SubmitResumeSoapClient(); [Verb] vo...
29.310345
126
0.674118
[ "MIT" ]
krcourville/tc-app
TCApp.Console/Actions.cs
852
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> // ---------------------------------------...
33.439655
173
0.602733
[ "Apache-2.0" ]
PatrickRatzow/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/GitCommitChange.generated.cs
3,879
C#
using System.Collections.Generic; using System.Diagnostics; namespace WK.Info.Services { [DebuggerDisplay("{Vocab,nq}")] public class VocabModel { public string Vocab { get; set; } public string Kana { get; set; } public List<string> Meanings { get; set; } public List<TagModel> Tags { get; set; } } publ...
19.578947
48
0.693548
[ "MIT" ]
luffyuzumaki/WK.Info
WK.Info/Services/Models/Vocab.cs
374
C#
using System; #if !NETSTANDARD1_4 using System.Runtime.Serialization; using System.Security.Permissions; #endif namespace Expressive.Exceptions { /// <summary> /// Represents an error that is thrown when a missing token is detected inside an <see cref="Expression"/>. /// </summary> #if !NETSTANDARD1_4 ...
37.918367
146
0.65662
[ "MIT" ]
bijington/expressive
Source/Expressive/Exceptions/MissingTokenException.cs
1,860
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace QuickstartIdentityServer { public class Program { ...
26.148148
70
0.651558
[ "MIT" ]
jinyuttt/QuickstarAuthServer
QuickstartIdentityServer/Program.cs
706
C#
using System; class MoonGravity { static void Main() { double manWeight = double.Parse(Console.ReadLine()); Console.WriteLine("{0:F3}", manWeight * 0.17); } }
15.833333
60
0.594737
[ "MIT" ]
jorosoft/Telerik-Academy
Homeworks/C# Part 1/03.OperatorsAndExpressions/02.MoonGravity/MoonGravity.cs
192
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...
36.068376
139
0.622038
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SecretsManager/Generated/Model/Internal/MarshallTransformations/DeleteSecretRequestMarshaller.cs
4,220
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class questMenuState_ConditionType : questIUIConditionType { [Ordinal(0)] [RED("state")] public CEnum<questEUIMenuState> State { get; set; } public questM...
26.75
115
0.731308
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/questMenuState_ConditionType.cs
413
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(giri_webdev_livedemo.Startup))] namespace giri_webdev_livedemo { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
19.333333
70
0.672414
[ "MIT" ]
giri-webdev/giri-webdev.net.democodes
giri-webdev-livedemo/Startup.cs
292
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace LibraryFactory { public interface ICon { //string _name;//err } public interface IConTrue { void InitCon(); DataTable GetTable(); stri...
19.358974
52
0.490066
[ "Unlicense" ]
lbbgit/TimeRace_Financial-IQ
TimeRace_Financial-IQ/LibraryFactory/_interface.cs
757
C#
// // IPopupWindowBackend.cs // // Author: // Vsevolod Kukol <sevoku@microsoft.com> // // Copyright (c) 2017 (c) Microsoft Corporation // // 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 Soft...
40.647059
80
0.759768
[ "MIT" ]
Bert1974/xwt
Xwt/Xwt.Backends/IPopupWindowBackend.cs
1,384
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
35.491935
388
0.562827
[ "MIT" ]
Bhaskers-Blu-Org2/BotBuilder-V3
CSharp/Library/Microsoft.Bot.Builder/Luis/Models/LuisResult.cs
4,401
C#
using System; using System.Collections; using System.IO; using My2C2P.Org.BouncyCastle.Asn1; using My2C2P.Org.BouncyCastle.Asn1.Cms; using My2C2P.Org.BouncyCastle.Asn1.CryptoPro; using My2C2P.Org.BouncyCastle.Asn1.Nist; using My2C2P.Org.BouncyCastle.Asn1.Oiw; using My2C2P.Org.BouncyCastle.Asn1.Pkcs; using My2C2P.Org.B...
44.488806
124
0.698398
[ "MIT" ]
2C2P/My2C2PPKCS7
My2C2PPKCS7/cms/CMSSignedGenerator.cs
11,923
C#
using System; using System.Linq; using System.Runtime.InteropServices; using Torque6.Engine.SimObjects; using Torque6.Engine.SimObjects.Scene; using Torque6.Engine.Namespaces; using Torque6.Utility; namespace Torque6.Engine.SimObjects.GuiControls { public unsafe class GuiPaneControl : GuiControl { p...
41.675472
166
0.680279
[ "MIT" ]
lukaspj/Torque6-Embedded-C-
Torque6/Engine/SimObjects/GuiControls/GuiPaneControl.cs
11,044
C#
using Dragablz; using MetroFtpClient.Core.Base; using MetroFtpClient.Core.Configuration; using MetroFtpClient.Core.Interfaces; using MetroFtpClient.Infrastructure.Constants; using MetroFtpClient.Infrastructure.Events; using MetroFtpClient.Infrastructure.Interfaces; using MetroFtpClient.Infrastructure.Notifications; us...
35.017045
194
0.624371
[ "MIT" ]
punker76/MetroFtpClient
UI/MetroFtpClient/ViewModels/MainWindowViewModel.cs
6,165
C#
using System; using System.Linq; using EPiServer.Commerce.Order; using EPiServer.Commerce.Order.Internal; using EPiServer.ServiceLocation; using Mediachase.Commerce; namespace EPiServer.Reference.Commerce.Site.Features.Checkout.Services { [ServiceConfiguration] public class ConfirmationService { p...
32.482759
99
0.597665
[ "Apache-2.0" ]
Geta/geta-optimizely-googleproductfeed
sandbox/Quicksilver/EPiServer.Reference.Commerce.Site/Features/Checkout/Services/ConfirmationService.cs
1,886
C#
namespace herental.BL.Interfaces { public interface IPriceFormulaManager { decimal CalculatePrice(string typeName, int period); } }
22.571429
61
0.683544
[ "MIT" ]
deemoowoor/herental
herental.BL/Interfaces/IPriceFormulaManager.cs
160
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BroadwayBuilder.Api.Models { public class NumberOfSuccessfulLoginsResponseModel { public int Month { get; set; } public int Year { get; set; } public int AverageSuccessfulLogins { get; set; }...
27.125
56
0.679724
[ "MIT" ]
BryceMoser/Broadway-Builder
BroadwayBuilder.Api/Models/NumberOfSuccessfulLoginsResponseModel.cs
436
C#
using UnityEngine; [ CreateAssetMenu( fileName = "STSPlayerInventory", menuName = "ScriptableObjects/STS/PlayerInventory", order = 5) ] public class STSPlayerInventory : ScriptableObject { public enum InventoryItemType { pizza = 1, cake = 2, swabstick = 3, ...
17.846154
59
0.633621
[ "MIT" ]
xmliszt/CB2.0
CB2.0/Assets/Scripts/StopTheSpread/ScriptableObjects/STSPlayerInventory.cs
464
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Collections.Generic; ...
33.855072
142
0.597175
[ "Apache-2.0" ]
SNBnani/Xian
Samples/Google/Calendar/SchedulingTool.cs
2,336
C#
using System; using System.Threading; using System.Threading.Tasks; using Binance; using System.Linq; namespace BinanceConsoleApp.Controllers { internal class GetAggregateTradesFrom : IHandleCommand { public async Task<bool> HandleAsync(string command, CancellationToken token = default) { ...
26.909091
102
0.436293
[ "MIT" ]
ajkagy/binance
samples/BinanceConsoleApp/Controllers/GetAggregateTradesFrom.cs
2,074
C#
namespace PenBreakout.Components { public class Controllable : Component { } }
13
41
0.681319
[ "MIT" ]
Nhawdge/pen-breakout
src/Components/Controllable.cs
91
C#
using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Linq; using Abp.Organizations; using VOU.Authorization.Roles; namespace VOU.Authorization.Users { public class UserStore : AbpUserStore<Role, User> { public UserStore( IUnitOfWorkManager unitOfWork...
35.973684
85
0.656181
[ "MIT" ]
BugBear96/VOU
aspnet-core/src/VOU.Core/Authorization/Users/UserStore.cs
1,367
C#
using System; using System.Reflection; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Services.Maps; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; using Sharpnado.Infrastructure; namespace Sample.UWP { /// <summary> /// Pro...
39.257143
157
0.612082
[ "MIT" ]
alexsandrocruz/SkiaSharpnado
RunAway!/Sample.UWP/App.xaml.cs
4,124
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V251.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V251.Segment{ ///<summary> /// Represents an HL7 RXD message segment. /// This segment has the following fields:<ol> ///<li>RXD-1: Dispense Sub-ID ...
35.166521
139
0.643315
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V251/Segment/RXD.cs
40,125
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; namespace tests { public class LabelSFLongLineWrapping : AtlasDemoNew { CCLabel label1; public LabelSFLongLineWrapping() { // Long sentence label1 = new CCLabe...
25.108696
127
0.580952
[ "MIT" ]
YersonSolano/CocosSharp
tests/tests/classes/tests/LabelTestNew/LabelSFLongLineWrapping.cs
1,155
C#
using System.CodeDom.Compiler; namespace Sspe.Service { [GeneratedCode("Visual Studio", "1")] partial class ServiceInstaller { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ...
29.026316
107
0.564823
[ "MIT" ]
markallanson/sspe
SmallSensorPublishingService/ServiceInstaller.Designer.cs
1,105
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace VaporStore.Data.Models { public class Genre { public Genre() { this.Games = new HashSet<Game>(); } public int Id { get; set; } [Required...
21.583333
52
0.604247
[ "MIT" ]
NikolayLutakov/Entity-Framework-Core
Exam Preps/01 C# DB Advanced Exam Last Reslove - 08 August 2020/VaporStore/Data/Models/Genre.cs
530
C#
using System; namespace PCRE.Tests.Pcre { public sealed class TestPattern : IEquatable<TestPattern> { public string FullString { get; set; } public string Pattern { get; set; } public string OptionsString { get; set; } public PcreOptions PatternOptions { get; set; } pu...
30.416667
100
0.610959
[ "BSD-3-Clause" ]
am11/pcre-net
src/PCRE.NET.Tests/Pcre/TestPattern.cs
1,462
C#
//////////////////////////////////////////////////////////////////////// // // This file is part of pdn-mozjpeg, a FileType plugin for Paint.NET // that saves JPEG images using the mozjpeg encoder. // // Copyright (c) 2021 Nicholas Hayes // // This file is licensed under the MIT License. // See LICENSE.txt for complet...
38.509272
138
0.386924
[ "MIT" ]
0xC0000054/pdn-mozjpeg
src/Exif/ExifParser.cs
26,997
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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Net...
44.046296
194
0.593494
[ "MIT" ]
RobSiklos/corefx
src/System.IO.Pipes/src/System/IO/Pipes/PipeStream.Unix.cs
19,028
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1015_2125-fefdfaf4")] public void Method_1015_2125() { ii(0x1015_2125, 5); push(0x6c); ...
85.518692
119
0.45533
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1015-2125.cs
18,301
C#
using System; using System.Threading.Tasks; using ActiveMQ.Artemis.Client.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace ActiveMQ.Artemis.Client.Extensions.AspNetCore.Tests.Observables { public class SendObserverSpec { p...
38.638889
117
0.647735
[ "MIT" ]
Havret/activemq-artemis-extensions
test/ArtemisNetClient.Extensions.Tests/Observables/SendObserverSpec.cs
2,784
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using EasyNetQ.Events; using EasyNetQ.Topology; namespace EasyNetQ.Consumer { public class PersistentMultipleConsumer : IConsumer { ...
33.808696
150
0.652263
[ "MIT" ]
rtaylor01/EasyNetQ
Source/EasyNetQ/Consumer/PersistentMultipleConsumer.cs
3,890
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.177419
153
0.592013
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/WorkbookTableRowsCollectionRequestBuilder.cs
2,429
C#
using System; using System.Runtime.InteropServices; using MyoSharp.Device; namespace MyoSharp.Communication { public interface IChannelBridge { #region Methods ulong EventGetTimestamp32(IntPtr evt); ulong EventGetTimestamp64(IntPtr evt); MyoEventType EventGetType32(IntPtr e...
27.173913
111
0.7152
[ "MIT" ]
rizalishan/MyoSharpWithoutContracts
MyoSharp/Communication/IChannelBridge.cs
1,252
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using Org.BouncyCastle.Math.Raw; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Math.EC.Custom.Sec { internal class SecT131FieldElement : ECFieldElement { protected readonly ulong[] x; p...
26.479638
113
0.537081
[ "MIT" ]
Manolomon/space-checkers
client/Assets/Libs/Best HTTP (Pro)/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/custom/sec/SecT131FieldElement.cs
5,852
C#
using System; using System.Diagnostics; using My2C2P.Org.BouncyCastle.Crypto.Utilities; namespace My2C2P.Org.BouncyCastle.Math.Raw { internal abstract class Nat448 { public static void Copy64(ulong[] x, ulong[] z) { z[0] = x[0]; z[1] = x[1]; z[2] = x[2]; ...
22.980198
61
0.348126
[ "MIT" ]
2C2P/My2C2PPKCS7
My2C2PPKCS7/math/raw/Nat448.cs
2,323
C#
namespace IdentityServer.Admin.Core.Dtos.IdentityResource { public class PagedIdentityResourceDto : BasePagedDto<IdentityResourceForPage> { } public class IdentityResourceForPage { public int Id { get; set; } public string Name { get; set; } } }
20.642857
81
0.67474
[ "MIT" ]
Olek-HZQ/IdentityServerManagement
src/IdentityServer.Admin.Core/Dtos/IdentityResource/PagedIdentityResourceDto.cs
291
C#
using System.ComponentModel.DataAnnotations; namespace OurCleanFuture.Data.Entities; public enum ExternalStatus { [Display(Name = "N/A")] NotApplicable = 0, [Display(Name = "Complete")] Complete = 1, [Display(Name = "In progress")] InProgress = 2, [Display(Name = "Not started")] No...
18.285714
45
0.635417
[ "Apache-2.0" ]
ytgov-env/climate-change-indicators
src/OurCleanFuture.Data/Entities/ExternalStatus.cs
386
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp; using Roslynator.Testing.CSharp; using Xunit; namespace Roslynator.CSharp.CodeFixes.Tests ...
27.014925
160
0.716575
[ "Apache-2.0" ]
esirko/Roslynator
src/Tests/CodeFixes.Tests/CS0621VirtualOrAbstractMembersCannotBePrivateTests.cs
1,812
C#
namespace WindowsFormsApp1 { partial class Form1 { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネー...
47.443082
159
0.572481
[ "MIT" ]
Sanaxen/deepAR
WindowsFormsApp1/WindowsFormsApp1/Form1.Designer.cs
54,482
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Examine; using Examine.LuceneEngine.Providers; using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Logging; using Umbraco.Examine; using Umbraco.Web.Models.ContentEditin...
38.7
167
0.601876
[ "MIT" ]
AaronSadlerUK/Umbraco-CMS
src/Umbraco.Web/Editors/ExamineManagementController.cs
10,451
C#
using System.Collections.Generic; using System.Threading.Tasks; using WordPressPCL.Interfaces; using WordPressPCL.Models; using WordPressPCL.Utility; namespace WordPressPCL.Client { /// <summary> /// Client class for interaction with Post revisions endpoint WP REST API /// </summary> public class Post...
39.171053
133
0.61001
[ "MIT" ]
BlueByteSystemsInc/WordPressPCL
WordPressPCL/Client/PostRevisions.cs
2,979
C#
using Evergine.Framework; using Evergine.Framework.Services; using Evergine.Framework.Threading; using Evergine.Platform; namespace HeightMap { public partial class MyApplication : Application { public MyApplication() { this.Container.RegisterType<Clock>(); this.Containe...
36.179487
99
0.659816
[ "MIT" ]
Jorgemagic/ShaderEffectsCollection
HeightMap/HeightMap/MyApplication.cs
1,411
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // 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 wit...
44.875
463
0.773445
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/MsCorlib/Sources/System.Collections.Generic.IComparer_1.cs
2,154
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Android.Content; using AndroidX.AppCompat.App; using MvvmMobile.Core.Navigation; using MvvmMobile.Core.ViewModel; using MvvmMobile.Droid.Navigation; using MvvmMobile.Sample.Core.Navigation; namespace MvvmMobile.Sample.Droid.Navigat...
37.55
178
0.647403
[ "MIT" ]
Manne990/MvvmMobile
Samples/MvvmMobile.Sample.Droid/Navigation/CustomNavigation.cs
3,757
C#
using System; namespace WFBooooot.IOT.Service.Warframe.NightWave { public class ActiveChallengesItem { /// <summary> /// /// </summary> public string id { get; set; } /// <summary> /// 开始时间 /// </summary> public DateTime activation { get; set; } ...
24.3125
50
0.431877
[ "Apache-2.0" ]
maxzhang666/WFBOOOOOT
WFBooooot.IOT/Service/Warframe/NightWave/ActiveChallengesItem.cs
1,235
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Enemy_Health_Script : MonoBehaviour { public float health; public float maxHealth; public GameObject healthBarUI; public Slider slider; // Start is called before the first frame updat...
18.229167
52
0.571429
[ "MIT" ]
CapstoneBloomfieldWarofWorlds/WarGame2
Assets/Jose_Assets/Jose_Scripts/Enemy_Health_Script.cs
877
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NMF.Serialization { public class UnknownElementEventArgs : EventArgs { public UnknownElementEventArgs(object context, string propertyXml) { if (context == null) throw new ArgumentNu...
25.083333
84
0.642857
[ "BSD-3-Clause" ]
NMFCode/NMF
Models/Serialization/UnknownElementEventArgs.cs
604
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
33.756757
108
0.638511
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/WavSettingsMarshaller.cs
2,498
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PIM { public partial class RelatorioDeVendas : Form { public RelatorioDeVendas...
20.535714
62
0.634783
[ "Apache-2.0" ]
Wesleydlr/Teste
PIMPublish/PIM/RelatorioDeVendas.cs
577
C#
// <auto-generated> // ReSharper disable ConvertPropertyToExpressionBody // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable EmptyNamespace // ReSharper disable InconsistentNaming // ReSharper disable PartialMethodWithSinglePart // ReSharper disable PartialTypeWithSinglePart // ReSharper ...
44.063063
183
0.682069
[ "MIT" ]
enriqueescobar-askida/Kinito.AdventureWorks2017
Entities/Person_BusinessEntityAddress.cs
4,891
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
41.2
118
0.717233
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/analytics/admin/v1alpha/google-analytics-admin-v1alpha-csharp/Google.Analytics.Admin.V1Alpha.StandaloneSnippets/AnalyticsAdminServiceClient.GetDataSharingSettingsResourceNamesAsyncSnippet.g.cs
1,648
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Azure.Tests; using Fluent.Tests.Common; using Microsoft.Azure.Management.ResourceManager.Fluent.Core; using Microsoft.Rest.Azure; using Microsoft.Rest.Clie...
37.20765
142
0.487443
[ "MIT" ]
Azure/azure-libraries-for-net
Tests/Fluent.Tests/PrivateDns/PrivateDnsZoneTests.cs
6,811
C#
// Wi Advice (https://github.com/raste/WiAdvice)(http://www.wiadvice.com/) // Copyright (c) 2015 Georgi Kolev. // Licensed under Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). using System; using System.Web.Services; using DataAccess; using BusinessLayer; namespace UserInterface { ...
42.498471
154
0.53472
[ "Apache-2.0" ]
raste/WiAdvice
Source/User Interface/Registration.aspx.cs
13,903
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V23.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V23.Segment{ ///<summary> /// Represents an HL7 RDT message segment. /// This segment has the following fields:<ol> ///<li>RDT-1: Column value (varies)</li> ///...
31
111
0.684823
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V23/Segment/RDT.cs
1,891
C#
using System; using UnityEngine; public enum PickupType { SniperRifle = 0, RedDot = 1, Shield = 2, Binoculars = 3, Banana = 4, SMG = 5, Pistol = 6, Grenade = 7, SmokeGrenade = 8, CSGrenade = 9, LaserSensor = 10, RemoteCharge = 11, CardboardDecoy = 12, SMGAmmox30 = 13, PistolAmmox15 = 14, SniperAmmox5 =...
26.27027
146
0.729424
[ "MIT" ]
DancingEngie/IntruderMafia
Assets/IntruderMM/Scripts/PickupProxy.cs
972
C#