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 in the project root for license information. // ------------------------------------------------------------------------------ /...
44.52381
153
0.645989
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IDeviceManagementAbstractComplexSettingInstanceValueCollectionRequestBuilder.cs
1,870
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.666667
96
0.656347
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Bm/V20180423/Models/DescribeDevicePriceInfoResponse.cs
1,691
C#
using GraphQL.Types; using System.Collections.Generic; namespace Our.Umbraco.GraphQL.Adapters.Examine.Types { public class SearchResultFieldsGraphType : ObjectGraphType<KeyValuePair<string, IReadOnlyList<string>>> { } }
23.3
107
0.781116
[ "MIT" ]
ProworksDevTeam/umbraco-graphql
src/Our.Umbraco.GraphQL/Adapters/Examine/Types/SearchResultFieldsGraphType.cs
233
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Confuser.Core.Project; using Confuser.Core.Properties; using Confuser.Core.Services; using dnlib.DotNet; using dnlib.DotNet.Emit; using dnlib.DotNet....
42
174
0.737835
[ "MIT" ]
andywu188/ConfuserEx
Confuser.Core/ConfuserEngine.cs
23,060
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropService...
35
145
0.76381
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/MsHTML/SVGAElement.cs
527
C#
using Acr.UserDialogs; using Plugin.Geolocator; using Plugin.Geolocator.Abstractions; using Plugin.Permissions; using Plugin.Permissions.Abstractions; using Plugin.XSnack; using ProMama.Components; using ProMama.Models; using ProMama.ViewModels.Services; using System; using System.Collections.Generic; using System.Col...
38.58371
265
0.587428
[ "Apache-2.0" ]
agharium/ProMama
ProMama/ProMama/ViewModels/Home/Paginas/PostosSaudeViewModel.cs
8,601
C#
using System; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace EzTextingApiClient { public class WrappedObjectConverter : JsonConverter { public override bool CanConvert(Type objectType) => true; public override object ReadJson(JsonReader reader, Type objectType...
31.785714
98
0.666292
[ "MIT" ]
CallFire/eztexting-api-client-csharp
src/EzTextingApiClient/WrappedObjectConverter.cs
892
C#
using UnityEngine; using System; namespace DerelictComputer { /// <summary> /// The heartbeat of a Pulse Sequencer. /// Triggers a pulse/tick/bang/whatever you call it at a specified interval. /// Uses lookahead to trigger steps /// </summary> public class Pulse : MonoBehaviour { ...
25.737374
118
0.520408
[ "MIT" ]
Adjuvant/PulseSequencer
Assets/PulseSequencer/Source/Scripts/Core/Pulse.cs
2,550
C#
namespace VoiceSystem.Services.Data.Contracts { using System.Linq; using VoiceSystem.Data.Models; public interface IUsersService { IQueryable<ApplicationUser> GetAll(); ApplicationUser GetById(string id); void Update(); void AddUser(ApplicationUser user, string passw...
21.470588
60
0.665753
[ "MIT" ]
todorm85/TelerikAcademy
Courses/Software Technologies/AspNet MVC/Exam/Services/HikingPlanAndRescue.Services.Data/Contracts/IUsersService.cs
367
C#
using System; namespace Zoro.Wallets.NEP6 { internal class WalletLocker : IDisposable { private NEP6Wallet wallet; public WalletLocker(NEP6Wallet wallet) { this.wallet = wallet; } public void Dispose() { wallet.Lock(); } } }...
16.05
46
0.53271
[ "MIT" ]
ProDog/Zoro
Zoro/Wallets/NEP6/WalletLocker.cs
323
C#
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Shouldly; using Xunit; using Abp.Application.Services.Dto; using TrackingSystem.Users; using TrackingSystem.Users.Dto; namespace TrackingSystem.Tests.Users { public class UserAppServiceTests : TrackingSystemTestBase { private rea...
27.886792
114
0.551421
[ "MIT" ]
Sandeep321/TrackingSystem
test/TrackingSystem.Tests/Users/UserAppService_Tests.cs
1,480
C#
// ILegalMarketingErrorsBuilder using Disney.Mix.SDK; using Disney.Mix.SDK.Internal; using Disney.Mix.SDK.Internal.GuestControllerDomain; using System; public interface ILegalMarketingErrorsBuilder { void BuildErrors(ISession session, GuestApiErrorCollection errors, Action<BuildLegalMarketingErrorsResult> successCall...
32.090909
149
0.855524
[ "MIT" ]
smdx24/CPI-Source-Code
Disney.Mix.SDK.Internal/ILegalMarketingErrorsBuilder.cs
353
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ExcelWebProject { public class CSVExcelConfig { public CSVExcelConfig() { GravarEmFormatoTexto = false; TrimFields = false; } public bool GravarEmFormatoTexto...
19.4
54
0.618557
[ "Apache-2.0" ]
Paulofsr/excel-example
ExcelWebProject/ExcelWebProject/CSVExcelConfig.cs
390
C#
using System; using System.Collections.Generic; using System.Linq; namespace _08._Custom_Comparator { class Program { class MyComparator : IComparer<int> { public int Compare(int x, int y) { int compare = Math.Abs(x % 2).CompareTo(Math.Abs(y % 2)); ...
22.628571
73
0.448232
[ "Apache-2.0" ]
Vladimir-Dodnikov/CSharp---Advanced
05. Functional Programming - Exercise/08. Custom Comparator/Program.cs
794
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...
36.058824
159
0.681892
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodeCommit/Generated/Model/Internal/MarshallTransformations/ConcurrentReferenceUpdateExceptionUnmarshaller.cs
3,065
C#
using System; using Aspose.Cells; using System.Data; namespace Aspose.Cells.Examples.CSharp.Articles { public class GetSmartMarkerNotifications { public static void Run() { //Source directory string sourceDir = RunExamples.Get_SourceDirectory(); //Output di...
38.174603
146
0.631601
[ "MIT" ]
aspose-cells/Aspose.Cells-for-.NET
Examples/CSharp/Articles/GetSmartMarkerNotifications.cs
2,407
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; namespace MessyCoderCommunity.AI.NavMeshMovement { /// <summary> /// Wander semi-randomly such that the character looks like they have intent. /// </summary> [CreateAssetMenu(fileName = "...
42.846774
143
0.630529
[ "Apache-2.0" ]
MessyCoderCommunity/AI-Playground
Assets/_Challenges/Scripts/AI Behaviours/Movement/NavMesh/WanderWithIntent.cs
5,315
C#
namespace Up.NET.Api.Webhooks.Logs; public class WebhookDeliveryLogRequest { public string Body { get; set; } }
19.5
38
0.74359
[ "MIT" ]
Hona/Up.NET
Up.NET/Api/Webhooks/Logs/WebhookDeliveryLogRequest.cs
119
C#
using System; using System.Collections.Generic; using System.Linq; namespace DrawManager.Api.Entities { public class Prize { /// <summary> /// Id del premio. Autogenerado. Llave primaria. /// </summary> public int Id { get; set; } /// <summary> /// Nombre del pr...
29.981481
175
0.543545
[ "MIT" ]
javico02/DrawManager
src/DrawManager.Api/Entities/Prize.cs
1,624
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...
42.814433
178
0.647484
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Lambda/Generated/Model/KMSAccessDeniedException.cs
4,153
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RDAGen.RDA_Data { /// <summary> /// Lista de convenios para o ListView /// </summary> public class AgreementList { public Obs...
25.371429
126
0.636261
[ "Unlicense" ]
rcaropreso/RDAGen
RDAGen/RDA_Data/AgreementDescriptor.cs
890
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Text; using xLiAd.DiagnosticLogCenter.Agent.DiagnosticProcessors; using xLiAd.DiagnosticLogCenter.Agent.Helper; using xLiAd.DiagnosticLogC...
46.066667
134
0.7178
[ "Apache-2.0" ]
zl33842901/DiagnosticLogCenter
xLiAd.DiagnosticLogCenter.Agent/Extension.cs
2,075
C#
// MIT License // // Copyright (c) 2021-2022 Rasmus Mikkelsen // // 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, c...
36.45
81
0.719479
[ "MIT" ]
rasmus/Bake
Source/Bake/ValueObjects/Artifacts/NuGetArtifact.cs
1,458
C#
using Nefarius.ViGEm.Client.Targets; using Nefarius.ViGEm.Client.Targets.Xbox360; using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Task...
41.401274
166
0.51641
[ "MIT" ]
OhBlihv/BetterJoy
BetterJoyForCemu/MainForm.cs
19,502
C#
using NUnit.Framework; using System; using System.Threading; namespace SignUp.EndToEndTests { public static class AssertHelper { public static void RetryAssert(int retryInterval, int retryCount, string failureMessage, Func<bool> assertion) { var assert = assertion(); va...
25.913043
118
0.560403
[ "MIT" ]
PacktPublishing/Docker-on-Windows
Chapter10/ch10-newsletter/src/SignUp/SignUp.EndToEndTests/AssertHelper.cs
598
C#
namespace SnagCardGameBlazor; public class Bootstrapper : MultiplayerBasicBootstrapper<SnagCardGameShellViewModel> { public Bootstrapper(IStartUp starts, EnumGamePackageMode mode) : base(starts, mode) { } protected override Task ConfigureAsync(IGamePackageRegister register) { IBasicDiceGames...
51.633333
128
0.785668
[ "MIT" ]
musictopia2/GamingPackXV3
Blazor/Games/SnagCardGameBlazor/Bootstrapper.cs
1,549
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SimpleRotator : MonoBehaviour { private void Update() { transform.Rotate(0f, 0f, 90f * Time.deltaTime); } }
18.5
55
0.702703
[ "Apache-2.0" ]
aeyonblack/tanya-masvita-software-development-projects
Reborn - Mobile Game Codebase (C#)/Reborn/Assets/Scripts/Utilities/SimpleRotator.cs
224
C#
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace WalletWasabi.Fluent.Views.Wallets.Home.Tiles.WalletBalance { public class WalletBalanceWideTileView : UserControl { public WalletBalanceWideTileView() { InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Loa...
18.722222
68
0.765579
[ "MIT" ]
BTCparadigm/WalletWasabi
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalance/WalletBalanceWideTileView.axaml.cs
337
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using...
45.991444
207
0.585481
[ "MIT" ]
AlekseyTs/roslyn
src/Features/CSharp/Portable/EditAndContinue/CSharpEditAndContinueAnalyzer.cs
166,629
C#
using MixERP.Net.FrontEnd.Base; using System; using System.Web.Security; namespace MixERP.Net.FrontEnd.Site.Account { public partial class SignOut : MixERPWebpage { protected void Page_Init(object sender, EventArgs e) { this.IsLandingPage = true; this.Session.Remove("U...
24.666667
60
0.630631
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Site/Account/SignOut.aspx.cs
446
C#
/* * Copyright (c) Contributors, http://aurora-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 mus...
42.013605
86
0.561205
[ "BSD-3-Clause" ]
BillyWarrhol/Aurora-Sim
Aurora/DataManager/Migration/Migrators/Agent/AgentMigrator_5.cs
6,176
C#
using Microsoft.CodeAnalysis.Diagnostics; namespace F0.Testing.CodeAnalysis.Diagnostics { internal class DiagnosticAnalyzerTester<TDiagnosticAnalyzer> : CSharpAnalyzerTest<TDiagnosticAnalyzer, XUnitVerifier> where TDiagnosticAnalyzer : DiagnosticAnalyzer, new() { internal LanguageVersion? LanguageVersion { get; ...
28.4
118
0.795775
[ "MIT" ]
Flash0ver/F0.Analyzers
source/test/F0.CodeAnalysis.Testing/CodeAnalysis/Diagnostics/DiagnosticAnalyzerTester.cs
568
C#
namespace ShatteredTemple.Stockfighter.Common.Repositories { /// <summary> /// Parent class wrapping <see cref="IStockVenue"/>s offered by an <see cref="IStockExchange"/>. /// </summary> public interface IStockVenues { /// <summary> /// Gets a specific <see cref="IStockVenue"/> repo...
32.375
100
0.602317
[ "MIT" ]
FallenTemple/Stockfighter
Stockfighter/Common/Repositories/IStockVenues.cs
520
C#
using System; using System.Collections.Generic; using System.Reflection; using Anvil.API; using Anvil.Tests.Resources; using NUnit.Framework; // ReSharper disable UnusedMember.Local namespace Anvil.Tests.API { [TestFixture(Category = "API.Variable")] public sealed class LocalVariableTests { private readonly ...
46.964824
149
0.71988
[ "MIT" ]
milliorn/Anvil
NWN.Anvil.Tests/src/main/API/Variable/LocalVariableTests.cs
9,346
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.ServiceBus.UnitTests { using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks...
38.112903
211
0.587812
[ "MIT" ]
Yiliu-microsoft/azure-sdk-for-net
src/SDKs/ServiceBus/data-plane/tests/Microsoft.Azure.ServiceBus.Tests/OnSessionQueueTests.cs
7,091
C#
using UnityEngine; using UnityEngine.Events; using Vuforia; public class CustomDefaultTrackableEventHandler : DefaultTrackableEventHandler { public UnityEvent OnTrackingAction; public UnityEvent OffTrackingAction; protected override void OnTrackingFound() { base.OnTrackingFound(); OnTrackingAction.Invoke();...
18.73913
78
0.791183
[ "MIT" ]
cammelworks/AR-Beats
ARDrum/Assets/Script/CustomDefaultTrackableEventHandler.cs
433
C#
using Pims.Api.Controllers; using Pims.Core.Extensions; using Pims.Core.Test; using System.Diagnostics.CodeAnalysis; using Xunit; namespace Pims.Api.Test.Routes { /// <summary> /// UserControllerTest class, provides a way to test endpoint routes. /// </summary> [Trait("category", "unit")] [Trait("c...
24.717391
99
0.552331
[ "Apache-2.0" ]
FuriousLlama/PSP
backend/tests/unit/api/Routes/UserControllerTest.cs
1,137
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Data.OleDb; using System.Data; using System.Text; public partial class POS_UploadStock : System.Web.UI.Page { protected void Page_Load(object sen...
28.149773
226
0.512925
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
anam/abs
V1/POS/UploadStock.aspx.cs
18,609
C#
// File generated from our OpenAPI spec namespace Stripe { public class PaymentIntentPaymentMethodOptionsIdealOptions : INestedOptions { } }
19.125
79
0.75817
[ "Apache-2.0" ]
Manny27nyc/stripe-dotnet
src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsIdealOptions.cs
153
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using ReviewLibrary; namespace Project3 { public partial class HomePage : System.Web.UI.Page { Utilities utilities = new Utilities(); ...
31.55
138
0.570523
[ "MIT" ]
tran-temple/CIS3342-PracticeProjects
Project3/HomePage.aspx.cs
2,526
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-ge...
44.453125
170
0.624253
[ "MIT" ]
KirsonWorks/HalftoneFx
GUI/Properties/Resources.Designer.cs
3,356
C#
namespace Parliament.ProcedureEditor.Web.Models { public enum SeriesMembershipType { Country = 1, EuropeanUnion = 2, Miscellaneous = 3, Treaty = 4 } }
19.5
48
0.594872
[ "MIT" ]
ukparliament/ProcedureEditor
Parliament.ProcedureEditor.Web/Models/SeriesMembershipType.cs
197
C#
using System; namespace MeetingsApi.Dtos { public class Participant { public int Id { get; set; } public int UserId { get; set; } public int MeetingId { get; set; } public DateTime Created { get; set; } } }
16
45
0.570313
[ "MIT" ]
ddydeveloper/SpbDotNet_make_a_meet
3_micro-services/meetings/MeetingsApi/Dtos/Participant.cs
258
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity.ModelConfiguration; using DXInfo.Models; namespace DXInfo.Data.Configuration { public class vwBillConfiguration : EntityTypeConfiguration<vwBill> { public vwBillConfiguration() { ...
20.833333
70
0.696
[ "Apache-2.0" ]
zhenghua75/DXInfo
DXInfo.Data/Configuration/vwBillConfiguration.cs
377
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.916667
233
0.643785
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/UserGetManagedDevicesWithFailedOrPendingAppsRequestBuilder.cs
2,156
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> //---...
24.239437
150
0.640035
[ "MIT" ]
dragon1219/Automatic-brick-building-software
Assets/script/Legoization/Lego.cs
3,442
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Data.SqlClient; using System.Web.UI.WebControls; namespace Clase_17ABM { public partial class modificacionArticulos : System.Web.UI.Page { protected void Page_Load(object sender, Even...
37.985714
141
0.644603
[ "MIT" ]
manasesortez/SQLDataSource-ABM
Clase-17ABM/modificacionArticulos.aspx.cs
2,661
C#
using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading; using System.Threading.Tasks; using Blogfolio.Models.Portfolio; using Blogfolio.Models.Repositories.Portfolio; namespace Blogfolio.Data.Repositories.Portfolio { /// <summary> /// Entity framework implementat...
34.837838
107
0.562969
[ "MIT" ]
erenpinaz/Blogfolio
Blogfolio.Data/Repositories/Portfolio/ProjectRepository.cs
3,869
C#
using MeetAndGo.Interfaces; using MeetAndGo.Model; namespace MeetAndGo.Controllers { public class CanceledBuildingController : BaseReadController<Model.CanceledBuilding, object> { public CanceledBuildingController(IReadService<CanceledBuilding, object> service) : base(service) { } } }
28
109
0.772727
[ "MIT" ]
emin-alajbegovic/Meet-Go
MeetAndGo/MeetAndGo/Controllers/CanceledBuildingController.cs
310
C#
/* * Copyright (c) Tomas Johansson , http://www.programmerare.com * The code in the "core" project is licensed with MIT. * Other projects within this Visual Studio solution may be released with other licenses e.g. Apache. * Please find more information in the files "License.txt" and "NOTICE.txt" * in the project root ...
39.013333
233
0.732741
[ "MIT" ]
TomasJohansson/adapters-shortest-paths-dotnet
Programmerare.ShortestPaths.Test/test/Programmerare.ShortestPaths/Core/Impl/generics/PathFinderFactoryGenericsBaseTest.cs
2,926
C#
using System; using System.Diagnostics; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Data; using System.Collections; using System.Collections.Generic; namespace ColorPicker { class InterceptKeys { [DllImport("user32.dll")] static extern bool SetKeyboardState(b...
32.570201
152
0.490631
[ "MIT" ]
fourDotsSoftware/ColorPicker
ColorPicker/InterceptKeys.cs
11,369
C#
using System; using System.Windows; using System.Windows.Controls; using DevZest.Windows.Docking; namespace DevZest.DockSample { /// <summary> /// Interaction logic for PropertiesWindow.xaml /// </summary> partial class PropertiesWindow { public PropertiesWindow() { Ini...
18.842105
51
0.639665
[ "MIT" ]
DevZest/WpfDocking
Samples/Docking/CSharp/DockSample/PropertiesWindow.xaml.cs
360
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...
29.857143
112
0.700957
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Media/Outputs/AssetFilterTrackSelection.cs
836
C#
/* MIT License Copyright (c) 2019 Digital Ruby, LLC - https://www.digitalruby.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 ...
44.037879
172
0.583004
[ "MIT" ]
bluPhy/IPBan
IPBanCore/Core/IPBan/IPBanLogFileManager.cs
5,815
C#
namespace ICSharpCode.SharpZipLib.Core { /// <summary> /// INameTransform defines how file system names are transformed for use with archives, or vice versa. /// </summary> public interface INameTransform { /// <summary> /// Given a file name determine the transformed value. /// </summary> /// <param name=...
30.521739
103
0.696581
[ "MIT" ]
0patch/SharpZipLib
src/ICSharpCode.SharpZipLib/Core/INameTransform.cs
702
C#
using System; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using LamarCodeGeneration; using LamarCompiler; using Marten.Internal.Storage; using Weasel.Postgresql; using Marten.Schema; using Marten.Schema.Arguments; using Marten.Schema.BulkLoading; using Marten.Util; using Npgsql; u...
42.345455
273
0.656648
[ "MIT" ]
DJBMASTER/marten
src/Marten/Internal/CodeGeneration/DocumentPersistenceBuilder.cs
6,987
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. //#define DUMP_STATS using System; using Microsoft.ML.Runtime; namespace Microsoft.ML.Internal.Utilities { // ...
32.359862
125
0.521279
[ "MIT" ]
AhmedsafwatEwida/machinelearning
src/Microsoft.ML.Core/Utilities/HashArray.cs
9,352
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _11.Convert_Speed_Units { class Program { static void Main(string[] args) { uint meters = UInt32.Parse(Console.ReadLine()); byte hours = byte.Pa...
31.322581
84
0.580844
[ "MIT" ]
RubenYordano/Programming-Fundamentals-May-2017-HomeWorks
02.DATA TYPES AND VARIABLES - EXERCISES/11. Convert Speed Units/Program.cs
973
C#
using System; using System.Collections.Generic; using System.Numerics; using System.Security.Cryptography.X509Certificates; using Symbol.Builders; using Symnity.Model.Mosaics; namespace Symnity.Model.Accounts { [Serializable] public class MultisigAccountInfo { /** * Version */ ...
27.848837
91
0.566597
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/src/Model/Accounts/MultisigAccountInfo.cs
2,395
C#
using System.Reflection; using JiraIntegrationTool.NativeHost.Requests; using JiraIntegrationTool.NativeHost.Responses; using JiraIntegrationTool.NativeHost.Utils; namespace JiraIntegrationTool.NativeHost.Services { public class NativeHostService { public PingResponse Ping(PingRequest _) { ...
35.321429
114
0.678463
[ "MIT" ]
gpa/JiraIntegrationTool
JiraIntegrationTool.NativeHost/Services/NativeHostService.cs
991
C#
using System.Resources; 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. [ass...
37.9
84
0.75
[ "MIT" ]
cxminer/SQL-Blob-Inserter
BlobInserter/Properties/AssemblyInfo.cs
1,519
C#
namespace LoRSideTracker { partial class GameLogControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
38
119
0.598997
[ "MIT" ]
ronbos/LoRSideTracker
LoRSideTracker/Controls/GameLogControl.Designer.cs
2,396
C#
using ESFA.DC.ILR.Model.Interface; namespace ESFA.DC.ILR.ValidationService.Rules.Derived.Interface { /// <summary> /// derived data rule 28 /// Adult skills funded learner unemployed with benefits on learning aim start date /// </summary> public interface IDerivedData_28Rule { /// <sum...
36
123
0.646825
[ "MIT" ]
sampanu/DC-ILR-1819-ValidationService
src/ESFA.DC.ILR.ValidationService.Rules/Derived/Interface/IDerivedData_28Rule.cs
758
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 System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFramewo...
45.252766
142
0.5372
[ "Apache-2.0" ]
vitorelli/efcore
src/EFCore.Relational/Metadata/Internal/RelationalModel.cs
53,174
C#
using Aspose.Gis.Geometries; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aspose.GIS.Examples.CSharp.Geometries { class DetermineIfOneGeometryCoversAnother { public static void Run() { //ExStart: Deter...
26.884615
61
0.630901
[ "MIT" ]
aspose-gis/Aspose.GIS-for-.NET
Examples/CSharp/Geometries/DetermineIfOneGeometryCoversAnother.cs
701
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/WebServices.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
31.5625
145
0.732673
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/WebServices/WS_MESSAGE_PROPERTIES.cs
507
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 Microsoft.Win32.SafeHandles; namespace Microsoft.AspNetCore.HttpSys.Internal; internal sealed class SafeLocalMemHandle : SafeHandleZeroOrMinusOneIsInvalid { ...
25.074074
86
0.725258
[ "MIT" ]
3ejki/aspnetcore
src/Shared/HttpSys/NativeInterop/SafeLocalMemHandle.cs
677
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AspectOrientedProgrammingWithUnity.Tests { public class BaseViewModel : MarshalByRefObject, INotifyPropertyChanged { public event PropertyChangedEv...
23.733333
75
0.800562
[ "MIT" ]
Jalalx/AspectOrientedProgrammingWithUnity
AspectOrientedProgrammingWithUnity.Tests/BaseViewModel.cs
358
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class XiangQiClick : MonoBehaviour, IPointerClickHandler { int _width = 50; RectTransform meRect; public void Init(int offset, int width) { meRect = GetComponent<R...
36.30303
126
0.649416
[ "MIT" ]
rik111cn/qipai
client/Assets/Scripts/Game/XiangQi/XiangQiClick.cs
1,200
C#
using UnityEngine; namespace StrangeWorld.Patrons { //*Static class used to manage singleton instance public static class SingletonTools { //Methods //Check if a singleton instace allready exists public static bool CanSetInstance<T>(T singletonReference, T newInstance) => singletonR...
36.2
135
0.712707
[ "CC0-1.0" ]
Seyk10/Portfolio
Scripts/Singleton/SingletonTools.cs
543
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,...
40.997773
188
0.55063
[ "Apache-2.0" ]
cty901/SAEA
Src/SAEA.Common/Newtonsoft.Json/Schema/JsonSchemaBuilder.cs
18,410
C#
using System.Collections.Generic; using DwollaV2.SerializableTypes; namespace DwollaV2 { public class Accounts : Rest { /// <summary> /// Returns basic account info for the passed account ID. /// </summary> /// <param name="accountId">Account ID</param> /// <returns>UserBasic object</returns...
32.269565
97
0.622474
[ "Unlicense" ]
501st-alpha1/dwolla.net-v2
Endpoints/Accounts.cs
3,713
C#
using System.Reflection; using System.Threading.Tasks; namespace AwsLambdaLauncher.Service.Models.HealthCheck { /// <summary> /// A check item class holds logic for checking the running service itself /// </summary> internal class SelfLiveCheckItem : ILiveCheckItem { public async...
33.461538
92
0.590805
[ "MIT" ]
zhangsiy/AwsLambdaLauncher
src/AwsLambdaLauncher.Service/Models/HealthCheck/SelfLiveCheckItem.cs
872
C#
using Volo.Abp.Settings; namespace ConcurrentLogin.Settings; public class ConcurrentLoginSettingDefinitionProvider : SettingDefinitionProvider { public override void Define(ISettingDefinitionContext context) { //Define your own settings here. Example: //context.Add(new SettingDefinition(Concu...
27.769231
81
0.772853
[ "MIT" ]
Aprite/abp-samples
ConcurrentLogin/src/ConcurrentLogin.Domain/Settings/ConcurrentLoginSettingDefinitionProvider.cs
363
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace ContasimpleAPI.Models { /// <summary> The Enum447. </summary> public readonly partial struct Enum447 : IEquatable<Enum44...
41.618182
126
0.638707
[ "MIT" ]
JonasBr68/ContaSimpleClient
ClientApi/generated/Models/Enum447.cs
2,289
C#
// <auto-generated /> namespace VideoNotes.DataAccess.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed parti...
28.033333
99
0.630202
[ "MIT" ]
PROVideoNotes/Video-Notes-System
VideoNotes/VideoNotes.DataAccess/Migrations/201505251033230_InitialMigration.Designer.cs
841
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 ...
36.067114
150
0.742092
[ "Apache-2.0" ]
malibu/Custom.Channel
src/main/csharp/Configuration/NmsTransportElement.cs
5,374
C#
// Licensed to ifak e.V. under one or more agreements. // ifak e.V. licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Security.Cryptography; using System.Text; namespace Ifak.Fast.Mediator { public class SimpleEncryption ...
40.636364
100
0.656972
[ "MIT" ]
ifakFAST/Mediator.Net
Mediator.Net/MediatorCore/SimpleEncryption.cs
1,343
C#
using Sharpen; namespace android.net.wifi { [Sharpen.NakedStub] public class SupplicantStateTracker { [Sharpen.NakedStub] public class DefaultState { } [Sharpen.NakedStub] public class UninitializedState { } [Sharpen.NakedStub] public class InactiveState { } [Sharpen.NakedStub] public...
12.142857
36
0.687395
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/android/net/wifi/SupplicantStateTracker.cs
595
C#
using System; namespace NLuaTest.TestTypes { public class Vector { public double x; public double y; public static Vector operator *(float k, Vector v) { var r = new Vector(); r.x = v.x * k; r.y = v.y * k; return r; } ...
20
58
0.42
[ "MIT" ]
Auios/NLua
tests/src/TestTypes/Vector.cs
602
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExp...
29.648115
154
0.499394
[ "Apache-2.0" ]
komiyamma/hm_ecmascript
ClearWork/ClearScript.7.1.0/ClearScript/Util/MiscHelpers.cs
16,514
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; namespace WebApplication1.Account { public partial class ManagePassword : System.Web.UI.Page ...
33.857143
131
0.505425
[ "MIT" ]
Foxpips/ExamQuestions
WebApplication1/Account/ManagePassword.aspx.cs
3,320
C#
using System; using System.IO; using System.Windows.Forms; namespace Heat_equation.Classes { class Calculation { public double[,] Unew { get; set; } = null; // Значения температур в узле в (k+1)-ый момент времени public double[,] U { get; set; } = null; // Значения температур в узле в k-ы...
31.527473
156
0.425235
[ "MIT" ]
vlades7/Heat-equation
Heat-equation/Classes/Calculation.cs
12,178
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// <summary> /// AlipayMsaasMediarecogMmtcaftscvMachinegoodsAddResponse. /// </summary> public class AlipayMsaasMediarecogMmtcaftscvMachinegoodsAddResponse : AopResponse ...
24.809524
85
0.660269
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Response/AlipayMsaasMediarecogMmtcaftscvMachinegoodsAddResponse.cs
533
C#
using System.IO; namespace SoftComputing.UTJ.Presentation.Helpers { public static class FileHelper { public static void ClearTempDirectory() { DirectoryInfo di = new DirectoryInfo("temp"); foreach (FileInfo file in di.GetFiles()) { file.Dele...
21.954545
62
0.513458
[ "MIT" ]
kockarevicivan/Soft-Computing---UML-to-JSON
app/SoftComputing.UTJ.Presentation/Helpers/FileHelper.cs
485
C#
#region MigraDoc - Creating Documents on the Fly // // Authors: // Stefan Lange // Klaus Potzesny // David Stephensen // // Copyright (c) 2001-2019 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://www.migradoc.com // http://sourceforge.net/projects/pdfsharp // // Permission is ...
33.638614
121
0.560854
[ "MIT" ]
BillyWilloughby/MigraDoc
MigraDoc/src/MigraDoc.DocumentObjectModel/DocumentObjectModel/Document.cs
13,590
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; namespace TransportsNantais.Views.Partials { public partial class DeparturesList :...
20.666667
53
0.721198
[ "MIT" ]
mpapillon/NantesTramBus
TransportsNantais/Views/Partials/DeparturesList.xaml.cs
436
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; using Web.Service.Areas.HelpPage.ModelDescriptions; namespace Web.Service.Areas.HelpPage { /// <summary> /// A custom <see cref="ID...
43.37037
160
0.632223
[ "MIT" ]
sourcewalker/hexago.net
Source/Web/Web.Service/Areas/HelpPage/XmlDocumentationProvider.cs
7,026
C#
using System; using System.Collections.ObjectModel; namespace SampleApp.ViewModels { /// <summary> /// View-model for a pane that shows a list of open documents. /// </summary> public class OpenDocumentsPaneViewModel : AbstractPaneViewModel { public OpenDocumentsPaneViewModel(MainWindowVie...
28.884615
133
0.564137
[ "MIT" ]
kiler398/OGeneration
ViewModels/OpenDocumentsPaneViewModel.cs
2,255
C#
using System.Collections.Generic; namespace Spinit.Data.Export { public interface IExporter<out TReturn> { TReturn Write<T>(IEnumerable<T> list); } }
18.888889
46
0.688235
[ "MIT" ]
Spinit-AB/Spin
src/Spinit.Data.Export/IExporter.cs
170
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System; using System.Collections.Generic; using System.Text; using Azure.Core.Http; namespace Azure.Storage.Files.Models { /// <summary> /// Su...
35.703704
133
0.682573
[ "MIT" ]
jarango/azure-sdk-for-net
sdk/storage/Azure.Storage.Files/src/Models/StorageDirectoryInfo.cs
1,930
C#
using System.Linq; using System.Web.Mvc; using WebApplication16.Models; namespace WebApplication16.Controllers { public class HomeController : Controller { // GET: Home public ActionResult Index() { return View(); } //It fetches Customer data ...
26.6
88
0.55188
[ "MIT" ]
medhajoshi27/AllProjectmedha
WebApplication16/WebApplication16/Controllers/HomeController.cs
667
C#
using System; using System.Data; using System.Linq; using System.Linq.Dynamic; using System.Linq.Dynamic.Core; using System.Linq.Expressions; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Abp.UI; using Abp.AutoMapper; using Abp.Extensions; using Abp.Authori...
22.746479
84
0.668524
[ "MIT" ]
AmayerGogh/CCode
aspnet-core/src/CCode.Application/Files/FileApplicationService.cs
5,145
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotate : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { transform.Rotate(0, 5, 0 * Time.deltaTi...
17.526316
52
0.633634
[ "MIT" ]
ReanSchwarzer1/Covid-AR-Shooting-RL
Android Version/Assets/Scripts/Rotate.cs
333
C#
namespace MyVote.Services.AppServer.Models { public sealed class ResponseItem { public int PollOptionID { get; set; } public bool IsOptionSelected { get; set; } } }
21.5
44
0.732558
[ "Apache-2.0" ]
Magenic/MyVoteGC
src/Services/MyVote.Services.AppServer.Core/Models/ResponseItem.cs
174
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using Newtonsoft.Json; using Vertical.HubSpot.Api.Data; namespace Vertical.HubSpot.Api.Models { /// <summary> /// registry for models of entities /// </summary> public class...
37.52459
136
0.582787
[ "MIT" ]
loker0/hubspot-api
Vertical.HubSpot.Api/Models/ModelRegistry.cs
2,291
C#
using DotVVM.Framework.Configuration; using DotVVM.Framework.ResourceManagement; using DotVVM.Framework.Routing; using Microsoft.Extensions.DependencyInjection; namespace FlightFinder.Web { public class DotvvmStartup : IDotvvmStartup, IDotvvmServiceConfigurator { // For more information about this cla...
46.680851
127
0.706016
[ "Apache-2.0" ]
mirecad/dotvvm-samples-flight-finder
src/FlightFinder.Web/DotvvmStartup.cs
2,196
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Betlln.Collections { public class KeyValueBag<TValue> : IEnumerable<KeyValuePair<string, TValue>> { private readonly List<KeyValuePair<string, TValue>> _valueStore; public KeyValueBa...
26.842105
112
0.519608
[ "Apache-2.0" ]
cricut/betlln
Common/Collections/KeyValueBag.cs
3,062
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://ww...
48.242424
104
0.696608
[ "MIT" ]
Hurtrus/azure-powershell
src/Compute/Compute/Properties/AssemblyInfo.cs
1,560
C#
// Zeron - Scheduled Task Application for Windows OS // Copyright (c) 2019 Jiowcl. All rights reserved. namespace Zeron.ZInterfaces { /// <summary> /// IServicesRequest /// </summary> public interface IServicesRequest { /// <summary> /// APIName /// </summary> strin...
20.25
53
0.483025
[ "MIT" ]
inwazy/Zeron
Zeron/ZInterfaces/IServicesRequest.cs
650
C#