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 Abp.Domain.Entities; namespace Abp.Zero.SampleApp.TPH { public abstract class Person : Entity { public string Name { get; set; } } public abstract class PersonWithIdCard : Person { public string IdCard { get; set; } } public abstract class PersonWithIdCardAndAddress...
20.894737
71
0.639798
[ "MIT" ]
861191244/aspnetboilerplate
test/Abp.Zero.SampleApp/TPH/Person.cs
399
C#
using Godot; public class SoldierState : NPCState { public SoldierState(Soldier node) : base(node) { speed = Stat.Speed(115); health = Stat.Health(1000); damage = Stat.Damage(100); range = Stat.Range(50); } }
16.0625
50
0.583658
[ "MIT" ]
MickSheridan24/Godot_Project
src/StateManagement/NPCs/SoldierState.cs
257
C#
namespace ARVR { /// <summary> /// Used in a ScriptableObject to indicate the type of the item about which the SO is storing information /// </summary> /// <see cref="Objects.BaseObjectData"/> public enum ItemType : sbyte { Building, Equipment, Food, Medicine, NPC, Player, Story, Weapon...
29.818182
109
0.643293
[ "MIT" ]
nmcguinness/arvr_1_getting_started_unity
getting_started/Assets/ARVR/Common/Scripts/Enums/ItemType.cs
330
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; namespace IdentityServer4.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Users", ...
44.155556
85
0.543533
[ "Apache-2.0" ]
felixsiburian/muju-identity-server
src/Migrations/20200325132858_initial.cs
1,987
C#
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace MyLOB.Mvc.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" inst...
39.410256
145
0.556929
[ "MIT" ]
EasyLOB/EasyLOB-MyLOB-NuGet-3
MyLOB.Mvc/Areas/HelpPage/ApiDescriptionExtensions.cs
1,537
C#
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
44.081633
97
0.720833
[ "Apache-2.0" ]
econmed/ImageServer20
Enterprise/Core/EntityVersionException.cs
2,162
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Alidns20150109.Models { public class DescribeDomainsRequest : TeaModel { [NameInMap("Lang")] [Validation(Required=false)] public st...
24.93617
54
0.611775
[ "Apache-2.0" ]
alibabacloud-sdk-swift/alibabacloud-sdk
alidns-20150109/csharp/core/Models/DescribeDomainsRequest.cs
1,172
C#
using System.Collections; using System.Collections.Generic; using NaughtyAttributes; using UnityEngine; public class Cost : MonoBehaviour { private static Cost _instance; public static Cost Instance => _instance; [BoxGroup("Settlement Required Resources - Gold")] public int goldHamlet, goldVillage, ...
34.376404
120
0.707305
[ "MIT" ]
Hir-o/Settlers-of-Albion-Project-Files
Assets/Scripts/Cost.cs
6,121
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UI : MonoBehaviour { Text numMovimientosTxt; int numMovimientos; void Awake(){ numMovimientosTxt=GameObject.Find ("Movimientos").GetComponent (typeof(Text)) as Text ; } public void SumarMovimi...
21.45
89
0.750583
[ "MIT" ]
Danruc/Scape_to_Space
ScapeToSpace/Assets/Scripts/Level2/Quest2/Original/UI.cs
431
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Staffing { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, Xm...
20.819672
136
0.729134
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Staffing/Related_Person_RelationshipObjectIDType.cs
1,270
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using TabSample.Toolbox; namespace TabSample.ViewModels { public class CarsViewModel : BaseViewModel { private List<CarViewModel> _items; public CarsViewModel() { ...
32.102804
125
0.543523
[ "MIT" ]
gagikkyurkchyan/xamarin-samples
TabSample/TabSample/TabSample/ViewModels/CarsViewModel.cs
3,437
C#
namespace SaaSFulfillmentClient { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using SaaSFulfillmentClient.AzureTable; using SaaSFulfillmentClient.Models; public interface IOperationsStore { Task<IEnumerable<OperationRec...
30
142
0.71746
[ "MIT" ]
dstarr/AzureMarketplaceSaaSApiClient
src/IOperationsStore.cs
632
C#
using XeonCommon.Network; namespace XeonCore.Network { public class NetManager : INetManaged<INetClient> { public event NetEventIncoming NetEventIn; public NetQueue Queue = new NetQueue(); public NetManager() { } public void Dispose() { Queue...
20.954545
56
0.559653
[ "MIT" ]
envis10n/XeonProject
XeonCore/Network/NetManager.cs
463
C#
#region Licence /** * Copyright (C) 2015 Open Tibia Tools <https://github.com/ottools/open-tibia> * * 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 lim...
30.968439
174
0.479322
[ "MIT" ]
totolol123/open-tibia
OpenTibia/OpenTibia.Client/Sprites/SpriteStorage.cs
37,299
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Routing; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.FriendlyUrls.Resolvers; namespace SampleWebFormsApp { public partial class ViewSwitcher : System.Web.UI.UserControl { ...
37
120
0.644249
[ "MIT" ]
dzhenko/TelerikAcademy
ASP WebForms/WF-01-ASPIntroduction-Homework/SampleWebFormsApp/ViewSwitcher.ascx.cs
1,591
C#
using System; using Pixelator.Api.Configuration; using Pixelator.Api.Exceptions; namespace Pixelator.Api.Codec { internal class ImageEncoderFactory { public ImageEncoderBase BuildEncoder(Version version, EncodingConfiguration encodingConfiguration) { switch (version) { ...
30.25
124
0.621488
[ "Apache-2.0" ]
TimeToogo/Pixelator.Api
Pixelator.Api/Codec/ImageEncoderFactory.cs
607
C#
// Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell...
29.274194
143
0.662534
[ "Apache-2.0" ]
3-1415926/mono
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Equal.cs
14,520
C#
namespace AillieoUtils.CSFixedPoint { internal static class FPTanLut_48128 { internal static fp[] table = new fp[] { fp.CreateWithRaw(9689290964), // 2.25596385192916 fp.CreateWithRaw(9689917861), // 2.25610981265033 fp.CreateWithRaw(9690544825), // 2.25625578915814 ...
62.157129
62
0.647588
[ "MIT" ]
aillieo/CSFixedPoint
CSFixedPoint/FPTanLut/FPTanLut_48128.cs
64,084
C#
//-------------------------------------------------------------------------------------------- // Copyright 2015 Sitecore Corporation A/S // 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 // ...
31.23301
105
0.566677
[ "Apache-2.0" ]
STDGA/experience-extractor
src/ExperienceExtractor.Scheduling/UpdateJobWrapper.cs
3,219
C#
using UnityEngine; using Verse; using System.Collections.Generic; using System.Linq; using Verse.AI; using RimWorld; using System; namespace TorannMagic { public static class TM_Data { public static List<ThingDef> SpellList() { IEnumerable<ThingDef> enumerable = from def in DefData...
46.548315
216
0.547456
[ "BSD-3-Clause" ]
Phenrei/RWoM
RimWorldOfMagic/RimWorldOfMagic/TM_Data.cs
20,716
C#
namespace Cosmos.Optionals; /// <summary> /// None <br /> /// 无 /// </summary> /// <typeparam name="T"></typeparam> public sealed class None<T> : Optional<T, None<T>>, IEquatable<None<T>>, IComparable<None<T>> { internal None() : base(default, false) { } #region Equals /// <inheritdoc /> public overr...
21.698276
93
0.570918
[ "Apache-2.0" ]
cosmos-loops/Cosmos.Standard
src/Cosmos.Extensions.Optionals/Cosmos/Optionals/None.cs
2,519
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Runtime.InteropServices; using Microsoft.Xna.Framework.Audio; using MonoGame.Framework.Utilities; using System.IO; ...
40.455711
218
0.676846
[ "MIT" ]
Alan-love/MonoGame
MonoGame.Framework/Platform/Audio/OpenAL.cs
34,713
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace StreamJsonRpc { /// <summary> /// Interface optionally implemented by <see cref="IJsonRpcMessageFormatter" /> implementations that need a...
34.52381
166
0.648276
[ "MIT" ]
AbhitejJohn/vs-streamjsonrpc
src/StreamJsonRpc/IJsonRpcInstanceContainer.cs
727
C#
// Copyright 2015 Sascha-Christian Hensel // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
36.571429
117
0.684375
[ "Apache-2.0" ]
AliAlbasrawi/a9
ezNReporting/Template/Section/IReportTemplateSection.cs
1,282
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("OxideTest")] [assembly: AssemblyDescript...
34.74359
84
0.738745
[ "MIT" ]
bgourlie/BriansMod
Oxide.Ext.BriansMod/Properties/AssemblyInfo.cs
1,358
C#
using Aya.Events; namespace Aya.Sample { [EventEnum] public enum EventType003 { Event01, Event02, } public class UserCSharpClass003 : ObjectListener { [Listen(EventType003.Event01)] public void ListenMethod01() { } [Listen(EventType003...
16.538462
60
0.545349
[ "MIT" ]
ls9512/UEvent
Samples/Script/Example_003_ListenEvent.cs
862
C#
using RecensysCoreRepository.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RecensysCoreRepository.Repositories { public interface IDistributionRepository: IDisposable { DistributionDTO Read(int stageId); bool Update(Distributio...
22.6
57
0.766962
[ "MIT" ]
cholewa1992/ReviewIT-backend
ReviewIT-Backend/RecensysCoreRepository/Repositories/IDistributionRepository.cs
341
C#
using System; using AudioMog.Application.AudioFileRebuilder; using AudioMog.Core.Audio; namespace AudioMog.Application.Codecs { public abstract class ACodec { public abstract string FileFormat { get; } public abstract void ExtractOriginal(IApplicationLogger logger, MaterialSection.MaterialEntry entry, byte[] f...
31.69697
144
0.760994
[ "MIT" ]
Yoraiz0r/AudioMog
AudioMogApplication/Codecs/ACodec.cs
1,048
C#
using System; using System.IO; using System.Threading; using NUnit.Framework; using Stash.caches; namespace Stash.Test.caches { [TestFixture] internal class RulesCacheTests { private ICache _cache; private string _key; private int _counter; private Func<object> _getter; ...
30.917526
96
0.543014
[ "MIT" ]
PanelOfExperts/Stash
Source/Tests.Stash/caches/RulesCacheTests.cs
6,000
C#
namespace _10.Car_Salesman { using System; using System.Text; public class Car { private string model; private Engine engine; private string color; private int weight; public Car(string model, Engine engine) { Model = model; ...
26.217391
101
0.461028
[ "MIT" ]
MihailDobrev/SoftUni
C# Fundamentals/C# OOP Basics/02. Defining Classes - Exercise/10. Car Salesman/Car.cs
2,414
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; namespace HarmornyHelper.forms { public partial class IntervalsControl : UserControl { public Interv...
16.846154
55
0.76484
[ "MIT" ]
emorrison1962/HarmonyHelper
HarmonyHelper/HarmornyHelper.forms/Views/IntervalsControl.cs
440
C#
namespace DPSF_Demo { /// <summary> /// The main entry point for the application. /// </summary> static class ApplicationEntryPoint { /// <summary> /// The application entry point when this project is set as the Startup Project. /// </summary> private static void Main() { using (var game = new DPSFDe...
21.526316
82
0.669927
[ "MIT" ]
deadlydog/DPSF-XNA
XNA 4.0/Installer/Installer Files/DPSF Demo/DPSF Demo/DPSF Demo/ApplicationEntryPoint.cs
411
C#
/* * Copyright (c) Contributors, http://vision-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or without ...
55.255639
171
0.628521
[ "MIT" ]
VisionSim/Vision-Sim
Vision/Framework/Services/ClassHelpers/Other/VisionEventManager.cs
7,349
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Dolittle.Runtime.Artifacts; using Dolittle.Runtime.Embeddings...
62.803279
221
0.767946
[ "MIT" ]
dolittle-runtime/Runtime
Specifications/Embeddings.Processing/for_EmbeddingStateUpdater/when_updating/from_many_events.cs
3,831
C#
/* Copyright 2020-2021. Huawei Technologies Co., Ltd. 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...
27.795918
79
0.628488
[ "Apache-2.0" ]
HMS-Core/hms-xamarin-bindings
android/samples/LocationKitDemo/HMSSample/HmsLazyInputStream.cs
1,364
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("Tas...
37.405405
84
0.746387
[ "Apache-2.0" ]
DeadDevelopmentInc/Task_OOP
Task_OOP/Task_OOP/Properties/AssemblyInfo.cs
1,387
C#
using Microsoft.Data.SqlClient; using System; using System.Data; namespace Zinger.Services.Providers { public class SqlServerQueryProvider : QueryProvider { public override ProviderType ProviderType => ProviderType.SqlServer; public SqlServerQueryProvider(string connectionString) : base(conne...
34.740741
140
0.703625
[ "MIT" ]
adamfoneil/Postulate.Zinger
Zinger/Services/Providers/SqlServerQueryProvider.cs
940
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace MoreMatchTypes.Match_Setup { public class MatchTypeHook { public static void ResetRules() { MoreMatchTypes_Form.moreMatchTypesForm.ResetModOptions(); ...
30.733333
102
0.620933
[ "MIT" ]
timcanpy/MoreMatchTypes
MoreMatchTypes/Match Setup/MatchTypeHook.cs
1,846
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
31
88
0.396195
[ "MIT" ]
Appleseed/squidex
backend/tools/TestSuite/TestSuite.Shared/Fixtures/ContentQueryFixture1to10.cs
2,420
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
28.8
88
0.7
[ "MIT" ]
JDSRAO/VideoManagement
src/VideoManagement/VideoManagement.UI.WPF/Views/RecentPathsView.xaml.cs
1,442
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...
46.552448
179
0.656302
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ElasticFileSystem/Generated/Model/InternalServerErrorException.cs
6,657
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 ILCompiler.Reflection.ReadyToRun; using System; using System.Collections.Generic; using System.CommandLine; u...
38.520947
278
0.537308
[ "MIT" ]
DrewScoggins/runtime
src/coreclr/src/tools/r2rdump/R2RDump.cs
21,150
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( "org.secc.Mapping" )] [assembly: AssemblyD...
39.916667
84
0.736952
[ "ECL-2.0" ]
secc/RockPlugins
Plugins/org.secc.Mapping/Properties/AssemblyInfo.cs
1,440
C#
using System; using AppKit; using LogJoint.UI; using LogJoint.Drawing; using LJD = LogJoint.Drawing; using Foundation; using CoreGraphics; using System.Collections.Generic; using LogJoint.UI.Presenters.Postprocessing.StateInspectorVisualizer; namespace LogJoint.UI.Postprocessing.StateInspector { public class Stat...
25.172043
92
0.681333
[ "MIT" ]
rkapl123/logjoint
trunk/platforms/osx/logjoint.mac/ui/Postprocessors/StateInspectorWindow/StateHistoryTableRowView.cs
2,343
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using AccountSetting = System.Collections.Generic.KeyValuePair<string, System.Func<string...
49.411251
207
0.61985
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/storage/Azure.Storage.Common/src/Shared/StorageConnectionString.cs
50,943
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Text.RegularExpressions; using System.Web.Script.Serialization; using System.Threading; using System.Threading.Tasks; using ...
41.509202
333
0.455365
[ "Unlicense" ]
Apro123/Raccine
RaccineGUI/RaccineCfg/RaccineRulesSync/Program.cs
6,766
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Reflection; using GeometryGym.Ifc; namespace TestModelViewDefinition { class Program { static void Main(string[] args) { DirectoryInfo di = Directory.GetParent(Pat...
34.883683
913
0.758764
[ "MIT" ]
GeometryGym/GeometryGymIFCExamples
TestModelViewDefinition/Program.cs
21,595
C#
using Microsoft.AspNetCore.Mvc; using System.Linq; using System.Threading.Tasks; using WebVella.Erp.Api; using WebVella.Erp.Web.Services; namespace WebVella.Erp.Web.Components { public class UserNavViewComponent : ViewComponent { protected ErpRequestContext ErpRequestContext { get; set; } public UserNavViewCo...
25.1875
79
0.765509
[ "Apache-2.0" ]
628426/WebVella-ERP
WebVella.Erp.Web/Components/UserNav/UserNavViewComponent.cs
808
C#
using System; namespace NAudio.Wave.SampleProviders { /// <summary> /// No nonsense mono to stereo provider, no volume adjustment, /// just copies input to left and right. /// </summary> public class MonoToStereoSampleProvider : ISampleProvider { private readonly ISampleProv...
34.893333
96
0.546809
[ "MIT" ]
jaebird/SoundIO-cil
Support/NAudioLite/Wave/SampleProviders/MonoToStereoSampleProvider.cs
2,619
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NuGetPe.AssemblyMetadata { public class AssemblyDebugData { public PdbType PdbType { get; internal set; } public IReadOnlyList<SourceLinkMap> SourceLink { get; interna...
20.52
88
0.680312
[ "MIT" ]
nicoleputois/NuGetPackageExplorer-master
Core/AssemblyMetadata/AssemblyDebugData.cs
515
C#
 // // Copyright (c) Michael Eddington // // 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, me...
33.271186
84
0.715232
[ "MIT" ]
FXTi/peachfuzz-code
Peach.Core/Fixups/CopyValueFixup.cs
1,965
C#
using System; using System.Collections.Generic; namespace NMaier.SimpleDlna.Utilities { using PartsCache = LeastRecentlyUsedDictionary<string, BaseSortPart[]>; public sealed class NaturalStringComparer : StringComparer { private static readonly StringComparer comparer = StringComparer.CurrentCultureI...
23.181102
73
0.536005
[ "BSD-2-Clause" ]
AlexAkulov/simpleDLNA
util/NaturalStringComparer.cs
2,946
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.AspNetCore.SignalR.Client.SourceGenerator; [Genera...
44
233
0.72833
[ "MIT" ]
3ejki/aspnetcore
src/SignalR/clients/csharp/Client.SourceGenerator/src/HubClientProxyGenerator.cs
1,892
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. // https://github.com/dotnet/roslyn-analyzers/issues/955 [assembly: S...
98
294
0.791383
[ "Apache-2.0" ]
HydAu/RoslynProjectSystem
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/GlobalSuppressions.cs
884
C#
using System.IO; namespace Chroma.Audio.Sources { public class Sound : FileBasedAudioSource { public Sound(string filePath) : base(filePath, true) { } public Sound(Stream stream) : base(stream, true) { } } }
17.294118
45
0.52381
[ "MIT" ]
Chroma-2D/Chroma
Chroma/Audio/Sources/Sound.cs
296
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 "license" fi...
41.838235
193
0.640246
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodeDeploy/Generated/Model/Internal/MarshallTransformations/StopDeploymentResponseUnmarshaller.cs
5,690
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using BlockM3.AEternity.SDK.Sophia.Attributes; namespace BlockM3.AEternity.SDK.Sophia.Types { public class EventType : SophiaType { public EventType(string mapname, string name, List<SophiaTy...
39.390805
127
0.557339
[ "ISC" ]
block-m3/aepp-sdk-net
BlockM3.AEternity.SDK/Sophia/Types/EventType.cs
3,429
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 "license" fi...
29.964286
107
0.674017
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/DeleteChannelRequest.cs
1,678
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WeText.Common.Messaging { /// <summary> /// Represents that the implemented classes are the command senders /// that will send a command to the message bus. /// </su...
23.647059
72
0.68408
[ "MIT" ]
daxnet/we-text
src/WeText.Common/Messaging/ICommandSender.cs
404
C#
using System.Threading; using System.Threading.Tasks; using Elsa.Models; using Elsa.Webhooks.Persistence.YesSql.Data; using Elsa.Webhooks.Persistence.YesSql.Documents; using Elsa.Webhooks.Persistence.YesSql.Indexes; using Elsa.Persistence.Specifications; using Elsa.Persistence.YesSql; using Elsa.Persistence.YesSql.Serv...
54.372093
276
0.77716
[ "MIT" ]
feijie999/elsa-core
src/activities/webhooks/Elsa.Webhooks.Persistence.YesSql/Stores/YesSqlWebhookDefinitionStore.cs
2,338
C#
using Sharpen; namespace org.bouncycastle.x509 { [Sharpen.NakedStub] public class ExtendedPKIXBuilderParameters { } }
12.3
43
0.780488
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/naked-stubs/org/bouncycastle/x509/ExtendedPKIXBuilderParameters.cs
123
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using CSPlang.Any2; using CSPlang.Shared; namespace CSPlang.One2 { public class One2AnyImpl : One2AnyChannel, ChannelInternals { private ChannelInternals channel; /** The mutex on which readers must sync...
21.447154
74
0.501895
[ "MIT" ]
PasierbKarol/CSPsharp
CSPlang/One2/One2AnyImpl.cs
2,640
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Threading; using GalaSoft.MvvmLight.Threading; using ResultStudioWPF.Mappers; using ResultStudioWPF.Views.Windows; namespace...
29.123077
109
0.742208
[ "MIT" ]
Ariksman/ResultStudioWPF
ResultStudioWPF/App.xaml.cs
1,895
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 JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Utilities; namespace Microsoft.EntityFrameworkCore.Migrations.Operations.Builders { ...
42.035714
111
0.630416
[ "Apache-2.0" ]
0b01/efcore
src/EFCore.Relational/Migrations/Operations/Builders/AlterOperationBuilder.cs
2,354
C#
// $Id: NetworkArchiver.cs 774 2005-09-21 20:22:33Z pediddle $ using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace UW.ClassroomPresenter.Test.Network.Common { /// <summary> /// NetworkArchiver stores a stream of events in a file for later review /// </...
37.688172
109
0.510699
[ "Apache-2.0" ]
ClassroomPresenter/CP3
Test Code/Network Testing/Common/NetworkArchiver.cs
7,010
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
42.963415
167
0.606869
[ "Apache-2.0" ]
dotJEM/kudu
Kudu.Console/Resources.Designer.cs
3,525
C#
using System; using System.Linq; using System.Collections.Generic; namespace _06._List_Manipulation_Basics { class Program { static void Main() { List<int> numbers = Console.ReadLine() .Split() .Select(int.Parse) .ToList(); ...
28.446043
88
0.37304
[ "MIT" ]
1TaNaTa1/Programming-Fundamentals
05. Lists/Lab/07. List Manipulation Advanced/Program.cs
3,956
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ECommerce { public class Program ...
25.16
77
0.666137
[ "MIT" ]
ItsJuniorDias/CRUD-ASP.NET
Program.cs
631
C#
using Gandalan.IDAS.Client.Contracts.Contracts; using Gandalan.IDAS.WebApi.Data.DTOs.Produktion; using System; namespace Gandalan.IDAS.WebApi.Client.BusinessRoutinen { public class AVBerechnungCloudRoutinen : WebRoutinenBase { public AVBerechnungCloudRoutinen(IWebApiConfig settings) : base(settings) ...
28
83
0.718045
[ "MIT" ]
Saibamen/idas-client-libs
Gandalan.IDAS.WebApi.Client/BusinessRoutinen/AVBerechnungCloudRoutinen.cs
534
C#
using System.Collections.Generic; using System.ComponentModel; using System.Reflection; using Microsoft.Xna.Framework; using MonoGame.Extended.TextureAtlases; using Newtonsoft.Json; namespace MonoGame.Extended.Gui { public class Binding { public Binding(object viewModel, string viewModelProperty, strin...
29.007937
98
0.536799
[ "MIT" ]
Acidburn0zzz/MonoGame.Extended
Source/MonoGame.Extended.Gui/Element.cs
3,655
C#
using System; using Amazon.Util; namespace IdentityServer4.Contrib.DynamoDB.Models { public static class Mapper { public static PersistedGrant ToPersistedGrantModel(IdentityServer4.Models.PersistedGrant grant) { return new PersistedGrant { Key = grant.Key...
37.928571
145
0.578154
[ "MIT" ]
seek-oss/IdentityServer4.Contrib.DynamoDB
IdentityServer4.Contrib.DynamoDB/Models/Mapper.cs
1,593
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.Diagnostics; using System.Threading; namespace System.Xaml { // XamlNode Double Buffering object t...
30.109792
128
0.529023
[ "MIT" ]
56hide/wpf
src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Primitives/XamlBackgroundReader.cs
10,147
C#
/*Implement an extension method Substring(int index, int length) for the class StringBuilder that returns new StringBuilder and has the same functionality as Substring in the class String.*/ namespace SubstringStringBuilder { using System; using System.Text; public static class StringBuilderExtensions ...
31.046512
191
0.607491
[ "MIT" ]
kaizer04/Telerik-Academy-2013-2014
OOP/Extension-Lambda-Expressions-and-LINQ-Homework/01. SubstringStringBuilder/StringBuilderExtensions.cs
1,337
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...
62.28
375
0.680903
[ "MIT" ]
AlanFlorance/azure-powershell
src/Kusto/generated/api/Models/Api20220201/CheckNameRequest.PowerShell.cs
9,193
C#
using System; using Crestron.SimplSharpPro.DeviceSupport; namespace PepperDash.Essentials.Bridges { /// <summary> /// Defines a device that uses the legacy JoinMapBase for its join map /// </summary> [Obsolete("IBridgeAdvanced should be used going forward with JoinMapBaseAdvanced")] public interfa...
30.357143
87
0.724706
[ "MIT" ]
PepperDash/Essentials
PepperDashEssentials/Bridges/IBridge.cs
427
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayOpenMiniReleaststBatchqueryModel Data Structure. /// </summary> [Serializable] public class AlipayOpenMiniReleaststBatchqueryModel : AopObject { /// <summary> /// 20 /// </su...
22.24
67
0.571942
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/AlipayOpenMiniReleaststBatchqueryModel.cs
564
C#
using GunplaOnlineShop.Data; using GunplaOnlineShop.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GunplaOnlineShop.Controllers { public class AdminController:BaseController ...
24
123
0.724638
[ "MIT" ]
GunplaOnlineShop/GunplaOnlineShop
GunplaOnlineShop/GunplaOnlineShop/Controllers/AdminController.cs
554
C#
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
36.87963
97
0.566407
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.OpsWorks/Model/Internal/MarshallTransformations/SetPermissionRequestMarshaller.cs
3,983
C#
namespace SKIT.FlurlHttpClient.Wechat.Work.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/kf/get_servicer_statistic 接口的响应。</para> /// </summary> public class CgibinKfGetServicerStatisticResponse : WechatWorkResponse { public static class Types { public class Statist...
47.979592
115
0.481781
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinKf/CgibinKfGetServicerStatisticResponse.cs
7,549
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Agenda_em_SQL { public partial class frmAgendaSQL : Form { public frmAgendaSQL...
18.380952
44
0.696891
[ "Apache-2.0" ]
Eduardo-Quirino/.net
projetos/Agenda em SQL/Agenda em SQL/Form1.cs
388
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using AdventureWorks.BaseDomain.Enums; using AdventureWorks.BaseDomain.Interfaces; using AdventureWorks.BaseDomain.CustomTypes; using AdventureWorks.BaseDomain.Entities.Sales;...
29.225806
108
0.724062
[ "Unlicense" ]
CodeSwifterGit/adventure-works
src/AdventureWorks.Domain/Entities/Sales/CurrencyRate.cs
906
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.Serialization.Json; namespace VLCore.Utils { /// <summary> /// json serializer /// </summary> public static class JsonSerializer { /// <summary> /// serialize...
28.133333
102
0.549763
[ "MIT" ]
vitolu1993/VLCore
VLCore/Utils/JsonSerializer.cs
1,268
C#
// <auto-generated /> namespace CodeFirstVidzyExcercise.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed par...
28.6
104
0.638695
[ "MIT" ]
AndriesDeKock/c-sharp-code-first-entity-framework-vidzy-excercise
Migrations/201907311238470_AddGenresToGenreTable.Designer.cs
858
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...
96.396226
500
0.73638
[ "MIT" ]
Agazoth/azure-powershell
src/MySql/generated/api/Models/Api20171201/ServerUpdateParameters.PowerShell.cs
30,337
C#
using Newtonsoft.Json; using SFA.DAS.Charities.Domain.Entities; using System; namespace SFA.DAS.Charities.Import.Functions.LoadCharityCommissionsDataInToStaging.CharityCommissionModels { public class CharityTrusteeModel { [JsonProperty("date_of_extract")] public DateTime ExtractedDate { get; s...
41.073171
119
0.653207
[ "MIT" ]
SkillsFundingAgency/das-charities-api
src/SFA.DAS.Charities.Import/Functions/LoadCharityCommissionsDataInToStaging/CharityCommissionModels/CharityTrusteeModel.cs
1,686
C#
using System.Reflection; namespace BlazorDoc.Models { public class PropertyComment { public string Summary { get; set; } public PropertyInfo PropertyInfo { get; set; } public PropertyComment(string summary, PropertyInfo propertyInfo) { Summary = summary; ...
23
73
0.619565
[ "MIT" ]
BlazoredDocumentation/BlazorDoc
BlazorDoc.Core/Models/PropertyComment.cs
370
C#
namespace CinemaWorld.Models.ViewModels.Countries { using System.ComponentModel.DataAnnotations; using CinemaWorld.Services.Mapping; using static CinemaWorld.Models.Common.ModelValidation; using static CinemaWorld.Models.Common.ModelValidation.Country; using Country = CinemaWorld.Data.Models.Cou...
30.238095
100
0.732283
[ "MIT" ]
stanislavstoyanov99/CinemaWorld
src/CinemaWorld.Models.ViewModels/Countries/CountryEditViewModel.cs
637
C#
using System; using System.Linq; using System.Threading.Tasks; using ExchangeSharp; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ExchangeSharpTests { [TestClass] public sealed class ExchangeBitBankTests { private ExchangeBitBankAPI MakeMockRequestMaker(strin...
34.957082
119
0.397176
[ "MIT" ]
EmergentCybernetics/ExchangeSharp
tests/ExchangeSharpTests/ExchangeBitBankTests.cs
8,145
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 JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.Extensions.D...
45.525
133
0.660626
[ "Apache-2.0" ]
Ali-YousefiTelori/EntityFrameworkCore
src/EFCore/Infrastructure/IModelRuntimeInitializer.cs
1,821
C#
using System; using EventStore.ClientAPI.Resilience; namespace EventStore.ClientAPI.Subscriptions { /// <summary> /// Represents a subscription to EventStore that has been dropped that is used by the /// DroppedSubscriptionPolicy to handle it. /// </summary> public class DroppedSubscription { ...
32.76
118
0.667888
[ "Apache-2.0", "CC0-1.0" ]
cuteant/EventStore-DotNetty-Fork
src/EventStore.ClientAPI.Consumer/Subscriptions/DroppedSubscription.cs
821
C#
// Url:https://leetcode.com/problems/lemonade-change /* 860. Lemonade Change Easy At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you, and order one at a time (in the order specified by bills). Each customer will only buy one lemonade and pay with either a $5, $10, or $20...
21.9375
197
0.692308
[ "MIT" ]
tarunbatta/ipg
core/leetcode/860.cs
1,755
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.ComponentModel { /// <summary> /// Provides data for the <see langword='PropertyChanged'/> ...
32.148148
106
0.633641
[ "MIT" ]
06needhamt/runtime
src/libraries/System.ObjectModel/src/System/ComponentModel/PropertyChangedEventArgs.cs
868
C#
using System; using System.Collections.Generic; using System.Net.Sockets; using MineLib.Network.IO; namespace MineLib.Network { public sealed partial class NetworkHandler : INetworkHandler { // -- Debugging public List<IPacket> PacketsReceived { get; set; } public List<IPacket> Packets...
31.194444
119
0.573167
[ "MIT" ]
MineLib/MineLib.Network
NetworkHandler.cs
3,371
C#
namespace BuildingBlocks.Swagger; public interface ISwaggerOptionsBuilder { ISwaggerOptionsBuilder Enable(bool enabled); ISwaggerOptionsBuilder ReDocEnable(bool reDocEnabled); ISwaggerOptionsBuilder WithName(string name); ISwaggerOptionsBuilder WithTitle(string title); ISwaggerOptionsBuilder WithVe...
38.615385
65
0.820717
[ "MIT" ]
MedAmineBenbaha/University-Microservices
src/BuldingBlocks/Swagger/ISwaggerOptionsBuilder.cs
502
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.Linq; using Microsoft.CodeAnalysis.CodeGeneration; using Microsoft.C...
44.173077
150
0.627485
[ "MIT" ]
Dean-ZhenYao-Wang/roslyn
src/Workspaces/CSharp/Portable/CodeGeneration/FieldGenerator.cs
6,893
C#
using System; namespace Jojatekok.PoloniexAPI.MarketTools { public interface ITrade { DateTime Time { get; } OrderType Type { get; } double PricePerCoin { get; } double AmountQuote { get; } double AmountBase { get; } } }
16.352941
43
0.586331
[ "MIT" ]
asyrafc/PoloniceMonitor
PoloniexApi.Net/MarketTools/Trade.Interface.cs
280
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using BinanceExchange.API.Caching; using BinanceExchange.API.Client.Interfaces; using BinanceExchange.API.Enums; using BinanceExchange.API.Models.Request; using BinanceExchange.API.Models.Response; using BinanceExchange.API.Models.Response.A...
43.679702
154
0.640007
[ "MIT" ]
krisztianleicht/BinanceDotNet
BinanceExchange.API/Client/BinanceClient.cs
23,458
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Template.Core.FastReflection { public static class FastReflectionCaches { static FastReflectionCaches() { MethodInvokerCache = new ...
34.172414
117
0.730575
[ "MIT" ]
xin2015/Template
Template/Template.Core/FastReflection/FastReflectionCaches.cs
993
C#
//------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Runtime Version:2.0.40607.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> /...
33.915493
139
0.538206
[ "MIT" ]
davidgn/Prager-Software
Backup/Create Registration Codes/Properties/Resources.cs
2,410
C#
using Microsoft.VisualStudio.Text.Classification; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Utilities; namespace TaskRunnerExtension.OutputFormatting { public class Cust...
32.86631
151
0.542467
[ "Apache-2.0" ]
IonKiwi/TaskRunnerExtension
TaskRunnerExtension/OutputFormatting/CustomClassifier.cs
6,148
C#