content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
 using System; namespace Contensive.CLI { static class RepairCmd { // // ==================================================================================================== /// <summary> /// help text for this command /// </summary> internal static readonly string ...
40.392857
153
0.45977
[ "Apache-2.0" ]
contensive/Contensive5
source/Cli/Views/RepairCmd.cs
1,133
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("Exe...
38.054054
84
0.75071
[ "MIT" ]
quakeN/ProgrammingFundamentals_Sept2017
06. Data types and variables/Exer_08_EmployeeData/Properties/AssemblyInfo.cs
1,411
C#
using System; using Newtonsoft.Json; namespace TestConsole.Helpers { public static class StringHelpers { public static string Base64Encode(string plainText) { var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText); return System.Convert.ToBase64String(plainT...
29.307692
88
0.670604
[ "MIT" ]
YatterOfficial/Yatter.Invigoration
TestConsole/Helpers/StringHelpers.cs
764
C#
/** * Copyright 2018, 2019 IBM Corp. 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 applicable...
47.898734
136
0.66834
[ "Apache-2.0" ]
AntiDesert5/unity-sdk
Scripts/Services/Discovery/V1/Model/Enrichment.cs
3,784
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; internal partial class Interop { internal partial class User32 { [DllImport(Libraries.User32, EntryPoint = "SendM...
33.333333
153
0.746
[ "MIT" ]
2m0nd/runtime
src/libraries/Common/src/Interop/Windows/User32/Interop.SendMessageTimeout.cs
500
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using Nibbler.Core.Macro.Definition; using Nibbler.Core.Macro.Tapes; using Nibbler.Core.Simple.Definition; using Nibbler.Core.Simple.Run; using Unlog; namespace Nibbler.Core.Macro.Run { public...
24.944099
200
0.621514
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
nerai/Nibbler
src/Nibbler.Core.Macro/Run/MmRun.cs
4,018
C#
// // Copyright (c) Microsoft and contributors. 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 requi...
29.982301
76
0.580874
[ "Apache-2.0" ]
achal3754/azure-sdk-for-net
src/DataFactoryManagement/Generated/Models/AzureBlobLocation.cs
3,388
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules { using System.Threading; using System.Threading.Tasks; using Styl...
57.35
237
0.656931
[ "Apache-2.0" ]
Andreyul/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1624CSharp7UnitTests.cs
4,590
C#
using System; using System.Reflection; using System.Resources; 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("Mic...
42.225
124
0.76791
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/archive/OpenRiaServices.Data.DomainServices/Framework/Properties/AssemblyInfo.cs
1,692
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Inbox2.Platform.Interfaces; using System.Diagnostics; namespace Inbox2.Platform.Framework.Locking { [Serializable] public class ReaderLock : IDisposable { protected ISynchronizedObject synchronizedObject; ...
22.137931
60
0.742991
[ "BSD-3-Clause" ]
Klaudit/inbox2_desktop
Code/Platform/Framework/Locking/ReaderLock.cs
644
C#
using System; using System.Windows; namespace SharpVectors.Runtime { public static class SvgObject { #region Public Fields public const string LinksLayer = "_SvgAnimationLayer"; public const string DrawLayer = "_SvgDrawingLayer"; public static readonly Depe...
33.632653
103
0.531705
[ "MIT", "BSD-3-Clause" ]
Altua/SharpVectors
Source/SharpVectorRuntimeWpf/SvgObject.cs
6,594
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("Qu...
38.189189
84
0.748054
[ "MIT" ]
Ico093/TelerikAcademy
C#1/Exams/C#Part1-29-December-2012/Exam29Dec2012/QuadronacciRectangle/Properties/AssemblyInfo.cs
1,416
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("04....
37.945946
84
0.745726
[ "Apache-2.0" ]
Warglaive/Strings-and-Text-Processing---Exercises
04. Sentence Split/Properties/AssemblyInfo.cs
1,407
C#
using Store.Data.Infrastructure; using Store.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Store.Data.Repositoires { public class GadgetRepository : RepositoryBase<Gadget>, IGadgetRepository { public GadgetRepositor...
20.173913
77
0.721983
[ "Apache-2.0" ]
HamadSalahuddin/store
Store/Store.Data/Repositoires/GadgetRepository.cs
466
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SPDResults : MonoBehaviour { SpriteRenderer rend; private void Start() { rend = GetComponent<SpriteRenderer>(); if (PlayerPrefs.GetFloat("Player_SPD") == 10.0f) rend.color =...
27.444444
63
0.607287
[ "MIT" ]
szheng1030/wgj102_doppelganger
ResultScripts/SPDResults.cs
496
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ScoreDisplay : MonoBehaviour { // Use this for initialization void Start () { Text myText = GetComponent<Text>(); myText.text = ScoreKeeper.score.ToString(); ScoreKeeper.Reset(); } // Update...
18.6
45
0.715054
[ "Apache-2.0" ]
szimano/koksyilasery
Assets/Scripts/ScoreDisplay.cs
374
C#
using System; using System.Collections.Generic; namespace Iota.Api.Standard.Utils { internal class ArrayUtils { public static IEnumerable<T> SliceRow<T>(T[,] array, int row) { for (var i = array.GetLowerBound(1); i <= array.GetUpperBound(1); i++) { yield...
27.53125
82
0.526674
[ "Apache-2.0" ]
iotaledger/iota.lib.csharp
IotaApi.Standard/Utils/ArrayUtils.cs
883
C#
using RevisaoWebApi.Utils; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace RevisaoWebApi.Models { public class ContextDB : DbContext { public DbSet<Usuario> usuarios { get; set; } } }
19.857143
52
0.726619
[ "MIT" ]
rudimarboeno/Hbsis-aula
RevisaoWebApi/RevisaoWebApi/Models/ContextDB.cs
280
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System...
46.903797
165
0.540454
[ "MIT" ]
JavierMatosD/roslyn
src/Compilers/CSharp/CSharpAnalyzerDriver/CSharpDeclarationComputer.cs
18,529
C#
using System.Text; using DocumentFormat.OpenXml.Drawing; using DocumentFormat.OpenXml.Flatten.Contexts; using dotnetCampus.OpenXmlUnitConverter; using static DocumentFormat.OpenXml.Flatten.ElementConverters.ShapeGeometryConverters.ShapeGeometryFormulaHelper; namespace DocumentFormat.OpenXml.Flatten.ElementConverte...
38.453039
179
0.418391
[ "MIT" ]
dotnet-campus/DocumentFormat.OpenXml.Extensions
src/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten/ElementConverters/Shape/ShapeGeometryConverters/BentUpArrowGeometry.cs
6,972
C#
using Microsoft.Extensions.DependencyInjection; namespace DataAccess { public static class DataAccessExtensions { public static IDataAccessBuilder AddDataAccess(this IServiceCollection services) { if (services == null) { ExceptionsHelper.ArgumentNullExce...
23.888889
88
0.630233
[ "MIT" ]
rostrastegaev/Packages
DataAccess.Abstractions/DataAccessExtensions.cs
432
C#
using SwfLib.Avm2.Data; namespace SwfLib.Avm2 { public class AbcNamespace { public AsType Kind; public string Name { get; set; } public override string ToString() { return string.Format("{0} {1}", Kind, !string.IsNullOrWhiteSpace(Name) ? Name : "*"); } publi...
23.222222
101
0.600478
[ "MIT" ]
SavchukSergey/SwfLib
SwfLib.Avm2/AbcNamespace.cs
420
C#
using System; using System.Linq; using SULS.Data; using SULS.Models; namespace SULS.Services { public class SubmissionsService : ISubmissionsService { private readonly SULSContext dbContext; private readonly Random random; public SubmissionsService(SULSContext dbContext, Random random...
27.107143
73
0.55336
[ "MIT" ]
iltodbul/SoftUni
C# Web Basics/Exam_Share_Trip_and_SULS/Apps/SULS/Services/SubmissionsService.cs
1,520
C#
// Copyright (c) 2017 Andrew Vardeman. Published under the MIT license. // See license.txt in the FileSharper distribution or repository for the // full text of the license. using System.Threading; using System.IO; using System; using System.Collections.Generic; namespace FileSharperCore { public interface ICond...
28.882353
109
0.773931
[ "MIT" ]
adv12/FileSharper
src/FileSharper/FileSharperCore/ICondition.cs
491
C#
// ----------------------------------------------------------------------- // <copyright file="Job.cs" company=""> // TODO: Update copyright text. // </copyright> // ----------------------------------------------------------------------- using System.Threading.Tasks; using Newtonsoft.Json; namespace Cinchca...
28.2
106
0.45331
[ "MIT" ]
BlogTalkRadio/Roque
Roque.Core/Job.cs
3,386
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...
71.563636
297
0.69779
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api20210210/InMageTestFailoverInput.json.cs
7,763
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...
31.407143
108
0.568342
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/PurchaseOfferingRequest.cs
4,397
C#
using System; using static BulletSharp.UnsafeNativeMethods; namespace BulletSharp { public class DefaultCollisionConstructionInfo : BulletDisposableObject { private PoolAllocator _collisionAlgorithmPool; private PoolAllocator _persistentManifoldPool; public DefaultCollisionConstructionInfo() { IntPtr nat...
35.920168
148
0.790736
[ "Apache-2.0" ]
xtom0369/BulletPhysicsForUnity
BulletSharpPInvoke/BulletSharp/Collision/DefaultCollisionConfiguration.cs
8,549
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyApp.Namespace1 { [Area("Blog")] public class UsersController : Controller { public IActionResult AddUser() { return View(); } ...
22.253521
76
0.570886
[ "Apache-2.0" ]
vincoss/NetCoreSamples
AspNetCore-2.0/src/WebApps_Mvc_Routing/Controllers/UsersController.cs
1,582
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...
32.288136
109
0.678215
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/StreamProcessorOutput.cs
1,905
C#
using AntDesign.Abp.Template.Blazor.Models; namespace AntDesign.Abp.Template.Blazor.Pages.Form { public partial class BasicForm { private readonly BasicFormModel _model = new BasicFormModel(); private void HandleSubmit() { } } }
21.076923
70
0.667883
[ "Apache-2.0" ]
ElderJames/ant-design-blazor-abp
templates/src/AntDesign.Abp.Template.Blazor/Pages/Form/BasicForm/BasicForm.razor.cs
274
C#
/****************************************************************************** * $Id: GDALRead.cs f070adf64950cae1c6cc86b104ba835c29df06b1 2016-08-28 06:06:11Z Kurt Schwehr $ * * Name: GDALRead.cs * Project: GDAL CSharp Interface * Purpose: A sample app to read GDAL raster data. * Author: Tamas Szekeres,...
36.4791
140
0.547113
[ "Apache-2.0" ]
VisualAwarenessTech/gdal-2.3.1
swig/csharp/apps/GDALRead.cs
11,345
C#
using System; using System.Collections.Generic; using System.Linq; namespace Runner.Problems { public class Problem0030 : Problem { public override object Solve() { var powers = new Dictionary<int, int> { {0,0},{1, 1}, {2, 32}, {3,243}, {4, 1024}, {5, 3125}, {6, 777...
28.402439
117
0.466295
[ "MIT" ]
MadCowDevelopment/ProjectEuler
Runner/Problems/0026-0050/Problem0030.cs
2,331
C#
 namespace SrkToolkit.Common.urlmon { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.IO; /// <summary> /// Contains P/Invoke code. /// </summary> public static class NativeMet...
50.838384
285
0.594278
[ "Apache-2.0" ]
sandrock/SrkToolkit
Sources/NET4.SrkToolkit.Common.Unsafe/urlmon/NativeMethods.cs
5,035
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("02...
37.864865
84
0.743041
[ "MIT" ]
Jorka7a13/SoftUni_CSharpBasics
05. Conditional-Statements-Homework/Problem 02. BonusScore/Properties/AssemblyInfo.cs
1,404
C#
using System; using System.Collections.Generic; using System.Text; using BinaryAnalyzer.RecordTypeHandler; using BinaryAnalyzer.Interface; namespace BinaryAnalyzer.Struct { /// <summary> /// The ObjectNullMultiple256 record provides the most compact form for multiple, consecutive Null records when the count o...
43.666667
246
0.701336
[ "MIT" ]
tylearymf/.Net_BinaryAnalyzer
BinaryAnalyzer/BinaryAnalyzer/Struct/ObjectNullMultiple256.cs
1,050
C#
using System; using System.Text.RegularExpressions; using Windows.Data.Json; namespace HttpWebcamLiveStream.Web { public class HttpServerRequest { public string Request { get; private set; } public JsonObject Body { get; private set; } public string Url { get; private set; } pu...
32.820513
98
0.5625
[ "MIT" ]
SaschaIoT/HttpWebcamLiveStream
HttpWebcamLiveStream/Web/HttpServerRequest.cs
1,282
C#
using System; using System.Text; using RabbitMQ.Client; class Program { static void Main() { Console.Title = "Samples.RabbitMQ.NativeIntegration.Sender"; var connectionFactory = new ConnectionFactory(); using (var connection = connectionFactory.CreateConnection(Console.Titl...
33.28
146
0.51863
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
samples/rabbitmq/native-integration/Rabbit_3/NativeSender/Program.cs
1,617
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; using Crestron.SimplSharpPro; using Crestron.SimplSharpPro.DeviceSupport; using PepperDash.Core; using PepperDash.Essentials.Core; using PepperDash.Essentials.Core.Config; using PepperDash.Essentials.Core....
23.439759
114
0.716782
[ "MIT" ]
JaytheSpazz/Essentials
essentials-framework/Essentials Devices Common/Essentials Devices Common/Streaming/Roku.cs
3,893
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Net; using System.Reflection; using Orleans.CodeGeneration; using Orleans.Concurrency; using Orleans.Runtime; namespace Orleans.Serializ...
43.129114
208
0.639998
[ "MIT" ]
Drawaes/orleans
src/Orleans/Serialization/BuiltInTypes.cs
85,180
C#
using AlphaTab.Model; using AlphaTab.Rendering.Glyphs; namespace AlphaTab.Rendering.Effects { internal class AlternateEndingsEffectInfo : IEffectBarRendererInfo { public string EffectId => "alternate-feel"; public bool HideOnMultiTrack => true; public bool CanShareBand => false; ...
29.931034
94
0.658986
[ "MPL-2.0" ]
Orzelius/alphaTab
Source/AlphaTab/Rendering/Effects/AlternateEndingsEffectInfo.cs
870
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using CombatHelper.Controls; using CombatHelper.Droid.Renderers; using Xamarin.Forms; using Xamarin.Forms....
24.257143
84
0.714959
[ "MIT" ]
Briinah/combat-helper
CombatHelper/CombatHelper.Android/Renderers/Open5eWebViewRenderer.cs
851
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PCCatalog { class PCCatalog { static void Main() { Components Motherboard = new Components(); Motherboard.Name = "IntelALTServer"; ...
33.55814
96
0.575884
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Penkov/OOP
PCCatalog/PCCatalog.cs
1,445
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...
36.25
138
0.604598
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/RecoveryServices/V20190513/Inputs/AzureIaaSComputeVMProtectedItemArgs.cs
6,090
C#
#pragma checksum "D:\ASP.NET PROJECTS\WebMarket\WebMarket\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.View...
45.830508
166
0.765163
[ "MIT" ]
DewhiteE/WebMarket
WebMarket/obj/Debug/netcoreapp3.1/Razor/Views/_ViewStart.cshtml.g.cs
2,704
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Agri.Models.Configuration { public class MiniApp { [Key] public int Id { get; set; } public string Name { get; set; } public List<MiniAppLabel> MiniAppLabe...
21.5
61
0.662791
[ "Apache-2.0" ]
bcgov/agri-nmp
app/Agri.Models/Configuration/MiniApp.cs
346
C#
using Adaptive.Aeron.LogBuffer; using Adaptive.Agrona; using Adaptive.Agrona.Concurrent; using Adaptive.Agrona.Concurrent.Status; namespace Adaptive.Aeron { /// <summary> /// Aeron publisher API for sending messages to subscribers of a given channel and streamId pair. <seealso cref="Publication"/>s /// are crea...
31.462312
156
0.720013
[ "Apache-2.0" ]
Horusiath/aeron.net
src/Adaptive.Aeron/ConcurrentPublication.cs
6,263
C#
// Copyright © 2020-present Derek Thurn // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // https://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to...
28.778098
117
0.623573
[ "Apache-2.0" ]
thurn/nighthollow
Assets/Nighthollow/Editing/EditorSheet.cs
9,987
C#
using System; using System.Drawing; using System.Reflection; using System.Runtime.InteropServices; using Grasshopper.Kernel; using Hops; [assembly: AssemblyTitle("Hops")] [assembly: AssemblyDescription("Out of process solving using Rhino Compute")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Rob...
28.322222
107
0.583758
[ "MIT" ]
Noahyt/compute.rhino3d
src/hops/Properties/AssemblyInfo.cs
2,552
C#
using System.Collections.Generic; namespace HealthyLifestyleTrackingApp.Services.Exercises.Models { public class ExerciseQueryServiceModel { public int CurrentPage { get; init; } public int ExercisesPerPage { get; init; } public int TotalExercises { get; set; } public IEnume...
23.8125
73
0.695538
[ "MIT" ]
VeselinaSidova/Healthy-Lifestyle-Tracking-App
HealthyLifestyleTrackingApp/Services/Exercises/Models/ExerciseQueryServiceModel.cs
383
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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
39.871369
135
0.475908
[ "Apache-2.0" ]
Mimozar/aws-saas-boost
samples/dotnet-framework/SaaSBoostHelloWorld/Controllers/ProductController.cs
9,611
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Timing; namespace osu.Framework.Audio.Track { public class TrackVirtual : Track { private readonly StopwatchClock...
22.548387
103
0.445875
[ "MIT" ]
miterosan/osu-framework
osu.Framework/Audio/Track/TrackVirtual.cs
2,097
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("Ge...
38.297297
84
0.748765
[ "MIT" ]
AndrewSmarty/OOP
GeometricShapes/GeometricShapes/Properties/AssemblyInfo.cs
1,420
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using System.Collections.Generic; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities.Solvers { ///...
37.986111
242
0.599726
[ "MIT" ]
gejohnst/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/Utilities/Solvers/SolverHandler.cs
10,940
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 Five { public partial class TestBox : Form { Label[,] tb = new L...
41.186047
118
0.425466
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
IAFEnvoy/Five
Five/TestBox.cs
3,582
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Numerics; namespace _03.Big_Factorial { class Program { static void Main(string[] args) { BigInteger countFactorial = 1; var nFactorial = int...
21.16
59
0.568998
[ "MIT" ]
DimovDimo/softuni-00-programming-fundamentals-january-2018
17.OBJECTS AND CLASSES/17.OBJECTS AND CLASS/03. Big Factorial/03. Big Factorial.cs
531
C#
// MIT License // // Copyright (c) 2019 Stormancer // // 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, ...
35.52809
137
0.674573
[ "MIT" ]
Stormancer/plugins
src/Stormancer.Plugins/Users/Stormancer.Server.Plugins.Users/ServiceLocator/LocatorController.cs
3,162
C#
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.Azure.WebJobs.Extensions.EdgeHub { /// <summary> /// The special type of exception that provides managed exit from a retry loop. The user code can use this /// exception to notify the retry policy that no further retry atte...
49.166667
191
0.679237
[ "MIT" ]
alextnewman/iotedge
edge-modules/functions/binding/src/Microsoft.Azure.WebJobs.Extensions.EdgeHub/transientFaultHandling/RetryLimitExceededException.cs
2,360
C#
using System.Diagnostics.CodeAnalysis; using System.Net.Sockets; using NModbusAsync.IO; using Xunit; namespace NModbusAsync.Test.Unit { [ExcludeFromCodeCoverage] public class TcpClientAdapterTest { [Fact] [Trait("Category", "Unit")] public void DisposesTcpClient() { ...
22.423077
68
0.581475
[ "MIT" ]
wolf8196/NModbusAsync
NModbusAsync.Test/Unit/TcpClientAdapterTest.cs
585
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Vechicle_mngmt { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
26.045455
70
0.708551
[ "MIT" ]
sharma452/Vechicle_mngmt
Vechicle_mngmt/Global.asax.cs
575
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 SMECommerce.Databases.DbContexts;...
35.825397
125
0.510855
[ "MIT" ]
MoksedurRahman/Dot_Net_Core_Token_Base_Summary_
SMECommerc.Databases/Migrations/20211126052620_Category_Code_Added.Designer.cs
4,516
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. #nullable disable using System; using System.Collections.Generic; using System.Threading; using System.Threading.T...
44.300654
173
0.651815
[ "MIT" ]
BrianFreemanAtlanta/roslyn
src/Workspaces/Remote/ServiceHub/Services/FindUsages/RemoteFindUsagesService.cs
6,780
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Authentication.Certificate { /// <summary> /// Default values related to certificate authentication middleware /// </summary> public st...
34.294118
92
0.711835
[ "MIT" ]
48355746/AspNetCore
src/Security/Authentication/Certificate/src/CertificateAuthenticationDefaults.cs
583
C#
namespace Root.Code.Models.E01D.ObjectTracking { public class TrackedObject { //public ObjectState public object Value { get; set; } } }
16.8
47
0.625
[ "Apache-2.0" ]
E01D/Base
src/E01D.Base.Clr.General.Reflection.Models/Coding/Code/Models/E01D/Base/Clr/General/Reflection/ObjectTracking/TrackedObject.cs
170
C#
/* Copyright (c) 2013, Darren Horrocks Copyright (c) 2021, Russell Webster 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 ...
36.360656
80
0.753832
[ "BSD-3-Clause" ]
AreebaAroosh/System.Net.Torrent
System.Net.Torrent/Data/IMetadata.cs
2,220
C#
using NativeQuadTree.Jobs.Internal; using Unity.Burst; using Unity.Collections; using Unity.Jobs; namespace NativeQuadTree { /// <summary> /// Example on how to do a range query, it's better to write your own and do many queries in a batch /// </summary> [BurstCompile] public struct RectQueryJob<T>...
27.75
123
0.61962
[ "MIT" ]
crener/NativeQuadtree
Assets/Jobs/RectQueryJob.cs
999
C#
using System; namespace TpsParser { public sealed class TpsParserException : Exception { public TpsParserException(string message) : base(message) { } public TpsParserException(string message, Exception innerException) : base(message, innerException) { ...
20.625
75
0.624242
[ "MIT" ]
Trinitek/TpsParser
src/TpsParser/TpsParserException.cs
332
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 #region Usings using System; using System.Collections; using System.Globalization; using DotNetNuke.Entities.U...
30.024691
167
0.525905
[ "MIT" ]
Tychodewaard/Dnn.Platform
DNN Platform/Library/Services/Tokens/PropertyAccess/ArrayListPropertyAccesss.cs
2,434
C#
// Copyright 2016 Serilog Contributors // // 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 ...
36.019802
125
0.58425
[ "Apache-2.0" ]
jaandk/serilog-sinks-sqlite-Net-PCL
src/Serilog.Sinks.SQLite/Sinks/SQLite/SQLiteSink.cs
7,278
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace Lpp.Dns.DTO { /// <summary> /// Theme /// </summary> [DataContract] public class ThemeDTO { /// <summary> /// Title /// </summary> ...
23.415385
65
0.5
[ "Apache-2.0" ]
Missouri-BMI/popmednet
Lpp.Dns.DTO/Themes/ThemeDTO.cs
1,524
C#
namespace GPS_Distance.ViewModels { using System; using System.Collections.ObjectModel; using System.Windows.Input; using CommonServiceLocator; using DistanceCalculator.Models; using GPS_Distance.Events; using GPS_Distance.Models; using Prism.Events; using static DistanceCalculator....
35.329004
126
0.580076
[ "MIT" ]
CopperBeardyTwitch/GPS
GPS_Distance/ViewModels/EntryFormViewModel.cs
8,163
C#
using System; using System.Globalization; using Prism.Behaviors; using Prism.Commands; using Prism.Forms.Tests.Mocks.Behaviors; using Xamarin.Forms; using Xunit; namespace Prism.Forms.Tests.Behaviors { public class EventToCommandBehaviorFixture { public EventToCommandBehaviorFixture() { ...
34.486301
110
0.522443
[ "MIT" ]
Adam--/Prism
tests/Forms/Prism.Forms.Tests/Behaviors/EventToCommandBehaviorFixture.cs
10,072
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
43.84375
220
0.726301
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementAndStatementStatementOrStatementStatementAndStatementStatementSqliMatchStatementTextTransformationGetArgs.cs
1,403
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BolaoNet.Domain.Entities.DadosBasicos { public class PagamentoTipo : Base.AuditModel { ...
21.913043
51
0.708333
[ "MIT" ]
Thoris/BolaoNet
BolaoNet.Domain.Entities/DadosBasicos/PagamentoTipo.cs
506
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.583333
80
0.644289
[ "Apache-2.0" ]
Vladimir-Dodnikov/C-Fundamentals-May-2019
02. CSharp-Fundamentals-Intro-and-Basic-Syntax-Exercises/6. Strong number/obj/Debug/netcoreapp2.2/6. Strong number.AssemblyInfo.cs
998
C#
using System.Collections.Generic; using Viren.Core.Enums; namespace Viren.Execution.Dtos.CalculationDtos.Batch { public class BatchCalculationInputItemDto { public BatchCalculationInputItemDto() { Project = string.Empty; Model = string.Empty; EntryPoint = s...
25.21875
73
0.610905
[ "MIT" ]
tealpartners/viren.net
src/Viren.Execution/Dtos/CalculationDtos/Batch/BatchCalculationInputItemDto.cs
809
C#
using System; using UnitTest.TestBuilder.Core.Abstracts; namespace UnitTest.TestBuilder.Core.Tests.Implementation { class ObjectBuilder : IObjectBuilder { public bool CanCreate(Type type) { return type.IsInterface && type != typeof(ITestServiceC); } public object C...
21.774194
69
0.525926
[ "MIT" ]
Jacky-Mo/UnitTest.TestBuilder.Core
UnitTest.TestBuilder.Core.Tests/Implementation/ObjectBuilder.cs
677
C#
using System; using System.Runtime.InteropServices; using System.Text; namespace KdSoft.Lmdb.Interop { /// <summary> /// Helpers for native interop. /// </summary> [CLSCompliant(false)] public static unsafe class DbLibUtil { /// <summary> /// calculates length of null-terminate...
42.475862
97
0.55772
[ "MIT" ]
kwaclaw/KdSoft.Lmdb
Lmdb/interop/DbLibUtil.cs
6,161
C#
namespace SharpArch.Web.Http.Castle { using System; using System.Collections.Generic; using System.Linq; using System.Web.Http.Dependencies; using global::Castle.Windsor; using SharpArch.Domain; /// <summary> /// Resolves HTTP dependencies using Castle Windsor. /// </summary> pu...
29.706667
95
0.566427
[ "BSD-3-Clause" ]
milesibastos/Sharp-Architecture
Solutions/SharpArch.Web.Http/Castle/WindsorDependencyResolver.cs
2,228
C#
using _11.Polynomials; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace Test_10.Factorial { /// <summary> ///This is a test class for SubtractPolynomials and is intended ///to contain all SubtractPolynomials Unit Tests ///</summary> [TestClass()] public cla...
27.744444
84
0.52503
[ "MIT" ]
GeorgiMateev/telerik-academy
09.Methods/Test-10.Factorial/SubtractPolynomials.cs
2,499
C#
using System; namespace QuickstreamAPI.Exceptions { public class QuickstreamAPIException : Exception { public QuickstreamAPIException(string message) : base(message) {} public QuickstreamAPIException() {} } }
23.7
73
0.71308
[ "MIT" ]
seanobjames/quickstreamapi-dotnet
src/QuickstreamAPI/Exceptions/QuickstreamAPIException.cs
237
C#
// Copyright (c) 2020-2021 Vladimir Popov zor1994@gmail.com https://github.com/ZorPastaman/Random-Generators using System; using UnityEditor; using UnityEngine; using Zor.RandomGenerators.DiscreteDistributions; using Object = UnityEngine.Object; namespace Zor.RandomGenerators.PropertyDrawerAttributes { [CustomPrope...
32.40566
164
0.765066
[ "MIT" ]
ZorPastaman/Random-Generators
Editor/CustomEditors/RequireDiscreteRandomGeneratorEditor.cs
3,437
C#
using System; using System.CodeDom; using System.Threading.Tasks; using Microsoft.Xrm.Sdk.Metadata; namespace Unchase.Dynamics365.Customization { /// <summary> /// Used by the ICodeGenerationService to retrieve types for the CodeDOM objects being created. /// </summary> public interface ITypeMappingService { ...
40.333333
170
0.768595
[ "Apache-2.0" ]
unchase/Unchase.Dynamics365.Connectedservice
src/Unchase.Dynamics365.Customization/ITypeMappingService.cs
1,575
C#
using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Windows.Forms; namespace Sledge.Shell.Input { /// <summary> /// Performs polling on the current keyboard state. /// </summary> /// Most of this is adapted from: /// http://www.switchonthecode.co...
43.891892
98
0.363916
[ "BSD-3-Clause" ]
LogicAndTrick/sledge
Sledge.Shell/Input/KeyboardState.cs
4,874
C#
// <copyright file="ParserExtensions.cs" company="Shkyrockett" > // Copyright © 2008 - 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </li...
47.596774
205
0.615554
[ "MIT" ]
Shkyrockett/engine
Engine.Base/Framework/ParserExtensions.cs
17,709
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
35.416667
101
0.549412
[ "MIT" ]
10thmagnitude/fhir-server
src/Microsoft.Health.Fhir.Core/Messages/Search/SearchParametersHashUpdated.cs
852
C#
// This file is provided under The MIT License as part of Steamworks.NET. // Copyright (c) 2013-2015 Riley Labrecque // Please see the included LICENSE.txt for additional information. // This file is automatically generated. // Changes to this file will be reverted when you update Steamworks.NET using System; using S...
62.479112
414
0.838886
[ "MIT" ]
mikaelgarde/Steamworks.NET
Plugins/Steamworks.NET/autogen/NativeMethods.cs
166,007
C#
using CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class SimpleFun2CircleOfNumbersTests { [Test] public void TestCase() { var kata = new SimpleFun2CircleOfNumbers(); Assert.AreEqual(7, kata.CircleOfNumbers(10, 2), ""); ...
27.684211
64
0.587452
[ "MIT" ]
a-kozhanov/codewars-csharp
CodeWarsTests/7kyu/SimpleFun2CircleOfNumbersTests.cs
528
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class QuestList : MonoBehaviour, ISavable { List<Quest> quests = new List<Quest>(); public event Action OnUpdated; public void AddQuest(Quest quest) { if (!quests.Contains(q...
25.132075
90
0.632132
[ "Unlicense" ]
ManuDem/RPGUnity
Assets/Scripts/Quests/QuestList.cs
1,334
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...
33.748428
116
0.573053
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CustomerProfiles/Generated/Model/GetProfileObjectTypeTemplateResponse.cs
5,368
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Threading; using FastProxy.Definitions; using FastProxy.Helpers; namespace FastProxy { /// <summary> /// Allow to generate new dynamic proxy and an concrete or abs...
36.72
155
0.580299
[ "MIT" ]
RomanKernSW/Study.DynamicProxy
FastProxy/ProxyFactory.cs
6,428
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
40.902439
104
0.710197
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3.GeneratedSnippets/TestCasesClient.BatchDeleteTestCasesResourceNamesSnippet.g.cs
1,677
C#
using NServiceBus; namespace Messages { public class OrderBilled : IEvent { public string OrderId { get; set; } } }
15.4
44
0.558442
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
tutorials/nservicebus-101/lesson-4/Solution/Messages/OrderBilled.cs
147
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace WebSocketSharp { public abstract class WebSocketHandler { protected readonly WebSocketDictionary Sockets; ...
39.357143
123
0.6
[ "MIT" ]
angedelamort/web-socket-sharp
WebSocketSharp/WebSocketHandler.cs
5,512
C#
using StackExchange.Exceptional.Internal; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; namespace StackExchange.Exceptional { /// <summary> /// Extensions methods for <see cref="Exception"/>s. /// </summary> public static partial class Extensio...
47.603448
184
0.60105
[ "Apache-2.0", "MIT" ]
NickCraver/StackExchange.Exceptional
src/StackExchange.Exceptional.Shared/Extensions.cs
5,524
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 Poseidon.Winform.Core { using Poseidon.Core.DL; using Poseidon.Winform.Base; /// ...
25.730337
135
0.544105
[ "MIT" ]
robertzml/Poseidon.Winform
Poseidon.Winform.Core/Control/FacilityGrid.cs
2,360
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"); yo...
30.150943
121
0.587297
[ "Apache-2.0" ]
tmajest/incubator-reef
lang/cs/Org.Apache.REEF.Wake/Util/FixedThreadPoolTaskService.cs
3,198
C#
namespace $safeprojectname$ { /// <summary> /// Partial class extending the User type that adds shared properties and methods. /// These properties and methods will be available both to the server app and the client app. /// </summary> public partial class User { /// <summary> /...
28.517241
97
0.501814
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/VisualStudio/Templates/CSharp/BusinessApplication/BA.Web/Models/Shared/User.shared.cs
829
C#
namespace Kokugen.Core.Events { public interface IHandler { } }
12
29
0.583333
[ "Apache-2.0" ]
ryankelley/kokugen
src/kokugen.core/Events/IHandler.cs
84
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...
31.538462
121
0.602927
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/Inputs/PrivateLinkServiceIpConfigurationArgs.cs
2,050
C#