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.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PropertyDependencyFramework; namespace WPFSample.DemonstrationShowcases { class SimplePropertyDependencyOldSqlVM : BindableExt { private int _d1; public int D1 { get { return _d1; } ...
16.046154
61
0.588686
[ "MIT" ]
interknowlogy/pdfx
Samples/WPFSample/WPFSample/DemonstrationShowcases/SimplePropertyDependencyOldSqlVM.cs
2,088
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using BeeHive.DataStructures; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage.Table; namespace ConveyorBelt.Tooling...
37.04
99
0.542477
[ "MIT" ]
nojlkobhuk/conveyorbelt
src/ConveyorBelt.Tooling/IBlobExtensions.cs
2,780
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LinkedDataBrowser.Models.Extensions { public static class ListExtension { /// <summary> /// Get shorter list, keep only selected subset of elements /// </summary> /// <typ...
40.513514
113
0.611074
[ "MIT" ]
EvkaS/GofriBrowser
LinkedDataBrowser/Models/Extensions/ListExtension.cs
1,501
C#
/* KeePass Password Safe - The Open-Source Password Manager Copyright (C) 2003-2016 Dominik Reichl <dominik.reichl@t-online.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either versio...
25.892857
76
0.724966
[ "BSD-3-Clause" ]
FDlucifer/KeeThief
KeePass-2.34-Source-Patched/KeePass/UI/DynamicMenu.cs
3,625
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("1_T...
37.405405
84
0.746387
[ "MIT" ]
Gemnnn/LeetCode
1_TwoSum/1_TwoSum/Properties/AssemblyInfo.cs
1,387
C#
using Integrator.Models.ViewModels.CurriculumVitaes; using Integrator.Models.ViewModels.Users; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Integrator.Factories.CurriculumVitae { public partial interface ICurriculumVitaeViewModelFactory { C...
35.030303
133
0.82699
[ "Apache-2.0" ]
Speedie007/Intergrator
Integrator.Web/Integrator.Factories/CurriculumVitae/ICurriculumVitaeViewModelFactory.cs
1,158
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...
26.4125
111
0.592522
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/LakeFormation/Generated/AmazonLakeFormationConfig.cs
2,113
C#
using System; // ReSharper disable InconsistentNaming namespace NetworkSkins { public static class BuildingAiRenderMeshesPatch { public static bool Prefix(BuildingAI __instance, RenderManager.CameraInfo cameraInfo, ushort buildingID, ref Building data, int layerMask, ref RenderManager.Instance instan...
48.428571
183
0.521281
[ "MIT" ]
simog6/NetworkSkins2
NetworkSkins/BuildingAiRenderMeshesPatch.cs
2,375
C#
using System.Collections.Generic; using System.Linq; using FluentAssertions; using LogCast.Engine; using NUnit.Framework; namespace LogCast.NLog.Test.LogCastTarget.given_nlog_configuration.and_context_id_enabled { public class when_logging_two_times : Context { private LogCastDocument _lastLog; ...
32.955224
119
0.629076
[ "MIT" ]
kbabiy/LogCast
LogCast.NLog.Test/LogCastTarget/given_nlog_configuration/and_context_id_enabled/when_logging_two_times.cs
2,210
C#
/* * Copyright (c) 2006-2016, openmetaverse.co * 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 ...
34.880952
107
0.588168
[ "BSD-3-Clause" ]
BigManzai/libopenmetaverse
Programs/WinGridProxy/ListViewNoFlicker.cs
4,397
C#
namespace XTB.CustomApiManager.Forms { partial class NewResponsePropertyForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /...
53.788636
234
0.614315
[ "MIT" ]
drivardxrm/XTB.CustomApiManager
XTB.CustomApiManager/Forms/NewResponsePropertyForm.designer.cs
23,669
C#
namespace Desktop_View { partial class TNovaNota { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
42.73
107
0.597707
[ "MIT" ]
Mogueno/Atena-Desk-and-Mobile
desk/Desktop_View/TNovaNota.Designer.cs
4,275
C#
using AutoFixture; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AutoFixtureDemo.Tests { public class GuidEnumDemos { [Test] public void Guid() { var fixture = new Fixture...
22.354839
47
0.497835
[ "MIT" ]
mirusser/Learning-dontNet
src/Testing/AutoFixture/AutoFixtureDemo.Tests/GuidEnumDemos.cs
695
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...
33.016393
124
0.623138
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Route53RecoveryReadiness/Generated/Model/GetReadinessCheckResourceStatusRequest.cs
4,028
C#
#region Using using JetBrains.Annotations; #endregion namespace Utils.StructParsers { [PublicAPI] public sealed class LongParser : IStructParser<long> { long IStructParser<long>.ParseOrDefault(string value, long @default) => ParseOrDefault(value, @default); long? IStructPars...
25.36
80
0.640379
[ "MIT" ]
azoh19/Utils.Common
Utils.StructParsers/LongParser.cs
636
C#
namespace Dear.MediaControl { public interface IMedia { void VolumeUp(); void VolumeDown(); void VolumeMute(); } }
21
30
0.585034
[ "MIT" ]
MrWindows/MrWindows
MrWindows/MediaControl/IMedia.cs
149
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics.Containers; using osu.Framework.Screens; using osu.Framewor...
45.320879
162
0.604723
[ "MIT" ]
powenn/osu
osu.Game.Tests/Visual/Navigation/TestSceneScreenNavigation.cs
20,167
C#
// This file is part of VaultLib.Core by heyitsleo. // // Created: 10/31/2019 @ 4:59 PM. using CoreLibraries.IO; namespace VaultLib.Core.Pack { /// <summary> /// Provides options for vault pack loading /// </summary> public class PackLoadingOptions { public PackLoadingOptions(ByteOrd...
21.904762
73
0.615217
[ "MIT" ]
BreakinBenny/VaultLib
VaultLib.Core/Pack/PackLoadingOptions.cs
462
C#
/* Copyright 2010-present MongoDB Inc. * * 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 wr...
39.182156
117
0.54611
[ "Apache-2.0" ]
591094733/mongo-csharp-driver
tests/MongoDB.Bson.Tests/ObjectModel/RawBsonDocumentTests.cs
10,542
C#
using System; using System.Threading; namespace Trees { class Program { static void Main(string[] args) { Debug.Init(); var printer = new Printer(); var world = new World(Console.WindowWidth, Console.WindowHeight); while (true) { ...
21.913043
77
0.478175
[ "MIT" ]
XDA-7/trees
Program.cs
506
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.Reflection; using System.Dynamic.Utils; using System.Collections.Generic; using System.Runtime.Compiler...
32.322176
129
0.489579
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/CallInstruction.cs
15,450
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...
29.271429
98
0.612494
[ "Apache-2.0" ]
aoaob/HubbleDotNet
C#/src/Hubble.Data/Hubble.Core/StoredProcedure/SP_AddSchema.cs
2,051
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...
37.758929
193
0.655711
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Greengrass/Generated/Model/Internal/MarshallTransformations/ListFunctionDefinitionsResponseUnmarshaller.cs
4,229
C#
/* 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 distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ namespace Butterfly.Db { public enum TableIndexType { Primary, Unique, Other } ...
23.617647
74
0.56538
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
firesharkstudios/butterfly-db
Butterfly.Db/TableIndex.cs
805
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 enable using System; using System.Collections.Immutable; using System.Linq; namespace Microsoft.CodeAna...
33.592105
81
0.611046
[ "MIT" ]
06needhamt/roslyn
src/Interactive/Host/Interactive/Core/RemoteExecutionResult.cs
2,555
C#
namespace FlowDesign.Model.Components.SystemEnvironment { /// <summary> /// Komponente für einen Actor. /// </summary> /// <seealso cref="FlowDesign.Model.Components.SystemEnvironment.SystemEnvironmentComponent" /> public class ActorComponent : SystemEnvironmentComponent { /// <summary>...
27.388889
99
0.624746
[ "MIT" ]
FlowDesign-HS-Esslingen/FlowDesignModelingTool
Source/FlowDesign.Model/Components/SystemEnvironment/ActorComponent.cs
496
C#
using System; using System.Linq; using LinqToDB; using LinqToDB.Mapping; using NUnit.Framework; namespace Tests.UserTests { using Model; [TestFixture] public class Issue307Tests : TestBase { [Table(Name = "Person")] public class Entity307 { private Entity307() { } [Column("PersonID"), Identi...
17.942029
64
0.653473
[ "MIT" ]
FrancisChung/linq2db
Tests/Linq/UserTests/Issue307Tests.cs
1,240
C#
namespace MouseKeyboardActivityMonitor.WinApi { internal static class Messages { //values from Winuser.h in Microsoft SDK. /// <summary> /// The WM_MOUSEMOVE message is posted to a window when the cursor moves. /// </summary> public const int WM_MOUSEMOVE = 0x200; ...
42.77193
113
0.628384
[ "MIT" ]
Behzadkhosravifar/BlackANT
Black ANT/MouseKeyboardActivityMonitor/WinApi/Messages.cs
4,878
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace QuickTrack.Controllers { public class DispatchController : Controller { // // GET: /Dispatch/ public ActionResult DispatchManagement() { return View (); } public Ac...
16.117647
48
0.640511
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/test/csharp/497c70dedc81708ad63d00dc4783a8f00b8958c5DispatchController.cs
550
C#
using System; using System.Globalization; using System.IO; using System.Linq; using CsvHelper; using Newtonsoft.Json; using NLog; using RestSharp; namespace hubspot2s3 { class Program { private static readonly NLog.Logger s_logger = NLog.LogManager.GetCurrentClassLogger(); static void Main(st...
42.694737
123
0.542899
[ "MIT" ]
EAHYoder/hubspot_to_s3
csharp/hubspot2s3/Main.cs
4,058
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ks.h(373,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct __struct_ks_176__union_0__struct_1 { public IntPtr Semaphore; public uint Re...
24.466667
82
0.711172
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/__struct_ks_176__union_0__struct_1.cs
369
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using NewRelic.Agent.IntegrationTestHelpers; using NewRelic.Agent.IntegrationTests.Shared; using Xunit; using Xunit.Abstractions; namespace NewRelic.Agent.UnboundedIntegrationTests.MongoDB { abstract public class MongoD...
31.917808
167
0.627897
[ "Apache-2.0" ]
SergeyKanzhelev/newrelic-dotnet-agent
tests/Agent/IntegrationTests/UnboundedIntegrationTests/MongoDB/MongoDB2_6_DatabaseTests.cs
4,660
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using Elastic.Elasticsearch.Xunit.XunitPlumbing; using FluentAssertions; using Nest; using Tests.Core.Extensions; ...
23.454545
96
0.645349
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
tests/Tests/ClientConcepts/HighLevel/Inference/Equality/TaskIdEqualityTests.cs
1,032
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("Am...
38.405405
84
0.748065
[ "Apache-2.0" ]
Dennis-Koch/ambeth
ambeth/Ambeth.TestUtil/Properties/AssemblyInfo.cs
1,424
C#
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
29.041026
191
0.541762
[ "MIT" ]
Dramikon/EntityFramework-Plus
src/shared/Z.EF.Plus.QueryFuture.Shared/QueryFutureEnumerable.cs
5,666
C#
using System.Text; using Konsole.Internal; namespace Konsole.Forms { public class BoxWriter : IBoxWriter { private readonly IBoxStyle _lines; private readonly int _width; // total width of the dialog, including lines private readonly int _captionWidth; // width o...
42.111111
144
0.543159
[ "Apache-2.0" ]
johnmbaughman/konsole
Konsole/Forms/BoxWriter.cs
2,653
C#
// Licensed under the Apache License, Version 2.0 (the "License"). // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using DevDecoder.HIDDevices; using DevDecoder.HIDDe...
43.778325
138
0.473613
[ "Apache-2.0" ]
DevDecoder/HIDControllers
HIDDevices.Sample/Samples/DependencyInjectionSample.cs
8,889
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.ComponentModel; using System.Drawing.Design; using System.Text; using System.Windows.Forms; using System.Windows.Forms.Design; namespace Sce.Atf.Controls.PropertyEditing { /// <summary> /// UIT...
41.224215
134
0.570434
[ "Apache-2.0" ]
RedpointGames/Protogame.LevelEditor
ATF/Framework/Atf.Gui.WinForms/Controls/PropertyEditing/FlagsUITypeEditor.cs
8,974
C#
#if !NOFILEIO using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.BitcoinCore { [Obsolete] public class DataDirectory { private readonly string _Folder; public string Folder { get { ...
17.066667
59
0.66276
[ "MIT" ]
ChekaZ/NBitcoin
NBitcoin/BitcoinCore/DataDirectory.cs
770
C#
using HotelManagementApp.Models; using HotelManagementApp.Models.Context; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Threading.Tasks; namespace HotelManagementApp.Services { public class ApartTypeService { private readonly ApplicationDbC...
23.884615
84
0.78905
[ "Unlicense" ]
Dasik/HotelManagementApp
HotelManagementApp/Services/ApartTypeService.cs
623
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Health : MonoBehaviour { public float health=20f; public void Damage(float amount) { health-=amount; if(health==0) { destroy(); } } void destroy() { ...
15.391304
36
0.564972
[ "MIT" ]
ayush4602/Calico-Ghost-Town
Assets/Scripts/Health.cs
354
C#
using System; using System.Threading; using System.Threading.Tasks; using AutoMapper; using FluentValidation; using MediatR; using WeatherForecast.Application.Interfaces; namespace WeatherForecast.Application.Commands.SubmitWeatherForecast { public class SubmitWeatherForecastCommand : IRequest<bool> ...
34.661538
139
0.58411
[ "MIT" ]
draekien/Draekien.CleanVerticalSlice.Template
Features/WeatherForecast/Src/WeatherForecast.Application/Commands/SubmitWeatherForecast/SubmitWeatherForecastCommand.cs
2,255
C#
#region Using Statements using System; using System.Collections.Generic; using System.ComponentModel; using UnityEngine; #endregion namespace Delight { /// <summary> /// Interface for ensuring initialize method is called once on object construction. /// </summary> public interface IInitialize { ...
19.944444
88
0.707521
[ "MIT" ]
MUDV587/Delight
UnityProject/Delight/Assets/Delight/Source/IInitialize.cs
361
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("ConsoleAppl...
40.378378
100
0.745649
[ "MIT" ]
Panda-Lewandowski/DataBase
Tickets DB/10/10/ConsoleApplication1/ConsoleApplication1/Properties/AssemblyInfo.cs
2,066
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace StarkPlatform.Compiler.Operations { /// <summary> /// Represents a reference to a method other than as the target of an invocation. ///...
32.193548
161
0.623246
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler/Operations/IMethodReferenceOperation.cs
1,000
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using EntityWorker.Core.InterFace; using EntityWorker.Core.Object.Library; using EntityWorker.Core.Interface; using EntityWor...
43.91623
184
0.54733
[ "MIT" ]
AlenToma/EntityWorker.Core
Source/EntityWorker.Core/Helper/MethodHelper.cs
8,390
C#
using System; using System.IO; using System.Xml; using System.Xml.XPath; namespace NotaFiscalNet.Core.Transmissao { /// <summary> /// Representa o Retorno da Consulta de Recibo de Entrega de Lote de Notas Fiscais Eletrônicas. /// </summary> public sealed class RetornoConsultaRecibo { publ...
36.418033
107
0.577538
[ "MIT" ]
NotaFiscalNet/NotaFiscalNet
src/NotaFiscalNet.Core/Transmissao/RetornoConsultaRecibo.cs
4,463
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
33.942308
84
0.52238
[ "MIT" ]
luizerico/Comp229-2016-Assignment-01
Assignment01/Assignment01/Account/Manage.aspx.designer.cs
1,767
C#
using Com.Danliris.Service.Packing.Inventory.Data.Models.Master; using Com.Danliris.Service.Packing.Inventory.Infrastructure.IdentityProvider; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensi...
31.210526
104
0.624283
[ "MIT" ]
AndreaZain/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Infrastructure/Repositories/Master/WeftTypeRepository.cs
2,967
C#
// this code is borrowed from RxOfficial(rx.codeplex.com) and modified #if (NET_4_6) using System; using System.Threading.Tasks; using System.Threading; namespace UniRx { /// <summary> /// Provides a set of static methods for converting tasks to observable sequences. /// </summary> public static cla...
45.915761
190
0.590874
[ "MIT" ]
Acidburn0zzz/UniRx
Assets/Plugins/UniRx/Scripts/Tasks/TaskObservableExtensions.cs
16,899
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
44.993471
230
0.622313
[ "MIT-feh" ]
ebfortin/UnitsNet
UnitsNet/GeneratedCode/Quantities/ElectricPotentialAc.g.cs
41,351
C#
using System; using System.Windows.Forms; namespace SyncMonitorBrightness { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
21.85
65
0.578947
[ "MIT" ]
diaconesq/SyncMonitorBrightness
Program.cs
439
C#
//----------------------------------------------------------------------------- // FILE: Service.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2021 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
30.975
94
0.625504
[ "Apache-2.0" ]
nforgeio/neonKUBE
Services/neon-identity-service/Service.cs
2,480
C#
using System; using System.Runtime.InteropServices; using System.Security; using Tynted.SFML.System; namespace Tynted.SFML.Graphics { //////////////////////////////////////////////////////////// /// <summary> /// Base class for textured shapes with outline /// </summary> ///////////////////////////...
44.169492
133
0.531005
[ "Apache-2.0" ]
NocturnalWisp/Tynted-Engine
TyntedEngine/SFML/SFML.Graphics/Shape.cs
13,030
C#
// Copyright (c) 2015 SharpYaml - Alexandre Mutel // // 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, mod...
43.884211
83
0.628208
[ "MIT" ]
Schnutzel/SharpYaml
SharpYaml/Serialization/IYamlVisitor.cs
4,169
C#
// ------------------------------------------------------- // Created by Andrew Witte. // ------------------------------------------------------- using UnityEngine; using System.Collections.Generic; using System.Collections; /// <summary> /// Main Reign delegate class. /// </summary> public class ReignServices : Mon...
26.895928
136
0.718371
[ "MIT" ]
U3DC/Snaker
Assets/Plugins/Reign/Services/ReignServices.cs
5,944
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.16129
151
0.578848
[ "MIT" ]
kaseat/BridgeDataAnalysis
WGui/Properties/Settings.Designer.cs
1,061
C#
using System; using System.Linq; using System.Collections.Generic; using static Euler.Extension; using static Euler.Sequence; using Euler81; using Euler; namespace Euler82 { public class Program { public static IEnumerable<SearchState> NeighborFunc(SearchState s, int numCols, int numRows, Func<Searc...
41.533333
188
0.552751
[ "Unlicense" ]
sjohna/euler-dotnetcore
Euler082/Program.cs
6,855
C#
using EPiServer.Commerce.Order; using EPiServer.Core; using EPiServer.Reference.Commerce.Site.Features.Cart.Services; using EPiServer.Reference.Commerce.Site.Features.Checkout.Pages; using EPiServer.Reference.Commerce.Site.Features.Checkout.Services; using EPiServer.Reference.Commerce.Site.Features.Checkout.ViewModelF...
38.855856
135
0.675052
[ "Apache-2.0" ]
Cauldrath/Quicksilver
Sources/EPiServer.Reference.Commerce.Site/Features/Checkout/Controllers/CheckoutController.cs
8,628
C#
using System.Text; using Microsoft.OpenApi.Models; namespace openapi_to_terraform.Generator.azurerm.v2_45_1.GeneratorModels { public class TerraformApimProductApi { public static string GenerateBlock(OpenApiDocument document, string revision) { StringBuilder sb = new StringBuilder()...
44.318182
110
0.667692
[ "MIT" ]
awaldow/openapi-to-terraform
openapi-to-terraform.Generator/azurerm/v2_45_1/GeneratorModels/TerraformApiProductApi.cs
975
C#
using System; using System.Collections.Generic; namespace OpcPublisher { using Opc.Ua; using OpcPublisher.Crypto; using System.Net; using System.Threading; using System.Threading.Tasks; using static OpcPublisher.OpcSession; /// <summary> /// Class to manage OPC sessions. /// </sum...
34.717391
172
0.601284
[ "MIT" ]
4or5trees/iot-edge-opc-publisher
opcpublisher/IOpcSession.cs
6,390
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.777778
151
0.58473
[ "MIT" ]
AndreGuimRua/Direct3D-Rendering-Cookbook
Ch01_01EmptyProject/Properties/Settings.Designer.cs
1,076
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MASA.PM.Service.Admin.Infrastructure.Entities { [Table("EnvironmentClusterProjects")] [Index(nameof(EnvironmentClusterId), Name = "IX_EnvironmentClusterId")] public class Environme...
31.454545
82
0.696532
[ "Apache-2.0" ]
masastack/MASA.PM
src/Services/MASA.PM.Service.Admin/Infrastructure/Entities/EnvironmentClusterProject.cs
694
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using Elastic.Apm.Api; using Elastic.Apm.Config; using Elastic.Apm.Logging; namespace Elastic.Apm.Helpers { internal static class StacktraceHelper { priva...
35.047904
132
0.712284
[ "MIT" ]
arleyscastro/lumini-hire-test
src/Elastic.Apm/Helpers/StacktraceHelper.cs
5,853
C#
namespace ConfigApp { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
52.959777
162
0.592734
[ "Apache-2.0" ]
apadin1/Team-GLOVE
ConfigApp/ConfigApp/Form1.Designer.cs
47,401
C#
using System.Collections.Generic; using JetBrains.Annotations; namespace Vostok.ServiceDiscovery.Abstractions { /// <summary> /// Represents information about an instance of application registered in service discovery system. /// </summary> [PublicAPI] public interface IReplicaInfo {...
25.416667
104
0.537705
[ "MIT" ]
borovskyav/servicediscovery.abstractions
Vostok.ServiceDiscovery.Abstractions/IReplicaInfo.cs
917
C#
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
36.04321
125
0.652166
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Transports/ReceiveEndpoint.cs
5,839
C#
/** * --------------------------------------------------------- * * vkWinPlayer - минималистичный плеер для VK.COM * @Author GROM - <botx68@gmail.com> * @WebSite: https://retro3f.github.io/ | https://github.com/retro3f * @About: Программа для прослушивания музыки с сайта vk.com * @Date: 10.08.2016 * @Programm...
38.283113
205
0.512304
[ "MIT" ]
retro3f/vkWinPlayer
vkWinPlayer/Form1.cs
24,518
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v5/enums/conversion_action_category.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google....
39.523026
332
0.668997
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
src/V5/Types/ConversionActionCategory.cs
12,015
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BallController : MonoBehaviour { private Vector3 startPos; private Quaternion startRot; private Rigidbody rb; private Color defultColor; public bool isLegal = false; public List<GameObject> starsList; public LevelConf...
21.595238
96
0.695149
[ "MIT" ]
molock/RubeGoldbergGame
Assets/Scripts/BallController.cs
1,816
C#
using System; using UnityEngine; namespace multiVar{ public class Gradiente : _MetodoMultVar { protected override double[] Algoritmo() { double[] res = new double[varNum]; return res; } } }
17.928571
47
0.569721
[ "Apache-2.0" ]
Avatark0/PO2-2021
PO2 - Projeto 2/Assets/_Scripts/Metodos_Multi/Metodos/Gradiente.cs
251
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"); you may...
37.726813
161
0.523735
[ "Apache-2.0" ]
ClearCanvas/lucene.net
test/core/Index/TestAddIndexesNoOptimize.cs
22,372
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...
34.605263
110
0.686312
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoTAnalytics/Generated/Model/DatasetContentDeliveryDestination.cs
2,630
C#
// Copyright (c) Microsoft. 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.Composition; using System.Diagnostics; using StarkPlatform.Compiler.CodeFixes; using StarkPlatform.Compiler.St...
51.246377
207
0.704468
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Stark.Features/RemoveUnusedParametersAndValues/CSharpRemoveUnusedValuesCodeFixProvider.cs
3,538
C#
using Newtonsoft.Json.Linq; using System; using System.Runtime.InteropServices; using System.Xml; namespace LibPostalNet { public unsafe class AddressExpansionResponse : IDisposable { private IntPtr _Instance; private IntPtr _InputString; private ulong _NumExpansions; ...
34.329114
121
0.550516
[ "MIT" ]
AeroXuk/LibPostalNet
LibPostalNet/AddressExpansionResponse.cs
2,714
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using OpenTK; using osu.Framework.Graphics.Primitives; using System.Diagnostics; namespace osu.Framework.Graphics.Colour { /// <s...
36.74
118
0.548449
[ "MIT" ]
jorolf/osu-framework
osu.Framework/Graphics/Colour/ColourInfo.cs
7,350
C#
namespace SAModel.SAEditorCommon.DataTypes { public interface IScaleable { Vertex GetScale(); void SetScale(Vertex scale); } }
15
43
0.748148
[ "MIT", "BSD-3-Clause" ]
X-Hax/sa_tools
Libraries/SAEditorCommon/DataTypes/IScaleable.cs
137
C#
using Microsoft.EntityFrameworkCore; using Senai.Gufos.WebApi.Domains; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Senai.Gufos.WebApi.Repositories { public class EventoRepository { public List<Eventos> Listar() { using ...
24
82
0.579167
[ "MIT" ]
jv-soncini/Exercicios-API
Gufos/Senai.Gufos.WebApi/Senai.Gufos.WebApi/Repositories/EventoRepository.cs
722
C#
using System; using System.Collections.Generic; using System.Linq; using System.Html; using System.Xml; using System.Html.Services; using System.Html.Media.Graphics; namespace wwtlib { //[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Method)] //public class LayerProperty : ...
27.275
202
0.459481
[ "MIT" ]
astrofrog/wwt-web-client
HTML5SDK/wwtlib/Layers/Layer.cs
18,549
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NetPad.Compilation; using NetPad.Packages; using NetPad.Scripts; namespace NetPad.Runtimes; public class DefaultExternalProcessScriptRuntimeFactory : IScriptRuntimeFactory { private readonly IServiceProvider _serviceProvider...
32.21875
88
0.749758
[ "MIT" ]
tareqimbasher/NetPad
src/Infrastructure/ScriptRuntimes/NetPad.ExternalProcessScriptRuntime/DefaultExternalProcessScriptRuntimeFactory.cs
1,031
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Composition; using System.Diagnostics; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; u...
38.05
160
0.713535
[ "Apache-2.0" ]
amcasey/roslyn-analyzers
src/System.Runtime.Analyzers/CSharp/CSharpDisposeMethodsShouldCallBaseClassDispose.Fixer.cs
761
C#
using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Juno.Sdk.Webhooks.Queries { public class GetWebhookSecretRequest : IRequest<string> { pub...
22.941176
72
0.758974
[ "MIT" ]
marivaaldo/juno-sdk-net
src/Juno.Sdk/Webhooks/Queries/GetWebhookSecretRequest.cs
392
C#
// <copyright file="TestMetricProcessor.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // 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...
46.103448
149
0.728871
[ "Apache-2.0" ]
FrancisChung/opentelemetry-dotnet
test/OpenTelemetry.Tests/Impl/Metrics/TestMetricProcessor.cs
2,676
C#
// Copyright 2018 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
34.805556
108
0.672519
[ "Apache-2.0" ]
GoogleCloudPlatform/google-cloud-visualstudio
GoogleCloudExtension/GoogleCloudExtensionUnitTests/Utils/ProtectedAsyncCommandTests.cs
3,761
C#
using System; namespace AvP.Joy.Sequences { public sealed class WrappedSequence<T> : ISequence<T> { private readonly ISequence<T> source; private readonly Func<ISequence<T>, ISequence<T>> tailWrapper; public WrappedSequence(ISequence<T> source, Func<ISequence<T>, ISequence<T>> tailWra...
34.28125
97
0.577028
[ "Apache-2.0" ]
av-pinzur/JoySharp
Joy/Sequences/WrappedSequence.cs
1,099
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using books_api.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace books_api.Controllers { [Authorize] [Route("[controller]")] [ApiControl...
21.09375
50
0.648889
[ "MIT" ]
johnsilver94/bookstore-app
bookstore-back/books-api/Controllers/OrdersController.cs
677
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Sprache; namespace DockerComposeBuild { internal class Project { public Project(Guid guid, string name, string projectFile, Guid buildConfiguration) { Guid = guid...
39.013072
159
0.55671
[ "MIT" ]
sahb1239/SAHB.Build.DockerComposeRemoval
src/DockerComposeBuild/Program.cs
5,971
C#
namespace CloudPharmacy.Common.CommonResponse { public class OperationResponse { protected bool _forcedFailedResponse; public bool CompletedWithSuccess => OperationError == null && !_forcedFailedResponse; public OperationError OperationError { get; set; } public OperationRespon...
27.911765
93
0.632244
[ "MIT" ]
Daniel-Krzyczkowski/Cloud-Pharmacy-On-Azure
src/backend-apis/CloudPharmacy.Common/CommonResponse/OperationResponse.cs
951
C#
#region License // Copyright (c) .NET Foundation and 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 b...
33.675824
140
0.57285
[ "MIT" ]
stefandevo/FastEndpoints
Src/Validation/Internal/PropertyChain.cs
6,129
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4963 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
34.774194
150
0.586271
[ "MIT" ]
aronsajan/Desk-Connect
src/DeskConnectActiveListener/Properties/Settings.Designer.cs
1,080
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...
45.305556
155
0.638872
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ProviderHub/ResourceTypeRegistration.cs
4,893
C#
/* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at https://opensource.org/licenses/MIT. *...
26.666667
88
0.65875
[ "MIT" ]
ngenerics/ngenerics
src/NGenerics.Tests/DataStructures/Mathematical/Vector3DTests/IncrementOperator.cs
800
C#
using System; using System.Collections.Generic; using System.Text; namespace Harry.Validation { public enum Level { None, Low, Medium, High, Extreme } }
12.9375
33
0.570048
[ "MIT" ]
harry-wangx/Harry.Validation
Harry.Validation.Abstractions/Level.cs
209
C#
using System; using System.Collections.Generic; using Hl7.Fhir.Introspection; using Hl7.Fhir.Validation; using System.Linq; using System.Runtime.Serialization; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permit...
38.540084
124
0.593716
[ "BSD-3-Clause" ]
ssharunas/fhir-net-api
src/Hl7.Fhir.Core/Model/Generated/Signature.cs
9,136
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using RawNotification.DataAccess.DAImplements; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RawNotification.DataAccess.DAImplements.Tests { [TestClass()] public class ReceiverDA...
25.521739
67
0.67121
[ "Apache-2.0" ]
lekhasy/RawNotification
Implementation/RN_Enhance/RawNotification/RawNotification.DataAccess.Test/DAImplements/ReceiverDATests.cs
589
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; [RequireComponent(typeof(CapsuleCollider))] [RequireComponent(typeof(Rigidbody))] public class RigidBodyFPSController : PortalTraveller { [Tooltip("How fast the player moves.")] public float MovementSpeed = 7.0f; [Tooltip("Unit...
38.491003
243
0.595672
[ "MIT" ]
20ChaituR/portal2
Assets/Scripts/Demo/RigidBodyFPSController.cs
14,975
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace MyAlbum.Core.Models { public class User { public string Id { get; set; } public string UserName { get; set; } public string FirstName { get; set; } public string LastName { get; set;...
26.333333
58
0.592405
[ "MIT" ]
NhatTanVu/myalbum
src/WebSPA/Core/Models/User.cs
790
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Globalization; namespace Millistream.Streaming.DataTypes.UnitTests { [TestClass] public class InsRefTests { [TestMethod] public void TryParseInsRefTest() { Assert.IsTrue(InsRef.TryParse("1", ...
47.801527
133
0.607314
[ "MIT" ]
mgnsm/Millistream.NET
Tests/Millistream.Streaming.DataTypes.UnitTests/InsRefTests.cs
6,264
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// ExtInfos Data Structure. /// </summary> [Serializable] public class ExtInfos : AopObject { /// <summary> /// 唤起鉴权的页面类型;DETAIL表示商详页 /// </summary> [XmlElement("req_from_page...
20
47
0.578947
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/ExtInfos.cs
410
C#
using System.Linq; using Elastic.Xunit.XunitPlumbing; using FluentAssertions; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; using Xunit; using static Tests.Framework.Promisify; namespace Tests.Analysis { [SkipVersion("<5.2.0", "Normalizers...
41.304348
113
0.789474
[ "Apache-2.0" ]
Tchami/elasticsearch-net
src/Tests/Analysis/Normalizers/AnalysisWithNormalizerCrudTests.cs
1,902
C#