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
// Copyright (c) 2017 AB4D d.o.o. // // 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, pub...
40.811765
112
0.648314
[ "MIT" ]
Bitslo/CableGuardian
Source/OculusWrap/Base/SessionStatus.cs
3,471
C#
/// <summary> ///Problem 3. Range Exceptions /// ///Define a class InvalidRangeException<T> that holds information about an error condition related to invalid range. It should hold error message and a range definition [start … end]. ///Write a sample application that demonstrates the InvalidRangeException<int> and Inv...
37.611111
204
0.619645
[ "MIT" ]
Nayaata/Object-Oriented-Programming-C-
OOPPrinciplesPartTwo/RangeExceptions/ExceptionTests.cs
1,360
C#
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.CommandWpf; using GalaSoft.MvvmLight.Ioc; using Squirrel; using System; using System.Configuration; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; namespace Sample_Crunch.ViewModel { public ...
34.793522
180
0.530719
[ "MIT" ]
wolkesson/SampleCrunch
Sample Crunch/ViewModel/UpdateViewModel.cs
8,596
C#
using System.ComponentModel.Composition; using Caliburn.Micro; using LiteDbExplorer.Framework.Shell; namespace LiteDbExplorer.Modules.Main { [Export(typeof(IShellRightMenu))] [PartCreationPolicy (CreationPolicy.Shared)] public class ShellRightMenuViewModel : PropertyChangedBase, IShellRightMenu { ...
25.538462
79
0.76506
[ "MIT" ]
Dissociable/LiteDbExplorer
source/LiteDbExplorer/Modules/Main/ShellRightMenuViewModel.cs
334
C#
using System; using System.Collections.Generic; using System.Linq; namespace _02.LadyBugs { public class LadyBugs { public static void Main() { var sizeOfField = int.Parse(Console.ReadLine()); var ladyBugsIndexes = Console.ReadLine().Split(' ').Select(int.Parse).ToArray...
31.928144
93
0.312453
[ "MIT" ]
nikolaydechev/Programming-Fundamentals
Exam Preparation/02.LadyBugs/LadyBugs.cs
5,334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AT7View { public class AT7FileTypes { public static List<string> fileTypes = new List<string> { {".bin"}, {".breff"}, {".breft"}, ...
50.75
190
0.563732
[ "MIT" ]
kkzero241/AT7View
AT7View/AT7FileTypes.cs
3,252
C#
// Copyright (c) 2016, SolidCP // SolidCP is distributed under the Creative Commons Share-alike license // // SolidCP is a fork of WebsitePanel: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted ...
50.481481
84
0.757153
[ "BSD-3-Clause" ]
Alirexaa/SolidCP
SolidCP/Sources/SolidCP.EnterpriseServer.Base/Properties/AssemblyInfo.cs
2,726
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace System.Web.Security { /// <summary> /// Extensions of ComBoostPrincipal. /// </summary> public static class ComBoostP...
33.322034
89
0.592574
[ "MIT" ]
alexyjian/Core3.0
Wodsoft.ComBoost.Mvc/Web/Security/ComBoostPrincipalExtensions.cs
1,968
C#
// Copyright © 2017-2020 Chromely Projects. All rights reserved. // Use of this source code is governed by Chromely MIT licensed and CefSharp BSD-style license that can be found in the LICENSE file. using Chromely.Core.Logging; using Microsoft.Extensions.Logging; using System; using System.Diagnostics; namespace Chr...
31.261905
133
0.486672
[ "MIT" ]
GerHobbelt/Chromely.CefSharp
src/Chromely.CefSharp/BrowserLauncher.cs
1,316
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; namespace Azure.AI.MetricsAdvisor.Models { /// <summary> The AzureTableDataFeed. </summary> internal partial class AzureTable...
73.740741
1,319
0.700653
[ "MIT" ]
ChrisMissal/azure-sdk-for-net
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/Models/AzureTableDataFeed.cs
5,973
C#
using Domain.Entities.Insurance; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Infrastructure.Persistence.EntityConfigurations.Insurance { public class TitelConfiguration : IEntityTypeConfiguration<Titel> { public void Configure(EntityTypeBuilder...
30.285714
69
0.627358
[ "MIT" ]
RotterAxel/NettoAPI-Github
Infrastructure/Persistence/EntityConfigurations/Insurance/TitelConfiguration.cs
638
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
42.314856
167
0.579019
[ "MIT" ]
Lidinh26/Sparta-C-Sharp-Course
Labs_68_API/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs
19,084
C#
// // MSCompatUnicodeTable.cs : Utility for MSCompatUnicodeTable class. // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docum...
43.287356
74
0.688794
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/corlib/Mono.Globalization.Unicode/MSCompatUnicodeTableUtil.cs
3,766
C#
#region Copyright Teference // ************************************************************************************ // <copyright file="WebhookField.cs" company="Teference"> // Copyright © Teference 2015. All right reserved. // </copyright> // ***************************************************************************...
30.2
87
0.4117
[ "MIT" ]
inkfrog/shopify-dotnet
source/Shopify.Api/Models/Enums/WebhookField.cs
909
C#
 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.Reflection; using System.Text.RegularExpressions; using System.Diagnostics; public class LogLocation { // [UnityEditor.Callbacks.OnOpenAssetAttribute(0)] static bool OnOpenAsset(int ins...
36.375
181
0.561774
[ "Apache-2.0" ]
fqkw6/ILRuntimeMyFrame
Assets/Editor/Tools/LogLocation.cs
6,217
C#
/***********************************************************************************************\ * (C) KAL ATM Software GmbH, 2021 * KAL ATM Software GmbH licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. \*********************************************...
54.825
306
0.531496
[ "MIT" ]
BridgetKhursheed/KAL_XFS4IoT_SP-Dev-Samples
Devices/SampleCashDispenser/CashDispenserSample.cs
46,055
C#
namespace Automatonymous { using System; public delegate DateTime ScheduleTimeExceptionProvider<in TInstance, in TException>(ConsumeExceptionEventContext<TInstance, TException> context); public delegate DateTime ScheduleTimeExceptionProvider<in TInstance, in TData, in TException>( Consu...
32.076923
150
0.760192
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/MassTransit/Automatonymous/ScheduleTimeExceptionProvider.cs
417
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> //---...
41.416667
80
0.648893
[ "MIT" ]
Mlira02/CSharpFoodProj
OdeToFood/OdeToFood.Data/obj/Release/netcoreapp3.1/OdeToFood.Data.AssemblyInfo.cs
994
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Net.WebSockets; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ...
36.585816
178
0.487497
[ "MIT" ]
tersers/WatsonWebsocket
WatsonWebsocket/WatsonWsServer.cs
25,795
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using Sys...
30.987578
156
0.576067
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/VisualStudio/BaseOptionsPageControl.xaml.cs
4,991
C#
using NUnit.Framework; using Playnite; using Playnite.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Playnite.Tests.Settings { [TestFixture] public class FilterSettingsTests { [Test] publi...
52.063492
81
0.656098
[ "MIT" ]
Bobsans/Playnite
source/Tests/Playnite.Tests/Settings/FilterSettingsTests.cs
3,282
C#
namespace MBBSDASM.Analysis.Artifacts { public class TrackedVariable { public ushort Segment { get; set; } public ulong Offset { get; set; } public ushort Address { get; set; } public string Name { get; set; } public string Comment { get; set; } } }
27.454545
43
0.596026
[ "BSD-2-Clause" ]
enusbaum/MBBSDASM
MBBSDASM/Analysis/Artifacts/TrackedVariable.cs
304
C#
using System.Threading; using log4net; namespace ACTransit.CusRel.ServiceHost.Tasks { public class Cancellation { private readonly CancellationTokenSource TokenSource; private static readonly ILog log = LogManager.GetLogger(nameof(Cancellation)); public CancellationToken Token...
26.857143
87
0.610372
[ "MIT" ]
actransitorg/ACTransit.CusRel
CusRel/ACTransit.CusRel.ServiceHost/Tasks/Cancellation.cs
754
C#
using System.Diagnostics; using WireC.Common; namespace WireC.AST.TypeSignatures { public class TypeName : ITypeSignature { public TypeName(string name, SourceSpan span) { Name = name; Span = span; } public string Name { get; } public SourceSp...
23.655172
92
0.600583
[ "MIT" ]
Daouki/wire
WireC.AST/TypeSignatures/TypeName.cs
688
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// RegionInfo Data Structure. /// </summary> [Serializable] public class RegionInfo : AopObject { /// <summary> /// 地址所属区代码 /// </summary> [XmlElement("area_code")]...
22.795918
48
0.503133
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/RegionInfo.cs
1,205
C#
using Lucene.Net.Analysis.Core; using Lucene.Net.Analysis.Miscellaneous; using Lucene.Net.Analysis.Snowball; using Lucene.Net.Analysis.Standard; using Lucene.Net.Analysis.Util; using Lucene.Net.Support; using Lucene.Net.Util; using System; using System.IO; using System.Text; namespace Lucene.Net.Analysis.Fr { /* ...
49.643777
190
0.582001
[ "Apache-2.0" ]
b9chris/lucenenet
src/Lucene.Net.Analysis.Common/Analysis/Fr/FrenchAnalyzer.cs
11,597
C#
/* Copyright (c) 2006 - 2008 The Open Toolkit library. 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, pub...
41.208877
172
0.522762
[ "MIT" ]
Kaplas80/ShenmueDKSharp
Math/Matrix4d.cs
63,132
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PhoneNumberLoginSample.EntityFram...
38.730315
117
0.441753
[ "MIT" ]
Vktun/Abp.PhoneNumberLogin
samples/PhoneNumberLoginSample/src/PhoneNumberLoginSample.EntityFrameworkCore.DbMigrations/Migrations/20200810022238_Initial.Designer.cs
78,702
C#
using System; using DomainEventsDemo.Model.Events; using DomainEventsDemo.SharedKernel.StaticApproach; namespace DomainEventsDemo.Model { public class Counter { public string Name { get; private set; } public int Count { get; private set; } public Counter(string name) { ...
23.208333
80
0.605027
[ "MIT" ]
ardalis/DomainEventsDemo
DomainEventsDemo/Model/Counter.cs
559
C#
using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace CeresECL.Misc { public static class EditorHelpers { public static Texture2D GetColoredTexture(Color color) { var texture = new Texture2D(1, 1); texture.SetPixel(0, 0, color); t...
28.322581
117
0.572893
[ "MIT" ]
InsaneOneHub/CeresECL
Sources/Extensions/Editor/EditorHelpers.cs
880
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Invincibility : PowerUpBase { [SerializeField] Material _currentlyPoweredMat; Material[] _originalMat = new Material[4]; MeshRenderer[] _mesh; Collider playerCol; protected override void PowerUp(Player play...
22.463415
63
0.592834
[ "MIT" ]
whroberts/SFG_Homework_01
Assets/Scripts/Powerups/Invincibility.cs
921
C#
using System.ComponentModel; using System.Drawing; using Runes.Net.Db; using Runes.Net.Shared; namespace RunesDataBase.TableObjects { public class SpellObject : BasicVisualTableObject { public SpellObject(BasicObject obj) : base(obj) { } [Category("Spell Properties")] [DisplayName("Ma...
33.531609
102
0.554889
[ "MIT" ]
ROM-II/rom_db_editor
RunesDataBase/TableObjects/SpellObject.cs
11,671
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : Character { //private float ContagionLevel; private int ContagionLevel = 0; private bool HasCertification; private bool HasToiletPaper; private bool ItsMyTurn = false; private bool HasValidIn...
23.825175
107
0.599061
[ "MIT" ]
alessiocali/StayAtHomeGameJam
Assets/Scripts/Engine/Occupants/Player.cs
3,409
C#
using Miharu.BackEnd.Helper; using OpenQA.Selenium; using System; using System.Threading.Tasks; namespace Miharu.BackEnd.Translation.WebCrawlers { public class WCDeepLTranslator : WebCrawlerTranslator { private readonly string _URL; public WCDeepLTranslator(WebDriverManager webDriverManager, ...
34
138
0.556795
[ "MIT" ]
aelbuz/MiharuScanHelper
Miharu Scan Helper/BackEnd/Translation/WebCrawlers/WCDeepLTranslator.cs
2,960
C#
using Tizen.NUI; using Tizen.NUI.BaseComponents; using Tizen.NUI.CommonUI; namespace NuiCommonUiSamples { public class CheckBox : IExample { private SampleLayout root; private static readonly int Height = 150; private static readonly int Width = 216; private uint colNum; ...
32.666667
139
0.4435
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
test/NUITestSample/CommonUI_Samples/Samples/CheckBoxSample.cs
5,294
C#
using NUnit.Framework; namespace MLAgents.Tests { public class EditModeTestActionMasker { [Test] public void Contruction() { var bp = new BrainParameters(); var masker = new ActionMasker(bp); Assert.IsNotNull(masker); } [Test] ...
31.760563
71
0.469401
[ "Apache-2.0" ]
107587084/ml-agents
com.unity.ml-agents/Tests/Editor/EditModeTestActionMasker.cs
4,510
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace VideoManager.iOS { public class Application { // This is the main entry point of the application. static void Main (string[] args) { // if you want to use a different Application Delegate class from...
20.285714
82
0.720657
[ "MIT" ]
TVGSoft/Architecture-Xamarin
Apps/iOS/Main.cs
428
C#
using System; using System.Collections.Generic; using System.Linq; namespace CsDebugScript.DwarfSymbolProvider { /// <summary> /// Common information entry shared across frame description entries. /// </summary> internal class DwarfCommonInformationEntry { /// <summary> /// Initial...
40.907236
206
0.56506
[ "Apache-2.0" ]
rdev0/PadAnalyzer
Source/CsDebugScript.DwarfSymbolProvider/DwarfCommonInformationEntry.cs
22,051
C#
using System; using System.Threading.Tasks; namespace DesignPatterns.Structural.Adapters { public class AppleIPhone : Phone, ILightningChargeable { public async Task Recharge() { if (!CableConnected) { Console.WriteLine("Please, connect the lightning cab...
25.125
98
0.554726
[ "MIT" ]
luizmotta01/dotnet-design-patterns
src/DesignPatterns/Structural/Adapters/AppleIPhone.cs
806
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace WPFQ21 { /// <summary> /// App.xaml 的交互逻辑 /// </summary> public partial class App : Application { } }
16.888889
42
0.690789
[ "MIT" ]
zmrbak/WPFqa1
配套代码/WPFQ21/WPFQ21/App.xaml.cs
316
C#
using System.Linq; using System.Threading.Tasks; using Telegram.Bot.Exceptions; using Telegram.Bot.Tests.Integ.Framework; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using Telegram.Bot.Types.ReplyMarkups; using Xunit; namespace Telegram.Bot.Tests.Integ.Exceptions { [Collection(Constants.TestCollecti...
45.796296
114
0.700364
[ "MIT" ]
Akshay-Gupta/Telegram.Bot
test/Telegram.Bot.Tests.Integ/Exceptions/ApiExceptionsTests.cs
4,948
C#
namespace Microsoft.Protocols.TestSuites.SharedTestSuite { using System.Collections.Generic; using System.Globalization; using System.Linq; using Microsoft.Protocols.TestSuites.Common; using Microsoft.Protocols.TestSuites.SharedAdapter; using Microsoft.VisualStudio.TestTools.UnitTesting; ...
74.744036
525
0.699796
[ "MIT" ]
ChangDu2021/Interop-TestSuites
FileSyncandWOPI/Source/SharedTestSuite/SharedTestCase/S13_PutChanges.cs
115,996
C#
/* * Copyright (c) 2016, InWorldz Halcyon Developers * 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 notice, this ...
38.532934
161
0.634654
[ "BSD-3-Clause" ]
Ana-Green/halcyon-1
OpenSim/Grid/UserServer.Modules/JWTAuthenticator.cs
6,437
C#
namespace Dec.DiscordIPC.Commands.Interfaces { public interface IDummyCommandArgs : ICommandArgs {} }
35
56
0.8
[ "Apache-2.0" ]
GStefanowich/DiscordIPC
Commands/Interfaces/IDummyCommandArgs.cs
105
C#
// // Authors: // Marek Habersack (mhabersack@novell.com) // // (C) 2010 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 files (the // "Software"), to deal in the Software without restriction...
25.62963
73
0.725434
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Web/System.Web.UI/MainDirectiveAttribute.cs
2,076
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PwrSwitch { public class PowerPlan { public Guid guid { get; } public string name { get; } public PowerPlan(Guid guid, string name) { thi...
18.238095
48
0.590078
[ "MIT" ]
ohnx/PwrSwitch
PowerPlan.cs
385
C#
namespace GitVersion { using System; using System.Linq; using System.Reflection; class VersionWriter { public static void Write(Assembly assembly) { WriteTo(assembly, Console.WriteLine); } public static void WriteTo(Assembly assembly, Action...
27.636364
91
0.582237
[ "MIT" ]
Bankers88/GitVersion
src/GitVersionExe/VersionWriter.cs
880
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; namespace InvoluteGears { /// <summary> /// Describe the shape of an escape wheel /// with inclined sharp teeth. /// </summary> public class EscapeGearParameters : IGearProfile { public EscapeGear...
34.028
140
0.56189
[ "MIT", "Unlicense" ]
RopleyIT/InvoluteGears
InvoluteGears/EscapeGearParameters.cs
8,509
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; using System.IO; namespace BotDiscord { class Config { private const string configFolder = "Resources"; private const string configFile = "config.json"; static BotConfig bot; static Con...
25.071429
84
0.565052
[ "MIT" ]
Dakusy/BotDiscord
Config.cs
1,055
C#
using System; using System.IO; using System.Reactive.Concurrency; using System.Reactive.Linq; namespace Akavache { public class SimpleFilesystemProvider : IFilesystemProvider { public IObservable<Stream> SafeOpenFileAsync(string path, FileMode mode, FileAccess access, FileShare share, IScheduler schedu...
27.36
138
0.654971
[ "MIT" ]
anurse/Akavache
Akavache/SimpleFilesystemProvider.cs
684
C#
using System; using NpcService.Ai.NpcType; namespace NpcService.Ai.NpcCitizen { public class Malcom10 : Citizen { } }
13.1
35
0.70229
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
dr3dd/L2Interlude
NpcService/Ai/NpcCitizen/Malcom10.cs
131
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.Diagnostics; using System.IO; using System.Threading; // make sure that using System.Drawing...
29.797101
118
0.55642
[ "Apache-2.0" ]
coderserdar/CSharpExamples
SourceCode/Color to Gray/Color to Gray/FormColorToGray.cs
2,058
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
27.833333
84
0.647705
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerService/V20200301/Outputs/ManagedClusterServicePrincipalProfileResponse.cs
1,002
C#
using Microsoft.Extensions.Configuration; namespace dFakto.States.Workers.FileStores { public class FileStoreConfig { public string Name { get; set; } public string Type { get; set; } public IConfigurationSection Config { get; set; } } }
24.909091
57
0.671533
[ "MIT" ]
depfac/dFakto.States.Workers
dFakto.States.Workers/FileStores/FileStoreConfig.cs
274
C#
// __ _ __ __ ___ __ ___ ___ // | \| |/__\ /' _/ / _//__\| _ \ __| // | | ' | \/ |`._`.| \_| \/ | v / _| // |_|\__|\__/ |___/ \__/\__/|_|_\___| // ----------------------------------- using System.Collections.Generic; using NosCore.Packets.Attributes; using NosCore.Packets.Enumerations; using NosCore.Packets...
27.608696
61
0.55748
[ "MIT" ]
Fizo55/NosCore.Packets
src/NosCore.Packets/ServerPackets/Shop/PidxPacket.cs
637
C#
// <copyright company="Benjamin Abt ( http://www.benjamin-abt.com - http://quickIO.NET )"> // Copyright (c) 2016 Benjamin Abt Rights Reserved - DO NOT REMOVE OR EDIT COPYRIGHT // </copyright> // <author>Benjamin Abt</author> using System; using SchwabenCode.QuickIO.Engine; namespace SchwabenCode.QuickIO { /...
44.596154
169
0.599828
[ "MIT" ]
SVemulapalli/QuickIO
src/SchwabenCode.QuickIO/QuickIODirectory.Statistics.cs
4,640
C#
// ----------------------------------------------------------------------- // <copyright file="DocumentNavigator.cs" company=""> // TODO: Update copyright text. // </copyright> // ----------------------------------------------------------------------- using DjvuNet.DataChunks.Navigation.Interfaces; namespace...
25.714286
146
0.472222
[ "MIT" ]
Telavian/DjvuNet
DjvuNet/DjvuNet/DataChunks/Navigation/DocumentNavigator.cs
1,982
C#
using System; using System.Linq; using Inventor.Semantics; using Inventor.Semantics.Questions; namespace Samples.Semantics.Sample05.CustomStatement { public class GetShorterQuestion : Question { public IConcept Person { get; } public GetShorterQuestion(IConcept person) { if (person == null) throw new A...
24.886364
71
0.686758
[ "MIT" ]
CourageAndrey/AI
Code/Samples/Inventor.Semantics.Sample05.CustomStatement/GetShorterQuestion.cs
1,097
C#
using System; using System.Xml; class Program { static void Main() { var catalogue = new XmlDocument(); catalogue.Load("../../../catalogue.xml"); int targetYear = DateTime.Now.Year - 5; string xPathQuery = "/catalogue/album[year <= " + targetYear + "]"; XmlNodeList al...
28.083333
119
0.599407
[ "MIT" ]
GeorgiPetrovGH/TelerikAcademy
11.Databases/02.XML Processing in .NET/XMLProcessing/ExtractAlbumPrices/Program.cs
676
C#
using System; using System.Collections.Generic; using OpenRasta.TypeSystem.ReflectionBased; namespace OpenRasta.TypeSystem.Surrogates.Static { public class CollectionIndexerSurrogateBuilder : AbstractStaticSurrogateBuilder { public override bool CanCreateFor(Type type) { r...
33
85
0.649351
[ "MIT" ]
openrasta/openrasta-core
src/OpenRasta/TypeSystem/Surrogates/Static/CollectionIndexerSurrogateBuilder.cs
693
C#
/* * Copyright(c) 2016 - 2019 Puma Security, LLC (https://www.pumascan.com) * * Project Leader: Eric Johnson (eric.johnson@pumascan.com) * Lead Developer: Eric Mead (eric.mead@pumascan.com) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not ...
33.40625
113
0.648737
[ "MPL-2.0" ]
gregpakes/puma-scan
Puma.Security.Rules/Analyzer/Validation/Path/Core/MvcFileResultExpressionAnalyzer.cs
2,138
C#
using System; using System.Collections.Generic; using System.Text; namespace Department.Base.Model.Recommendations { public partial class UsageEvent { public DateTime? CreatedDate { get; set; } public string CustomerId { get; set; } public string StoreId { get; set; } public str...
24.388889
50
0.640091
[ "Apache-2.0" ]
takemurakimio/department-store
DepartmentStoreOne.Base.Model/Recommendations/UsageEvent.cs
439
C#
using Spoondrift.Code.Config; using Spoondrift.Code.Config.Form; using Spoondrift.Code.Util; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace Spoondrift.Code.Data { public abstract class ListDataTable : IListDataTable, IDisposable { pub...
34.645207
216
0.45625
[ "MIT" ]
RookieXie/spoondrift.core
src/Spoondrift.Code/Data/ListDataTable.cs
24,473
C#
using Pluto.Domain.Events.Common; using System; namespace Pluto.Domain.Events.User { public class DeleteUserEvent : Event { public DeleteUserEvent(Guid id) { Id = id; AggregateId = Id; } public Guid Id { get; private set; } } }
16.666667
44
0.563333
[ "MIT" ]
mswinner/Pluto
Pluto.Domain/Events/User/DeleteUserEvent.cs
302
C#
using UnityEngine; using System.Collections; public class Blinking : MonoBehaviour { private bool isBlinking = false; public float TimeOn = 1f; public float TimeOff = 0.5f; IEnumerator Start() { while(true) { if (isBlinking) renderer.enabled = false; yield...
19.645161
53
0.582923
[ "MIT" ]
hagish/tektix
taktik/Assets/Scripts/Blinking.cs
611
C#
using System; using System.Collections.Generic; using System.Net; using System.Text; using System.Threading; namespace Downloader { public abstract class AbstractDownload : IDownload { public event DownloadDelegates.DownloadDataReceivedHandler DataReceived; public event DownloadDelegates.Down...
29.607656
159
0.555268
[ "MIT" ]
suntabu/UnityDownloader
Assets/Downloader/AbstractDownload.cs
6,190
C#
namespace Frontend.ViewModels { public class WindowControlsViewModel : ViewModelBase { } }
15.5
53
0.795699
[ "MIT" ]
p-barski/TodoListApp
Frontend/ViewModels/WindowControlsViewModel.cs
93
C#
using System; using System.Collections; using System.Collections.Generic; using Games; using NUnit.Framework; using Storage; using UnityEngine; using UnityEngine.TestTools; using Assert = UnityEngine.Assertions.Assert; namespace PlayModeTests { namespace SystemTests { namespace BackendConnectionTests...
41.630769
149
0.501663
[ "MIT" ]
lim147/capstone-mini-game-battery-project
Assets/Tests/PlayModeTests/SystemTests/ElasticsearchStorageManagerTests.cs
5,414
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using static Pidgin.Parser<char>; namespace Pidgin; public static partial class Parser { /// <summary> /// A parser that parses and returns a single digit character (0-9) /// </summary> /// <returns>A parser t...
45.981481
123
0.721708
[ "MIT" ]
getkks/Pidgin
Pidgin/Parser.Char.cs
4,966
C#
namespace System.Runtime { // Custom attribute that the compiler understands that instructs it // to export the method under the given symbolic name. internal sealed class RuntimeExportAttribute : Attribute { public RuntimeExportAttribute(string entry) { } } }
32
71
0.725694
[ "MIT" ]
nifanfa/BootTo.NET
Corlib/System/Runtime/RuntimeExportAttribute.cs
288
C#
using System.Collections.ObjectModel; using System.Windows.Input; using Level_Exporter.Commands; using Level_Exporter.Models; using System.Collections.Generic; namespace Level_Exporter.ViewModels { /// <summary> /// Level info view model, for use in datagrid /// </summary> public class LevelInfoViewMo...
29.067416
106
0.548319
[ "MIT" ]
MarkRoldan88/Mastercam-Level-Exporter
Level-Exporter/ViewModels/LevelInfoViewModel.cs
5,176
C#
using System; using System.Collections.Generic; using System.Net.Mime; using GraphicsLibrary; using GraphicsLibrary.Hud; using GraphicsLibrary.Input; using OpenTK; using OpenTK.Input; namespace Resim { public static class ActionTrigger { public static float maxDistance = 300f; public static TextField textField;...
21.886792
102
0.706897
[ "MIT" ]
fonsp/resim
Resim/ActionTrigger.cs
1,162
C#
using System; namespace ReportPortal.Shared.Reporter { public interface IReporterInfo { string Uuid { get; } string Name { get; } DateTime StartTime { get; } DateTime? FinishTime { get; } } }
15.0625
38
0.585062
[ "Apache-2.0" ]
Bakanych/commons-net
src/ReportPortal.Shared/Reporter/IReporterInfo.cs
243
C#
#region License // Copyright 2015-2018 John Källén // // 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 ...
37.12037
113
0.496882
[ "Apache-2.0" ]
powerdev0510/pythonc
src/Cli/Program.cs
4,013
C#
/* Copyright 2017 James Craig Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
37.857143
109
0.589488
[ "Apache-2.0" ]
JaCraig/Mirage
src/Mirage/Generators/Default/Nullable/NullableShortGenerator.cs
3,712
C#
namespace TileBeautify { partial class FormAboutMe { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
49.608696
173
0.591674
[ "MIT" ]
BluePointLilac/TileBeautify
TileBeautify/FormAboutMe.Designer.cs
11,542
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
29.455285
85
0.524979
[ "MIT" ]
nmusco/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/SetUuiDataRequest.cs
3,623
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
40.714286
96
0.756579
[ "Apache-2.0" ]
Esri/arcgisearth-automation-api
src/ArcGISEarth.AutoAPI.Examples/Properties/AssemblyInfo.cs
2,283
C#
namespace AppliedAlgebra.WaveletCodesTools.Decoding.ListDecoderForFixedDistanceCodes.GsBasedDecoderDependencies { using System; using System.Collections.Concurrent; using System.Collections.Generic; using GfPolynoms; /// <summary> /// Contract for telemetry reciver for wavelet code's list deco...
44.264706
148
0.676412
[ "MIT" ]
FeodorFitsner/GfPolynoms
src/WaveletCodesTools/Decoding/ListDecoderForFixedDistanceCodes/GsBasedDecoderDependencies/IGsBasedDecoderTelemetryCollector.cs
1,509
C#
using System.Collections.Immutable; using System.Composition; using System.Threading.Tasks; using Entia.Analyze.Analyzers; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Entia.Analyze.Fixers { [ExportCodeFixProvider(LanguageNames.CSharp, ...
42.2
142
0.736967
[ "MIT" ]
Magicolo/Entia
Entia.Analyze/Fixers/AddInModifier.cs
1,266
C#
// Copyright (c) 2022 TrakHound Inc., All Rights Reserved. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using MTConnect.Observations; using System; namespace MTConnect.Devices.Events { /// <summary> /// The direction of motio...
35.956204
116
0.522533
[ "Apache-2.0" ]
halitcan/MTConnect.NET
src/MTConnect.NET/Devices/Events/DirectionDataItem.cs
4,926
C#
// <auto-generated /> namespace MUnique.OpenMU.Persistence.EntityFramework.Migrations { using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; ...
38.306138
134
0.482437
[ "MIT" ]
cristian-eriomenco/OpenMU
src/Persistence/EntityFramework/Migrations/00000000000000_Initial.designer.cs
149,779
C#
namespace Usain.Samples.Advanced.AzureQueue.Common { using System; using Azure.Storage.Queues; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; // Azure StorageConnectionString is now internal .. // we don't have access to Azure SDK internal validation logic (eg. StorageC...
33.586957
102
0.620712
[ "MIT" ]
Ciaanh/Usain
samples/02.advanced.azurequeue/Usain.Samples.Advanced.AzureQueue.Common/AzureQueueConnectionStringValidator.cs
1,545
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Blog.Mingor.N...
32.196721
109
0.601833
[ "Apache-2.0" ]
FeynmanLoo/Blog.Mingor.NET
src/Startup.cs
1,966
C#
namespace GeminiLab.Core2.Stream { public interface ISeekableStream : IStream { long Seek(long offset, SeekOrigin origin); long Length { get; set; } long Position { get; set; } } }
26.625
50
0.629108
[ "BSD-3-Clause" ]
GeminiLab/GeminiLab.Core2
src/GeminiLab.Core2.Stream/ISeekableStream.cs
213
C#
using Android.Content; using Android.Views; using Android.Widget; namespace Microsoft.Maui.Controls.Handlers.Compatibility { internal class ConditionalFocusLayout : LinearLayout, global::Android.Views.View.IOnTouchListener { public ConditionalFocusLayout(System.IntPtr p, global::Android.Runtime.JniHandleOwnership ...
28.354839
123
0.749147
[ "MIT" ]
10088/maui
src/Controls/src/Core/Compatibility/Handlers/ListView/Android/ConditionalFocusLayout.cs
1,758
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; using log4net; using Ramone; using WebRequest = Ramone.Request; namespace OpenWeatherMap.ZimmerBot.AddOn { public class OpenWeatherMapAPI { protected static ILog Logger = LogManager.GetLogger(typeof(OpenWeatherMapAPI));...
22.284722
84
0.565441
[ "MIT" ]
JornWildt/ZimmerBot
OpenWeatherMap.ZimmerBot.AddOn/OpenWeatherMapAPI.cs
6,420
C#
using NUnit.Framework; namespace Samples.Specifications { public class Summator { public int Sum(int a, int b) { return a + b; } } [TestFixture] public class Summator_Should { [Test] public void DoSomething_WhenSomething() { ...
14.347826
47
0.521212
[ "MIT" ]
BlokhinaElizaveta/ShporaTesting
Samples/Specifications/Summator.cs
330
C#
using BookingSeatPlan.Properties; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Drawing.Printing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Boo...
37.628099
126
0.511311
[ "MIT" ]
BogdanPasterak/BookingSeatPlan
BookingSeatPlan/SeatPlan.cs
9,108
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System.Diagnostics; namespace IdentityDeveloperTemplates.AzureADB2C.Authz.WebApp.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public class ErrorMo...
26.928571
88
0.676393
[ "MIT" ]
Daniel-Krzyczkowski/IdentityDeveloperTemplates
src/app-templates/IdentityDeveloperTemplates.AzureADB2C.Authz.WebApp/Pages/Error.cshtml.cs
754
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace IdxSistemas.Models { [Table("RELATORIOS")] public class Relatorios : BaseModel { public string Codigo { get; set; } public string Nome { get; set; } p...
20.708333
51
0.637827
[ "Unlicense" ]
IDX-Sistemas/S4-Varejo-Backend
Models/Models/Relatorios.cs
499
C#
using System; using System.IO; using GitVersion; using GitVersionCore.Tests.Helpers; using LibGit2Sharp; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using NUnit.Framework; namespace GitVersionCore.Tests { [TestFixture] public class GitVersionTaskDirectoryTests : TestBas...
32.252874
134
0.583749
[ "MIT" ]
rainersigwald/GitVersion
src/GitVersionCore.Tests/Core/GitVersionToolDirectoryTests.cs
2,806
C#
using System.Collections.Generic; using UnityEngine; namespace Unity.MLAgents.Sensors { internal class SensorShapeValidator { List<ObservationSpec> m_SensorShapes; /// <summary> /// Check that the List Sensors are the same shape as the previous ones. /// If this is the first Li...
35.482143
95
0.460996
[ "Apache-2.0" ]
315930399/ml-agents
com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs
1,987
C#
using System.IO; namespace AzureFunctions.Extensions.Swashbuckle { public interface ISwashBuckleClient { Stream GetSwaggerDocument(string host, string documentName = "v1"); Stream GetSwaggerUi(string swaggerUrl); string RoutePrefix { get; } } }
20.357143
75
0.694737
[ "MIT" ]
LockTar/azure-functions-extensions-swashbuckle
src/AzureFunctions.Extensions.Swashbuckle/AzureFunctions.Extensions.Swashbuckle/ISwashBuckleClient.cs
287
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Pipes; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace PipeClient { cl...
19.125
52
0.71024
[ "MIT" ]
pingkunga/VB6_DOTNET_NAMEPIPE_Example
NetPipe/PipeClient/Program.cs
459
C#
using Easter.Models.Dyes.Contracts; using System; using System.Collections.Generic; using System.Text; namespace Easter.Models.Dyes { public class Dye : IDye { private int power; public Dye(int power) { this.Power = power; } public int Power { ...
17.679245
36
0.366062
[ "MIT" ]
DaniHristov/SoftUni
C#-OOP/Easter-Exam/Easter/Models/Dyes/Dye.cs
939
C#
using Abp.Application.Services.Dto; using Abp.AutoMapper; using BrandChallenge.MultiTenancy; namespace BrandChallenge.Sessions.Dto { [AutoMapFrom(typeof(Tenant))] public class TenantLoginInfoDto : EntityDto { public string TenancyName { get; set; } public string Name { get; set; } } }...
21.4
47
0.700935
[ "MIT" ]
afaqch1/BrandChallengeBoilerPlate
aspnet-core/src/BrandChallenge.Application/Sessions/Dto/TenantLoginInfoDto.cs
323
C#
/*! \cond PRIVATE */ using UnityEngine; using Random = UnityEngine.Random; // ReSharper disable once CheckNamespace namespace DarkTonic.MasterAudio { /// <summary> /// This class is only activated when you need code to execute in an Update method, such as "follow" code. /// </summary> // ReS...
37.520619
162
0.538398
[ "MIT" ]
alpdogan1/GGJ19_Roof
Assets/Plugins/DarkTonic/MasterAudio/Scripts/Settings/SoundGroupVariationUpdater.cs
36,395
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Text; using System.Xml; using System.Xml.Linq; using System.Runtime.Serialization.Json; using System.Net.Http; using System.Net.Http.Headers; namespace YammerOGApp {...
37.300813
119
0.576286
[ "MIT" ]
OfficeDev/TrainingContent-Archive
O3653/O3653-5 Deep Dive into Office 365 APIs for Yammer Services/Completed Projects/Exercise 03/YammerOGApp/YammerOGApp/Default.aspx.cs
4,590
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class SSRCustomData : ICameraStorageCustomData { public SSRCustomData(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } }
21.133333
100
0.728707
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/SSRCustomData.cs
303
C#