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
// ---------------------------------------------------------------------------- // <auto-generated> // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. // </auto-generated> // --------------------------------------------------------------------------...
43.760622
410
0.687537
[ "MIT" ]
VPeruS/CppSharp
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Std.cs
42,229
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Splitio.Domain; using Splitio.Services.Cache.Classes; using System.Collections.Concurrent; using System.Collections.Generic; namespace Splitio_Tests.Unit_Tests.Cache { [TestClass] public class SegmentCacheTests { [TestMethod] public...
34.049645
101
0.582379
[ "Apache-2.0" ]
splitio/dotnet-client
Splitio-tests/Unit Tests/Cache/SegmentCacheTests.cs
4,803
C#
using Orleans.Runtime; using System; using System.Collections.Generic; using System.Linq; using NRClient = NewRelic.Api.Agent.NewRelic; namespace Orleans.TelemetryConsumers.NewRelic { public class NRTelemetryConsumer : IEventTelemetryConsumer, IExceptionTelemetryConsumer, IDependencyTelemetryConsumer, IMe...
34.302083
146
0.603705
[ "MIT" ]
ghuntley/orleans
src/OrleansTelemetryConsumers.NewRelic/NRTelemetryConsumer.cs
3,295
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> //------------------------------------------...
41.826087
80
0.653846
[ "MIT" ]
wuweisage/SoftuniSvetlina-Courses
C#/DataStructuresAndAlgorithms/Recursive-Algorithms-And-Backtracking/GeneratingVectors/obj/Debug/netcoreapp3.1/GeneratingVectors.AssemblyInfo.cs
962
C#
/* * Copyright 2012-2013 DigitasLBi Netherlands B.V. * * 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 applica...
28.441176
95
0.66029
[ "Apache-2.0" ]
redoz/LBi.LostDoc
LBi.LostDoc/Templating/XPath/XsltContextAssetVersionGetter.cs
1,934
C#
//------------------------------------------------------------------------------ // <copyright file="_Events.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> ...
35.732558
128
0.539972
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/Xml/System/Xml/Serialization/_Events.cs
9,219
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Xamarin.CommunityToolkit.Extensions; namespace Demo.UI { [XamlCompilation(XamlCompilationOptions.Compile)] publi...
23.5
69
0.641844
[ "MIT" ]
yzbai/HB.FullStack.Demo
Demo/Demo/UI/XctTouchTestPage.xaml.cs
848
C#
/* * Created by SharpDevelop. * User: JHSON * Date: 2012-11-22 * Time: 오후 2:10 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ namespace Artn.Ilhwa.View.Dialog { partial class FormChainInputList { /// <summary> /// Designer variable used to keep track of non-visual co...
44.087805
153
0.733901
[ "MIT" ]
thesoncriel/ilhwa.tm
Ilhwa_TM_Renewal/View/Dialog/FormChainInputList.Designer.cs
9,130
C#
using System; using System.Numerics; using System.Runtime.Serialization; namespace TPW.Data; internal class BallFixture : IBall { private readonly BallsDataLayerAbstractApi owner; public BallFixture(int ID, Vector2 position, float radius, float weight, Vector2 velocity, BallsDataLayerAbstractApi owner) { ...
26.264706
126
0.699888
[ "MIT" ]
S1NU5-P1/MS-SS-TPW-Project
Logic.Tests/BallFixture.cs
895
C#
using CommandLine; namespace Improbable.OnlineServices.Common.Analytics { public interface IAnalyticsCommandLineArgs { [Option(AnalyticsCommandLineArgs.EndpointName, HelpText = "Endpoint for analytics to be sent to. If not provided, then analytics " + "are disab...
50.1
143
0.662675
[ "MIT" ]
improbable/online-services
services/csharp/Common/Analytics/IAnalyticsCommandLineArgs.cs
1,503
C#
using UnityEngine; public class HealthSystem : MonoBehaviour { public int MaxHp = 20; public int CurrentHp = 20; public bool invulnerable; public delegate void OnHealthChange(float percentage, GameObject GO); public static event OnHealthChange onHealthChange; void Start(){ SendUpdateEvent(); } //substrac...
21.574468
89
0.725838
[ "MIT" ]
CracyMaga/-Demo
Assets/BeatEmUp_GameTemplate3D/Scripts/Health/HealthSystem.cs
1,016
C#
using Sepes.Common.Dto.Study; using System.Threading.Tasks; namespace Sepes.Infrastructure.Service.DataModelService.Interface { public interface IStudyResultsAndLearningsModelService { Task<StudyResultsAndLearningsDto> GetAsync(int studyId); } }
24.454545
65
0.780669
[ "MIT" ]
equinor/sepes
src/Sepes.Infrastructure/Service/DataModelService/Interface/IStudyResultsAndLearningsModelService.cs
271
C#
using FluentAssertions; using Moq; using NUnit.Framework; using SFA.DAS.MA.Shared.UI.Configuration; using SFA.DAS.MA.Shared.UI.Models; using SFA.DAS.MA.Shared.UI.Models.Links; using System; using System.Linq; namespace SFA.DAS.MA.Shared.UI.UnitTest.FooterViewModel { [TestFixture] public class WhenCreated ...
38.29375
245
0.61025
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.das-shared-packages
SFA.DAS.MA.Shared.UI/SFA.DAS.MA.Shared.UI.UnitTest/FooterViewModel/WhenCreated.cs
6,129
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Demo.Migrations { class Logger { public static void LogMessage(string message, bool isError = false) { Console.ForegroundColor = isError ? ConsoleColor.Red ...
22.842105
86
0.656682
[ "MIT" ]
glav/DbMigrationsDemo
Customisations/Logger.cs
436
C#
using System; using System.IO; using System.Linq; using OfficeRibbonXEditor.Documents; namespace OfficeRibbonXEditor.ViewModels.Documents { public class OfficeDocumentViewModel : TreeViewItemViewModel, IDisposable { private OfficeDocument document; private bool partsAddedOrRemoved; p...
31.198113
118
0.505292
[ "MIT" ]
bitaller/office-ribbonx-editor
src/OfficeRibbonXEditor/ViewModels/Documents/OfficeDocumentViewModel.cs
6,616
C#
using System; using System.ComponentModel; namespace RtmpSharp { public static class TypeSerializer { public static void RegisterTypeConverters() { TypeDescriptor.AddAttributes(typeof(string), new TypeConverterAttribute(typeof(RtmpSharp.IO.TypeConverters.StringConverter))); ...
38.0625
138
0.743842
[ "MIT" ]
frostycpu/rtmp-sharp
rtmp-sharp/RtmpSharp.cs
611
C#
// (c) Copyright HutongGames, LLC 2010-2021. All rights reserved. // NOTE: The new Input System and legacy Input Manager can both be enabled in a project. // This action was developed for the old input manager, so we will use it if its available. // If only the new input system is available we will try to use that in...
23.956044
130
0.624771
[ "MIT" ]
euphoriaer/Roguelike-fantasy
Project/ARMRP-unity/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs
2,180
C#
using System.IO; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace VRCPrefabs.PlaylistManager { public class PlaylistItem { public string Name { get; set; } public string Slug { get; set; } public string Path { get; set; } public string Co...
24.277778
44
0.638444
[ "MIT" ]
PhaxeNor/VRC-Playlist-Manager
VRCPrefabs/PlaylistManager/Editor/PlaylistItem.cs
439
C#
// // System.DrawingCore.ImageConverter.cs // // Author: // Dennis Hayes (dennish@Raytek.com) // Sanjay Gupta (gsanjay@novell.com) // // (C) 2002 Ximian, Inc // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this...
31.119266
131
0.716981
[ "Apache-2.0" ]
JuanSGA24/Alejandria
source/Samples/deprecated/MyThaiStar/reporting/ZKWeb.System.Drawing/System.Drawing/ImageConverter.cs
3,392
C#
using System; using System.Collections.Generic; using System.IO; namespace Rebus.AwsSnsAndSqsPerformanceTest.Markdown { public class TableControl : IMarkDownControl { public string Id { get; set; } = nameof(TableControl); private readonly List<TableCellControl> _tableColumns = new List<TableC...
30.59596
169
0.48861
[ "MIT" ]
P47Phoenix/Rebus.AwsSnsAndSqs
Rebus.AwsSnsAndSqsPerformanceTest/Markdown/TableControl.cs
3,031
C#
using Amazon.JSII.Runtime.Deputy; namespace Amazon.JSII.Tests.CalculatorNamespace { /// <remarks> /// stability: Experimental /// </remarks> [JsiiInterface(nativeType: typeof(IBell), fullyQualifiedName: "jsii-calc.IBell")] public interface IBell { /// <remarks> /// stability: Ex...
23.222222
85
0.602871
[ "Apache-2.0" ]
NyanKiyoshi/jsii
packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBell.cs
418
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("Mu...
37.702703
84
0.744803
[ "MIT" ]
PurwantoGZ/XamarinProject
MultiThread/MultiThread/Properties/AssemblyInfo.cs
1,398
C#
using Amazon.DynamoDBv2.Model; using Amazon.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Bson; using WorkflowCore.Models; namespace WorkflowCore.Providers.AWS { internal static class ModelExtensions { private s...
45.648276
140
0.603414
[ "MIT" ]
cocytus/workflow-core
src/providers/WorkflowCore.Providers.AWS/ModelExtensions.cs
6,621
C#
/* * ARXivar Workflow API * * ARXivar Workflow API * * OpenAPI spec version: v1 * Contact: info@abletech.it * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; ...
32.45
123
0.548536
[ "Apache-2.0" ]
zanardini/ARXivarNext-WebApi
ARXivarNext-ConsumingWebApi/IO.Swagger.Workflow/Model/OutcomeGroupsCreateRm.cs
4,543
C#
using System.Diagnostics.CodeAnalysis; using Replikit.Abstractions.Adapters.Exceptions; namespace Replikit.Abstractions.Adapters.Services; public static class AdapterServiceProviderExtensions { public static bool Supports<TService>(this IAdapterServiceProvider serviceProvider) { ArgumentNullException....
35.473684
107
0.761128
[ "MIT" ]
Replikit/Replikit
src/core/Replikit.Abstractions/src/Adapters/Services/AdapterServiceProviderExtensions.cs
1,348
C#
using System.Text.RegularExpressions; namespace Encel.ContentTransformers.Markdown { public class MarkdownConverter { const string CODE_BLOCK_WITH_LANGUAGE = "<pre><code class=\"{0}\">{1}</code></pre>"; const string CODE_BLOCK = "<pre><code>{0}</code></pre>"; const string CODE_LANGUAGE...
33.339623
171
0.589134
[ "MIT" ]
encel/Encel
Encel/ContentTransformers/Markdown/MarkdownConverter.cs
1,769
C#
namespace SimplCommerce.Module.News.ViewModels { public class NewsCategoryVm { public long Id { get; set; } public string SeoTitle { get; set; } public string Name { get; set; } } }
18.416667
47
0.60181
[ "Apache-2.0" ]
IevgenZub/SimplCommerce
src/Modules/SimplCommerce.Module.News/ViewModels/NewsCategoryVm.cs
223
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usin...
45.4
550
0.610944
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/IBusinessunitadoxioinspectorreport.cs
4,313
C#
// <copyright> // Copyright Southeast Christian Church // // Licensed under the Southeast Christian Church License (the "License"); // you may not use this file except in compliance with the License. // A copy of the License shoud be included with this file. // // Unless required by applicable law or agreed to ...
27.515919
778
0.674944
[ "ECL-2.0" ]
engineeringdrew/RockPlugins
Plugins/org.secc.Purchasing/App_Code/DataLayer/Purchasing.designer.cs
296,429
C#
/* Author : LimerBoy Github : github.com/LimerBoy/FireFox-Thief */ using System; using System.IO; using System.Collections.Generic; using Stealer.Helpers; using static Stealer.Helpers.Common; namespace Stealer.Reader { internal sealed class History { // Get cookies fro...
32.152174
76
0.534821
[ "MIT" ]
LimerBoy/FireFox-Thief
Stealer/Modules/Reader/History.cs
1,481
C#
// *********************************************************************** // Copyright (c) 2010-2016 Charlie Poole, Rob Prouse // // 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 r...
39.224
161
0.662248
[ "MIT" ]
garora/nunit
src/NUnitFramework/tests/Internal/Results/TestResultIgnoredTests.cs
4,903
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Tools { /// <summary> /// 拖拽处理 /// </summary> public class DragDropTool { ...
31.052632
101
0.478692
[ "MIT" ]
scimence/Tools
Tools/Tools/DragDropTool.cs
4,534
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. namespace System.Net.Http { internal sealed partial class HttpProxyConnectionHandler : HttpMessageHandler { ...
30.4375
81
0.710472
[ "MIT" ]
rsumner31/corefx2
src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpProxyConnectionHandler.Windows.cs
487
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"); y...
40.901639
85
0.741884
[ "Apache-2.0" ]
criteo/RabbitMQHare
RabbitMQHare/Properties/AssemblyInfo.cs
2,498
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Input; using System.Windows.Thread...
31.607595
114
0.73348
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/ContextActionsRenderer.cs
4,996
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Spear : MonoBehaviour { public Transform ThrownSpear; public SpearTrail SpearTrail; public Slider slider; private const float AttackTimeout = 0.2f; priva...
40.699482
167
0.525652
[ "MIT" ]
ChrisWoody/Spear
Assets/Scripts/Spear.cs
7,855
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Testing; using Microsoft....
31.664694
122
0.511274
[ "Apache-2.0" ]
VGGeorgiev/Mvc
test/Microsoft.AspNet.Mvc.Core.Test/HttpResponseStreamWriterTest.cs
16,144
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由Codesmith工具生成。 // 此文件的更改可能会导致不正确的行为,如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ using System; using ProtoBuf; using ZyGam...
27.583333
110
0.45292
[ "Unlicense" ]
Jesse1205/Scut
Sample/Doudizhu/Server/src/ZyGames.Doudizhu.Model/DataModel/UserDailyRestrain.cs
4,182
C#
using Android.Content; using Crosschat.Client.Droid.Infrastructure; using Crosschat.Client.Model.Contracts; using Xamarin.Forms; [assembly: Dependency(typeof(Storage))] namespace Crosschat.Client.Droid.Infrastructure { public class Storage : IStorage { private readonly ISharedPreferences _sharedPref...
25.387755
100
0.580386
[ "Apache-2.0" ]
CodeFork/CrossChat-Xamarin.Forms
Client/Crosschat.Client.Android/Infrastructure/Storage.cs
1,246
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Perfon.Interfaces.Notifications; namespace Perfon.Core.Notifications { /// <summary> /// Event arg for Notification events /// </summary> public class ThreshouldNotificationEventAr...
23.695652
90
0.697248
[ "MIT" ]
magsoft2/Perfon.Net
Perfon.Core/Notifications/ThreshouldNotificationEventArg.cs
547
C#
using System; namespace WebApiReferenceImpl.Core { public struct Maybe<T> : IEquatable<Maybe<T>> where T:class { private readonly T _value; public T Value { get { return _value; } } public bool HasValue { get { return _value != null; } } public Maybe(T value) : this() ...
21.798165
71
0.428872
[ "MIT" ]
cosoria/WebApiReferenceImpl
src/Core/Maybe.cs
2,378
C#
using System; using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; public static class Forwarders { public static void MyAssert(bool b) => Assert.IsTrue(b); public static void MyAssert2(bool b) => MyAssert(b); } class Assertions { void M() { string s = null; De...
25.395349
112
0.611722
[ "ECL-2.0", "Apache-2.0" ]
AlexTereshenkov/ql
csharp/ql/test/library-tests/commons/Assertions/Assertions.cs
1,092
C#
using System; using System.Collections.Specialized; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Quartz.Simpl; using Quartz.Spi; namespace Quartz { internal class ServiceCollectionQuartzConfigurator : IServiceCollectionQuartzConfigurator { ...
33.926471
120
0.648895
[ "Apache-2.0" ]
KravaNick/quartznet
src/Quartz.Extensions.DependencyInjection/ServiceCollectionQuartzConfigurator.cs
4,614
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using Xenko.Core.Assets; using Xenko.Core; using Xenko.Core.Diagnostics; using Xenko.Co...
38.82
169
0.704791
[ "MIT" ]
Aminator/xenko
sources/engine/Xenko.Assets.Models/FbxAssetImporter.cs
1,941
C#
// <auto-generated /> // Built from: hl7.fhir.r5.core version: 4.6.0 // Option: "NAMESPACE" = "fhirCsR5" using fhirCsR5.Models; namespace fhirCsR5.ValueSets { /// <summary> /// Performer function of an agent in an imaging study series /// </summary> public static class SeriesPerformerFunctionCodes { /...
25.327869
75
0.596764
[ "MIT" ]
FirelyTeam/fhir-codegen
src/Microsoft.Health.Fhir.SpecManager/fhir/R5/ValueSets/SeriesPerformerFunction.cs
1,545
C#
using Atlassian.Stash.Entities; using Atlassian.Stash.Helpers; using Atlassian.Stash.Workers; using System.Threading.Tasks; using System; namespace Atlassian.Stash.Api { public class Repositories { private const string MANY_REPOSITORIES = "rest/api/1.0/projects/{0}/repos"; private const string...
47.3125
155
0.698889
[ "MIT" ]
RobertvBraam/StashApiCSharp
src/Atlassian.Stash/Api/Repositories.cs
12,871
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using UriJudge.Console.Problem1259; namespace UriJudge.Tests { [TestClass] public class Problem1259Tests { [TestMethod] public void TestEvenAndOddSort() { var result = EvenAndOdd.Sort(new[] { 4, 32, 34, 543, 3456, 654,...
27.833333
97
0.60479
[ "MIT" ]
fabio-couto/uri-judge
src/UriJudge.Tests/Problem1259Tests.cs
503
C#
using System.Diagnostics; using System.IO; using System.Text; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; namespace Microsoft.AspNetCore.WebUtilities { public class HttpRequestStreamReaderReadLineBenchmark { private MemoryStream _stream; [Params(200, 1000, 1025, 1600)] // ...
26.150943
73
0.57215
[ "Apache-2.0" ]
1175169074/aspnetcore
src/Http/WebUtilities/perf/Microbenchmarks/HttpRequestStreamReaderReadLineBenchmark.cs
1,386
C#
// Copyright (c) 2008-2021, 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 by...
35.62963
118
0.62474
[ "Apache-2.0" ]
Serdaro/hazelcast-csharp-client
src/Hazelcast.Net.Examples/DistributedObjects/MapAsyncExample.cs
1,926
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("My...
38.916667
84
0.755175
[ "MIT" ]
1alireza32109/NiceHashMiner
src/3rdparty/DownloadManager/MyDownloader.Extension/Properties/AssemblyInfo.cs
1,404
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. namespace Microsoft.Xml.Schema { using System; using Microsoft.Xml; using System.Collections; usin...
31.378378
122
0.578381
[ "MIT" ]
Bencargs/wcf
src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.Xml/Xml/schema/XmlSchemaAnnotated.cs
2,322
C#
using Microsoft.Extensions.DependencyInjection; using Volo.Abp.EntityFrameworkCore; using Volo.Abp.Modularity; namespace LINGYUN.Abp.WorkflowCore.Persistence.EntityFrameworkCore { [DependsOn(typeof(AbpWorkflowCorePersistenceModule))] [DependsOn(typeof(AbpEntityFrameworkCoreModule))] public class A...
46.583333
110
0.727191
[ "MIT" ]
ZhaoYis/abp-next-admin
aspnet-core/modules/workflow/LINGYUN.Abp.WorkflowCore.Persistence.EntityFrameworkCore/LINGYUN/Abp/WorkflowCore/Persistence/EntityFrameworkCore/AbpWorkflowCorePersistenceEntityFrameworkCoreModule.cs
1,120
C#
using Microsoft.Extensions.DependencyInjection; namespace Shamyr.Extensions.DependencyInjection; public sealed class ScopedAttribute: LifetimeAttribute { public ScopedAttribute() : base(ServiceLifetime.Scoped) { } }
22.9
54
0.79476
[ "MIT" ]
prixladi/shamyr-core
src/Shamyr.Extensions/DependencyInjection/ScopedAttribute.cs
231
C#
namespace Core3.Transports.Throughput { using NServiceBus.Config; using NServiceBus.Config.ConfigurationSource; #region TuningFromConfigurationProvider public class ProvideConfiguration : IProvideConfiguration<MsmqTransportConfig> { public MsmqTransportConfig GetConfigur...
22.590909
54
0.613682
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
Snippets/Core/Core_3/Transports/Throughput/ProvideConfiguration.cs
478
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MIMWebClient.Core.PlayerSetup; using MIMWebClient.Core.Room; namespace MIMWebClient.Core.Player { public class Spells : Skill { } }
17.428571
36
0.733607
[ "MIT" ]
LiamKenneth/ArchaicQuest
MIMWebClient/Core/Player/Spells.cs
246
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InnovatorAdmin { public class StringEnumerableReader : TextReader { private int _pos; private IEnumerator<string> _enum; private bool _hasMore; public Str...
22.655914
79
0.588514
[ "MIT" ]
GCAE/InnovatorAdmin
InnovatorAdmin.Api/StringEnumerableReader.cs
2,109
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /*public enum PlayerState { PS_WALK, PS_WALK_TURN, PS_DASH_START, PS_DASH, PS_DASH_STOP, PS_DASH_TURN, PS_WAVELAND, PS_AIR_DODGE, PS_PARRY_START, PS_PARRY, PS_ROLL_BACKWARD, PS_ROLL_FORWARD...
15.126761
60
0.673184
[ "MIT" ]
Yinigma/ArchaiCharacterBuilder
RivalsSim/Assets/Scripts/Emulator/Fighter/RunInstance.cs
1,076
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...
30.453333
166
0.617338
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/APIGateway/Generated/Model/GetModelsResponse.cs
2,284
C#
using Castle.DynamicProxy; using Core.CrossCuttingConcerns.Validation; using Core.Utilities.Interceptors; using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Core.Aspects.Autofac.Validation { public class ValidationA...
30.690476
86
0.645462
[ "MIT" ]
ridvanucdag/BackEndNetCoreAPI
Core/Aspects/Autofac/Validation/ValidationAspect.cs
1,300
C#
namespace ProjetoLogin.Apresentacao { partial class CadastreSe { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
53.260664
179
0.616035
[ "MIT" ]
Douglas1303/Frota_de_veiculos
Apresentacao/CadastreSe.Designer.cs
11,240
C#
namespace Signum.Upgrade.Upgrades; class Upgrade_20210924_RemoveParentTokenParentValue : CodeUpgradeBase { public override string Description => "Remove parentToken / parentValue from FindOptions"; public override void Execute(UpgradeContext uctx) { Regex regex = new Regex(@"parentToken\s*...
36.823529
132
0.616613
[ "MIT" ]
Faridmehr/framework
Signum.Upgrade/Upgrades/Upgrade_20210924_RemoveParentTokenParentValue.cs
626
C#
// Copyright (c) Aksio Insurtech. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Aksio.Cratis.Models; /// <summary> /// Attribute that can be adorned a model type as metadata to indicate the actual name of the model. /// </summary> ...
30.538462
101
0.676322
[ "MIT" ]
aksio-insurtech/Cratis
Source/Fundamentals/Models/ModelNameAttribute.cs
794
C#
using System; using Amazon.SQS.Model; using JustSaying.Messaging.Channels.Context; using JustSaying.Messaging.MessageHandling; using JustSaying.Messaging.Middleware; using JustSaying.UnitTests.Messaging.Channels.Fakes; namespace JustSaying.UnitTests.Messaging.Middleware { public static class TestHandleContexts ...
32.962963
110
0.635955
[ "Apache-2.0" ]
martincostello/JustSaying
tests/JustSaying.UnitTests/Messaging/Middleware/TestHandleMessageContextBuilder.cs
890
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Text; using System.Windows.Forms; using IdSharp.Common.Utils; using IdSharp.Tagging.ID3v1; namespace IdSharp.Tagging.Mpeg4 { /// <summary> /// MPEG-4 /// </summary> internal class Mpeg4Tag : INot...
33.67284
197
0.42762
[ "MIT" ]
Mapaler/osu-export
IdSharp/IdSharp.Tagging/Mpeg4Tag/Mpeg4Tag.cs
32,747
C#
using System; using System.Collections.Generic; using System.Text; namespace BlazorMonaco.Bridge { public class Position { public int LineNumber { get; set; } public int Column { get; set; } } public class Range { public int StartLineNumber { get; set; } ...
27.951613
93
0.572995
[ "MIT" ]
BlazorHub/BlazorMonaco
BlazorMonaco/Bridge/Data.cs
1,735
C#
using System.Reflection; namespace XF.Services { public class ServiceRequest { private RequestMessage _message; private byte[] _content; private object _service; private bool _sessionValid; private MethodInfo _serviceMethod; private object[] _serviceMethodArgs; ...
22.262295
45
0.540501
[ "MIT" ]
bsimser/xeva
src/Framework.Services/MessageChannel/Server/ServiceRequest.cs
1,358
C#
using System.Collections.Generic; namespace Subspace.Rtp.Rtcp { public class RtcpSourceDescriptionChunk { /// <summary> /// SSRC: 32 bits /// /// The synchronization source identifier /// </summary> public uint SynchronizationSource { get; set; } publ...
22.470588
66
0.604712
[ "MIT" ]
ztittle/Subspace
src/Subspace.Rtp/Rtcp/RtcpSourceDescriptionChunk.cs
384
C#
// ExcludeFromJSONSerialize using System; namespace Leguar.TotalJSON { /// <summary> /// Attribute that can be used to exclude single field from JSON serialization. With default serialization settings, this does same as System.NonSerialized attribute. /// </summary> [AttributeUsage(AttributeTargets.Field, Inh...
24.347826
167
0.751786
[ "MIT" ]
aaaa-trsh/RL-Snakes
Assets/TotalJSON/Scripts/Attributes/ExcludeFromJSONSerializeAttribute.cs
562
C#
using System; using System.IO; namespace DotnetCampusP2PFileShare.Core.FileStorage.Signature { public class FileSignature { /// <summary> /// 文件签名 /// </summary> public string GetMd5Sign(FileInfo file) { return Md5SecurityUtility.GetMd5HashFromFile(file.Full...
25.37037
84
0.562044
[ "MIT" ]
dotnet-campus/dotnetCampus.P2PFileShare
DotnetCampusP2PFileShare/Core/FileStorage/Signature/FileSignature.cs
707
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Newtonsoft.Json; using StardewModdingAPI; using StardewValley; using StardewValley.Menus; using System.Runtime.InteropServices;...
46.146801
276
0.527176
[ "MIT" ]
evfredericksen/StardewSpeak
StardewSpeak/Utils.cs
36,781
C#
#pragma checksum "C:\Users\Willi\OneDrive\Desktop\Code Repository\GymWebsiteApp\GymWebsite\GymWebsite\Areas\Identity\Pages\Account\Manage\_StatusMessage.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "caf0ba0e017fe2d5d40e06cba52017213983ba34" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Micros...
50.973451
244
0.768056
[ "Unlicense" ]
shoreshanked/GymWebsiteApp
GymWebsite/GymWebsite/obj/Debug/net5.0/Razor/Areas/Identity/Pages/Account/Manage/_StatusMessage.cshtml.g.cs
5,760
C#
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; using ProtoCore.DSASM.Mirror; using ProtoCore.Lang; using ProtoTest.TD; using ProtoScript.Runners; using ProtoTestFx.TD; using System.Linq; using ProtoCore.AST.AssociativeAST; using ProtoCore.DSASM; using ProtoCore.Mirror; using S...
34.482353
93
0.578813
[ "Apache-2.0", "MIT" ]
frankfralick/Dynamo
test/Engine/ProtoTest/LiveRunnerTests/MemoryConsumptionTests.cs
5,866
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebsiteServiceClient.Datas { public class MachineMonitorInfo { /// <summary> /// CPU 使用率 /// </summary> public float CpuUsage { get; set; } /// <summary> /...
24.45614
117
0.5
[ "MIT" ]
toolgood/ServerMonitor
WebsiteServiceClient/Datas/MachineMonitorInfo.cs
1,498
C#
using Neo.VM; using Neo.VM.Types; using System.Numerics; namespace Neo.SmartContract.Native { public class AccountState : IInteroperable { public BigInteger Balance; public virtual void FromStackItem(StackItem stackItem) { Balance = ((Struct)stackItem)[0].GetInteger(); ...
22.545455
79
0.643145
[ "MIT" ]
ShawnYun/neo
src/neo/SmartContract/Native/AccountState.cs
496
C#
using System; using System.IO; using System.Threading.Tasks; using static pmcenter.Methods; using static pmcenter.Methods.Logging; namespace pmcenter.CommandLines { internal class BackupCmdLine : ICommandLine { public string Prefix => "backup"; public bool ExitAfterExecution => true; p...
32
105
0.639323
[ "Apache-2.0" ]
Elepover/pmcenter
pmcenter/CommandLines/BackupCmdLine.cs
770
C#
// <auto-generated /> using System; using DncZeus.Api.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace ...
32.924564
155
0.423557
[ "MIT" ]
yujunnan666666/DncZeusApi
DncZeus.Api/Migrations/20200518091509_MyMigration76.Designer.cs
86,857
C#
using Video.Pages.Services; using System.Collections.Generic; namespace Video.Pages.Models { public class OtherFeaturesModel { public string Title { get; set; } public string TitleSub { get; set; } public List<OtherFeaturesItem> Items { get; set; } } public class OtherFeature...
22.770833
73
0.501372
[ "MIT" ]
aspose-video/Aspose.Video-Conversion-App
Video.Pages/Models/OtherFeaturesModel.cs
1,093
C#
// ****************************************************************** // Copyright � 2015-2018 nventive 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 // // ...
21.911504
152
0.586026
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.Foundation/Uno.Core.Extensions/Uno.Core.Extensions/FuncExtensions.AsyncRetry.cs
2,478
C#
namespace BudgetAnalyser.Engine.Widgets { /// <summary> /// Represents a frequency /// </summary> public enum WeeklyOrFortnightly { /// <summary> /// Occurs weekly /// </summary> Weekly, /// <summary> /// Occurs fortnightly /// </...
19.777778
40
0.485955
[ "MIT" ]
Benrnz/BudgetAnalyser
BudgetAnalyser.Engine/Widgets/WeeklyOrFortnightly.cs
358
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
42.946565
319
0.550835
[ "MIT" ]
Agazoth/azure-powershell
src/Compute/Compute.Autorest/generated/runtime/PipelineMocking.cs
10,991
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
49.219048
179
0.658475
[ "Apache-2.0" ]
ASolomatin/dotnet-arangodb
Core.Arango/Relinq/Parsing/Structure/IntermediateModel/MethodCallExpressionNodeFactory.cs
5,168
C#
namespace Core.Entities { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("ActividadesPorProceso")] public partial class ActividadesPorProceso { ...
32.170732
128
0.693707
[ "MIT" ]
eliraEsFlo/RazorWebForm
RequerimientosPro/Core/Entities/ActividadesPorProceso.cs
1,319
C#
// Plato.Core // Copyright (c) 2020 ReflectSoftware Inc. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Plato.Cache; using Plato.Cache.Interfaces; using Plato.Miscellaneous; using Plato.Messaging.AMQ.Interfaces; using Plato.Messaging.AMQ.Settings...
34.10084
154
0.577132
[ "Apache-2.0" ]
fntc/Plato.Core
src/Plato.Messaging.AMQ/Pool/AMQPoolBase.cs
4,060
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace XFFontAwesome { public partial class App : Application { public App() { InitializeComponent(); MainPage = new MainPage(); } ...
19.454545
59
0.556075
[ "MIT" ]
devoirtechsandip/xf-fontawesome
XFFontAwesome/XFFontAwesome/XFFontAwesome/App.xaml.cs
644
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.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.E...
37.213115
118
0.662996
[ "MIT" ]
333fred/roslyn
src/VisualStudio/Core/Def/Implementation/InheritanceMargin/MarginGlyph/MemberMenuItemViewModel.cs
2,272
C#
using ApiApproverTests.Examples; using Xunit; namespace ApiApproverTests { public class Delegate_types : ApiGeneratorTestsBase { [Fact] public void Should_output_void_delegate() { AssertPublicApi<VoidDelegate>( @"namespace ApiApproverTests.Examples { public delegate voi...
32.746269
183
0.726071
[ "MIT" ]
heynickc/ApiApprover
src/ApiApproverTests/Delegate_types.cs
2,196
C#
using System; using System.Collections.Generic; using System.Linq; namespace LinearAssignment { /// <summary> /// Solver for the linear assignment problem based on shortest augmenting paths. Concretely, /// we implement the pseudo-code from /// /// DF Crouse. On implementing 2D rectangular as...
37.208243
113
0.352416
[ "BSD-3-Clause" ]
apkd/linearassignment
src/LinearAssignment/ShortestPathSolver.cs
17,155
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace RML { public interface IUFOSpawner { void Spawn(); } }
12.769231
33
0.686747
[ "MIT" ]
rp88imxo/RMLToroid
Assets/Scripts/GameLogic/ObjectSpawners/IUFOSpawner.cs
166
C#
using MediatR; using Microsoft.Extensions.Logging; using System.Threading; using System.Threading.Tasks; namespace LinFx.Extensions.Mediator.Behaviors { public class LoggingBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> { private readonly ILogger<LoggingBehavior<TRequest, TResp...
35.956522
138
0.711004
[ "MIT" ]
ailuozhu/LinFx
src/LinFx/Extensions/MediatR/Behaviors/LoggingBehavior.cs
829
C#
using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace SignumExplorer.Models { public interface IGetUnconfirmedTransaction { public int Type { get; } public int Subtype { get; } public string TransactionType => Transaction...
28.559441
151
0.618022
[ "MIT" ]
rodrigue10/SignumExplorer
SignumExplorer/NodeAPI/Models/UnconfirmedTransactions/UnconfirmedTransAPI.cs
4,086
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; ...
29.277778
114
0.6
[ "MIT" ]
mrkriv/SimpleGame
SimpleGame/Pages/MenuPage.xaml.cs
2,660
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Network.Models { public partial class BgpServiceCommunity : IUtf8Json...
36.552486
104
0.409462
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BgpServiceCommunity.Serialization.cs
6,616
C#
using System; namespace RefresherSample { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
14.076923
46
0.530055
[ "Apache-2.0" ]
hamzashoukat94/NCache-Samples
dotnetcore/RefresherSample/RefresherSample/Program.cs
185
C#
using System.Threading.Tasks; using AutoMapper; using $ext_projectname$.Data; using $ext_projectname$.Entities; using $safeprojectname$.Infrastructure.Settings; using $safeprojectname$.ViewModels.LogViewModels; using Calabonga.Microservices.Core.QueryParams; using Calabonga.Microservices.Core.Validators; using Calabon...
35.142857
142
0.704268
[ "MIT" ]
Calabonga/Microservice-Template
AspNetCore v3.1/TemplateMicroserviceModuleV3/Calabonga.Microservice.Module.Web/Controllers/LogsWritable2Controller.cs
1,970
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MagnifyController : MonoBehaviour { public Vector2 speed = new Vector2(50, 50); void Update() { float inputX = Input.GetAxis("Horizontal"); float inputY = Input.GetAxis("Vertical"); Vector3...
23.4
78
0.66453
[ "Unlicense" ]
matames/MidtermAmes
Assets/MagnifyController.cs
468
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
31.707317
84
0.51
[ "MIT" ]
InstantBusinessNetwork/IBN
Source/Server/WebPortal/Apps/HelpDeskManagement/Modules/IncidentListExport.ascx.designer.cs
1,300
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> The authentication mechanism to use to connect to the HBase server....
47.705882
142
0.697904
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/HBaseAuthenticationType.cs
2,433
C#
using SolastaModApi.Infrastructure; using System.Text; using static RuleDefinitions; namespace SolastaModApi.Extensions { /// <summary> /// This helper extensions class was automatically generated. /// If you find a problem please report at https://github.com/SolastaMods/SolastaModApi/issues. /// </sum...
33.5
99
0.676972
[ "MIT" ]
ChrisPJohn/SolastaModApi
SolastaModApi/Extensions/FeatureDefinitionProficiencyExtensions.cs
938
C#
using System.Linq; using Basket.Models.Entities; using Basket.Models.Persistence; namespace Basket.Models.Repositories { public class EfBasketRepository : IBasketRepository { private readonly BasketDbContext _context; public EfBasketRepository(BasketDbContext context) { _c...
22.944444
58
0.687651
[ "MIT" ]
mamalmaleki/basket
BasketSln/Basket/Models/Repositories/EfBasketRepository.cs
415
C#
#pragma checksum "C:\Users\Srush\OneDrive\Documents\GitHub\MLiS-II-Project-Programming-an-Autonomous-Driving-Car\Code\Dev\Data_Labeler\MainPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B5CD5473CEFB9025D0FF7466A6879C0E09ADB1317F044D3FF0DAB274FB9AE123" //-----------------------------------------------------------...
43.027397
258
0.558103
[ "MIT" ]
Srushanth/MLiS-II-Project-Programming-an-Autonomous-Driving-Car
Code/Dev/Data_Labeler/obj/x86/Debug/MainPage.g.cs
3,143
C#