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; using System.Data; using OMeta; using OMeta.Interfaces; namespace OMeta.Advantage { public class ClassFactory : IClassFactory { internal class MyInternalDriver : InternalDriver { internal MyInternalDriver(Type factory, string connString, bool isOleDB) : bas...
21.169811
288
0.66637
[ "MIT" ]
kiler398/OMeta
src/OpenMetaData/Advantage/ClassFactory.cs
3,366
C#
 namespace ConsoleEmpresa { class Motor { public int Id { get; set; } public string Marca { get; set; } public string TipoDeMotor { get; set; } public string Arrancar() { return "Pudeo arrancar"; } public string Apagar() ...
18.380952
48
0.463731
[ "Apache-2.0" ]
RochaSteven/clases
Empresa/ConsoleEmpresa/Motor.cs
388
C#
using Glass.Mapper.Sc.Configuration.Attributes; using Glass.Mapper.Sc.Fields; using Ignition.Core.Models.BaseModels; namespace Ignition.Data.Fields { [SitecoreType(TemplateId = "{D5BF5E98-55F0-4DA4-AA17-14E56E2AF263}")] public interface IBackgroundImageAlternate : IModelBase { [SitecoreField(Field...
32.923077
75
0.738318
[ "MIT" ]
Ali-Nasir-01/SitecoreIgnition
Ignition.Data/Fields/IBackgroundImageAlternate.cs
430
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ocidl.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; ...
42.076923
145
0.712066
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ocidl/READYSTATE.cs
1,096
C#
//===-----------------------------------------------------------------------==// // // Lockpwn - blazing fast symbolic analysis for concurrent Boogie programs // // Copyright (c) 2015 Pantazis Deligiannis (pdeligia@me.com) // // This file is distributed under the MIT License. See LICENSE.TXT for details. // //===-----...
22.227273
81
0.466258
[ "MIT" ]
pdeligia/lockpwn
Source/Driver/Core/AccessType.cs
491
C#
using Newtonsoft.Json; namespace Educabot.Models.Slack.Dialogs { public class SelectOption { [JsonProperty("label")] public string Label { get; set; } [JsonProperty("value")] public string Value { get; set; } } }
22.416667
42
0.583643
[ "MIT" ]
sigmundftw/educabot
Educabot/Models/Slack/Dialogs/SelectOption.cs
271
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ChangeHUDText : MonoBehaviour { Text txt; string tmp = ""; // Use this for initialization void Start () { txt = GetComponent<Text>(); if(txt == null) Debug.Log("Cannot get txt from Cha...
17.322581
59
0.640596
[ "MIT" ]
atomyth/ICEcuBEAR
Assets/HoloInteraction/ChangeHUDText.cs
539
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 ...
30.619718
74
0.74609
[ "MIT" ]
ABEMBARKA/monoUI
UIAutomationWinforms/UIAutomationWinforms/Mono.UIAutomation.Winforms.Events/Splitter/DockPatternDockPositionEvent.cs
2,174
C#
namespace SimpleSpider.Engine { using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Threading; using HtmlAgilityPack; using Nager.PublicSuffix; using Configuration; using Infrastructure; using Models; public class Spider { ...
32.598837
173
0.514
[ "Apache-2.0" ]
iovigi/SimpleSpider
src/SimpleSpider.Engine/Spider.cs
5,609
C#
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general de un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos valores de atributo para modificar la información // asociada con un ensamb...
37.935484
113
0.756803
[ "MIT" ]
jsuarezruiz/Embeddinator-4000-Sample
NET Library/NetflixRoulette/Properties/AssemblyInfo.cs
1,193
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using FluentAssertions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Xunit; using static ServiceAnnotations.Tests.AssemblyMaker; namespace ServiceAnnotations.Tests { publi...
38.857143
108
0.597304
[ "MIT" ]
tretyakov-d/service-annotations
tests/ServiceAnnotations.Facts/MixedAttributeFacts.cs
4,082
C#
using System; using System.Globalization; using Humanizer; using Microsoft.Build.Framework; namespace TwitterBuild { public class GetHomeTimeline : BaseTwitterTask { public override bool Execute() { var tweeter = new Tweeter(ConsumerKey, TokenKey, ConsumerSecret, TokenSecret); ...
32.0625
129
0.569201
[ "MIT" ]
bojanrajkovic/TwitterBuild
TwitterBuild/GetHomeTimeline.cs
1,028
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using S...
32.378947
139
0.598505
[ "MIT" ]
genadi60/Panda2
Web/Areas/Identity/Pages/Account/Login.cshtml.cs
3,078
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.Collections.Generic; using System.Composition; using System.Linq; using System.Text; using System.Reflection; namespace System.Composition.Convention { ...
36.169399
135
0.559148
[ "MIT" ]
belav/runtime
src/libraries/System.Composition.Convention/src/System/Composition/Convention/ExportConventionBuilder.cs
6,619
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. /****************************************************************************** * This file is auto-generated from ...
38.43513
186
0.576703
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/ShiftRightLogicalRounded.Vector64.UInt32.1.cs
19,256
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace RetailDataManager.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); ...
17.631579
44
0.629851
[ "MIT" ]
DionKllokoqi/RetailManager
RetailDataManager/Controllers/HomeController.cs
337
C#
namespace _5.Book_Library { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; public class Program { public static void Main() { int numberOfBooks = int.Parse(Console.ReadLine()); // Number of books to read L...
31.28
111
0.483376
[ "MIT" ]
HristoSpasov/Programing-Fundamentals-Exercises
14. 02.07.2017-ObjectsAndClasses.Exercise/Exercise/1.CountWorkingDays/5. Book Library/5. Book Library .cs
1,566
C#
using System; using Smobiler.Core; namespace SelectDemo.Layouts { partial class ZRLayout : Smobiler.Core.Controls.MobileUserControl { #region "SmobilerUserControl generated code " //SmobilerUserControl overrides dispose to clean up the component list. protected override void Dispose(bo...
43.355932
92
0.591673
[ "MIT" ]
comsmobiler/BlogsCode
Source/BlogsCode_SmobilerForm/Layouts/ZRLayout.designer.cs
5,122
C#
/** * Copyright (c) 2020-2021 LG Electronics, Inc. * * This software contains code licensed as described in LICENSE. * */ namespace Simulator.ScenarioEditor.Elements { using System.Collections.Generic; using Input; using Managers; using ScenarioEditor.Agents; using Undo; using Undo.Record...
34.504
101
0.603988
[ "Apache-2.0", "BSD-3-Clause" ]
HaoruXue/simulator
Assets/Scripts/ScenarioEditor/Elements/ScenarioElementSource.cs
4,315
C#
using Newtonsoft.Json; using Stencil.Plugins.GitHub.Integration; using Stencil.Plugins.GitHub.Models; using Stencil.SDK; using Stencil.SDK.Models.Responses; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Security.Cryptography; using System.Text; ...
42.927374
142
0.464602
[ "MIT" ]
watfordsuzy/stencil
Source/Stencil.Server/LoadGenerator/Program.cs
15,370
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: AssemblyTit...
39.135135
85
0.732735
[ "BSD-3-Clause" ]
GlebYoutuber/WindowsDefenderDisable
Src Code/Properties/AssemblyInfo.cs
1,451
C#
namespace Ordering.Application.Exceptions { public class NotFoundException : ApplicationException { public NotFoundException(string name, object key) : base($"Entity \"{name})\" ({key}) was not found.") { } } }
26.666667
110
0.65
[ "MIT" ]
hnmendes/microservices-project
src/Ordering.Service/Ordering.Application/Exceptions/NotFoundException.cs
242
C#
using ATZ.Reflection.Linq; using FluentAssertions; using NUnit.Framework; using System; using System.Linq; using System.Reflection; namespace ATZ.Reflection.Tests.Linq { [TestFixture] public class MethodInfoEnumerableExtensionsShould { [Test] public void ThrowExceptionIfParame...
27.318182
126
0.663894
[ "MIT" ]
atzimler/Reflection
ATZ.Reflection.Tests/Linq/MethodInfoEnumerableExtensionsShould.cs
603
C#
/************************************************************************************ Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at https://developer.oculus.com/licenses/oculussdk/ ...
39.090909
93
0.624419
[ "MIT" ]
BigMeatBaoZi/SDM5002
Unity/UI/Assets/Oculus/Interaction/Runtime/Scripts/Interaction/Core/IRigidbodyRef.cs
860
C#
// Copyright (C) 2015-2021 The Neo Project. // // The neo is free software distributed under the MIT software license, // see the accompanying file LICENSE in the main directory of the // project or http://www.opensource.org/licenses/mit-license.php // for more details. // // Redistribution and use in source and bi...
44.87605
183
0.51271
[ "MIT" ]
Ashuaidehao/neo
src/neo/VM/Helper.cs
21,361
C#
#region License Apache 2.0 /* Copyright 2019-2020 Octonica * * 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 appli...
38.955556
160
0.667998
[ "Apache-2.0" ]
NeoRu4/ClickHouseClient
src/Octonica.ClickHouseClient/Types/UInt32TableColumn.cs
1,755
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x100c_d710-329519cd")] public void Method_100c_d710() { ii(0x100c_d710, 5); push(0x24); ...
71.057692
114
0.451691
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-100c-d710.cs
3,695
C#
using NUnit.Framework; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace UniCommonTestRunner { public partial class UniCommonTestRunner { /// <summary> /// モバイル用のシェーダがマテリアルに設定されているかどうかテストします /// </summary> [Test] public void CheckMaterialShader() { var targets = ne...
23.634615
67
0.659886
[ "MIT" ]
baba-s/uni-common-test-runner
app/Assets/UniCommonTestRunner/Editor/Tests/CheckMaterialShader.cs
1,299
C#
using System; using System.Collections.Generic; using ESFA.DC.ILR.Model.Interface; using ESFA.DC.ILR.ValidationService.Data.Internal.AcademicYear.Interface; using ESFA.DC.ILR.ValidationService.Interface; using ESFA.DC.ILR.ValidationService.Rules.Abstract; using ESFA.DC.ILR.ValidationService.Rules.Constants; using ESFA...
45.028571
200
0.67481
[ "MIT" ]
SkillsFundingAgency/DC-ILR-2021-ValidationService
src/ESFA.DC.ILR.ValidationService.Rules/Learner/DateOfBirth/DateOfBirth_50Rule.cs
3,154
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastr...
49.365385
113
0.686794
[ "Apache-2.0" ]
0b01/efcore
src/EFCore.Relational/Metadata/Internal/FunctionColumn.cs
2,567
C#
/* [The "BSD license"] Copyright (c) 2009 Terence Parr All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of c...
39.151899
105
0.561348
[ "BSD-3-Clause" ]
antlr/antlrcs
Antlr4.Test.StringTemplate/TestSyntaxErrors.cs
12,374
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Microsoft.Common.Core; using Microsoft.Languages.Editor.Shell; using...
42.808824
165
0.701477
[ "MIT" ]
AlexanderSher/RTVS-Old
src/Package/Impl/Repl/Workspace/SaveWorkspaceCommand.cs
2,913
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Monaco.Helpers { public sealed class CssGlyphStyle : ICssStyle { public Uri GlyphImage { get; set; } public string Name { get; private set; } public CssGlyphS...
22.730769
125
0.62775
[ "MIT" ]
builttoroam/uno.monaco-editor-uwp
MonacoEditorComponent/Monaco/Helpers/CssGlyphStyle.cs
593
C#
using Microsoft.VisualC; using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [DebugInfoInPDB, MiscellaneousBits(64), NativeCppClass] [StructLayout(LayoutKind.Sequential, Size = 440)] internal struct GPEquipmentUnit { }
23.545455
55
0.826255
[ "Unlicense" ]
stormregion/jtf_map_editor
src/GPEquipmentUnit.cs
259
C#
using System; using System.Collections.Generic; namespace Ploeh.AutoFixture.Kernel { /// <summary> /// Tracks all disposable specimens created by a decorated <see cref="ISpecimenBuilder"/> to /// be able to dispose them when signalled. /// </summary> /// <remarks> /// <para> ///...
37.828221
258
0.551898
[ "MIT" ]
TeaDrivenDev/AutoFixture
Src/AutoFixture/Kernel/DisposableTracker.cs
6,168
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Sentakki.Objects; namespace osu.Game.Rulesets.Sentakki.Beatmaps ...
39.25
150
0.676752
[ "MIT" ]
Flutterish/sentakki
osu.Game.Rulesets.Sentakki/Beatmaps/SentakkiBeatmapConverter.cs
2,451
C#
namespace Infrastructure.DataAccess.Migrations { using System; using System.Data.Entity.Migrations; public partial class UnknownChanges : DbMigration { public override void Up() { AlterColumn("Addresses", "DriveReportId", c => c.Int()); AlterColumn("Addresses...
57.824561
83
0.569782
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
os2indberetning/os2indberetning
Infrastructure.DataAccess/Migrations/201504220645399_UnknownChanges.cs
3,296
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; class Program { static void Main(string[] args) { } }
23.75
71
0.712281
[ "MIT" ]
3F/coreclr
tests/src/Regressions/coreclr/GitHub_22888/test22888resources.cs
287
C#
// // Copyright(c) 2013 Paul Betts // // 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, ...
41.509434
120
0.7
[ "MIT" ]
Orbital8/PinningAppDemo
Xamarin.PinningAppDemo.iOS/Services/ModernHttpClient/CaptiveNetworkException.cs
2,200
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...
39.484536
150
0.662402
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Keyspaces/Generated/Model/_bcl45+netstandard/ListKeyspacesPaginator.cs
3,830
C#
namespace LeakShell { partial class AboutBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
43.152381
140
0.587067
[ "MIT" ]
chrisnas/DebuggingExtensions
src/LeakShell/AboutBox.Designer.cs
4,533
C#
using System.Text.Json; using ByteDev.Json.SystemTextJson.Serialization; using ByteDev.Json.SystemTextJson.UnitTests.TestEntities; using NUnit.Framework; namespace ByteDev.Json.SystemTextJson.UnitTests.Serialization { [TestFixture] public class EnumJsonConverterTests { private const string JsonNot...
36.149171
202
0.564573
[ "MIT" ]
ByteDev/ByteDev.Json.SystemTextJson
tests/ByteDev.Json.SystemTextJson.UnitTests/Serialization/EnumJsonConverterTests.cs
6,545
C#
// Copyright (c) 2015, Outercurve Foundation. // 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 // ...
44.854054
108
0.589178
[ "BSD-3-Clause" ]
9192939495969798/Websitepanel
WebsitePanel/Sources/Tools/WebsitePanel.PasswordEncoder/MainForm.Designer.cs
8,298
C#
/* Copyright (c) 2017, Nokia 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 list of conditions and the...
24.483471
1,948
0.668017
[ "BSD-3-Clause" ]
nuagenetworks/vspk-csharp
vspk/vspk/L2Domain.cs
29,625
C#
using System.Threading.Tasks; using Tweetinvi.Models; namespace Tweetinvi { public static class RateLimitAsync { public static async Task<ICredentialsRateLimits> GetCurrentCredentialsRateLimits() { return await Sync.ExecuteTaskAsync(() => RateLimit.GetCurrentCredentialsRateLimits()...
30.526316
114
0.708621
[ "MIT" ]
evadremlab/tweetinvi-1.3-issue-850-fix
Tweetinvi/RateLimitAsync.cs
582
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InfectionSpawner : MonoBehaviour { public float minRadius = 3f; public float maxRadius = 7f; public int pointAmount = 100; public GameObject prefab; public int InfectionChance = 20; bool spawning; ...
26.387097
105
0.603301
[ "MIT" ]
rafalink1996/BodyIdle
Idle Body/Assets/Scripts/MedriTestingScripts/Infection/InfectionSpawner.cs
1,638
C#
using System; using essentialMix.Helpers; using essentialMix.Web.Handlers; using JetBrains.Annotations; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; // ReSharper disable once CheckNamespace namespace essentialMix.Extensions { public static class IEndpointRouteBuilderExtension { [NotNull...
26.484536
182
0.581938
[ "MIT" ]
asm2025/asm
Core/essentialMix.Core.Web/Extensions/IEndpointRouteBuilderExtension.cs
2,571
C#
using Pokloni.ba.WebAPI.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Pokloni.ba.Model.Requests.Proizvodi; namespace Pokloni.ba.WebAPI.Services.Proizvodi { public interface IKategorijeService : IBaseInterface<Kategorije> { } }
22.214286
68
0.787781
[ "MIT" ]
tarikcosovic/Cross-Platform-Application-Pokloni.ba-
Pokloni.ba.WebAPI/Services/Proizvodi/IKategorijeService.cs
313
C#
using System; using System.Collections.Generic; using System.Linq; using Concordion.Api.Extension; namespace Concordion.Spec.Concordion.Extension.Configuration { public class ExampleFixtureWithFieldAttributes { [Extension] public IConcordionExtension extension = new FakeExtension1(); ...
23.823529
69
0.735802
[ "ECL-2.0", "Apache-2.0" ]
KidFashion/concordion-net
Concordion.Spec/Concordion/Extension/Configuration/ExampleFixtureWithFieldAttributes.cs
407
C#
#if UNITY_EDITOR using System; using UnityEditor; using UnityEngine; namespace MufflonUtil { public class AssetModificationProcessor : UnityEditor.AssetModificationProcessor { public static event Action<ScriptableObject> DeletingScriptableObject; public static event Action<GameObject> Deleting...
34.125
104
0.71917
[ "MIT" ]
OJuergen/MufflonUtil
Assets/MufflonUtil/Runtime/AssetModificationProcessor.cs
821
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> //--...
34.193548
151
0.579245
[ "MIT" ]
skotz/algos
visualizations/Properties/Settings.Designer.cs
1,062
C#
using OpenCvSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RubiksCube.OpenCV { public class Cube { // helper function: // finds a cosine of angle between vectors // from pt0->pt1 and from pt0->pt2 ...
39.693878
125
0.510026
[ "MIT" ]
Lewis945/RubiksCubeSolver
src/RubiksCube.OpenCV/Cube.cs
3,892
C#
namespace RiftDotNet { public interface IHMDDevice : IDevice { new IHMDInfo Info { get; } ISensorDevice Sensor { get; } } }
15.666667
32
0.64539
[ "MIT" ]
tomjal/RiftDotNet
development/RiftDotNet.Interface/IHMDDevice.cs
143
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; using Newtonsoft.Json; namespace AppInsightsMVCFilters { public class TelemetryHelper { public TelemetryC...
38.581818
201
0.63525
[ "MIT" ]
ip28/AppInsightsMVCFilters
AppInsightsMVCFilters/AppInsightsMVCFilters/TelemetryHelper.cs
2,124
C#
using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Shark.Net.Server { public interface ISharkServer : IDisposable { IServiceProvider ServiceProvider { get; } bool Disposed { get; } IDiction...
28.304348
73
0.700461
[ "MIT" ]
Norgerman/Shark
Shark.Commons/Net/Server/ISharkServer.cs
653
C#
using System; using System.Collections.Generic; using System.Text; namespace ShareTube.Core.Models { //public abstract class BaseEntity<TKey> //{ // public abstract TKey Id { get; set; } //} //public class Entity : BaseEntity<long> //{ // public override long Id { get; set; } //...
20.130435
50
0.600432
[ "MIT" ]
DrLeh/ShareTube
ShareTube.Core/Models/Entity.cs
465
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 InventoryManagementSystem { public partial class Loadingcs : Form { ...
22.212121
61
0.53206
[ "MIT" ]
Pro-procrastinator/CheckOut
InventoryManagementSystem/Loadingcs.cs
735
C#
using Microsoft.AspNetCore.Connections; using MQTTnet.Adapter; using MQTTnet.Serializer; using MQTTnet.Server; using System; using System.Threading.Tasks; namespace MQTTnet.AspNetCore { public class MqttConnectionHandler : ConnectionHandler, IMqttServerAdapter { public event EventHandler<MqttS...
26.780488
91
0.631148
[ "MIT" ]
lvmingzhou/mqtt.github.io
Source/MQTTnet.AspnetCore/MqttConnectionHandler.cs
1,100
C#
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.Oceania.NewZealand.Religion { /// <summary> /// Boxing Day /// </summary> public class BoxingDay : WeekShiftVariableHolidayFunc { /// <inheritdoc /> p...
29.921053
85
0.605101
[ "Apache-2.0" ]
cosmos-open/Holiday
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Oceania/NewZealand/Religion/BoxingDay.cs
1,137
C#
#region MigraDoc - Creating Documents on the Fly // // Authors: // Stefan Lange (mailto:Stefan.Lange@PdfSharpCore.com) // Klaus Potzesny (mailto:Klaus.Potzesny@PdfSharpCore.com) // David Stephensen (mailto:David.Stephensen@PdfSharpCore.com) // // Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany) //...
30.283465
98
0.577483
[ "MIT" ]
aavilaco/PdfSharpCore
MigraDocCore.DocumentObjectModel/MigraDoc.DocumentObjectModel.Internals/NBool.cs
3,846
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Universe { public class PersonClass { public string Title { get; set; } public string Name { get; set; } public int? Age { get; set; } public PersonClass(string title, string n...
21.964286
105
0.534959
[ "MIT" ]
devizer/Universe.YetAnotherComparerBuilder
Universe.YetAnotherComparerBuilder.Demo/Person.cs
617
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
47.542857
419
0.705529
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/prometheus/dotnet/Kubernetes/Crds/Operators/Prometheus/Monitoring/V1/Inputs/AlertmanagerSpecStorageEmptyDirArgs.cs
1,664
C#
// Smdn.Fundamental.Xml.Xhtml.dll (Smdn.Fundamental.Xml.Xhtml-3.0.0 (net45)) // Name: Smdn.Fundamental.Xml.Xhtml // AssemblyVersion: 3.0.0.0 // InformationalVersion: 3.0.0 (net45) // TargetFramework: .NETFramework,Version=v4.5 // Configuration: Release using System; using System.Collections.Generic; using Sy...
60.05283
96
0.689833
[ "MIT" ]
smdn/Smdn.Fundamentals
doc/api-list/Smdn.Fundamental.Xml.Xhtml/Smdn.Fundamental.Xml.Xhtml-net45.apilist.cs
15,914
C#
using System; using System.Collections.Generic; using System.Linq; namespace User_logs { class Program { static void Main(string[] args) { Dictionary<string, Dictionary<string, int>> site = new Dictionary<string, Dictionary<string, int>>(); string[] input = Console.Rea...
28.095238
113
0.409605
[ "MIT" ]
kostanikolov/SoftUni
Projects/ProgrammingFundamentalsWithCSharp/07. Dictionaries-Exercise/User-logs/Program.cs
1,772
C#
namespace Game.Core.Enums { public enum MatchType { None = 0, Green = 1, Yellow = 2, Blue = 3, Red = 4, Special = 5 } }
14.916667
25
0.424581
[ "MIT" ]
mcertuzun/UnithonCase
Assets/Scripts/Game/Core/Enums/MatchType.cs
179
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace UiPath.Web.Client201910.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.G...
27.733333
98
0.613782
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated201910/Models/ListResultDtoNameValueDto.cs
1,248
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class BallHandler : MonoBehaviour { // Start is called before the first frame update private Camera maincamera; public float detachtime; private bool isDragging; [SerializeField] pri...
25.34375
86
0.619605
[ "MIT" ]
EllaRed/Ball-Launcher
Ball Launcher Udemy/Assets/Scripts/BallHandler.cs
1,622
C#
using DMTools.Managers; using DMTools.Models.SettingModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DMTools.Repositories { class LocationRepository : ObjectBaseRepository<LocationModel> { #region Variables and Proper...
30.134615
103
0.681557
[ "MIT" ]
dgioielli/DM_Tools
DMTools/DMTools/Repositories/LocationRepository.cs
1,569
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Net; using Microsoft.Azure.Management.CosmosDB; using Xunit; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Microsoft.Azure.Managemen...
61.282528
348
0.649924
[ "MIT" ]
MahmoudYounes/azure-sdk-for-net
sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs
16,487
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using Newtonsoft.Json; using Sylvester.Compiler.PlaidML.Bindings; namespace Sylvester.Compiler.PlaidML { public class Context : CompilerApi<Context>, IContext { protected IntPtr ptr; protected string logFile...
28.6
125
0.554779
[ "MIT" ]
allisterb/Sylvester
src/Compilers/plaidml/Sylvester.Compiler.PlaidML/Context.cs
3,005
C#
using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DatabaseIntegration { public class AdultCensusContext : DbContext { public DbSet<AdultCensus> AdultCensus { get; set; } ...
33.72973
85
0.649038
[ "MIT" ]
27theworldinurhand/machinelearning-samples
samples/csharp/getting-started/DatabaseIntegration/DatabaseIntegration/Model.cs
1,248
C#
namespace cdz360Tools.Services.Contract { using Models; public interface ICdz360DbService { #region Methods /// <summary> /// 保存充电桩设备信息 /// </summary> /// <param name="item">The item.</param> /// <returns></returns> /// 时间:2016-04-14 15:06 /...
26.553571
73
0.510424
[ "MIT" ]
wind2006/DotNet.Utilities
cdz360Tools.Services/Contract/ICdz360DbService.cs
1,661
C#
// Copyright (c) Russlan Akiev. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace IdentityBase { using System.Collections.Generic; using System.Reflection; using IdentityBase.Actions.Recover; using IdentityBase.Con...
32.468085
107
0.652687
[ "Apache-2.0" ]
BGuang/IdentityBase
src/IdentityBase.Web/Extensions/WebControllerFeatureProvider.cs
1,526
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace LogDB.Entities { public class MinorPage { //Handles public MajorPage parentPage; public MajorPageObject parentPageEntry; public Stream s { get { return parentPage.s; } } //Off...
37.288557
197
0.541694
[ "MIT" ]
Roman-Port/LogDB
LogDB/Entities/MinorPage.cs
7,497
C#
using System.ComponentModel; namespace Sparrow.StandardResult { /// <summary> /// 枚举类 /// </summary> public class EnumModelResult { /// <summary> /// 枚举结果 /// </summary> public enum EnumResult { /// <summary> /// 调用失败 /// ...
25.09322
43
0.385343
[ "Apache-2.0" ]
zhengganCN/Sparrow
src/Sparrow/Sparrow.StandardResult/EnumModelResult.cs
3,421
C#
namespace treeDiM.StackBuilder.Desktop { partial class FormNewPalletFilm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
41.7
149
0.583
[ "MIT" ]
Alko89/StackBuilder
Sources/TreeDim.StackBuilder.Desktop/FormNewPalletFilm.Designer.cs
7,508
C#
//===================================================================================================================== // // ideMobi 2020© // //===================================================================================================================== // Define the use of Log and Benchmark only for this fil...
49.276094
282
0.453639
[ "Apache-2.0" ]
NetWorkedData/NetWorkedData
NWDEngine/NWDDataType/NWDLocalizable/NWDLocalizableLongTextType.cs
14,638
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("Ini...
38.756757
84
0.751046
[ "MIT" ]
Arsenico95/Inixe.Coinmanager
Source/Inixe.CoinManagement.Bitfinex.Api/Properties/AssemblyInfo.cs
1,437
C#
using System.Collections.Generic; using System.Linq; namespace Kritner.AdventOfCode2018.Day3 { public class Fabric { private readonly Point[,] _points; public Fabric(int width, int height, IEnumerable<FabricSegments> fabricClaims) { Width = width; Height = heig...
27.752577
86
0.43425
[ "MIT" ]
Kritner/Kritner.AdventOfCode2018
src/Kritner.AdventOfCode2018/Day3/Fabric.cs
2,694
C#
using System; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using UnityEngine; using UnityEngine.Rendering; // Based on https://github.com/EnlightenedOne/MirrorNetworkDiscovery // forked from https://github.com/in0finite/MirrorNetworkDiscovery // Both are MIT Licensed namespace Mirror.Disc...
32.172131
122
0.529936
[ "MIT" ]
aka-coke/MirrorNG
Assets/Mirror/Components/Discovery/NetworkDiscoveryBase.cs
11,775
C#
namespace Microsoft.Bot.Builder.Location.Tests { using System.Threading; using System.Threading.Tasks; using Builder.Dialogs; using Connector; using Dialogs; using Moq; using VisualStudio.TestTools.UnitTesting; [TestClass] public class LocationSelectionDialogTests { [Te...
37.30137
154
0.608153
[ "MIT" ]
joseroubert08/BotBuilder-Location
CSharp/BotBuilderLocation.Tests/LocationSelectionDialogTests.cs
2,725
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TileBackgroud : MonoBehaviour { public GameObject background; // Use this for initialization void Start () { } // Update is called once per frame void Update () { //Get camera size float vertExtent = Camera.m...
17.814815
63
0.721414
[ "Apache-2.0" ]
hippunk/PlatypusCorp
Assets/Scripts/TileBackgroud.cs
483
C#
using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.Extensions.DependencyInjection; using Prism.Container.Extensions.Shared.Mocks; using Prism.Container.Extensions.Shared.Tests; using Prism.Container.Extensions.Tests.Mocks; using Prism.Ioc; using Xunit; using Xunit.Abstractions; n...
31.564195
100
0.502378
[ "MIT" ]
aritchie/Prism.Container.Extensions
tests/Prism.Microsoft.DependencyInjection.Extensions.Tests/ContainerTests.cs
17,455
C#
using System; using System.Collections.Generic; using NUnit.Framework; namespace Clutch.Tests { [TestFixture] public class ClutchTests { [Test] public void RetrievesModelFromRoot() { Room room = new FluentClient<Error>("http://local.property.erm-api.com/v1/").Get<Room>(...
26.97931
139
0.540389
[ "MIT" ]
elmore/Clutch
net40/Clutch.Tests/ClutchTests.cs
3,914
C#
using Xunit; using Build; namespace TestSet1 { public static class UnitTest { [Fact] public static void Method1() { //TestSet1 var container = new Container(); container.RegisterType<SqlDataRepository>(); container.RegisterType<ServiceData...
44.92
162
0.617658
[ "MIT" ]
funcelot/build
Build.Tests/Tests/UnitTest1.cs
30,321
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...
61.428239
209
0.687965
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/MediaConnect/Generated/_bcl45/AmazonMediaConnectClient.cs
131,825
C#
using UnityEngine; using UnityEngine.UI; using Beautify.Universal; namespace Beautify.Demos { public class Demo : MonoBehaviour { private void Start() { UpdateText(); } void Update() { if (Input.GetKeyDown(KeyCode.J)) { BeautifySettings.settings.bl...
32.220339
109
0.5697
[ "MIT" ]
JohnMurwin/NaturalSelectionSimulation
Assets/Plugins/Beautify/URP/Demo/DemoSources/Scripts/Demo.cs
1,901
C#
// using System.Collections.Generic; // using System.Linq; // using System.Threading.Tasks; // using Game.Models; // using Game.Dtos.Character; // using AutoMapper; // using System; // using Game.Data; // using Microsoft.EntityFrameworkCore; // namespace Game.Services // { // public class CharacterService : IChar...
44.272727
121
0.597308
[ "MIT" ]
Vehx/idle-game
Services/CharacterService/CharacterService.cs
4,383
C#
using CrazyflieDotNet.Crazyflie.Feature.Log; namespace CrazyflieDotNet.Crazyflie.Feature { /// <summary> /// Interface of the logger port of the crazyflie. /// </summary> public interface ICrazyflieLogger { /// <summary> /// Create a new empty log config entry which can then be cus...
36.754717
86
0.613963
[ "MIT" ]
DominicUllmann/CrazyflieDotNet
CrazyflieDotNet/Source/CrazyflieDotNet.Crazyflie/Feature/ICrazyflieLogger.cs
1,950
C#
using System; using System.IO; namespace LostFoot { public class CSharpLayerImpl: DrawMe { public Game game; public int width = 800; public int height = 480; public CSharpLayerImpl() : base() { } public override void init() { try { RustyGL.glViewport (0, 0, width, height); RustyGL.gl...
23.921053
110
0.660616
[ "MIT" ]
Ingener74/Lost-Foot
LostFoot/CSharpLayerImpl.cs
1,818
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.Collections.Generic; using System.Drawing; using System.IO; using Microsoft.Xna.Framework.Content.Pipeline.G...
30.900498
126
0.664466
[ "Unlicense" ]
CaptainSandman/DarkHavoc
Dependencies/MonoGame/MonoGame.Framework.Content.Pipeline/Processors/FontDescriptionProcessor.cs
6,213
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HttpClients.Services.SwResolve.ApiModel { public class ResolveDataResultModel { /// <summary> /// 解算数据列表 /// </summary> public ResolveData[] Data { get;...
21.285714
55
0.453979
[ "Apache-2.0" ]
Library-Starlight/Network
src/Http/HttpClients/HttpClients/Services/SwResolve/ApiModel/ResolveDataResultModel.cs
2,294
C#
using System.Collections.Generic; public class FourGame : Game { private const ulong fullBoardBits = 0b_01111111_01111111_01111111_01111111_01111111_01111111; private readonly BitMask[] winMasks = new BitMask[4] { new BitMask(0b_00001111, new Size(4, 1)), // - n...
38.985294
130
0.571482
[ "MIT" ]
Ro2Be/BoardGameAI
Four/Assets/Scripts/Games/FourGame.cs
2,653
C#
using System; namespace OpenVIII { internal sealed class DSCROLL3 : JsmInstruction { public DSCROLL3() { throw new NotSupportedException(); } } }
16.166667
51
0.57732
[ "MIT" ]
A-n-d-y/OpenVIII
Core/Field/JSM/Instructions/DSCROLL3.cs
194
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI.WebControls; using CPointSoftware.ECommerce.Tools; namespace Altazion.ECommerce.Controls { /// <summary> /// Affiche dans un span la date de livraison prévue pour le mode /// de transport s...
29.051282
114
0.530891
[ "MIT" ]
altazion/altazion-commerce-controls
Altazion.ECommerce.Controls/Altazion.ECommerce.Controls/LivraisonDelai.cs
2,282
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 Microsoft.Data.DataView; using Microsoft.ML.Data; using Microsoft.ML.Functional.Tests.Datasets; using Microso...
42.807692
143
0.654762
[ "MIT" ]
IndigoShock/machinelearning
test/Microsoft.ML.Functional.Tests/Validation.cs
4,454
C#
using Newtonsoft.Json; namespace MultiSafepay.Model { public class TemplateButtonObject { [JsonProperty("background")] public string Background { get; set; } [JsonProperty("text")] public string Text { get; set; } [JsonProperty("border")] public string Border { ...
27.789474
61
0.617424
[ "MIT" ]
DanielleGreen1211/MultiSafepay-NET-API
Src/MultiSafepay/Model/TemplateButtonObject.cs
530
C#
using System; using System.Threading.Tasks; using MvvmBasicPlus.Services; using Windows.ApplicationModel.Activation; namespace MvvmBasicPlus.Activation { internal class DefaultActivationHandler : ActivationHandler<IActivatedEventArgs> { private readonly Type _navElement; public DefaultActiv...
31.075
97
0.661303
[ "MIT" ]
scottkuhl/MvvmBasicPlus
MvvmBasicPlus/Activation/DefaultActivationHandler.cs
1,245
C#
/*=================================================================================== * * Copyright (c) Userware/OpenSilver.net * * This file is part of the OpenSilver Runtime (https://opensilver.net), which is * licensed under the MIT license: https://opensource.org/licenses/MIT * * As stated in th...
60.537313
153
0.673323
[ "MIT" ]
Talentia-Software-OSS/OpenSilver
src/Runtime/Runtime/APP_SUPPORT/StaticConstructorsCaller.cs
4,056
C#
using Logikoz.XamarinUtilities.Enums; using Logikoz.XamarinUtilities.Services; using Xamarin.Forms; using XF.Material.Forms; namespace Quiz.Mobile.Util { internal static class ChangeThemeUtil { /// <summary> /// Altera o tema (dark/light) do app e inicia o XF-Material. /// </summary>...
24.545455
69
0.62963
[ "MIT" ]
Speckoz/MobileQuiz
Speckoz.Quiz/Quiz.Mobile/Util/ChangeThemeUtil.cs
542
C#