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.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
37.980392
99
0.624419
[ "MIT" ]
mohamedsaif/IntelligentRetail
Src/IntelligentRetail-Mob/IntelligentRetail-Mob/IntelligentRetail-Mob.UWP/App.xaml.cs
3,876
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.ResourceManager; namespace Azure.ResourceManager.Compute { ...
32.439024
142
0.714286
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/LongRunningOperation/DiskOperationSource.cs
1,330
C#
using System.ComponentModel.DataAnnotations; namespace HeavensHall.Commerce.Web.Models { public class UserModel : UserCredentialsModel { [Display(Name = "Nome completo")] [Required(ErrorMessage = "O nome do usuário é obrigatório.")] [MinLength(5, ErrorMessage = "Digite um nome maior qu...
30.538462
79
0.677582
[ "MIT" ]
phncosta/e-commerce_webapp
src/HeavensHall.Commerce.Web/Models/UserModel.cs
402
C#
using UnityEditor; using UnityEngine; public class LayersAndTags : Editor { #region Load Variables public string[] oldLayerNames = new string[Constants.maxLayerLenght]; public string[] oldTagNames = new string[Constants.maxTagLenght]; string newlayerName; int oldindex; #endregion #reg...
32.34375
168
0.53401
[ "MIT" ]
Hysumi/Unity-TileEditor2D
Unity2D-TileEditor/Assets/Editor/LayersAndTags.cs
10,353
C#
// Copyright (c) 2013-2015 Cemalettin Dervis, MIT License. // https://github.com/cemdervis/SharpConfig using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; namespace SharpConfig { /// <summary> /// Represents a configuration...
32.220544
137
0.528551
[ "MIT" ]
BOBO41/CasinosClient
_Backup/_Backup7/Common/SharpConfig/Configuration.cs
21,332
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Rest.CometChat.Abstractions; using Rest.CometChat.Requests; using Rest.CometChat.Responses; using Rest.CometChat.ServiceModel; namespace Rest.CometChat { public cl...
30.905882
111
0.754853
[ "MIT" ]
diegostamigni/Rest.CometChat
Rest.CometChat/FriendService.cs
2,627
C#
namespace Steepshot.Core.Models.Responses { ///{ /// "message": "Comment created" ///} public class CreateCommentResponse : MessageField { public bool IsCreated => Message.Equals("Comment created"); } }
23.5
67
0.629787
[ "Unlicense" ]
AnCh7/sweetshot
src/Steepshot.Core/Models/Responses/CreateCommentResponse.cs
235
C#
#region Usings using System; using System.Collections.Generic; using System.Runtime.Serialization; #endregion namespace FinancialCharting.Library.Models.MarketData.Common { /// ASX ["Date","Open","High","Low","Settle","Volume","Open Interest (OI)"] /// EUREX ["Date","Open","High","Low","Settle","Volume","Prev. Day...
30.285714
83
0.675708
[ "MIT" ]
AnCh7/FinancialCharting
src/FinancialCharting.Library/Models/MarketData/Common/OhlcvOpenInterestData.cs
848
C#
using System; using Swastika.Domain.Data.ViewModels; using Microsoft.EntityFrameworkCore.Storage; using System.Threading.Tasks; using Swastika.IO.Domain.Core.ViewModels; using Swastika.Identity.Data; using Swastika.IO.Identity.Identity.Entities; namespace Swastika.IO.Identity.ViewModels { public class RefreshToke...
32.717172
175
0.456931
[ "MIT" ]
fossabot/Swastika-IO-Identity
src/Swastika.Identity/Identity/ViewModels/RefreshTokenViewModel.cs
3,241
C#
namespace Gu.Wpf.Reactive.Tests.Views { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Threading; using System.Threading.Tasks; using System.Windows; using Gu.Reactive; using Gu.Reactive.Tests....
38.580808
120
0.592093
[ "MIT" ]
GuOrg/Gu.Reactive
Gu.Wpf.Reactive.Tests/Views/ThrottledViewTests.cs
7,641
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class enemyController : MonoBehaviour { public float velocity = 2f; private Rigidbody2D rb2d; // Use this for initialization void Start () { rb2d = GetComponent<Rigidbody2D>(); rb2d.velocity = Vector2.left ...
20.1
48
0.686567
[ "MIT" ]
juandiemore/Juego-Unity
VIDEOJUEGO/Shaffer/ClaseNivelMario-master/CharacterController2D-master/Animation2D/Assets/Scripts Master/enemyController.cs
404
C#
using UnityEngine; namespace UnityAtoms { [CreateAssetMenu(menuName = "Unity Atoms/Lists/Vector2", fileName = "Vector2List", order = 4)] public class Vector2List : ScriptableObjectList<Vector2, Vector2Event> { } }
25.555556
98
0.721739
[ "MIT" ]
mbryne/unity-atoms
Assets/UnityAtoms/Lists/Vector2List.cs
230
C#
namespace Explorer.Queries { using System; using System.Text.Json; public class DatetimeProjection : ColumnProjection { private readonly string dateInterval; private readonly Random rng = new Random(); public DatetimeProjection(string column, int index, string dateInterval) ...
33.688889
122
0.554749
[ "MIT" ]
diffix/explorer
src/explorer/Queries/ColumnProjections/DatetimeProjection.cs
1,516
C#
using System; using System.Linq; using System.Reactive.Linq; using System.Windows; using System.Windows.Navigation; using Caliburn.Micro; using ChronoPlurk.Resources.i18n; using ChronoPlurk.Services; using HtmlAgilityPack; using Microsoft.Phone.Controls; namespace ChronoPlurk.Views { public partial c...
32.903509
127
0.521461
[ "MIT" ]
pH200/chronoplurk-wp
src/ChronoPlurk/Views/LoginBrowserPage.xaml.cs
3,753
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Mod.Ethics.Infrastructure.Migrations { public partial class AddOgeForm450 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "OgeFo...
57.769231
103
0.54051
[ "CC0-1.0" ]
EOP-OMB/ethics-portal
Server/Mod.Ethics.Infrastructure/Migrations/20210322190739_AddOgeForm450.cs
9,765
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 ...
17.646465
63
0.631368
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-outboundbot/OutboundBot/Model/V20191226/DeleteScriptResponse.cs
1,747
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.Linq; namespace ApplicationModelWebSite { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public class Multiple...
30.05
92
0.69218
[ "MIT" ]
48355746/AspNetCore
src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasAttribute.cs
603
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2019 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ namespace UnityGameFramework.Edit...
27.878049
74
0.48119
[ "BSD-3-Clause" ]
AriesPlaysNation/PokemonUnity
Pokemon Unity/Assets/GameFramework/Scripts/Editor/AssetBundleAnalyzer/AssetBundleAnalyzerController.Stamp.cs
1,146
C#
// Copyright 2018 Andrew White // // 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 applicabl...
32.465517
171
0.518322
[ "Apache-2.0" ]
GordonBlahut/Finbuckle.MultiTenant
src/Finbuckle.MultiTenant.Core/Stores/MultiTenantStoreWrapper.cs
7,532
C#
// <auto-generated> // 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 // re...
44.713433
221
0.556245
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/recoveryservices/Microsoft.Azure.Management.RecoveryServices/src/Generated/VaultsOperationsExtensions.cs
14,979
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Scriban; using Scriban.Parsing; using Scriban.Runtime; using Scriban.Syntax; namespace Kalk.Core { public abstract class KalkExpressionWithMembers : KalkExpression { protected abstract (string, Func<...
31.375
172
0.621514
[ "BSD-2-Clause" ]
thild/kalk
src/Kalk.Core/Model/KalkExpressionWithMembers.cs
1,759
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Wirehome.Core.Contracts; using Wirehome.Core.Diagnostics; using Wirehome.Core.MessageBus; using Wirehome.Core.Model; using Wirehome.Core.Resources; using Wirehome.Core.Storage...
33.865471
132
0.548729
[ "Apache-2.0" ]
SeppPenner/Wirehome.Core
Wirehome.Core/Notifications/NotificationsService.cs
7,554
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using FlatRedBall.Arrow.DataTypes; using FlatRedBall.Instructions.Reflection; namespace FlatRedBall.Arrow.Managers { public class GuiCommands { ItemsControl mAllElementsTreeView; ...
21
87
0.680492
[ "MIT" ]
coldacid/FlatRedBall
FRBDK/Arrow/Arrow/Managers/GuiCommands.cs
653
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TronDotNet { public static class TronUnit { private static long _sun_unit = 1_000_000L; public static long TRXToSun(decimal trx) { return Convert.T...
19.56
54
0.631902
[ "MIT" ]
maftooh/ICO-Platform-Client
Src/IOCPlatform/IOCPlatform.USDT/ICOPlatform.USDT.TRC20/TronDotNet/Extensions/TronUnit.cs
491
C#
/* Copyright (c) 2015-2017 topameng(topameng@qq.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
39.705882
109
0.576543
[ "Apache-2.0" ]
871041532/LuaProfiler-For-Unity
ToLuaClient/Assets/ToLua/Reflection/LuaProperty.cs
4,068
C#
// This file is part of Hangfire. // Copyright © 2013-2014 Sergey Odinokov. // // Hangfire is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation, either version 3 // of the License, or any later version....
37.169492
92
0.568855
[ "MIT" ]
Fleetingold/Hangfire.Topshelf-myTest
Hangfire.Core/Common/JobFilterScope.cs
5,022
C#
namespace palettetool { partial class frmMain { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リ...
38.541899
151
0.691405
[ "MIT" ]
boxerprogrammer/Tools
palettetool/palettetool/frmMain.Designer.cs
7,231
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código foi gerado por uma ferramenta. // Versão de Tempo de Execução: 4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for re...
40.458333
178
0.618606
[ "Unlicense" ]
mannuscritto/SistemaHotel
Properties/Resources.Designer.cs
2,928
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace LjusbolagetSyd.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}....
24.416667
99
0.590444
[ "MIT" ]
Jesper87/ljusbolagetsydv2
src/LjusbolagetSyd.Web/App_Start/RouteConfig.cs
588
C#
using CommandLine; using K4AdotNet.Sensor; using System; using System.IO; namespace K4AdotNet.Samples.Core.Recorder { /// <summary>Command line options.</summary> internal sealed class Options { [Option("device", Required = false, Default = 0, HelpText = "Specify the device index to us...
46.926606
117
0.581623
[ "MIT" ]
bibigone/k4a.net
K4AdotNet.Samples.Core.Recorder/Options.cs
5,117
C#
using System; namespace DanSerialiser { /// <summary> /// This will return null if it was not possible generate a member setter for the specified type (if the type is a non-sealed class, for example, then the fields and /// properties can not be known at analysis time because a type derived from it may add more fi...
43.5
166
0.767816
[ "MIT" ]
ProductiveRage/DanSerialiser
DanSerialiser/TypeConverters/MemberSetterDetailsRetriever.cs
437
C#
using System; using System.Collections.Generic; using System.Linq; using EventStore.Core.Bus; namespace EventStore.Projections.Core.Services.Processing { public sealed class WriteQueryResultProjectionProcessingPhase : WriteQueryResultProjectionProcessingPhaseBase { public WriteQueryResultProjectionProc...
37.72093
117
0.583847
[ "Apache-2.0" ]
bartelink/EventStore
src/EventStore.Projections.Core/Services/Processing/WriteQueryResultProjectionProcessingPhase.cs
1,622
C#
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. using Microsoft.CST.AttackSurfaceAnalyzer.Objects; using Microsoft.CST.AttackSurfaceAnalyzer.Utils; using Serilog; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Run...
44.034091
200
0.512602
[ "MIT" ]
FardinA143/AttackSurfaceAnalyzer
Lib/Collectors/FirewallCollector.cs
11,627
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using starsky.foundation.database.Helpers; using starsky.foundation.database.Models; using starsky.foundation.platform.Models; using starskytest.FakeMocks; namespace starskytest.starsky.foundation.da...
34.272222
99
0.75928
[ "MIT" ]
qdraw/starsky
starsky/starskytest/starsky.foundation.database/Helpers/StatusCodesHelperTest.cs
6,171
C#
using System; using System.Collections.Generic; using System.Text; using MessagePack; namespace REstate.Remote.Models { [MessagePackObject] public class GetSchematicRequest { [Key(0)] public string SchematicName { get; set; } } [MessagePackObject] public class GetSchematicResp...
18.5
50
0.646192
[ "MIT" ]
BPHartel/REstate
src/REstate.Remote/Models/GetSchematic.cs
409
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /wxaapi/newtmpl/deltemplate 接口的请求。</para> /// </summary> public class WxaApiNewTemplateDeleteTemplateRequest : WechatApiRequest { /// <summary> /// 获取或设置要删除的模板 ID。 /// </summary> [Ne...
31.875
74
0.637255
[ "MIT" ]
ZUOXIANGE/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaApi/NewTemplate/WxaApiNewTemplateDeleteTemplateRequest.cs
552
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:2.4.0.0 // SpecFlow Generator Version:2.4.0.0 // // Changes to this file may cause incorrect behavior and wi...
44.272727
270
0.651951
[ "MIT" ]
SkillsFundingAgency/das-tlevels-automation-suite
src/SFA.Tl.Matching.Automation.Tests/Project/Tests/Features/SelectProviders_ErrorMessages.feature.cs
6,820
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; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Cors { internal static class CORSLoggerExtensions { pr...
38.152318
180
0.622288
[ "Apache-2.0" ]
belav/aspnetcore
src/Middleware/CORS/src/CORSLoggerExtensions.cs
5,761
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using System.Net.Http; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNe...
25.138298
109
0.740584
[ "MIT" ]
Fjarik/Fixatic
src/Fixatic/FixaticApp/Pages/PropertiesPage.razor.cs
2,363
C#
namespace Kongrevsky.Infrastructure.Repository.Utils { #region << Using >> using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using AutoMapper; using Kongrevsky.Infrastructure.Repository.Attributes; using Kongrevsky.Infrastructure.Repository.Mo...
45.967033
245
0.605785
[ "MIT" ]
gpcaretti/libraries
Kongrevsky.Libraries/Infrastructure/Infrastructure.Repository/Utils/AutoMapperDomainUtils.cs
4,185
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace BoDi.Tests { [TestFixture] public class RegisterFactoryDelegateTests { [Test] public void ShouldBeAbleToRegisterAFactoryDelegate...
37.282209
189
0.630574
[ "Apache-2.0" ]
SpecFlowOSS/BoDi
BoDi.Tests/RegisterFactoryDelegateTests.cs
6,079
C#
using Microsoft.Xna.Framework.Graphics; using StardewModdingAPI.Events; using System.IO; namespace TheLion.AwesomeProfessions { internal class ArrowPointerUpdateTickedEvent : UpdateTickedEvent { /// <inheritdoc/> public override void OnUpdateTicked(object sender, UpdateTickedEventArgs e) { Utility.ArrowPoi...
30.625
127
0.763265
[ "MIT" ]
lshtech/StardewValleyMods
WalkOfLife/Framework/Events/UpdateTicked/ArrowPointerUpdateTickedEvent.cs
492
C#
using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Builder.Feature; using Stratis.Bitcoin.Features.Wallet.Interfaces; using Stratis.Bitcoin...
55.039194
202
0.651312
[ "MIT" ]
fr0stnk/StratisFullNode
src/Stratis.Bitcoin.Features.Wallet/Controllers/WalletController.cs
49,152
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Editor { public class BaseMixedRealityServiceInspector : IMixedRealityServiceInspector { public virtual bool DrawProfileField { get { return true; } } ...
28.904762
81
0.718287
[ "MIT" ]
AdrianaMusic/MixedRealityToolkit-Unity
Assets/MRTK/Core/Inspectors/ServiceInspectors/BaseMixedRealityServiceInspector.cs
611
C#
// Jeebs Unit Tests // Copyright (c) bfren - licensed under https://mit.bfren.dev/2013 using Jeebs.Data.Mapping; using Jeebs.Data.Querying.Exceptions; using Xunit; using static F.DataF.QueryBuilderF; namespace F.DataF.QueryBuilderF_Tests; public class GetColumnFromExpression_Tests { [Fact] public void Unable_To_G...
24.882353
84
0.723404
[ "MIT" ]
bfren/jeebs
tests/Tests.Jeebs.Data.Querying/Functions/QueryBuilder/GetColumnFromExpression_Tests.cs
1,694
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Antlr.Runtime; namespace CompilerTests.CompilerUnitTests { [TestFixture] class Assignment : BaseTest { [Test] public void TestGoodAssignments() { string t...
29.328205
105
0.392726
[ "Apache-2.0" ]
HalcyonGrid/phlox
Source/CompilerTests/CompilerTests/Assignment.cs
5,721
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.085714
459
0.714199
[ "MIT" ]
WhereIsMyTransport/Pulumi.Crds.CertManager
crd/dotnet/Certmanager/V1/Inputs/CertificateSpecKeystoresPkcs12Args.cs
1,648
C#
/* * Copyright (c) Contributors, http://virtual-planets.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or wit...
52.725
83
0.738265
[ "MIT" ]
johnfelipe/Virtual-Universe
Universe/ScriptEngine/VirtualScript/CompilerTools/Minimodule/IMRMModule.cs
2,109
C#
namespace EventStore.Projections.Core.Services.Processing { public interface IEventWriter { void ValidateOrderAndEmitEvents(EmittedEventEnvelope[] events); } }
27.333333
65
0.823171
[ "Apache-2.0", "CC0-1.0" ]
01100010011001010110010101110000/EventStore
src/EventStore.Projections.Core/Services/Processing/IEventWriter.cs
164
C#
using System.Collections.Generic; using Microsoft.OpenApi.Models; namespace Blockfrost.Api.Generate { public class SchemaContext : GeneratorContext { public SchemaNode node { get; internal set; } public OpenApiSchema schema => node.schema; public SchemaContext items => schema.Items !=...
34.170732
146
0.62955
[ "Apache-2.0" ]
blockfrost/blockfrost-donet
tools/Blockfrost.Api.Generate/Deprecated/SchemaContext.cs
1,403
C#
/* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ using System; using System.Collections.Generic; using System.Linq; using System.Net; using NewRelic.Agent.IntegrationTestHelpers.RemoteServiceFixtures; using Xunit; namespace NewRelic.Agent.IntegrationTests.Remote...
29.777778
127
0.585821
[ "Apache-2.0" ]
Faithlife/newrelic-dotnet-agent
tests/Agent/IntegrationTests/IntegrationTests/RemoteServiceFixtures/BasicWebFormsApplication.cs
2,144
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("St...
39
84
0.751906
[ "MIT" ]
AnCh7/StreamingServer
src/Core/StreamingServer.DependencyInjection/Properties/AssemblyInfo.cs
1,446
C#
#region License // Jdenticon-net // https://github.com/dmester/jdenticon-net // Copyright © Daniel Mester Pirttijärvi 2018 // // 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 res...
39.885845
122
0.574242
[ "MIT" ]
topikon-de/jdenticon-net
Extensions/Jdenticon.AspNetCore/IdenticonTagHelper.cs
8,739
C#
using System; using System.Collections; using System.IO; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; namespace cilToMango { public class MainClass { private static System.IO.StreamWriter outputFile; private static Instruction currentInstruction; public static void Main...
43.359528
123
0.361531
[ "MIT" ]
janmoehl/cil-to-mango-compiler
cilToMangoCompiler/cilToMangoCompiler/Program.cs
22,072
C#
using System.Windows.Input; namespace MattermostAddinConnect.Settings { public class SettingsViewModel { public SettingsViewModel(AddInSettings settings, ICommand saveCommand, ICommand cancelCommand) { Save = saveCommand; Cancel = cancelCommand; MattermostUr...
32.625
102
0.624521
[ "MIT" ]
casanovg/Mattermost-Addin
MattermostAddin-Connect/Settings/SettingsViewModel.cs
785
C#
using System.Collections.Generic; using System.Linq; namespace EFlogger.Profiling.Helpers { /// <summary> /// Help to build out sql /// </summary> public class SqlBuilder { Dictionary<string, Clauses> data = new Dictionary<string, Clauses>(); int seq; class Clause ...
31.770335
186
0.490512
[ "MIT" ]
Diaver/eflogger
EFlogger.Profiling/Helpers/SqlBuilder.cs
6,642
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Vowels_Sum { class Program { static void Main(string[] args) { var word = Console.ReadLine(); var sum = 0; for (int i = 0; i < word...
20.25
49
0.410151
[ "MIT" ]
StefanDimitrov97/SoftUni-Basic
Cycles/Vowels Sum/Vowels Sum/Vowels Sum.cs
731
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...
36.926316
165
0.642816
[ "Apache-2.0" ]
AltairMartinez/aws-sdk-unity-net
src/Services/SimpleNotificationService/Generated/Model/Internal/MarshallTransformations/SetSubscriptionAttributesRequestMarshaller.cs
3,508
C#
#if XNA using Microsoft.Xna.Framework; #endif using System; using System.Runtime.Serialization; namespace SadConsole.Controls { /// <summary> /// Represents a scrollbar control. /// </summary> [DataContract] public class ScrollBar : ControlBase { public event EventHandler ValueChanged...
35.201657
141
0.409401
[ "MIT" ]
LtLi0n/SadConsole
src/SadConsole/Controls/ScrollBar.cs
12,745
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace ClusterAnalysis.Com...
27.558824
98
0.481323
[ "MIT" ]
AndreyTretyak/service-fabric
src/prod/src/managed/ClusterAnalysis/Common/Config/RunMode.cs
939
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
52.680412
207
0.640248
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleCollection.cs
15,330
C#
using System; namespace ZZXUnit.Tests.Entities.SpiderOdds { [Serializable] public enum ThirdPartyEnum { None = 0, CmdBet = 1, MaxBet = 2, SboBet = 3, } }
12.176471
43
0.541063
[ "MIT" ]
az0day/BaseUnits
ZZXUnit.Tests/Entities/SpiderOdds/ThirdPartyEnum.cs
209
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; using System.Collections.Generic; using System.Diagnostics; using Microsoft.CodeAnalysis.Text; using Roslyn.Utilities; namespace Microsoft.Cod...
32.685279
161
0.560801
[ "Apache-2.0" ]
CyrusNajmabadi/PatternMatching
PatternMatcher/StringSlice.cs
6,441
C#
using System; namespace OpenVIII.Fields.Scripts.Instructions { /// <summary> /// Push animation on stack? /// </summary> /// <see cref="http://wiki.ffrtt.ru/index.php?title=FF8/Field/Script/Opcodes/14A_PUSHANIME&action=edit&redlink=1"/> public sealed class PUSHANIME : JsmInstruction { ...
22.653846
119
0.570458
[ "MIT" ]
MattLisson/OpenVIII
Core/Field/JSM/Instructions/PUSHANIME.cs
591
C#
using UnityEngine; using System.Reflection; using System.Collections; using System.Collections.Generic; namespace wxb { class ArrayAnyType : IListAnyType { public ArrayAnyType(System.Type arrayType) : base(arrayType, arrayType.GetElementType()) { } protected override IList Cr...
27.042857
112
0.537242
[ "MIT" ]
BlueMonk1107/XILTestProject
Assets/XIL/Scripts/Serialize/ArrayAnyType.cs
1,895
C#
using DapperCSharp.Domain.Entities; using DapperCSharp.Domain.ValueObjects; using Dapper; using System.Data.SqlClient; using System.Collections.Generic; using System.Linq; using System; namespace DapperCSharp.Infra.Data.Queries { public class CategoryQuery { private readonly SqlConnection _connection; ...
31.952381
253
0.610283
[ "MIT" ]
tiagopariz/DapperCSharp
src/DapperCSharp.Data.Infra/Queries/CategoryQuery.cs
1,342
C#
#define PSR_FULL #if DEMO #undef PSR_FULL #endif using UnityEngine; using UnityEditor; using System.IO; namespace sr { [System.Serializable] public class ReplaceItemQuaternion : ReplaceItem<DynamicTypeQuaternion, Vector4Serializable> { public OptionalFloatField xField; public OptionalFloatField yField; ...
23.527273
119
0.631762
[ "MIT" ]
zaguarman/StarFox-RailMovement
Assets/Editor/searchreplace/ReplaceItemQuaternion.cs
2,588
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 Control_Aleatorio_Covid_19_Mendoza_Fabian { public partial class Formulario : Form { ...
25.931818
73
0.513585
[ "Apache-2.0" ]
FabianEzequielMendoza/TrabajosAcademicos
winforms-c#/Control_Aleatorio_Covid_19_Mendoza_Fabian/Control_Aleatorio_Covid_19_Mendoza_Fabian/Formulario.cs
2,284
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 Y...
39.214286
105
0.646023
[ "MIT" ]
SkyGrass/hippos_api_vm
Ams.Utils/Document/Excel/NPOI/SS/Formula/Udf/UDFFinder.cs
1,647
C#
using System; using System.Collections.Generic; using ToyStore.Models.DBModels; namespace ToyStore.Models.ControllerModels { #nullable enable public class OrderModel { public List<Guid>? addedStacks { get; set; } public Token? token { get; set; } // public override string ToString() ...
34.653846
150
0.556049
[ "MIT" ]
03012021-dotnet-uta/NoureldinKamel_P1
ToyStore.Models/ControllerModels/OrderModel.cs
901
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("Fi...
37.540541
84
0.743701
[ "MIT" ]
SimeonShterev/2016.12.10-2017.03.23-ProgramingBasics
2017.03.15 - exam prep (2016.Nov.20)/Fishland/Properties/AssemblyInfo.cs
1,392
C#
using System; using System.Threading.Tasks; using Uintra.Features.LinkPreview.Models; namespace Uintra.Features.LinkPreview.Services { public interface IActivityLinkPreviewService { LinkPreviewModel GetActivityLinkPreview(Guid activityId); void RemovePreviewRelations(Guid activityId); voi...
37.526316
76
0.765778
[ "MIT" ]
Uintra/Uintra
src/Uintra/Features/LinkPreview/Services/IActivityLinkPreviewService.cs
715
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.AngularCli; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; using Orderkeeper.Core; using OrderKeep...
31.684783
106
0.55506
[ "MIT" ]
pkritiotis/orderkeeper-clean
Orderkeeper.WebUI/Startup.cs
2,915
C#
using Retina.Configuration; using System.Collections.Generic; using System.IO; using System.Linq; namespace Retina.Stages { class ListStage : AtomicStage { public ListStage(Config config, History history, bool registerByDefault, List<string> patterns, List<string> substitutions, string separatorSubsti...
33.538462
167
0.650229
[ "MIT" ]
m-ender/retina
Retina/Retina/Stages/AtomicStages/ListStage.cs
874
C#
using System; using System.Collections.Generic; using AMQ.Wrapper; using Apache.NMS; namespace Example1 { class Program { static void Main(string[] args) { var queueHandler = new DefaultQueueHandler("activemq:tcp://localhost:61616", "amq.test1", new List<IMessageHan...
28.833333
143
0.650867
[ "Apache-2.0" ]
mvcguy/AMQ.Wrapper
Example1/Program.cs
867
C#
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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...
46.560297
303
0.534123
[ "MIT" ]
Persian-DnnSoftware/Dnn.Platform
DNN Platform/Library/Entities/Portals/PortalController.cs
169,110
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
54.235441
326
0.579006
[ "MIT" ]
dnelly/azure-sdk-for-net
src/ResourceManagement/DataLake.Store/Microsoft.Azure.Management.DataLake.Store/Generated/FileSystemOperationsExtensions.cs
65,193
C#
using Orchestra.Networking.Rtmp.Serialization; namespace Orchestra.Networking.Rtmp.Messages.Commands { [RtmpCommand(Name = "receiveAudio")] public class ReceiveAudioCommandMessage : CommandMessage { [OptionalArgument] public bool IsReceive { get; set; } public ReceiveAudioCommandM...
25.0625
87
0.693267
[ "MIT" ]
CloudConstruct/Orchestra
Orchestra/Networking/Rtmp/Messages/Commands/ReceiveAudioCommandMessage.cs
403
C#
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; u...
36.335714
149
0.617653
[ "MIT" ]
ezmaxinc/eZmax-SDK-csharp-netcore
src/eZmaxApi/Model/EzsigntemplateEditObjectV1Request.cs
5,087
C#
using BTCPayServer.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BTCPayServer.Data { public class InvoiceData { public string StoreDataId { get; set; } public StoreData StoreData { ...
19.010989
79
0.472832
[ "MIT" ]
2pac1/btcpayserver
BTCPayServer/Data/InvoiceData.cs
1,732
C#
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; /// <summary> /// Source objects allow you to accept a variety of payment methods. They represent a customer's payment instrument and can be used with the Source API just like ...
38.294737
258
0.616822
[ "Apache-2.0" ]
PaitoAnderson/stripe-dotnet
src/Stripe.net/Entities/Sources/Source.cs
7,276
C#
namespace BumblesBikesLibrary.BicycleComponents; public interface IBicycleComponent { public string Name { get; set; } public float Weight { get; set; } public float Cost { get; set; } }
25
49
0.715
[ "MIT" ]
Kpackt/Real-World-Implementation-of-C-Design-Patterns
chapter-3/BumbleBikesLibrary/BicycleComponents/IBicycleComponent.cs
202
C#
using Alex.API.Utils; using Alex.Networking.Java.Packets.Play; using Alex.Worlds; using NLog; namespace Alex.Entities.Passive { public class Sheep : PassiveMob { private static readonly Logger Log = LogManager.GetCurrentClassLogger(typeof(Sheep)); private static readonly DyeColor[] SheepColors = new DyeColor[] ...
19.654321
87
0.668342
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
lvyitian1/Alex
src/Alex/Entities/Passive/Sheep.cs
1,592
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
50.219424
359
0.620872
[ "ECL-2.0", "Apache-2.0" ]
suresh198526/pulumi-azure
sdk/dotnet/MSSql/DatabaseVulnerabilityAssessmentRuleBaseline.cs
13,961
C#
using System; using System.ComponentModel; using System.Collections.Generic; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Text; using System.Runtime; using System.Collections; using NetOffice.Tools; namespace NetOffice.OfficeApi.Tools.Contribution { /// <sum...
24.096774
120
0.428938
[ "MIT" ]
DominikPalo/NetOffice
Source/Office/Tools/Contribution/TrayMenuUtils/TrayMenuItem.cs
8,966
C#
/* Copyright 2015 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 writing, s...
37
160
0.67471
[ "MIT" ]
594270461/LandlordsCore
Server/ThirdParty/MongodbDriver/MongoDB.Driver/Linq/Processors/Pipeline/MethodCallBinders/SingleBinder.cs
2,074
C#
// This file was generated. Do not modify. using System; using System.Linq; using System.Collections.Generic; using System.Collections.Immutable; namespace cilspirv.Spirv.Ops { public sealed record OpBitwiseXor : BitInstruction { public ID ResultType { get; init; } public ID Result { get; init;...
34.714286
116
0.565329
[ "MIT" ]
Helco/cilspirv
cilspirv.transpiler/Spirv/Ops/Bit/OpBitwiseXor.cs
1,944
C#
using System.Diagnostics.CodeAnalysis; namespace AdventOfCode.Common.Internal; internal class MergedIndexable2D<TValue> : IIndexable2D<TValue> { private readonly IIndexable2D<IIndexable2D<TValue>> _blocks; public MergedIndexable2D(IIndexable<IIndexable<IIndexable2D<TValue>>> source) : this(new IndexableOfIndexab...
23.763441
108
0.666063
[ "MIT" ]
andreibsk/AdventOfCode
src/AdventOfCode.Common/Internal/MergedIndexable2D.cs
2,210
C#
using System; using System.Security.Cryptography; using DeviceId.Components; using DeviceId.Encoders; using DeviceId.Formatters; using FluentAssertions; using Xunit; namespace DeviceId.Tests.Formatters { public class StringDeviceIdFormatterTests { [Fact] public void Constructor_EncoderIsNull_T...
35.144928
137
0.654021
[ "MIT" ]
Twistie/DeviceId
test/DeviceId.Tests/Formatters/StringDeviceIdFormatterTests.cs
2,427
C#
/* Copyright (c) 2012 <a href="http://www.gutgames.com">James Craig</a> 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, ...
46.719512
272
0.658575
[ "MIT" ]
JoySky/Craig-s-Utility-Library
Utilities.Media/Media/Image/Procedural/CellularTexture.cs
3,833
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace BookTube.Web.Areas.Administration.Models { public class PublisherIputModel { [Required] [StringLength(90, MinimumLength = 5)] public string Name { get; set; }...
20.95
50
0.749403
[ "MIT" ]
georgieff1288/BookTube
src/BookTube/Web/BookTube.Web/Areas/Administration/Models/PublisherIputModel.cs
421
C#
using System; using System.Collections.Generic; using System.Text; using b2xtranslator.CommonTranslatorLib; using System.Xml; using b2xtranslator.DocFileFormat; using b2xtranslator.OpenXmlLib; using System.IO; using b2xtranslator.Tools; using System.Globalization; using b2xtranslator.OfficeDrawing; using b2xtranslator....
47.013514
149
0.529942
[ "BSD-3-Clause" ]
EvolutionJobs/b2xtranslator
Doc/WordprocessingMLMapping/VMLPictureMapping.cs
10,437
C#
using Xunit; namespace IxMilia.Erlang.Test { public class TestBase { public static void ArrayEquals<T>(T[] expected, T[] actual) { if (expected == null && actual == null) { return; } Assert.False(expected == null || actual == nul...
23.304348
67
0.466418
[ "MIT" ]
ixmilia/erlang
src/IxMilia.Erlang.Test/TestBase.cs
538
C#
using RhythmCodex.Infrastructure; namespace RhythmCodex.Xbox.Model { [Model] public class XboxIsoFileEntry { public int StartSector { get; set; } public int FileSize { get; set; } public XboxIsoFileAttributes Attributes { get; set; } public string FileName { get; set; } ...
26.611111
92
0.613779
[ "MIT" ]
SaxxonPike/RhythmCodex
Source/RhythmCodex.Lib/Xbox/Model/XboxIsoFileEntry.cs
479
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...
30.050505
192
0.595294
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/ManagedGrafana/Generated/Model/UpdateInstruction.cs
2,975
C#
using System; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Threading; using WBrush = System.Windows.Media.Brush; namespace Microsoft.Maui.Controls.Compatibility.Platform.WPF { /// <summary> /// An inter...
33.066225
176
0.710194
[ "MIT" ]
10088/maui
src/Compatibility/Core/src/WPF/FormsTextBox.cs
9,988
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("06...
38.135135
84
0.746279
[ "MIT" ]
zvet80/TelerikAcademy
11.Databases/02.XMLProcessingIn.NET/06.ExtractSongsLINQ/Properties/AssemblyInfo.cs
1,414
C#
namespace Minions.Services.Implementations { using Data; using Minions.Models; using Models; using System; using System.Collections.Generic; using System.Linq; public class TownService : ITownService { private readonly MinionsDbContext db; public TownService(MinionsDbC...
25.5
86
0.507541
[ "MIT" ]
thelad43/Databases-Advanced-Entity-Framework-SoftUni
01. Introduction to DB Apps/Minions.Services/Implementations/TownService.cs
1,328
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.Net.Http.Headers; using Xunit; namespace System.Net.Http.Tests { public class RangeConditionHeaderValueTest { [Fact] public void Ctor_EntityTag...
41.057239
97
0.596359
[ "MIT" ]
belav/runtime
src/libraries/System.Net.Http/tests/UnitTests/Headers/RangeConditionHeaderValueTest.cs
12,194
C#
using System; using System.ComponentModel; [Serializable] [Description("gold")] public class Gold { public int gold; public static Gold actualGold; public Gold(int gold) { this.gold = gold; } public string Print() { return string.Format("{0}", gold); } }
14
42
0.603896
[ "Apache-2.0" ]
Playyer96/rpg-clientF
Assets/Scripts/REST/Gold.cs
310
C#