content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
namespace CarDealer.Web.Controllers { using CarDealer.Services; using CarDealer.Web.Models.Cars; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using System.Collections.Generic; using System.Linq; [Route("car")] p...
27.755319
78
0.543503
[ "MIT" ]
NikolaVodenicharov/ASP.NET-Core
CarDealer/CarDealer.Web/Controllers/CarController.cs
2,611
C#
using System; using System.Threading.Tasks; namespace Havit.Blazor.Components.Web { public interface IHxMessageBoxService { Task<MessageBoxButtons> ShowAsync(MessageBoxRequest request); Func<MessageBoxRequest, Task<MessageBoxButtons>> OnShowAsync { get; set; } } }
21.153846
76
0.789091
[ "MIT" ]
havit/Havit.Blazor
Havit.Blazor.Components.Web/Dialogs/IHxMessageBoxService.cs
277
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="[PROJECT_NAME_CLASSNAME_PREFIX]DummyFactory.designer.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // <auto-generated> //...
34.888889
126
0.572611
[ "MIT" ]
NaosProject/Naos.Build
Conventions/VisualStudioProjectTemplates/Domain.Test/[PROJECT_NAME_CLASSNAME_PREFIX]dummyfactory.designer.cs
1,572
C#
using Servant.Service.Implemention.Injector; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle builder.Services.AddEndpointsApiExplorer(); builder.Services.Add...
21.451613
88
0.766917
[ "Apache-2.0" ]
Ftmco/Identity
Identity/Server/Identity.Server.Api/Program.cs
665
C#
using System; using System.Collections.Generic; using System.Xml; namespace IDevTrack.Coder.Document { /// <summary> /// This class is used for storing the state of a bookmark manager /// </summary> public class BookmarkManagerMemento { List<int> bookmarks = new List<int>(); /// <value> /// Contains al...
24.147368
77
0.653444
[ "MIT" ]
rayscc/dev-track
000/Coder/Document/BookmarkManager/BookmarkManagerMemento.cs
2,296
C#
using System.Threading; using System.Threading.Tasks; using BoltOn.Logging; using BoltOn.Requestor.Pipeline; namespace BoltOn.Tests.Bus.Fakes { public class CreateTestStudent : IRequest { public string FirstName { get; set; } } public class CreateTestStudentHandler : IHandler<CreateTestStudent> { p...
26.517241
101
0.702211
[ "MIT" ]
BoltOnSuite/BoltOn
tests/BoltOn.Tests/Bus/Fakes/CreateTestStudentHandler.cs
771
C#
using System; using System.Collections.Generic; using System.Text; using Discord; using Discord.WebSocket; using Discord.Commands; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Threading.Tasks; namespace ArbitesLog { public class GenUtilModu...
49.566667
596
0.754539
[ "MIT" ]
primebie1/ArbitesLog
ArbitesLog/GenUtilModule.cs
1,489
C#
using System.ComponentModel; using System.Runtime.CompilerServices; using Uno; using Uno.Diagnostics.Eventing; using Uno.UI.DataBinding; using Windows.ApplicationModel.Core; using Windows.Foundation; using Windows.Foundation.Metadata; using Windows.UI.Core; using Windows.UI.Xaml.Data; namespace Windows.UI.Xaml.Control...
26.092511
424
0.794699
[ "MIT" ]
ljcollins25/Codeground
src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Controls/RatingItemInfo.cs
5,923
C#
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. namespace CppAst.CodeGen.CSharp { public class DefaultEnumItemConverter: ICSharpConverterPlugin { public void Register(CSharpConve...
41.385965
154
0.597711
[ "BSD-2-Clause" ]
StephenHodgson/CppAst.CodeGen
src/CppAst.CodeGen/CSharp/Plugins/DefaultEnumItemConverter.cs
2,361
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 Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; namespace BasicLinkedApp; public class Startup { public void Co...
20.4375
71
0.724771
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Hosting/test/testassets/BasicLinkedApp/Startup.cs
654
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace P03_SalesDatabase.Data.Migrations { public partial class SalesAddDateDefault : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<DateTime>( ...
31.511111
71
0.530324
[ "MIT" ]
nikolayvutov/Database-Fundamentals
02.Database-Advanced/04.Code-First/SalesDatabase/Data/Migrations/20180709202719_SalesAddDateDefault.cs
1,420
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayCommerceEducateEdumigrateMigrateserviceModifyModel Data Structure. /// </summary> [Serializable] public class AlipayCommerceEducateEdumigrateMigrateserviceModifyModel : AopObject { ...
25.56
86
0.58216
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/AlipayCommerceEducateEdumigrateMigrateserviceModifyModel.cs
695
C#
#region Using using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.IO; using System.Reflection; using PocoGenerator.Generators.Interfaces; using PocoGenerator.Models; using RazorEngine; using RazorEngine.Templating; #endregion namespace PocoGenerator.Generator...
34.350575
166
0.512632
[ "MIT" ]
ockertv/PocoGenerator
src/PocoGenerator/Generators/MsSqlGenerator.cs
5,979
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
30.988636
90
0.56509
[ "Apache-2.0" ]
370041597/WeiXinMPSDK
src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/DataCube/DataCubeJson/GetWeAnalysisAppidWeeklyVisitTrendResultJson.cs
3,079
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.783784
84
0.747496
[ "MIT" ]
delian1986/C-SoftUni-repo
Fundamentals of Programming/07. Exam Preparation/SampleExam/04.DragonArmyMy/Properties/AssemblyInfo.cs
1,401
C#
//----------------------------------------------------------------------------- // Filename: RTPTestStreamSink.cs // // Description: Sink for sending RTP streams to for diagnsotic or measuremnent // purposes. // // History: // 24 May 2005 Aaron Clauson Created. // // License: // Aaron Clauson //-----------------------...
44.838671
281
0.536707
[ "BSD-3-Clause" ]
Rehan-Mirza/sipsorcery
sipsorcery-core/SIPSorcery.Net/RTP/RTPSink.cs
37,799
C#
using UnityEngine; namespace Com.LuisPedroFonseca.ProCamera2D.Platformer { [RequireComponent(typeof(CharacterController))] public class PlayerInput : MonoBehaviour { public Transform Body; // Player Handling public float gravity = 20; public float runSpeed = 12; pub...
29.076087
124
0.514393
[ "MIT" ]
AlexandrKlimkin/StickmanWars
Assets/ProCamera2D/Examples/Platformer/Scripts/Player/PlayerInput.cs
2,675
C#
namespace Imagin.Common.Data { public enum DateTimeFormat { Picker, Relative, UpDown } }
13.888889
30
0.552
[ "BSD-2-Clause" ]
fritzmark/Imagin.NET
Imagin.Common/Data/Formats/DateTimeFormat.cs
127
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AllocateExportSlotsToExperiments.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License")...
41.433962
137
0.583333
[ "Apache-2.0" ]
bewood/OpenAdStack
DynamicAllocation/SellSideAllocationEngine/AllocateExportSlotsToExperiments.cs
2,198
C#
using System; namespace SPICA.Serialization.Attributes { [AttributeUsage(AttributeTargets.Field)] class RepeatPointerAttribute : Attribute { } }
19.375
48
0.767742
[ "Unlicense" ]
AkelaSnow/SPICA
SPICA/Serialization/Attributes/RepeatPointerAttribute.cs
157
C#
using System; using System.Collections.Generic; using BenchmarkDotNet.Attributes; namespace Collections.Pooled.Benchmarks.PooledQueue { #if NETCOREAPP2_2 [CoreJob] #elif NET472 [ClrJob] #endif [MemoryDiagnoser] public class Queue_Peek : QueueBase { [Benchmark(Baseline = true)] publ...
24.298077
71
0.436486
[ "MIT" ]
ipavel83/Collections.Pooled
Collections.Pooled.Benchmarks/PooledQueue/Queue.Peek.cs
2,529
C#
/* AspxCommerce® - http://www.aspxcommerce.com Copyright (c) 2011-2015 by AspxCommerce 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...
41.21978
249
0.677686
[ "MIT" ]
AspxCommerce/AspxCommerce2.7
SageFrame/Modules/AspxCommerce/AspxTagsManagement/AllTags.ascx.cs
3,754
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V281.Segment; using NHapi.Model.V281.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V281.Group { ///<summary> ///Represents the ORL_O43_SPECIMEN Group. A Group is an ordered coll...
30.118644
154
0.700394
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V281/Group/ORL_O43_SPECIMEN.cs
8,885
C#
using System; using System.Collections.Generic; using System.Text; using AgateLib.Drivers; using Tao.Sdl; namespace AgateSDL { using Audio; using Input; class Reporter : AgateDriverReporter { public override IEnumerable<AgateDriverInfo> ReportDrivers() { if...
22.875
69
0.468124
[ "MIT" ]
dtsudo/DT-Danmaku
Dependencies/AgateLib/Agate031/Source/Drivers/AgateSDL/Reporter.cs
1,100
C#
using System.Text.RegularExpressions; using Abp.Extensions; namespace SuperRocket.AspNetCoreAngular.Validation { public static class ValidationHelper { public const string EmailRegex = @"^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"; public static bool IsEmail(string value) { ...
23.545455
91
0.53668
[ "MIT" ]
dystudio/SuperRocket.AspNetCoreAngular
aspnet-core/src/SuperRocket.AspNetCoreAngular.Core/Validation/ValidationHelper.cs
520
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KPU_Assembler { public partial class LowLevelAssemblyVisitor<Result> : LowLevelAssemblyBaseVisitor<Result> { /// <summary> /// JNZ /// </summary> /// <p...
25.5
94
0.630719
[ "MIT" ]
KPU-RISC/KPU
Assembler/KPU.Assembler/LowLevel/JNZ.cs
614
C#
using ApiServer.BLL.IBLL; using ApiServer.Model.Entity; using ApiServer.Model.Model; using ApiServer.Model.Model.MsgModel; using ApiServer.Model.Model.Nodes; using ApiServer.Model.Model.ViewModel; using Mapster; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Task...
31.044304
128
0.556983
[ "MIT" ]
jinjupeng/Item.ApiServer
ApiServer/Controllers/SysMenuController.cs
5,125
C#
using CookPopularCSharpToolkit.Windows; using System; using System.Globalization; using System.Windows.Data; using System.Windows.Markup; /* * Copyright (c) 2021 All Rights Reserved. * Description:WaveProgressBarConverter * Author: Chance_写代码的厨子 * Create Time:2021-03-15 16:37:20 */ namespace CookPopularControl...
25.305556
103
0.670692
[ "Apache-2.0" ]
Muzsor/CookPopularControl
CookPopularControl/Communal/Converters/WaveProgressBarConverters.cs
931
C#
using System; using Box2D; namespace Dorothy.Game { public delegate void SensorHandler(Unit sensorUnit, Unit sensedUnit); public class Sensor : IDisposable { private int _max; private int _count; private Unit[] _sensedUnit; private bool _enable = true; private Fixture _fixture; private Uni...
17.711864
71
0.549282
[ "MIT" ]
IppClub/Dorothy-Xna
Dorothy/Game/Sensor.cs
2,092
C#
using Akka.Actor; using Neo.Ledger; using Neo.Network.P2P.Payloads; using Neo.Properties; using Neo.SmartContract; using Neo.Wallets; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Neo.UI { partial class DeveloperToolsForm { private ContractPara...
37.203883
163
0.586378
[ "MIT" ]
edmhs/neo-gui
neo-gui/UI/DeveloperToolsForm.ContractParameters.cs
3,832
C#
//Copyright (C) 2005 Richard J. Northedge // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // T...
43.641791
134
0.71751
[ "MIT" ]
arghyabiswas/bnlp
DBNLP/OpenNLP/Tools/NameFind/INameContextGenerator.cs
2,924
C#
using MetalUp.FunctionalLibrary; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FunctionalLibraryTest { [TestClass] public class Sort : TestBase { #region Ascending [TestMethod] public void Sort1() { var list = FList.New(7,1,4,6,3,2,5); ...
28.460177
72
0.484453
[ "MIT" ]
MetalUp/FunctionalLibrary
FunctionalLibraryTest/Sort.cs
3,218
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("Fam...
37.837838
84
0.750714
[ "MIT" ]
kvprasoon/SHiPS
samples/FamilyTreeInCSharp/Properties/AssemblyInfo.cs
1,403
C#
using Newtonsoft.Json; using PaisleyPark.Models; using Prism.Commands; using Prism.Mvvm; using System; using System.Windows; using System.Windows.Input; namespace PaisleyPark.ViewModels { public class ImportHotkeyViewModel : BindableBase { public string ImportText { get; set; } public bool? DialogResult { get; ...
31.132075
154
0.724242
[ "MIT" ]
MGlolenstine/PaisleyPark
PaisleyPark/ViewModels/ImportHotkeyViewModel.cs
1,652
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> //--...
40.351648
203
0.590686
[ "MIT" ]
danielplawgo/EnumLocalization
EnumLocalization/EnumLocalization/Resources/OrderStatusResources.Designer.cs
3,674
C#
using System.Reflection; 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("Sandbox")] [assembly: AssemblyDescription...
37.444444
84
0.739614
[ "MIT" ]
ehailey1/treehopper-sdk
NET/Apps/Sandbox/Properties/AssemblyInfo.cs
1,351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using DevIO.Business.Intefaces; using DevIO.Business.Models; using DevIO.Data.Context; using Microsoft.EntityFrameworkCore; namespace DevIO.Data.Repository { public abstract class Reposi...
25.626866
98
0.5894
[ "MIT" ]
AndreFrateschi/ProjetoBaseCore
src/DevIO.Data/Repository/Repository.cs
1,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace DataAccessLayer.Abstract { public interface IRepository<T> { List<T> List(); void Insert(T p); T Get(Expression<Func<T, bool>> ...
17.307692
55
0.64
[ "MIT" ]
RabiaSalman/MvcProject
MvcProjeKampi/MvcProje/DataAccessLayer/Abstract/IRepository.cs
452
C#
using System; using System.Linq; using System.Collections.Generic; //abc188_c namespace _3 { class Program { static void Main(string[] args) { var n = long.Parse(Console.ReadLine()); var a = Console.ReadLine().Split() .Select((x,i) => (index:i,value:long...
24.828571
74
0.383199
[ "CC0-1.0" ]
curryudon08/Atcoder
VirtualContest/008/3/Program.cs
871
C#
namespace Any.Core.Domain.Catalog { /// <summary> /// Product review approved event /// </summary> public class ProductReviewApprovedEvent { /// <summary> /// Ctor /// </summary> /// <param name="productReview">Product review</param> public ProductReviewApprov...
25.090909
70
0.561594
[ "MIT" ]
BoyFaceGirl/AnyFx
Libraries/Any.Core/Domain/Catalog/Events.cs
552
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using XrmSpeedyUI; namespace XrmSpeedy.Controls { public partial class Connection_SQLServer : UserControl { public Con...
31.232877
158
0.609211
[ "MIT" ]
devkeydet/migrate2cds
XrmSpeedyUI/Controls/Connection_SQLServer.cs
2,282
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Composition; using System.Diagnostics; using System.Linq; using System.Threading; using System.T...
44.334728
249
0.587156
[ "Apache-2.0" ]
DaiMichael/roslyn
src/Features/CSharp/Portable/GenerateType/CSharpGenerateTypeService.cs
42,386
C#
using Capital.GSG.FX.Data.Core.AccountPortfolio; using Capital.GSG.FX.Data.Core.ContractData; using Capital.GSG.FX.Utils.Core; using static StratedgemeMonitor.Utils.FormatUtils; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace StratedgemeMonitor...
41.620513
210
0.590069
[ "MIT" ]
gsgfintech/monitoring-aspnetcore
StratedgemeMonitor/Models/PnLs/PnLModel.cs
8,118
C#
using System; namespace Nethereum.JsonRpc.Client { public class RpcClientTimeoutException : Exception { public RpcClientTimeoutException(string message) : base(message) { } public RpcClientTimeoutException(string message, Exception innerException) : base(message, innerExcepti...
20.705882
114
0.664773
[ "MIT" ]
6ara6aka/Nethereum
src/Nethereum.JsonRpc.Client/RpcClientTimeoutException.cs
354
C#
using LVK.Tests.Framework; using NUnit.Framework; namespace LVK.Storage.Addressable.PathBased.Tests { [TestFixture] public class PublicApiTests : PublicApiTestsBase<ServicesBootstrapper> { } }
19.090909
74
0.757143
[ "MIT" ]
FeatureToggleStudy/LVK
tests/LVK.Storage.Addressable.PathBased.Tests/PublicApiTests.cs
210
C#
using BepuPhysics.Collidables; using BepuPhysics.CollisionDetection; using System; using System.Collections.Generic; using System.Numerics; using System.Text; namespace BepuPlugin { public class CollisionEvent { CollidableReference eventSource; CollidablePair pair; Vector3 contactOffse...
32.136364
126
0.659123
[ "MIT" ]
AnomalousMedical/Adventure
BepuPlugin/Collision/CollisionEvent.cs
1,416
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.CommandLine; using System.CommandLine.Invocation; using System.IO; using Newtonsoft.Json; namespace TranscriptConverter { public class ConvertTranscriptHandler { /// <summary> ...
34.619718
151
0.555736
[ "MIT" ]
QPC-database/botframework-components
tests/functional/Libraries/TranscriptConverter/ConvertTranscriptHandler.cs
2,460
C#
using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; namespace Ruzzie.Common.Security.UnitTests { [TestFixture] public class EncryptionServiceTests { [Test] [TestCase("1")] [TestCase("p@assW0Rd!")] [TestCase("09789...
42.594595
116
0.699239
[ "MIT" ]
Ruzzie/Ruzzie.Common.Security
source/Ruzzie.Common.Security.UnitTests/EncryptionServiceTests.cs
1,576
C#
using System; using Newtonsoft.Json; using System.Xml.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// KoubeiTradeTicketTicketcodeQueryModel Data Structure. /// </summary> [Serializable] public class KoubeiTradeTicketTicketcodeQueryModel : AlipayObject { ...
25
69
0.605714
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiTradeTicketTicketcodeQueryModel.cs
744
C#
using System; using System.Collections.Generic; namespace TerritoryTools.Web.MainSite.Models { public class AssignmentHistoryReport { public List<AssignmentRecord> Records = new List<AssignmentRecord>(); } public class AssignmentRecord { public string TerritoryNumber { get; set; } ...
27.75
77
0.652252
[ "MIT" ]
territorytools/territory-tools
Web/MainSite/Models/AssignmentHistoryReport.cs
555
C#
// Copyright (c) 2021 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System.Reflection; using...
41.826087
77
0.777547
[ "MIT" ]
Awsmolak/ReactiveUI
integrationtests/IntegrationTests.XamarinForms.UWP/Properties/AssemblyInfo.cs
965
C#
/* * MIT License * * Copyright (c) 2019 plexdata.de * * 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, m...
34.318302
101
0.592286
[ "MIT" ]
akesseler/Plexdata.CfgParser
code/src/Plexdata.CfgParser.NET.Tests/Entities/ConfigHeaderTests.cs
12,940
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.Reflection; namespace Microsoft.EntityFrameworkCore.Infrastructure { /// <summary> /// <para> /// Extension methods for <see cref="MethodInfo" /...
44.763158
148
0.614932
[ "MIT" ]
MessiDaGod/efcore
src/EFCore/Infrastructure/MethodInfoExtensions.cs
1,701
C#
// *********************************************************************** // Copyright (c) Charlie Poole and TestCentric GUI contributors. // Licensed under the MIT License. See LICENSE file in root directory. // *********************************************************************** using NUnit.Framework; using NSub...
45.91195
140
0.64411
[ "MIT" ]
YashUoM/testcentric-gui
src/Experimental/tests/Presenters/StatusBarPresenterTests.cs
7,300
C#
using System; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; namespace jaytwo.ejson.example.AspNet4_6_1 { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { AreaRegistration.Reg...
30.1
70
0.699336
[ "MIT" ]
jakegough/jaytwo.ejson
examples/jaytwo.ejson.example.AspNet4_6_1/Global.asax.cs
604
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; // The core npc decision manager system. Used by AI actors as it evaluates conditions // and executes responses when those conditions are met [System.Serializable] public class npcDecisionMgr{ public List<npcInteraction> interactions; ...
18.214286
86
0.723529
[ "MIT" ]
rosco-y/Geography-Quest
GeographyQuest/Assets/(ImportedSources)/Chapter6/npcDecisionMgr.cs
512
C#
namespace UIControls.Core { public class Constants { public const string AppDataDirName = @"TortoiseRally"; } }
14.75
56
0.737288
[ "MIT" ]
azarkevich/TortoiseRally
UIControls/Core/Constants.cs
120
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Net; using System.IO; namespace KdGoldAPI { public class KdApiSearchDemo { //电商ID private string EBusinessID = "1237100"; //电商加密私钥,快递鸟提供,注意保管,不要泄漏 private strin...
35.134615
182
0.505017
[ "MIT" ]
wannvmi/Kdniao.Core
official-demo/KdApiSearchDemo(.NET)/KdApiSearchDemo.cs
5,725
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. // 어셈블리와 관련된 정보를 수정하려면 // 이 특성 값을 변경하십시오. [assembly: AssemblyTitle("MobileServer")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: A...
29.513514
57
0.67674
[ "MIT" ]
shlee322/Netronics
example/Mobile/Server/Properties/AssemblyInfo.cs
1,529
C#
// Copyright (c) Zolution Software Ltd. All rights reserved. // Licensed under the MIT License, see LICENSE.txt in the solution root for license information using System; namespace Rezolver.Options { /// <summary> /// A suggested base class to use for custom container options to be read/written through exte...
46.795181
158
0.639289
[ "MIT" ]
LordZoltan/Rezolver
src/Rezolver/Options/ContainerOption`1.cs
3,886
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Vibrant.Tsdb { public class AggregatedField { public AggregatedField() { } public AggregatedField( string field, AggregationFunction function ) { ...
17.740741
74
0.645094
[ "MIT" ]
MikaelGRA/Tsdb
src/Vibrant.Tsdb/AggregatedField.cs
481
C#
namespace CBEApp.Migrations { using System; using System.Data.Entity.Migrations; public partial class Upgraded_To_Abp_v4_7_0 : DbMigration { public override void Up() { DropIndex("dbo.AbpSettings", new[] { "TenantId" }); DropIndex("dbo.AbpSettings", new[] { "...
30.652174
97
0.553191
[ "MIT" ]
MikeGitIt/CBEApp
src/CBEApp.EntityFramework/Migrations/201907021413234_Upgraded_To_Abp_v4_7_0.cs
705
C#
using UnityEngine; namespace UniTools.IO { public abstract class BaseScriptablePath : ScriptableObject { [SerializeField] private string m_value = default; public string Value { set => m_value = value; } public override string ToString() { ...
18.736842
63
0.567416
[ "MIT" ]
UniToolsTeam/unitools-io
Editor/Path/BaseScriptablePath.cs
356
C#
using Kingmaker.Blueprints.Items.Armors; using Kingmaker.Blueprints.JsonSystem; using Kingmaker.UnitLogic.Mechanics.Conditions; namespace TabletopTweaks.NewComponents { [TypeId("5e7a0461a88943ea862df008d52e2cff")] public class ContextConditionHasFreeHand : ContextCondition { public override string Get...
42.689655
122
0.661551
[ "MIT" ]
1onepower/WrathMods-TabletopTweaks
TabletopTweaks/NewComponents/ContextConditionHasFreeHand.cs
1,240
C#
using AngleSharp; using System; using System.Threading.Tasks; namespace Demo03.Tables { class Program { static async Task Main() { var source = @"<!DOCTYPE html> <table> <tr><br></invalid-tag> <th>One</th> <td>Two</td> </tr> <iframe></iframe> </table>...
21.322581
62
0.511346
[ "MIT" ]
AngleSharp/AngleSharp.Demos.DotnetConf
Demo03.Tables/Program.cs
663
C#
using UnityEngine; using UnityEditor; using UnityEngine.ProBuilder; namespace UnityEditor.ProBuilder { /// <inheritdoc /> /// <summary> /// Inspector for working with lightmap UV generation params. /// </summary> [CanEditMultipleObjects] sealed class UnwrapParametersEditor : Editor ...
31
144
0.643418
[ "MIT" ]
ArcaneWizard/Codeday_Test
threeMusks/Library/PackageCache/com.unity.probuilder@4.4.0/Editor/EditorCore/UnwrapParametersEditor.cs
1,147
C#
// // Gendarme.Rules.Performance.RemoveUnneededFinalizerRule // // Authors: // Sebastien Pouliot <sebastien@ximian.com> // // Copyright (C) 2005,2008 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation fi...
31.711268
92
0.692427
[ "MIT" ]
JAD-SVK/Gendarme
rules/Gendarme.Rules.Performance/RemoveUnneededFinalizerRule.cs
4,503
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
32.60596
111
0.571849
[ "MIT" ]
Maruf520/squidex
backend/tests/Squidex.Domain.Apps.Entities.Tests/Comments/CommentTriggerHandlerTests.cs
9,849
C#
using Microsoft.Data.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ToDoList.Models { public class EFItemRepository : IItemRepository { ToDoListContext db = new ToDoListContext(); public EFItemRepository(ToDoListContext ...
20.435484
68
0.482242
[ "MIT" ]
jaywhang83/ToDoWithXUnit
src/ToDoList/Models/Repositories/EFItemRepository.cs
1,269
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
38.147727
129
0.649389
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsApiGatewayCanarySettingsMarshaller.cs
3,357
C#
namespace Atata { /// <summary> /// Represents the button control. Default search is performed by the content and value (button by content text and input by value attribute). Handles any input element with type="button", type="submit", type="reset" or button element. /// </summary> /// <typeparam na...
48.75
240
0.680769
[ "Apache-2.0" ]
Artemyj/atata
src/Atata/Components/Button`2.cs
782
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; namespace Police_Database_System { public partial class Ca...
34.638743
163
0.509069
[ "Apache-2.0" ]
Ashwin1398/Police-Management-System
Cases_UserControl.cs
6,618
C#
using System; using JasperHttp.Routing; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace JasperHttp { internal class RegisterJasperStartupFilter : IStartupFilter ...
33.16129
107
0.475195
[ "MIT" ]
JasperFx/JasperHttp
src/JasperHttp/RegisterJasperStartupFilter.cs
2,056
C#
namespace HostGame { public static class CLRManagerSettings { public static int BucketGCFrequency { get; set; } = -1; //1200; } }
21.428571
71
0.633333
[ "MIT" ]
SanielX/CLR-Update-Manager
Runtime/CLRMangerSettings.cs
152
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Emit; ...
49.580858
221
0.591526
[ "Apache-2.0" ]
pottereric/roslyn
src/Compilers/CSharp/Portable/Compiler/MethodBodySynthesizer.cs
30,048
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; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Contain...
34.309353
151
0.534703
[ "MIT" ]
Henry-YSLin/osu
osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerPlaylist.cs
4,631
C#
using System; namespace ROB.XrmToolBoxPlugins.SecurityRoleMerge { public class RoleOptions { public int Value { get; set; } public string Name { get; set; } public Guid ID { get; set; } //public string ID { get; set; } public RoleOptions(int value, string name, Guid id...
22.157895
59
0.527316
[ "MIT" ]
arirobbins/ROB.XrmToolBoxPlugins.SecurityRoleMerge
ROB.XrmToolBoxPlugins.SecurityRoleMerge.Tool/RoleOptions.cs
423
C#
using System.Collections.Generic; using CoDLuaDecompiler.Decompiler.Analyzers.Havok; namespace CoDLuaDecompiler.Decompiler.Analyzers { public class HavokAnalyzerList : IAnalyzerList { public List<IAnalyzer> GetAnalyzers() { return new List<IAnalyzer>() { ...
35.076923
58
0.560965
[ "MIT" ]
EricYoong/CoDLuaDecompiler
CoDLuaDecompiler.Decompiler/Analyzers/HavokAnalyzerList.cs
2,280
C#
// ------------------------------------------------------------------------- // Copyright © 2021 Province of British Columbia // // 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 // // h...
42.00578
150
0.624329
[ "Apache-2.0" ]
rafaelponcedeleon/embc-ess-mod
ess/src/API/EMBC.ESS/Startup.cs
7,270
C#
// <auto-generated /> using System; using DigitalReceipt.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DigitalReceipt.Data.Migrations { [DbContext(t...
37.367946
125
0.450707
[ "MIT" ]
NaskoVasilev/DigitalReceipt
server/DigitalReceipt/DigitalReceipt.Data/Migrations/ApplicationDbContextModelSnapshot.cs
16,556
C#
// Copyright 2022 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 ...
45.565217
125
0.727099
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.BigQuery.DataTransfer.V1/Google.Cloud.BigQuery.DataTransfer.V1.GeneratedSnippets/DataTransferServiceClient.StartManualTransferRunsRequestObjectAsyncSnippet.g.cs
2,096
C#
using System; using System.Collections.Generic; using System.Text; namespace Eventual.EventStore.Services { public class TypedEventStreamCommit { #region Attributes private Guid aggregateId; private Type aggregateType; private int workingCopyVersion; private string cor...
24.903704
230
0.489887
[ "MIT" ]
robertorodes/Eventual
source/Eventual.EventStore/Services/TypedEventStreamCommit.cs
3,364
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. #pragma warning disable 1591 namespace IdentityServer4.FreeSql.Entities { public class ClientScope { public int Id { get; se...
27.058824
107
0.667391
[ "MIT" ]
xinguisoft/IdentityServer4.FreeSql
src/IdentityServer4.FreeSql/Entities/ClientScope.cs
462
C#
namespace Discordia.Embeds { using System; public abstract class EmbedUrlAttribute : EmbedAttribute { private Uri _uri; public EmbedUrlAttribute(string value) { Value = value; } protected EmbedUrlAttribute() { _uri = null; }...
20.828571
89
0.418381
[ "Unlicense", "MIT" ]
Imbaker1234/CityOfHiddenApes.Discord
Embeds/EmbedUrlAttribute.cs
731
C#
namespace DotNetBungieAPI.Generated.Models.User.Models; public class GetCredentialTypesForAccountResponse { [JsonPropertyName("credentialType")] public BungieCredentialType? CredentialType { get; set; } [JsonPropertyName("credentialDisplayName")] public string? CredentialDisplayName { get; set; } ...
28.941176
61
0.743902
[ "MIT" ]
EndGameGl/DotNetBungieAPI
DotNetBungieAPI.Generated/Models/User/Models/GetCredentialTypesForAccountResponse.cs
492
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System.Diagnostics.Contracts; namespace Sportradar.OddsFeed.SDK.Common.Internal { /// <summary> /// Class providing access to <see cref="ITimeProvider"/> /// </summary> /// <remarks> /// The implementation ...
33.162162
99
0.615322
[ "Apache-2.0" ]
Furti87/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Common/Internal/TimeProviderAccessor.cs
1,229
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; using System.IO; namespace WinFormForRS { public partial class Form5 : Form { ...
35.409836
118
0.550463
[ "MIT" ]
alexfeng/RainWaterStoreForm
WinFormForRS/WinFormForRS/Form5.cs
4,434
C#
namespace AspNetCoreBoilerplateApplication1 { using System.IO; using System.Linq; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; public sealed class Program { private const string HostingJsonFileName = "hosting.json"; public static void Main(stri...
39.365385
107
0.504641
[ "MIT" ]
jramos-br/PlayGround
VS2017-15.9.18/CS/AspNetCoreBoilerplateApplication1/AspNetCoreBoilerplateApplication1/Program.cs
2,049
C#
using System; using System.Collections.Generic; using Common.Messages.Interfaces; namespace Common.Messages.Services { public sealed class MessageService : IMassageService { private static volatile MessageService _instance; private static object _syncRoot = new object(); private Dictio...
30.781609
99
0.486184
[ "Unlicense" ]
guldmann/Sharp-tail
Src/Sharp-tail/Common/Messages/Services/MessageService.cs
2,680
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Xml; using System.Xml.Serialization; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Fram...
25.693333
126
0.601453
[ "MIT" ]
Yash-Codemaster/KoduGameLab
main/Boku/Programming/SaidFilter.cs
1,927
C#
// <copyright file="GroupMember.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.NewHireOnboarding.Models.Graph { using System.Collections.Generic; using Microsoft.Teams.Apps.NewHireOnboarding.Models.SharePoint; using Newtonso...
36.129032
117
0.653571
[ "MIT" ]
v-chetsh/at-arm-test-local
Source/Microsoft.Teams.Apps.NewHireOnboarding/Models/Graph/GroupMember.cs
1,122
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("Pa...
38.081081
84
0.74308
[ "MIT" ]
keigezellig/devicemonitor
Part3/Properties/AssemblyInfo.cs
1,412
C#
 using System.Collections.Generic; namespace Shade.Alby { public class SquareCell : Cell { private readonly SquareGrid grid; private CellConnector northConnector; private CellConnector southConnector; private CellConnector eastConnector; private CellConnector westConnector; ...
41.2
104
0.667961
[ "BSD-2-Clause" ]
miyu/libalby
SquareCell.cs
2,062
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace HatcheryManagement { public interface IKatlaRepository { KatlaFish GetByID(int id); List<KatlaFish> GetAll(); void Insert(KatlaFish t); void Delete(int id); void Update(KatlaFish t, ...
20.166667
42
0.641873
[ "MIT" ]
Koushik-Sarker-Seemanto/HatcheryManagement
IKatlaRepository.cs
363
C#
namespace Vidly.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddRentalModel : DbMigration { public override void Up() { CreateTable( "dbo.Rentals", c => new { ...
34.789474
85
0.475038
[ "MIT" ]
imranaskem/Vidly
Vidly/Migrations/201701151948033_AddRentalModel.cs
1,322
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("HoneyBear.Spy.Serilog.Autofac")]
34.333333
63
0.834951
[ "MIT" ]
eoin55/HoneyBear.Spy
Src/HoneyBear.Spy.Serilog/Properties/FriendlyAssemblyInfo.cs
103
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.AppPlatform.Models { /// <summary> Power state of the Service. </summary> public readonly partial ...
43.038462
129
0.660411
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/PowerState.cs
2,238
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework.IR; namespace Mosa.Compiler.Framework.Transform.Auto.IR.ConstantFolding { /// <summary> /// Sub32 /// </summary> public sealed class Sub32 : BaseTransformation { ...
22.285714
84
0.723291
[ "BSD-3-Clause" ]
Arakis/MOSA-Project
Source/Mosa.Compiler.Framework/Transform/Auto/IR/ConstantFolding/Sub32.cs
936
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 ...
43.348837
152
0.718348
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/ads/googleads/v8/googleads-csharp/Google.Ads.GoogleAds.V8.Services.StandaloneSnippets/CustomerUserAccessInvitationServiceClient.MutateCustomerUserAccessInvitationRequestObjectSnippet.g.cs
1,864
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Data; namespace VariationGeneration { public class ViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private ...
26.028571
79
0.535675
[ "Apache-2.0" ]
lwfwind/CVG
ViewModel.cs
913
C#