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.Collections.Generic; using System.Linq; using PatternPal.Recognizers.Abstractions; using SyntaxTree.Abstractions.Entities; namespace PatternPal.Recognizers.Models.Output { public class Result : IResult { public Dictionary<IEntity, string> RelatedSubTypes = new Dictionary<IEntity, string>(...
28
95
0.611751
[ "MIT" ]
PatternPal/PatternPal
PatternPal/PatternPal.Regonizers/Models/Output/Result.cs
870
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
75.425
471
0.664346
[ "MIT" ]
AndriiKalinichenko/azure-powershell
src/PostgreSql/generated/cmdlets/NewAzPostgreSqlFlexibleServerFirewallRule_CreateViaIdentityExpanded.cs
35,725
C#
using System; using System.Collections.Generic; using System.Text; namespace EscolaMS_Domain.Entities { public class Responsavel { public int ResponsavelId { get; set; } public string Nome { get; set; } public DateTime DataNascimento { get; set; } public string CPF { get; set; ...
26.6
62
0.663534
[ "MIT" ]
AecioDev/Escolas-MS
EscolasMS/EscolaMS_Domain/Entities/Responsavel.cs
540
C#
using System; namespace Studio.Wizet.Audio.MediaFoundation { /// <summary> /// Indicates whether a Media Foundation transform (MFT) can produce output data. /// </summary> [Flags] public enum _MFT_OUTPUT_STATUS_FLAGS { /// <summary> /// None /// </summary> None ...
25.05
85
0.58483
[ "MIT" ]
Iciclelz/wizet-studio
Wizet Studio/Studio.Wizet.Audio/MediaFoundation/_MFT_OUTPUT_STATUS_FLAGS.cs
503
C#
using System; using System.Diagnostics; using System.IO; using System.Windows.Forms; using ADODB; // ReSharper disable once CheckNamespace namespace hoTools.Utils.ODBC { /// <summary> /// ODBC connection. Note: Wildcard is '%', also for Access /// </summary> public class Odbc { EA.Reposito...
33.121429
168
0.467759
[ "BSD-2-Clause" ]
CuchulainX/EnterpriseArchitect_hoTools
Util/ODBC.cs
4,639
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; internal static partial class Interop { internal static partial class ComCtl32 { pub...
26.833333
71
0.624224
[ "MIT" ]
Amy-Li02/winforms
src/Common/src/Interop/ComCtl32/Interop.TBBUTTON.cs
646
C#
using System; using System.Data.SqlClient; namespace Supply_Manager.Controllers { public class DatabaseConnectionSchema { public SqlConnection con; public SqlConnection GetConnection() { return con; } public void ConnectionSchema() { str...
26.302326
185
0.548187
[ "MIT" ]
odeladetunji/Supply_Chain_Manager
Supply_Manager/Supply_Manager/Controllers/DatabaseConnectionSchema.cs
1,133
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Styl...
58.4
150
0.751712
[ "Apache-2.0" ]
jesusmayor/VRPortalsUnity
GlobalSuppressions3.cs
586
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
35.397436
178
0.628033
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/COSEM/COSEMObjects/PRIME_NB_OFDM_PLC_Physical_layer_counters_object.cs
2,763
C#
using System; namespace Work.Encryption { public class Class1 { } }
9.111111
25
0.621951
[ "Apache-2.0" ]
lijiadao/work.common.utility
work.common.utility/Work.Encryption/Class1.cs
84
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 System.Text; using Microsoft.EntityFrameworkCore.Update; using Microsoft.Extensions.DependencyInjection; namespa...
54.473684
113
0.686957
[ "Apache-2.0" ]
belav/efcore
src/EFCore.SqlServer/Update/Internal/ISqlServerUpdateSqlGenerator.cs
2,070
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file ...
31.769231
71
0.644552
[ "Apache-2.0" ]
Spinks90/YAFNET
yafsrc/YAF.Types/Models/ProfileCustom.cs
2,002
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StructuremapWebApi.cs" company="Web Advanced"> // Copyright 2012 Web Advanced (www.webadvanced.com) // Licensed under the Apache License, Version 2.0 (the "License"); // you ma...
50.586207
136
0.627812
[ "MIT" ]
CecilCable/Ingress-ScoreKeeper
Upchurch.Ingress/App_Start/StructuremapWebApi.cs
1,467
C#
//******************************************************************************************************************************************************************************************// // Copyright (c) 2011 George Mamaladze ...
91.029412
191
0.35412
[ "MIT" ]
anorstrom/adfsmfa
Neos.IdentityServer 2.0/Neos.IdentityServer.QrCodeNet/Masking/Pattern1.cs
3,097
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Bullseye; using CliWrap; using CliWrap.Buffered; using Stl.IO; using static Bullseye.Ta...
44.006061
158
0.536703
[ "MIT" ]
MessiDaGod/Stl.Fusion
build/Program.cs
14,522
C#
// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Diagnostics; using System.Globalization; using System.Security; using System.Security.Cryptography; namespace LibUA.Security.Cryptography { /// <summary> /// Generic implementation of HMAC which is implemented by the ...
32.96988
121
0.528412
[ "Apache-2.0" ]
Introsys/LibUA
NET/LibUA/Security.Cryptography/BCryptHMAC.cs
5,473
C#
namespace AspNetUpgrade.Model { public enum ProjectType { Library, Application } }
13.75
29
0.6
[ "MIT" ]
dazinator/AspNetRC1toRC2UpgradeTool
src/AspNetUpgrade/AspNetUpgrade/Model/ProjectType.cs
110
C#
using System; using System.Threading; using System.Threading.Tasks; using Application.Common.Interfaces; using FluentValidation; using MediatR; using Microsoft.EntityFrameworkCore; namespace Application.Features.Users { public class DeleteUser { public class Command : IRequest { pr...
25
69
0.499683
[ "MIT" ]
simplyvinay/api-starter-template
Application/Features/Users/DeleteUser.cs
1,577
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace _04.Weather { public class WeatherInfo { public double Temperature { get; set; } public string Weather { get; set; } } class Weather { static void Main(string...
28.518519
113
0.482468
[ "MIT" ]
vpaleshnikov/SoftUni-TechModule
ProgrammingFundamentals/20.RegularExpressions(RegEx)-Exercises/04.Weather/Weather.cs
1,542
C#
using System; using System.Xml.Serialization; using Microsoft.Xna.Framework; using Newtonsoft.Json; using Ship_Game.AI; using Ship_Game.Fleets; using Ship_Game.Ships; namespace Ship_Game { public sealed class FleetDataNode { [XmlIgnore][JsonIgnore] public Ship Ship { get; set; } ...
36.728395
101
0.568739
[ "MIT" ]
UnGaucho/StarDrive
Ship_Game/FleetDesign.cs
2,975
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; namespace Tasks { public class A { static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOu...
38.065217
150
0.504854
[ "CC0-1.0" ]
AconCavy/AtCoder.Tasks.CS
ABC/ABC165/Tasks/A.cs
1,751
C#
namespace TexasHoldem.AI.RaiseTwoSevenTestPlayer.Loggers { public interface ILogger { void Log(string message); } }
17.125
57
0.686131
[ "MIT" ]
DataBaseExam/DatabaseExam
Source/TexasHoldem.AI.RaiseTwoSevenTestPlayer/Loggers/Ilogger.cs
139
C#
using UnityEngine; using UnityEngine.SceneManagement; namespace Eflatun.CodePatterns { /// <summary> /// <para>Base class for a singleton MonoBehaviour that gets destroyed if current scene changes.</para> /// <para>If you want to use OnApplicationQuit method in implementator, use 'new' keyword in method si...
42.125
166
0.526459
[ "MIT" ]
fossabot/Eflatun.CodePatterns
Eflatun.CodePatterns/Packages/com.eflatun.codepatterns/SceneSingleton.cs
4,044
C#
using System; using System.Collections.Generic; using System.Linq; namespace OCM.API.Common.Model.Extensions { public class MetadataValue { public static Model.MetadataValue FromDataModel(Core.Data.MetadataValue source) { if (source == null) return null; return new Mod...
28.090909
100
0.614887
[ "MIT" ]
cybersol795/ocm-system
API/OCM.Net/OCM.API.Core/Common/Extensions/MetadataValue.cs
620
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.SymbolStore; using System; using System.Collections.Immutable; using System.IO; namespace Microsoft...
41.637097
127
0.61534
[ "MIT" ]
AndyAyersMS/diagnostics
src/Microsoft.Diagnostics.DebugServices/ISymbolService.cs
5,163
C#
using CosmosStack.Sniffers.FileTypeSniffers.Registering; // ReSharper disable InconsistentNaming namespace CosmosStack.Sniffers.FileTypeSniffers.Library { [FileTypeExtensionNames("dex")] [FileTypeHex("64 65 78 0A 30 33 35 00")] public class _Dex_Fingerprint : IFileTypeFingerprint { } }
30.1
60
0.780731
[ "Apache-2.0" ]
cosmos-open/FileExtensionInfer
src/CosmosStack.Extensions.FileTypeSniffer.Library.Development/CosmosStack/Sniffers/FileTypeSniffers/Library/Fingerprint.dex.cs
303
C#
using System; using System.Threading.Tasks; namespace RStein.Async.Schedulers { public class QueueTasksParams { public QueueTasksParams(int maxNumberOfQueuedTasks = Int32.MaxValue, Action<Task> beforeTaskQueuedAction = null, Action<Task> taskContinuation = null, Action<Task> afterTa...
22.102564
73
0.656613
[ "MIT" ]
renestein/rstein.async
RStein.Async/Schedulers/QueueTasksParams.cs
862
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Security.Principal; using System.Text; using System.Threading; using System.Web; namespace CRM { public class BasicAuthHttpModule : IHttpModule { private const string Realm = "CRM Web API"; ...
33.405941
88
0.553646
[ "MIT" ]
siecola/WebAPIBook2
CRM/BasicAuthHttpModule.cs
3,376
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using PluginCore.Managers; using ASCompletion.Context; using ASCompletion.Model; using PluginCore; using System.Collections; using System.Text.RegularExpressions; using PluginCore.Controls; using PluginCore.Localization; using AS3Contex...
40.763969
144
0.507504
[ "MIT" ]
gamebytes/flashdevelop
External/Plugins/AS3Context/Context.cs
42,313
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 Xunit; namespace System.Text.Json.Serialization.Tests { public static partial class CustomConverterTests...
37.312
121
0.610206
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Text.Json/tests/Serialization/CustomConverterTests/CustomConverterTests.cs
4,666
C#
using System; using UltimaOnline.Items; namespace UltimaOnline.Items { public class PlateBattleKabuto : BaseArmor { public override int BasePhysicalResistance { get { return 6; } } public override int BaseFireResistance { get { return 2; } } public override int BaseColdResistan...
31.826087
99
0.588798
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Items/Armor/Plate/PlateBattleKabuto.cs
1,464
C#
namespace WFw.GeTui.Models.Message { /// <summary> /// 推送目标 /// </summary> public class Audience { /// <summary> /// 别名 /// </summary> public string[] Alias { get; set; } /// <summary> /// cid /// </summary> public string[] Cid { get;...
15.409091
43
0.424779
[ "MIT" ]
litesz/WFw
WFw.GeTui/Models/Push/Audience.cs
353
C#
using System; using System.Collections.Generic; using System.Linq; namespace VeryNaiveDatalog { /// <summary> /// A substitution (or environment) denotes a mapping from variables to terms. /// </summary> public class Substitution : Dictionary<Variable, ITerm> { public Substitution() {} ...
31.862069
114
0.575758
[ "Unlicense" ]
xavierpinho/VeryNaiveDatalog
VeryNaiveDatalog/Substitution.cs
924
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; using Azure.ResourceManager.Sql.Models; namespace Azure.ResourceManager.Sql { public partial class ...
37.412844
127
0.464198
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlJobData.Serialization.cs
4,078
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...
37.90625
188
0.643309
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/ACMPCA/Generated/Model/GetCertificateRequest.cs
3,639
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Fortnox.SDK; using Fortnox.SDK.Entities; using Fortnox.SDK.Search; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FortnoxSDK.Tests.ConnectorTests { [TestClass] public class SupplierInvoiceTests...
44.684211
145
0.631684
[ "MIT" ]
vanillajonathan/csharp-api-sdk
FortnoxSDK.Tests/ConnectorTests/SupplierInvoiceTests.cs
8,492
C#
/* * Copyright 2012-2017 The Pkcs11Interop Project * * 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 app...
33.624309
135
0.539763
[ "Apache-2.0" ]
arkkadin/pkcs11Interop
src/Pkcs11Interop/Pkcs11Interop/HighLevelAPI/MechanismParams/CkTlsPrfParams.cs
6,086
C#
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Text; namespace CleanBlog.Domain.Identity { public class Role : IdentityRole<Guid> { public Role(string name) { Name = name; } public virtual ICollection<UserRole> User...
20.470588
68
0.646552
[ "MIT" ]
alijam93/CleanBlog
src/CleanBlog.Domain/Identity/Role.cs
350
C#
using System.Collections.Generic; using System.Threading.Tasks; using Nop.Core; using Nop.Core.Domain.Catalog; namespace Nop.Services.Catalog { /// <summary> /// Specification attribute service interface /// </summary> public partial interface ISpecificationAttributeService { #region Speci...
50.090323
194
0.683475
[ "CC0-1.0" ]
peterthomet/BioPuur
nopCommerce 4.4/src/Libraries/Nop.Services/Catalog/ISpecificationAttributeService.cs
15,530
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.eco.edu.kt.settleinfo.query /// </summary> public class AlipayEcoEduKtSettleinfoQueryRequest : IAopRequest<AlipayEcoEduKtSettleinfoQueryR...
25.846774
107
0.564431
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayEcoEduKtSettleinfoQueryRequest.cs
3,227
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; using Internal.TypeSystem; using ILCompiler.DependencyAnalysis; using Debug = System.Diagnostics.Debug; namespace ILCompiler { /// <summary> /// Structure th...
32.370861
176
0.574264
[ "MIT" ]
333fred/runtime
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/GenericDictionaryLookup.cs
4,888
C#
namespace Nager.Country.Translation.CountryInfos { /// <summary> /// Malaysia /// </summary> public class MalaysiaCountryTranslation : ICountryTranslation { ///<inheritdoc/> public TranslationInfo[] Translations => new [] { new TranslationInfo(LanguageCode.AR, "ما...
51.262295
65
0.635433
[ "MIT" ]
OpenBoxLab/Nager.Country
src/Nager.Country.Translation/CountryTranslations/MalaysiaCountryTranslation.cs
3,277
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityEditor.Experimental.Rendering.Universal.Path2D { internal class MultipleEditablePathController : IEditablePathController { private IEditablePathController m_Controller = new EditablePathController(); priv...
27.344156
123
0.523391
[ "MIT" ]
AlePPisa/GameJamPractice1
Cellular/Library/PackageCache/com.unity.render-pipelines.universal@8.2.0/Editor/2D/ShapeEditor/EditablePath/MultipleEditablePathController.cs
4,211
C#
namespace BirdAtlasMaui.API.Models { public enum HabitatType { Forest, Grassland, Tundra, Desert, Wetland, Ocean, UrbanSuburban } }
16.307692
36
0.490566
[ "MIT" ]
AppCreativity/BirdAtlas
frontend_maui/BirdAtlasMaui/Models/HabitatType.cs
214
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace io.nem1.sdk.Model.Wallet { public class WalletAccount { [JsonProperty("brain")] public bool Brain { get; set; } [JsonProperty("algo")] public string Algo { get; set; } [JsonProperty("encrypted")] ...
22.901961
56
0.572774
[ "Apache-2.0" ]
LykkeCity/nem1-sdk-csharp
src/nem1-sdk/src/Model/Wallet/WalletObject.cs
1,170
C#
namespace WSCT.Fake.TB100Like.Core { internal class Constants { public const byte INS_GENERATE_RANDOM = 0xC4; public const byte INS_CREATE_FILE = 0xE0; public const byte INS_DELETE_FILE = 0xE4; public const byte INS_SELECT = 0xA4; public const byte INS_FSEARCH = 0xA0; ...
40.411765
164
0.637555
[ "MIT" ]
wsct/WSCT-Fake-TB100Like
WSCT.Fake.TB100Like/Core/Constants.cs
1,376
C#
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Security { public class RegisterModelBase<T> : PageModel { public RegisterModelBase...
33.612245
81
0.653916
[ "MIT" ]
pragmatic-applications/AspNet_Host_Service
Lib_Host_Service/Security/RegisterModelBase.cs
1,649
C#
// Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
29.161972
119
0.459712
[ "Apache-2.0" ]
asimarslan/hazelcast-csharp-client
Hazelcast.Net/Hazelcast.IO.Serialization/MorphingPortableReader.cs
12,423
C#
using System.Collections.Generic; using System.IO; using System.Reflection; using System.Reflection.Emit; using Harmony; using Microsoft.Xna.Framework; using Terraria; using Terraria.IO; using Terraria.Localization; // ReSharper disable InconsistentNaming // ReSharper disable UnusedType.Global // ReSharper disa...
39.58216
167
0.55035
[ "MIT" ]
GoryMoon/TerrariaStreamIntegration
TerrariaStreamIntegrationNativeServer/Patches.cs
8,435
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Chiota.Models; using Chiota.Models.Database; using Chiota.Services.Database.Base; using SQLite; namespace Chiota.Services.Database.Repositories { public class TransactionCacheRepository : SecureRepository<DbTransactionCach...
28.98
195
0.602484
[ "MIT" ]
Noc2/Chiota
Chiota/Chiota/Services/Database/Repositories/TransactionCacheRepository.cs
1,451
C#
using DNTFrameworkCore.EFCore.Application; using DNTFrameworkCore.EFCore.Context; using DNTFrameworkCore.TestTenancy.Application.Identity.Models; using DNTFrameworkCore.TestTenancy.Domain.Identity; namespace DNTFrameworkCore.TestTenancy.Application.Identity { public interface IUserService : ICrudService<long, User...
33.025316
133
0.609812
[ "Apache-2.0" ]
hueifeng/DNTFrameworkCore
test/DNTFrameworkCore.TestTenancy/Application/Identity/UserService.cs
2,609
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, ...
33.617021
78
0.706329
[ "MIT" ]
AssafTzurEl/DiscUtils
Utilities/DiscUtils.Diagnostics/NullTextWriter.cs
1,580
C#
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2006, 2009-2010 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software: you can redistribute it and/or modify * it under the terms of the G...
39.828571
162
0.667145
[ "MIT" ]
devluz/SharpNeatForUnity
src/SharpNeatDomains/IGuiNeatExperiment.cs
1,396
C#
using Microsoft.Extensions.Logging; using Project2.UserService.Controllers; using Project2.UserService.Models; using Project2.UserService.Storage; using Project2.UserService.Storage.Repositories; using Xunit; namespace Project2.Testing.Specs { public class UserAPITests { private readonly UserRepository _u...
28.416667
146
0.674487
[ "MIT" ]
revature-p2-ranbiajim/P2
Project2/Project2.Testing/Specs/UserAPITests.cs
1,023
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.405405
84
0.74525
[ "MIT" ]
BlueDress/School
Programming Basics C#/Draw-with- Loops/Rectangle of 10x10 Stars/Properties/AssemblyInfo.cs
1,424
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
41.970297
214
0.603916
[ "Apache-2.0" ]
ArthurAsenheimer/Lean
Common/Brokerages/KrakenBrokerageModel.cs
8,478
C#
using System.Drawing; using Top_Down_shooter.Scripts.Source; namespace Top_Down_shooter.Scripts.Renders { interface IAnimationRender : IRender { void Draw(D2DGraphicsDevice device, Point startSlice, Size sizeSlice); void PlayAnimation(); void ChangeTypeAnimation(); } }
20.666667
78
0.716129
[ "MIT" ]
TheTMGaming/Draft
Scripts/Renders/IAnimationRender.cs
312
C#
using System; using Fork.ViewModel; namespace Fork.Logic.Model.ProxyModels { public class NetworkForkServer : NetworkServer { private string motdEscaped; public string Name { get; set; } public string Motd { get { return motdEscaped.Replace("\\n", "\n"); } ...
32.826087
201
0.611921
[ "MIT" ]
42sol-eu/Fork
logic/model/ProxyModels/NetworkForkServer.cs
1,510
C#
using System.Diagnostics; using System.Windows.Forms; using Microsoft.Win32; namespace KBS.Modules { internal class PowerLineModule : Module { private PowerLineStatus _currentPowerLineStatus; /// <summary> /// Module constructor ///Subscribe module on event and depending on t...
35.716667
112
0.536864
[ "MIT" ]
Kriger/KrimmelBatterySaver
KBS/Modules/PowerLineModule.cs
4,288
C#
using System; class RollingHash { public long Data { get; private set; } public long Size { get; private set; } private const long alphabetSize = 255; public void Append(char c) { Data = (Data * alphabetSize + c); Size++; } public void Skip(char c) { Data = Data - (lo...
23.42623
66
0.482855
[ "MIT" ]
Gerula/interviews
VariousArtists/karp_rabin.cs
1,429
C#
// Copyright 2018 Andrew White // // 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 applicab...
36.692308
78
0.701258
[ "Apache-2.0" ]
GordonBlahut/Finbuckle.MultiTenant
src/Finbuckle.MultiTenant.AspNetCore/Internal/Constants.cs
956
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("Rec...
37.837838
84
0.749286
[ "MIT" ]
galin-kostadinov/Software-Engineering
C#/Programming Basics with C#/01. First Steps in Coding/RectangularArea/RectangularArea1/Properties/AssemblyInfo.cs
1,403
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...
38.676056
153
0.638747
[ "MIT" ]
hchungmsft/azure-powershell
src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/AutoscaleTests.cs
2,678
C#
using UnityEngine; using UnityEditor; using mulova.commons; using System.Collections.Generic.Ex; namespace mulova.unicore { public class AssetLabel : EnumClass<AssetLabel> { public static readonly AssetLabel ALPHA_SD = new AssetLabel("Alpha_sd"); private AssetLabel(string label) : base(la...
24.933333
80
0.486631
[ "MIT" ]
mulova/commons
Editor/config/AssetLabel.cs
750
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
30.967742
85
0.548438
[ "MIT" ]
pahomovda/airports-database-aspmvc
FlightsASPMVC/Models/passenger.cs
1,920
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
56.044776
157
0.748069
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-cloudphoto/CloudPhoto/Transform/V20170711/FetchMomentPhotosResponseUnmarshaller.cs
3,755
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Abp.Authorization.Users; using Abp.Domain.Services; using Abp.IdentityFramework; using Abp.Runtime.Session; using Abp.UI; using expensejar.Aut...
30.610619
157
0.602775
[ "MIT" ]
raxIsBlur/expensejar
aspnet-core/src/expensejar.Core/Authorization/Users/UserRegistrationManager.cs
3,461
C#
using StackExchange.Redis; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace Zzll.Net.Framework.RedisMQ { /// <summary> /// Redis缓存数据库处理 /// </summary> public class RedisClient : IDisposable { ...
29.908555
120
0.490614
[ "Apache-2.0" ]
AClumsy/ALCoder
AL.Framework.Net/RedisMQ/RedisClient.cs
31,665
C#
namespace FitPlan.Schedule { using System; using System.Collections; using System.ComponentModel; public class DayCollection : CollectionBase { public event CollectionChangeEventHandler CollectionChanged; public DayCollection() { } public Day this[int inde...
27.73
118
0.547061
[ "Apache-2.0" ]
mechgt/fitplan
FitPlan/Schedule/DayCollection.cs
2,775
C#
using System; using FluentAssertions; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Protocol.Models; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; using Xunit; namespace Lsp.Tests.Models { public class DocumentFormattingParamsT...
31.516129
116
0.647902
[ "MIT" ]
kamit9171/csharp-language-server-protocol
test/Lsp.Tests/Models/DocumentFormattingParamsTests.cs
977
C#
using PropertyChanged; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ee.iLawyer.Ops.Contact.DTO { /// <summary> /// 法院信息 /// </summary> [AddINotifyPropertyChangedInterface] [DataCont...
21.455882
45
0.483208
[ "Apache-2.0" ]
Egoily/iLawyer
02.Domain/ee.iLawyer.Ops.Contact/DTO/Court.cs
1,501
C#
using System; using System.IO; using System.Linq; namespace GBAEmulator.Memory.Backup { class BackupSRAM : IBackup { byte[] Storage = new byte[0x8000]; public void Init() { for (int i = 0; i < 0x8000; i++) { Storage[i] = 0xff; } ...
24.035714
108
0.465825
[ "MIT" ]
DenSinH/GBAC-
GBAEmulator/Memory/Backup/Memory.Backup.SRAM.cs
1,348
C#
using System; using System.Collections.Generic; namespace Database { public class DupesVsSolidTransferArmFetch : ColonyAchievementRequirement, AchievementRequirementSerialization_Deprecated { public float percentage; public int numCycles; public int currentCycleCount; public bool armsOutPerformingDupesThi...
27.272727
192
0.731333
[ "MIT" ]
undancer/oni-data
Managed/main/Database/DupesVsSolidTransferArmFetch.cs
1,500
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace batch08162021dockerdemo { public class Program { ...
26.111111
70
0.651064
[ "MIT" ]
08162021-dotnet-uta/08162021-batch-repo
demos/DockerDemo/batch08162021dockerdemo/Program.cs
705
C#
using System.ComponentModel.Composition; using AssemblyToProcess.Core; namespace AssemblyToProcess.Signed { [Export(typeof(IExportable))] public class AlreadyExportedInstance : IExportable { } }
19.363636
54
0.760563
[ "MIT" ]
jasonwoods-7/Vandelay.PostSharp
Tests/AssemblyToProcess/Signed/AlreadyExportedInstance.cs
215
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace rdip_server { interface IPacketReceiver { void receivePacket(string addr, int port, string packet); } }
18
66
0.683761
[ "BSD-3-Clause" ]
cheesestraws/rdip
rdip-server/rdip-server/IPacketReceiver.cs
236
C#
using System; using FluentMigrator.Runner.Generators.Oracle; using NUnit.Framework; using NUnit.Should; namespace FluentMigrator.Tests.Unit.Generators.Oracle { [TestFixture] public class OracleDataTests : BaseDataTests { protected OracleGenerator Generator; [SetUp] public void Setu...
39.090909
139
0.632285
[ "Apache-2.0" ]
quesadaao/fluentmigrator
test/FluentMigrator.Tests/Unit/Generators/Oracle/OracleDataTests.cs
7,310
C#
using System; using System.Threading.Tasks; using RetailOnTheEdge.Web.Models; namespace RetailOnTheEdge.Web.Services.Interfaces { public interface IIoTCentralService { Task<IoTCentralApiDeviceState> GetDeviceState(); Task SetVideoPathProperty(string value); } }
19.857143
52
0.791367
[ "MIT" ]
AIcadium/IoTDemos
RetailDemo/src/RetailOnTheEdge.Web/Services/Interfaces/IIoTCentralService.cs
278
C#
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class WalletExplorerView : UserControl { public WalletExplorerView() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } } }
16.105263
50
0.748366
[ "MIT" ]
0racl3z/WalletWasabi
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerView.xaml.cs
306
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 ...
43.317585
187
0.571619
[ "MIT" ]
MSHOY/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Avx2/Blend.Int16.4.cs
16,504
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace System.Data.Entity.Migrations.Infrastructure { using System.Collections.Generic; using System.Data.Common; using System.Data.Entity.Core.Common.Command...
37.155642
145
0.543879
[ "MIT" ]
dotnet/ef6tools
src/EntityFramework/Migrations/Infrastructure/ModificationCommandTreeGenerator.cs
19,100
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Ecs.V2.Model { /// <summary> /// Response Object /// </summary> public...
26.855263
78
0.517883
[ "Apache-2.0" ]
Huaweicloud-SDK/huaweicloud-sdk-net-v3
Services/Ecs/V2/Model/BatchDeleteServerNicsResponse.cs
2,105
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("Feat...
37.378378
84
0.746927
[ "MIT" ]
carlosefrias/csharp-linq-learning
Introduction/Features/Properties/AssemblyInfo.cs
1,384
C#
using System; using UnityEngine; namespace GraphQlClient.EventCallbacks { public abstract class Event<T> where T : Event<T> { /* * The base Event, * might have some generic text * for doing Debug.Log? */ public string Description; private bool hasFired;...
27.243243
121
0.5625
[ "Apache-2.0" ]
Chefty/graphQL-client-unity
Assets/graphQl-client/Scripts/EventCallbacks/Event.cs
1,010
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { /// <summary> /// The order of the chat in the chat list has changed. Instead of this update updateChatLastMessage, updateChatIsPinned...
35.734694
197
0.515134
[ "MIT" ]
slctr/tdsharp
TDLib.Api/Objects/UpdateChatOrder.cs
1,751
C#
using UnityEngine; namespace FairyGUI { /// <summary> /// /// </summary> public class TextFormat { /// <summary> /// /// </summary> public int size; /// <summary> /// /// </summary> public string font; /// <summary> /// /// </summary> public Color color; /// <summary> /// //...
18.473684
61
0.57265
[ "MIT" ]
corefan/CatLib
CatLib.Unity/Assets/CatLib/Lib/FairyGUI/FairyGUI/Core/Text/TextFormat.cs
2,108
C#
using _2STBV.Common.Classes; using _2STBV.Util; using System.Configuration; using System.Net; using System.Net.Http; using System.Web.Http; namespace _2STBV.Controllers { public class AuthenticationController : ApiController { private string _telegramApiUrl; public AuthenticationController() ...
27.448276
103
0.677136
[ "MIT" ]
azzimuth/2STBV
2STBV/Controllers/AuthenticationController.cs
798
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using BTCPayServer.Payments; using BTCPayServer.Services; using Microsoft.AspNetCore.Mvc.Rendering; namespace BTCPayServer.Models.StoreViewModels { public class CheckoutAppearanceViewModel { ...
35.793103
151
0.618818
[ "MIT" ]
BTCparadigm/btcpayserver
BTCPayServer/Models/StoreViewModels/CheckoutAppearanceViewModel.cs
3,114
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Alabo.Domains.Entities; using Alabo.Domains.Repositories.Mongo.Extension; using Alabo.Industry.Shop.AfterSales.Domain.Enums; using MongoDB.Bson; using Newtonsoft.Json; namespace Ala...
25.671875
88
0.53804
[ "MIT" ]
tongxin3267/alabo
src/04.industry/02-Alabo.Industry.Shop/AfterSales/Domain/Entities/AfterSale.cs
1,791
C#
// https://github.com/electron/electron/blob/master/atom/common/keyboard_util.cc using System; namespace WebSharpJs.Electron { internal static class KeyboardUtilities { public static (string, bool) KeyboardCodeFromCharCode(char c) { c = Char.ToLower(c); bool shifted =...
40.317757
81
0.388271
[ "MIT" ]
xamarin/WebSharp
electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/KeyboardUtilities.cs
4,316
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Security; using System.Threading; namespac...
35.446345
171
0.568445
[ "MIT" ]
6opuc/coreclr
src/System.Private.CoreLib/shared/System/Runtime/Serialization/SerializationInfo.cs
22,792
C#
using System; using System.Collections.Generic; using System.Text; namespace Spice.Exceptions { class ParseException : SpiceException { public ParseException(string message) : base(message) { } } }
16.857143
61
0.661017
[ "MIT" ]
Slord6/Spice
Spice/Spice/Exceptions/ParseException.cs
238
C#
namespace Cedar.CommandHandling.Http { using System; using System.IO; /// <summary> /// Represents an operation to custom deserialize a command. /// </summary> /// <param name="commandReader">The command reader.</param> /// <param name="commandType">Type of the command.</param> /// <ret...
29.666667
64
0.658427
[ "MIT" ]
heynickc/Cedar.CommandHandling
src/Cedar.CommandHandling.Http/Http/DeserializeCommand.cs
445
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimulareExamenProblema2 { public class Rectangle : Shape { public Rectangle(Point topLeft, int width, int height) { // make sure that topLeft is not null be...
33.220588
94
0.558212
[ "MIT" ]
UEO-BazeleInformaticii-2021/simulare-examen-pb2
SimulareExamenProblema2/SimulareExamenProblema2/Rectangle.cs
2,261
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> //--...
43.953125
191
0.616424
[ "MIT" ]
jemd321/Bioinformatics-Suite
BioinformaticsSuite.Shell/Properties/Resources.Designer.cs
2,815
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace genshin_sim { public enum ElementalReactions { None, VaporizePyro, VaporizeHydro, MeltPyro, MeltCryo, Superconduct, Swirl, ...
27.333333
128
0.4772
[ "MIT" ]
SoildFaker/genshin_sim
Enemy.cs
1,910
C#
using System.Windows.Forms; namespace PSY_questionary { partial class Form1 { /// <summary> /// 設計工具所需的變數。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清除任何使用中的資源。 /// </summary> /// <param name="d...
46.480861
130
0.588708
[ "MIT" ]
leon123858/questionareSystem
ACS/PSY_questionary/PSY_questionary/Form1.Designer.cs
19,891
C#
using System; using System.Collections.Generic; using System.Linq; using SharpFightingEngine.Engines; using SharpFightingEngine.Engines.Ticks; using SharpFightingEngine.Fighters; using SharpFightingEngine.Skills.Conditions; using SharpFightingEngine.Skills.General; using SharpFightingEngine.Utilities; namespace Sharp...
25.816327
137
0.717787
[ "Unlicense" ]
Alexxtheonly/SharpFightingEngine
SharpFightingEngine.Skills/Melee/CripplingSmash.cs
1,267
C#
using Common.Server.Interfaces; using SocksTunnel.Interfaces; using System; using System.Collections.Generic; using SharpSocksServer.Source.ImplantCommsHTTPServer.Interfaces; using SharpSocksServer.Source.Transport.SSL; using System.Security.Cryptography.X509Certificates; using System.Collections; using System.Resourc...
34.867347
150
0.619257
[ "BSD-3-Clause" ]
FDlucifer/SharpSocks
SharpSocksServer/SharpSocksServerCore/ImplantCommsHTTPServer/Classes/HTTPAsyncListener.cs
3,419
C#
using FluentValidation; namespace Application.Features.PedidosDet.Commands.EliminarPedidosCommand { public class EliminarPedidoDetValidation : AbstractValidator<EliminarPedidoDetCommand> { public EliminarPedidoDetValidation() { RuleFor(p => p.Id) .NotNull().WithMess...
31.2
90
0.647436
[ "MIT" ]
NSysX/NSysC
NSysApiPedidos/src/Core/Application/Features/PedidosDet/Commands/EliminarPedidosCommand/EliminarPedidoDetValidation.cs
470
C#