content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
// Copyright (c) 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...
75.830508
309
0.699933
[ "MIT" ]
Agazoth/azure-powershell
src/CloudService/generated/api/Models/Api20210301/PrivateEndpointIPConfiguration.json.cs
8,831
C#
// <auto-generated /> using System; using BankruptcyLaw.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Ba...
36.679878
125
0.446042
[ "MIT" ]
Drakojan/BankruptcyLaw
Data/BankruptcyLaw.Data/Migrations/20201112224434_RemovedExtraPhonePropertyFromUsers.Designer.cs
36,095
C#
using System; using System.Windows.Input; namespace Beata.Medrek { /// <summary> /// Implementation of the ICommand Interface for /// Commands to derive from /// </summary> public class RelayCommand : ICommand { public event EventHandler CanExecuteChanged = (sender, e) => { }; ...
23.8
73
0.525677
[ "Unlicense" ]
Godspower99/Beata.Medrek
Beata.Medrek/Commands/RelayCommand.cs
1,073
C#
using Game.Logic.Phy.Object; namespace Game.Logic.PetEffects.ContinueElement { public class CE1206 : BasePetEffect { private int m_type = 0; private int m_count = 0; private int m_probability = 0; private int m_delay = 0; private int m_coldDown = 0; private int m_added = 0; private int m_currentI...
21.325581
95
0.686478
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/Game.Logic/Game.Logic.PetEffects.ContinueElement/CE1206.cs
1,834
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("IT.BTS.PC.Base64Decoder")] [assemb...
41.916667
98
0.733598
[ "Apache-2.0" ]
Integration-Team/IT.BTS.PC.Base64Decoder
Properties/AssemblyInfo.cs
1,512
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
30.584615
81
0.614688
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Tbaas/V20180416/Models/GetTransListHandlerResponse.cs
2,078
C#
using System.Text; namespace SimplCommerce.Module.PaymentMomo.ViewModels { public class StatusRequest { private string _secretKey; public StatusRequest(string secretKey, string partnerCode, string accessKey, long orderId) { _secretKey = secretKey; PartnerCode =...
27.44
98
0.530612
[ "Apache-2.0" ]
007FFFLearning/SimplDev
src/Modules/SimplCommerce.Module.PaymentMomo/ViewModels/StatusRequest.cs
1,374
C#
 namespace LaunchDarkly.Sdk.Server.Integrations { /// <summary> /// Integration between the LaunchDarkly SDK and DynamoDB. /// </summary> public static class DynamoDB { /// <summary> /// Name of the partition key that the data store's table must have. You must specify /// th...
45.728571
137
0.56701
[ "Apache-2.0" ]
launchdarkly/dotnet-server-sdk-dynamodb
src/LaunchDarkly.ServerSdk.DynamoDB/DynamoDB.cs
3,203
C#
using Sort.Strategy; using System; using System.Collections.Generic; namespace Sort.ConcreteStrategy { /// <summary> /// A 'ConcreteStrategy' class /// </summary> public class QuickSort : SortStrategy { public override void Sort(List<string> list) { list.Sort(); // Defa...
21.421053
52
0.60688
[ "MIT" ]
emilia98/Design-Patterns-CSharp
Strategy/Real-World Examples/Strategy_RealWorldExamples/Sort/ConcreteStrategy/QuickSort.cs
409
C#
namespace Photon.Voice.Unity.Demos { using UnityEngine; using UnityEngine.UI; public class BackgroundMusicController : MonoBehaviour { #pragma warning disable 649 [SerializeField] private Text volumeText; [SerializeField] private Slider volumeSlider; [Se...
30.352941
84
0.624031
[ "Unlicense" ]
23SAMY23/Meet-and-Greet-MR
Meet & Greet MR (AR)/Assets/Photon/PhotonVoice/Demos/DemoVoiceUI/Scripts/BackgroundMusicController.cs
1,034
C#
namespace ClassLib063 { public class Class085 { public static string Property => "ClassLib063"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib063/Class085.cs
120
C#
using System; namespace CalculadoraLibrary { public class Class1 { } class Calculadora { public void somar(int x, int y) { Console.WriteLine($"A soma dos numeros {x} 3 {y} é = {x + y}"); } public void multiplicar(int x, int y) { Co...
20.95
80
0.460621
[ "MIT" ]
vilsonmoro/curso-csharp
Solution1/CalculadoraLibrary/Class1.cs
849
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using UnrealBuildTool; using System.IO; public class AirSim : ModuleRules { private string ModulePath { get { return ModuleDirectory; } } private string AirLibPath { get { return Path.C...
35.93125
227
0.645851
[ "MIT" ]
AOS55/AirSim-1
Unreal/Plugins/AirSim/Source/AirSim.Build.cs
5,749
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _8.Sunglasses { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); Console.Write(new string('*', 2 * n));...
24.709091
54
0.370861
[ "MIT" ]
DanailIordanov/SoftUni-CSharp-Fundamentals
1.C# Fundamentals I - Programming Basics Course - August 2016/6.Drawing Figures with Loops/8.Sunglasses/Program.cs
1,361
C#
/* * UiPath.WebApi * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: V2 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.T...
32.763514
140
0.590637
[ "MIT" ]
Blackspo0n/UiPath-Easy-Job-Control
UiPathEJC.Service.Rest/Model/UpdateBulkParameters.cs
4,849
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.WrappingProvider { using System.Collections.Generic; using System.Data.Common; using System.Data.Entity.Migrations.Model; using Syste...
35.684211
134
0.65708
[ "Apache-2.0" ]
TerraVenil/entityframework
test/EntityFramework/FunctionalTests/WrappingProvider/WrappingSqlGenerator.cs
1,358
C#
/* Solution par : Promit * Date : 21 août 2007 * http://www.gamedev.net/topic/457783-xna-getting-text-from-keyboard/ * * It picks up key up/down messages, and it's event based. It's also buffered, so you won't lose presses regardless of poll frequency. * The CharEntered event does full textual translation. It un...
31.451282
134
0.578347
[ "BSD-3-Clause" ]
Tri125/BBTA_MonoGame
BBTA_MonoGame/BBTA_MonoGame/Classe/Outils/EventInput.cs
6,136
C#
// // DownloadModeTests.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2019 Alan McGovern // // 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 rest...
44.108108
214
0.619768
[ "MIT" ]
OneFingerCodingWarrior/monotorrent
src/MonoTorrent.Tests/MonoTorrent.Client.Modes/DownloadModeTests.cs
21,218
C#
using Common; using AutoMapper; using ConfigMgmt; using EnterpriseContact.ViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; using System; using System.Collections.Generic; using System.Threading.Tasks; using Common.Services; using Serilog; namespac...
37.205128
131
0.563257
[ "MIT" ]
appsonsf/FabricEAP
src/EnterpriseContactApi/Controllers/EmployeeController.cs
10,211
C#
namespace MySportsFeeds.NetCore.Leagues.MLB.v1_2.ConferenceTeamStandings.Response { public class GamesPlayed : Stat { } }
19.285714
82
0.740741
[ "MIT" ]
RobGibbens/mysportsfeeds-dotnet
MySportsFeeds.NetCore/MySportsFeeds.NetCore/Leagues/MLB/v1_2/ConferenceTeamStandings/Response/GamesPlayed.cs
137
C#
/** * Copyright (c) 2019-2021 LG Electronics, Inc. * * This software contains code licensed as described in LICENSE. * */ using UnityEngine; using System; using Unity.Mathematics; namespace Simulator.Map { public struct GpsLocation { public double Latitude; public double Longitude; ...
32.947059
158
0.562578
[ "Apache-2.0", "BSD-3-Clause" ]
carolina68/simulator
Assets/Scripts/Map/MapOrigin.cs
5,601
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> //--...
43.390625
173
0.612171
[ "MIT" ]
Jay-Rad/WinCast
WinCast/Properties/Resources.Designer.cs
2,779
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.Linq; using Microsoft.Cci.Extensions; using Microsoft.C...
40.164557
235
0.587457
[ "MIT" ]
AaronRobinsonMSFT/arcade
src/Microsoft.Cci.Extensions/Writers/CSharp/CSharpWriter.cs
12,692
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace NLU.DevOps.Lex { using Newtonsoft.Json.Linq; /// <summary> /// Entity types class. /// </summary> public class EntityType { /// <summary> /// Initializes a new instance of...
26.119048
77
0.521422
[ "MIT" ]
omusavi/NLU.DevOps
src/NLU.DevOps.Lex/EntityType.cs
1,099
C#
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using System; using System.Linq; using System.Collections.Generic; using Syst...
34.969072
145
0.589033
[ "MIT" ]
Microsoft/data-accelerator
Services/DataX.ServiceHost/DataX.ServiceHost.AspNetCore/Startup/DataXServiceStartup.cs
3,394
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
29.81
96
0.597451
[ "MIT" ]
jkorell/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/SerializeConditionalProperty.cs
2,983
C#
// *********************************************************************** // Assembly : Vip.Printer // Author : Leandro Ferreira // Created : 16-03-2019 // // *********************************************************************** // <copyright file="Printer.cs" company="VIP Soluções"> // ...
29.957983
190
0.556241
[ "MIT" ]
adrbarros/Vip.Printer
src/Vip.Printer/Printer.cs
14,272
C#
using DataCloner.Core.Metadata; using DataCloner.GUI.Framework; using System.ComponentModel.DataAnnotations; namespace DataCloner.GUI.Model { class ForeignKeyColumnModifierModel : ValidatableModelBase { internal string _nameFrom; internal string _nameTo; private bool _isDeleted; ...
22.836735
69
0.587131
[ "MIT" ]
naster01/DataCloner
archive/DataCloner.GUI/Model/ForeignKeyColumnModifierModel.cs
1,122
C#
namespace IranPost.Net.Dto.RejectId { public class RejectIdResponseDto { } }
13.857143
36
0.628866
[ "MIT" ]
amkherad/IranPost.Net
src/IranPost.Net/Dto/RejectId/RejectIdResponseDto.cs
97
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 Shop.Database; namespace Shop.Da...
37.084577
125
0.458009
[ "Apache-2.0" ]
40443219/ASP.NET_Core_3_Shop
Shop.Database/Migrations/20200524181657_OrderStock.Designer.cs
14,910
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Runtime.C...
50.498425
238
0.610497
[ "MIT" ]
HarshaNalluru/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/src/Producer/EventHubProducerClient.cs
64,135
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 ...
42.5
114
0.774588
[ "Apache-2.0" ]
sdk-team/aliyun-openapi-net-sdk
aliyun-net-sdk-vod/Vod/Transform/V20170314/SubmitAIASRJobResponseUnmarshaller.cs
2,125
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameEnd : MonoBehaviour { void OnTriggerEnter2D(Collider2D other) { var ball = other.GetComponent<Ball>(); if (ball != null) { SceneManager.LoadScene(...
21.375
46
0.654971
[ "MIT" ]
Adri102/2D-Unity-Game
Assets/Tilemap/Brick/Scripts/GameEnd.cs
344
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System.ServiceModel; namespace ClearCanv...
33.7
141
0.782394
[ "Apache-2.0" ]
SNBnani/Xian
ImageViewer/Common/Automation/IDicomExplorerAutomation.cs
1,011
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class MenuFlyoutSubItem : global::Windows.UI.Xaml.Controls.MenuFl...
38.839506
164
0.745073
[ "Apache-2.0" ]
dansiegel/Uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/MenuFlyoutSubItem.cs
3,146
C#
namespace Morth; public class CompileError : Exception { public CompileError(SourceLocation location, string message) : base($"{location}: {message}") { } }
18.888889
97
0.694118
[ "MIT" ]
Phytolizer/morth
cs/Morth/CompileError.cs
170
C#
using System; namespace DotnetSpider.Portal.Common { public static class ServiceProvider { public static IServiceProvider Instance; } }
15.666667
42
0.794326
[ "MIT" ]
ACGSinon/DotnetSpider
src/DotnetSpider.Portal/Common/ServiceProvider.cs
141
C#
using Grimoire.Game; using System.Threading.Tasks; namespace Grimoire.Botting.Commands.Misc.Statements { public class CmdItemNotPickupable : StatementCommand, IBotCommand { public CmdItemNotPickupable() { Tag = "Item"; Text = "Has not dropped"; } public ...
26.5
131
0.572776
[ "CC0-1.0" ]
0zl/meow
Grimoire.Botting.Commands.Misc.Statements/CmdItemNotPickupable.cs
742
C#
using System; using System.Collections.Generic; using System.Text; namespace FirLib.Core.Services.ConfigurationFiles { public class ConfigurationFileAccessorApplication : ConfigurationFileAccessorBase { public ConfigurationFileAccessorApplication(string appName) : base( Env...
24.5
85
0.69161
[ "MIT" ]
RolandKoenig/FirLib
src/FirLib.Core/Services/ConfigurationFiles/ConfigurationFileAccessorApplication.cs
443
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entities.Wrappers { public class PagedResponse<T> : Response<T> { public int PageNumber { get; set; } public int PageSize { get; set; } public Uri FirstPage { g...
28.533333
66
0.58528
[ "MIT" ]
MikyM/Portfolio
Entities/Wrappers/PagedResponse.cs
858
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("Mee...
37.513514
84
0.745677
[ "MIT" ]
Sebastian-Gruchacz/MeetUp4
Data/MeetUp.BLL/Properties/AssemblyInfo.cs
1,391
C#
using Outcompute.Trader.Trading.Algorithms.Context; using Outcompute.Trader.Trading.Providers; namespace Outcompute.Trader.Trading.Commands.RedeemSavings; internal class RedeemSavingsExecutor : IAlgoCommandExecutor<RedeemSavingsCommand, RedeemSavingsEvent> { private readonly ISavingsProvider _savings; publi...
34.947368
152
0.798193
[ "MIT" ]
JorgeCandeias/Trader
Trader.Trading/Commands/RedeemSavings/RedeemSavingsExecutor.cs
666
C#
using System; using SortAlgorithms.QuickSort; using Xunit; namespace SortAlgorithms.Tests; public class TestQuickSort { private readonly QuickSortAlgorithm _sut = new QuickSortAlgorithm(); [Fact] public void Test_QuickSort_UnorderedArray() { // Arrange var inputArray = new[] { 1,...
24.454545
130
0.580545
[ "MIT" ]
pncsoares/sort-algorithms
SortAlgorithms/SortAlgorithms.Tests/TestQuickSort.cs
1,614
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...
40.246269
186
0.631003
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/CreateBillingGroupResponseUnmarshaller.cs
5,393
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Sokan.Yastah.Business.Characters; using Sokan.Yastah.Data.Characters; namespace Sokan.Yastah.Api.Characters { public class LevelsController : CharactersControllerBase...
30.4375
97
0.687201
[ "MIT" ]
ChaseDRedmon/Sokan.Yastah
Sokan.Yastah.Api/Characters/LevelsController.cs
1,463
C#
using CGF.System.Internals; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ImageConverter { public partial class Form1 :...
27.288889
76
0.508958
[ "MIT" ]
Myvar/CosmosGuiFramework
CosmosGuiFramework/ImageConverter/Form1.cs
1,230
C#
namespace Team8Project.IO.Contracts { public interface IRenderer { void UpdataScreen(); void InitialScreen(); void SetScreenSize(); void UpdateActiveHero(); string[] CharacterSelection(); } }
20.416667
38
0.612245
[ "MIT" ]
ateber91/GameBasics
Team8Project/Team8Project/IO/Contracts/IRenderer.cs
247
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
73.592233
207
0.757124
[ "MIT" ]
benjamin-bader/corefx
src/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs
15,160
C#
using System.Threading; namespace Parenthless.EntityFrameworkCore.Clauses { public class ToDictionaryAsyncClause { public CancellationToken CancellationToken { get; } public ToDictionaryAsyncClause(CancellationToken cancellationToken) { CancellationToken = cancellationToken; } } }
24.666667
71
0.810811
[ "MIT" ]
ronnygunawan/parenthless-linq
Parenthless.EntityFrameworkCore/Clauses/ToDictionaryAsyncClause.cs
298
C#
using System; using System.Linq; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using ACT.SpecialSpellTimer.resources; using FFXIV.Framework.Dialog; using FFXIV.Framework.FFXIVHelper; using FFXIV.Framework.Globalization; using Prism.Commands; namespace ACT.SpecialSpellTimer.Conf...
32.872093
138
0.583658
[ "BSD-3-Clause" ]
Airex/ACT.SpecialSpellTimer
ACT.SpecialSpellTimer.Core/Config/Views/OptionsVisualView.xaml.cs
2,845
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Collections; using System.Collections.Generic; using System.Text; namespace LiteDB.Tests { [TestClass] public class BulkInsertTest { [TestMethod] ...
29.391304
87
0.510355
[ "MIT" ]
RytisLT/LiteDB
LiteDB.Tests/Engine/BulkInsertTest.cs
1,354
C#
using SafeObjectPool; using System; using System.Data; using System.Data.Common; using System.Threading; namespace FreeSql { public class UnitOfWork : IUnitOfWork { #if ns20 public static readonly AsyncLocal<IUnitOfWork> Current = new AsyncLocal<IUnitOfWork>(); #endif protected IFreeSql _fsql...
22.901786
95
0.464717
[ "MIT" ]
Coldairarrow/FreeSql
FreeSql.DbContext/UnitOfWork/UnitOfWork.cs
2,595
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Lxna.Gui.Mobile.Models; using Lxna.Gui.Mobile.ViewModels; namespace Lxna.Gui.Mobile.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ItemDetailPage : ContentPage { ItemDetailViewModel vi...
23.621622
61
0.572082
[ "MIT" ]
gitter-badger/lxna
src/Lxna.Gui.Mobile/Views/ItemDetailPage.xaml.cs
876
C#
namespace DxMessaging.Core { using MessageBus; using System; using System.Collections.Generic; using System.Linq; using Messages; using UnityEngine; /// <summary> /// Abstraction layer for immediate-mode Message passing. An instance of this handles all /// kinds of types to trigger...
48.640986
253
0.599278
[ "MIT" ]
wallstop/DxMessaging
Core/MessageHandler.cs
31,570
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Diagnostics; using System.Threading; namespace FASTER.core { /// <summary> /// Scan iterator for hybrid log /// </summary> public sealed class BlittableScanIterator<Key, Value> :...
34.633333
211
0.518982
[ "MIT" ]
FlorianGrimm/Latrans
src/Brimborium.Latrans.StoreageFASTER/Allocator/BlittableScanIterator.cs
9,353
C#
using System; using System.Collections.Generic; using System.Data.EntityClient; using System.Data.Metadata.Edm; using System.Data.Services; using System.Data.Services.Common; using System.Data.SqlClient; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.ServiceMo...
42.773973
177
0.631385
[ "MIT" ]
Nsm7Nash/stack-exchange-data-explorer
App/StackExchange.DataExplorer/OData.svc.cs
6,247
C#
using UnityEngine; namespace Scripts.Image_Effects { [ExecuteInEditMode] [AddComponentMenu("Image Effects/PixelBoy")] public class PixelBoy : MonoBehaviour { public int w = 720; int h; void Update() { float ratio = Camera.main.pixelHeight / (float)Camera.mai...
28.892857
82
0.608158
[ "MIT" ]
Bennef/BIP
Assets/Scripts/Image_Effects/PixelBoy.cs
809
C#
using System; using UnityEngine; namespace UnityEditor.VFX.Operator { [VFXInfo(category = "Bitwise")] class BitwiseAnd : VFXOperator { override public string name { get { return "And"; } } public class InputProperties { static public uint FallbackValue = 0; ...
31.3125
182
0.610778
[ "MIT" ]
Acromatic/HDRP-Unity-Template-GitHub-Template
Library/PackageCache/com.unity.visualeffectgraph@10.2.2/Editor/Models/Operators/Implementations/BitwiseAnd.cs
1,002
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEditor; namespace ME.ECSEditor { using ME.ECS; public class WorldsViewerEditor : EditorWindow { public class WorldEditor { public World world; pub...
43.242497
217
0.398004
[ "MIT" ]
IgorAtorin/ecs-submodule
ECSEditor/WorldsViewerEditor.cs
72,044
C#
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Waf.InformationManager.EmailClient.Modules.Presentation")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Waf Information Manager")] [assembly: Guid...
32.75
85
0.776081
[ "MIT" ]
pskpatil/waf
src/System.Waf/Samples/InformationManager/EmailClient.Modules.Presentation/Properties/AssemblyInfo.cs
395
C#
namespace JCUtility.Common { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; /// <summary> /// Extension methods for <see cref="System.Collections.Generic.IEnumerable{T}"/> /// </summary> public static class EnumerableExtensions ...
41.465753
121
0.603238
[ "MIT" ]
givemefish/JCUtility
JCUtility.Common/EnumerableExtensions.cs
3,029
C#
//----------------------------------------------------------------------- // <copyright file="ListFileDirectoryEntry.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
32.723684
102
0.562927
[ "Apache-2.0" ]
Hitcents/azure-storage-net
Lib/Common/File/Protocol/ListFileDirectoryEntry.cs
2,489
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace binance.dex.sdk.noderpc.endpoint { /* Get number of unconfirmed transactions. Query Parameters Parameter Type Default Required Description limit int 30 fal...
22.860465
67
0.540183
[ "MIT" ]
AYCHEX/aex.cSDK
src/noderpc/endpoint/NumUnconfirmedTxs.cs
985
C#
using UnityEditor; using UnityEngine; using XNode; using XNodeEditor; namespace Planilo.BT { /// <summary>Custom editor for BTBranchNode.</summary> [CustomNodeEditor(typeof(BTBranchNode))] public class BTBranchNodeEditor : BTNodeEditor { /// <summary>Reference to the branch node.</summary> ...
26.294118
73
0.588367
[ "MIT" ]
adambrownmpvr/planilo
BehaviorTree/Base/Editor/BTBranchNodeEditor.cs
894
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
37.677419
87
0.613014
[ "MIT" ]
DeepakRajendranMsft/azure-sdk-tools
src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/PSADObject.cs
1,140
C#
using Newtonsoft.Json; namespace Magicodes.Wx.PublicAccount.Sdk.Apis.User.Dtos { public class CreateTagApiResult : ApiResultBase { [JsonProperty("tag")] public CreateTagResultInfo Tag { get; set; } } public class CreateTagResultInfo { /// <summary> /// 标签id,由微信分配 ...
22.2
55
0.545946
[ "MIT" ]
CacoCode/Magicodes.Wx.Sdk
src/Magicodes.Wx.PublicAccount.Sdk/Apis/User/Dtos/CreateTagApiResult.cs
585
C#
using Newtonsoft.Json; using Xunit.Abstractions; namespace Spinit.Expressions.UnitTests.Infrastructure { public class XunitSerializable : IXunitSerializable { private static readonly JsonSerializerSettings settings = new JsonSerializerSettings { TypeNameHandling = TypeNameHandling....
28.083333
92
0.673591
[ "MIT" ]
Spinit-AB/Spinit.Expressions
src/Spinit.Expressions.UnitTests/Infrastructure/XunitSerializable.cs
676
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace Importer { class LeveeLookupDataTable { public void ProcessLeveeLookDataTable(DataTable dataTable) { LeveeLookupList theFuncList = Global...
38.357143
98
0.55059
[ "MIT" ]
HydrologicEngineeringCenter/HEC-FDA
Importer/Levee/LeveeLookupDataTable.cs
1,613
C#
using Newtonsoft.Json; namespace Frau.Models { public class StoreSettings { [JsonProperty("msaCountryCode")] public string MsaCountryCode { get; set; } [JsonProperty("id")] public uint Id { get; set; } } }
19.384615
50
0.603175
[ "MIT" ]
mika-sandbox/dotnet-mixier-api-wrapper
Sources/Frau/Models/StoreSettings.cs
254
C#
// <auto-generated> // THIS (.cs) FILE IS GENERATED BY MPC(MessagePack-CSharp). DO NOT CHANGE IT. // </auto-generated> #pragma warning disable 618 #pragma warning disable 612 #pragma warning disable 414 #pragma warning disable 168 #pragma warning disable SA1200 // Using directives should be placed correctly ...
39.336283
183
0.629134
[ "MIT" ]
BearPro/MagicOnion
samples/ChatApp/ChatApp.Unity/Assets/Scripts/Generated/MessagePack.Generated.cs
8,890
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// AOP API: koubei.craftsman.data.provider.modify /// </summary> public class KoubeiCraftsmanDataProviderModifyRequest : IAlipayRequest<KoubeiCraf...
23.709091
117
0.601227
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/KoubeiCraftsmanDataProviderModifyRequest.cs
2,626
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 Training.DotNetCore.DA; ...
40.084615
259
0.503166
[ "MIT" ]
lukaszkepa/Training.DotNetCore
Training.DotNetCore.DA/Migrations/20180619071415_CreateDbSchema.Designer.cs
5,213
C#
using System; using System.Collections.Generic; using System.Windows.Forms; namespace Xml2WinForms { public sealed class GroupBoxControlHolder : IControlHolder { private readonly TunableGroupBox _control; public string Name { get; } public Label Label => null; public Control...
29.330579
109
0.582418
[ "MIT" ]
MarketKernel/webmoney-business-tools
Ext/Xml2WinForms/ControlHolders/GroupBoxControlHolder.cs
3,551
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
31.431034
83
0.636314
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/As/V20180419/Models/DescribeAutoScalingActivitiesResponse.cs
1,933
C#
using DotVVM.Framework.Configuration; using DotVVM.Framework.Hosting; using DotVVM.Framework.ResourceManagement; using DotvvmAcademy.Web.Hosting; using DotvvmAcademy.Web.Pages.Error; using DotvvmAcademy.Web.Pages.Step; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Extensions.DependencyInjection; u...
41.952
121
0.569794
[ "Apache-2.0" ]
riganti/dotvvm-samples-academy
src/DotvvmAcademy.Web/DotvvmStartup.cs
5,246
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Multiverse.Controls { public delegate bool ImageGridDragFinished(bool cancelled, Point location, object arg); public partial class Ima...
27.085758
120
0.481031
[ "MIT" ]
AustralianDisabilityLimited/MultiversePlatform
lib/ImageGrid/ImageGrid.cs
17,687
C#
using System; using System.Text; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using SFA.DAS.WebTemplateSourceName.Web.Extensions; namespace SFA.DAS.WebTemplateSourceName.Web.Helpers { public class FlagsUnorderedListTagHelper : ...
33.112903
112
0.571359
[ "MIT" ]
SkillsFundingAgency/das-dotnet-templates
src/working/templates/Web/src/SFA.DAS.WebTemplateSourceName.Web/Helpers/FlagsUnorderedListTagHelper.cs
2,055
C#
// <auto-generated /> using System; using FrontDesk.Infrastructure.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; n...
37.238971
133
0.454931
[ "MIT" ]
KunalChoudhary521/pluralsight-ddd-fundamentals
FrontDesk/src/FrontDesk.Infrastructure/Data/Migrations/20210330205816_DateTimeOffset.Designer.cs
10,131
C#
using System.Collections.Generic; using Microsoft.EntityFrameworkCore; namespace Pomelo.EntityFrameworkCore.MySql.IntegrationTests.Models { public static class PeopleMeta { public static void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity<PersonKid>(entity => { // index the Discrimin...
19.80597
66
0.683497
[ "MIT" ]
Artrilogic/Pomelo.EntityFrameworkCore.MySql
test/EFCore.MySql.IntegrationTests/Models/People.cs
1,329
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System; using NSubstitute; using Softeq.XToolkit.WhiteLabel.Navigation; using Softeq.XToolkit.WhiteLabel.Tests.Stubs; using Xunit; namespace Softeq.XToolkit.WhiteLabel.Tests.Navigation.DialogsServiceExtensionsTests { public class Dialo...
27.515152
98
0.697137
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
Softeq.XToolkit.WhiteLabel.Tests/Navigation/DialogsServiceExtensionsTests/DialogsServiceExtensionsTests.cs
910
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("Vir...
38.486486
84
0.750702
[ "MIT" ]
flavourous/VVStackPanel
VirtualizingUtils.Test.NetFW/Properties/AssemblyInfo.cs
1,427
C#
using System; namespace _02._10._Shopping { class Program { static void Main(string[] args) { double budget = double.Parse(Console.ReadLine()); int videoCardsNumber = int.Parse(Console.ReadLine()); int processorsNumber = int.Parse(Console.ReadLine()); ...
29.857143
92
0.515152
[ "MIT" ]
GeorgiGradev/SoftUni
01. Programming Basics/03.4. EXAM - Conditional Statements/02.10. Shopping/Program.cs
1,256
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.InputSystem; namespace MicroUniverse { public class KaleidoPainter : MonoBehaviour { // Inspector: [Header("Ref")] public GameObject outerMask; public GameOb...
39.742347
161
0.544515
[ "Unlicense" ]
GavinKG/MicroUniverse
Assets/Scripts/KaleidoPainter.cs
15,581
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RethinkDb { public enum Conflict { Error, Replace, Update } }
14.125
33
0.659292
[ "Apache-2.0" ]
DotNetUz/rethinkdb-net
rethinkdb-net/Conflict.cs
228
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...
26.0375
105
0.585694
[ "Apache-2.0" ]
jiabiao/aws-sdk-net
sdk/src/Services/Budgets/Generated/AmazonBudgetsConfig.cs
2,083
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace DbLogger.Extensions { internal static class StringExtensions { /// <summary> /// Removes non alpha numeric characters. /// </summary>D:\Repositories\DbL...
35.338346
97
0.537872
[ "MIT" ]
sirphilliptubell/DbLogger
DbLogger.Lib/Extensions/StringExtensions.cs
4,702
C#
using System; using System.Collections.Generic; namespace SimpleLibMessages.RabbitMQ { public interface ISubscriber : IDisposable { void Subscribe(Func<string, IDictionary<string, object>, bool> callback); } }
23.1
81
0.731602
[ "MIT" ]
ranierecosta/simple-lib-messages-rabbitmq
SimpleLibMessages.RabbitMQ/ISubscriber.cs
233
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dragon.Context.Exceptions { public class UserKeyAlreadyExistsForThisServiceException : Exception { } }
17.833333
73
0.771028
[ "MIT" ]
aduggleby/dragon
proj/CPR/src/Dragon.Context/Exceptions/UserKeyAlreadyExistsForThisServiceException.cs
216
C#
using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osuTK; namespace Qsor.Game.Graphics.UserInterface.Overlays.Settings { public abstract class SettingsCategoryContainer : FillFlowContainer { public new abstract string Name { get; } ...
27.5
71
0.667273
[ "MIT" ]
jmir1/Qsor
Qsor.Game/Graphics/UserInterface/Overlays/Settings/SettingsCategoryContainer.cs
552
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependency...
37.965812
197
0.541873
[ "MIT" ]
RahulParmarRP/IdentityAuthServer
TestWebAPI/Startup.cs
4,452
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class setHeightToWidth : MonoBehaviour { // Start is called before the first frame update RectTransform rect; void Awake() { rect = GetComponent<RectTransform>(); } private void Start() { ...
21.296296
58
0.634783
[ "MIT" ]
AI3SW/CNY_ASR_Frontend
Assets/AICubePlugins/UnityQuickScripts/setHeightToWidth.cs
577
C#
//////////////////////////////////////////////////////////////////////// // Copyright (c) 2011-2013 by Rob Jellinghaus. // // Licensed under the Microsoft Public License (MS-PL). // //////////////////////////////////////////////////////////////////////// using Holofunk.Core; using...
40.459834
158
0.599343
[ "MIT" ]
RobJellinghaus/Holofunk0
sourceCode/holofunk/HoloFunk/HolofunkBass/Track.cs
14,608
C#
namespace Zilon.Core.World { public enum SectorResourceType { Undefined, Iron, Stones, Silver, Gold, Copper, Aurihulk, CherryBrushes, WaterPuddles } }
10.565217
34
0.489712
[ "MIT" ]
kreghek/Zilon_Roguelike
Zilon.Core/Zilon.Core/World/SectorResourceType.cs
245
C#
// Copyright 2021 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 ...
39.785714
165
0.682825
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/dialogflow/cx/v3beta1/google-cloud-dialogflow-cx-v3beta1-csharp/Google.Cloud.Dialogflow.Cx.V3Beta1.StandaloneSnippets/ExperimentsClient.GetExperimentRequestObjectSnippet.g.cs
1,671
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Print_Part_Of_ASCII_Table { class Program { static void Main(string[] args) { int firstChar = int.Parse(Console.ReadLine()); int secondChar = in...
22.782609
75
0.582061
[ "MIT" ]
Koceto/SoftUni
Old Code/Programming Fundamentals/Data Types and Variables - Exercises/Print Part Of ASCII Table/Print Part Of ASCII Table/Program.cs
526
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AdventOfCode.Solutions.Year2020.Day17.Models; namespace AdventOfCode.Solutions.Year2020 { class Day17Solution : ASolution { private const int CYCLES = 6; private HashSet<(int X, int Y, int Z)> _pocketDim...
36.15493
121
0.39813
[ "MIT" ]
YBijen/advent-of-code-2020
AdventOfCode/Solutions/Year2020/Day17/Solution.cs
7,701
C#
namespace Geodan.Geomagine { public class ExtrudeAttribute { } }
12.833333
33
0.662338
[ "MIT" ]
aiunderstand/JRC-EU-JiriDemo
Assets/Scripts/ShapeImporter/ExtrudeAttribute.cs
79
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("Con...
37.783784
84
0.748927
[ "MIT" ]
emrekenci/azure-servicebus-sample
ConsumeMessages/Properties/AssemblyInfo.cs
1,401
C#
namespace CollectorHub.Web.Tests { using System; using System.Linq; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using Xunit; public class SeleniumTests : IClassFixture<SeleniumServerFactory<Startup>>, IDisposable { private readonly SeleniumServerFactory<Startup> server; ...
27.843137
100
0.571831
[ "MIT" ]
itIsEazy/CollectorHub
Tests/CollectorHub.Web.Tests/SeleniumTests.cs
1,422
C#
using System; class NumbersOneToN { static void Main() { Console.Write("Enter \"n\" = "); int n = int.Parse(Console.ReadLine()); for (int i = 1; i <= n; i++) { Console.WriteLine(i); } } }
17
46
0.454902
[ "MIT" ]
beBoss/SoftUni
SoftUni-CSharp/Console Input Output Homework/8. Numbers from 1 to n/NumbersOneToN.cs
257
C#