content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompactMPC { public class IdMapping<T> { private const int DefaultInitialCapacity = 4; private T _defaultValue; private T[] _values; public IdMapping(...
27.323077
70
0.494932
[ "MIT" ]
lumip/CompactMPC
CompactMPC/IdMapping.cs
1,778
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.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
36.62963
131
0.706269
[ "MIT" ]
Ar37-rs/Silk.NET
src/Assimp/Silk.NET.Assimp/Structs/PfnFileFlushProc.gen.cs
1,978
C#
using PipeShot.Libraries.Helper; using System; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace PipeShot { /// <summary> /// Interaction logic for NotificationWindow.xaml /// </summary> public partial class Notific...
30.020134
123
0.544377
[ "MIT" ]
PipeRift/Pipeshot
PipeShot/NotificationWindow.xaml.cs
4,475
C#
using Razorpay.Api; using System; using System.Collections.Generic; namespace RazorpaySampleApp { public partial class Charge : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string paymentId = Request.Form["razorpay_payment_id"]; Dictionar...
34.5
89
0.643317
[ "MIT" ]
Soubhagya03/Emandate
net40/Charge.aspx.cs
1,244
C#
using TSDMMusicdotNet.Commands; using TSDMMusicdotNet.Models; using System.Collections.ObjectModel; using System; using TSDMMusicdotNet.Helpers; using System.Text.RegularExpressions; namespace TSDMMusicdotNet.ViewModels { public class MainWindowsViewModel : ModelsBase { public ObservableCol...
32.65493
151
0.505068
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SofiaXu/TSDMMusicdotNet
TSDMMusicdotNet/ViewModels/MainWindowsViewModel.cs
4,677
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.286885
185
0.532854
[ "MIT" ]
NeilMacMullen/Textrude
TextrudeInteractive/Properties/Resources.Designer.cs
5,283
C#
namespace ARExample { public partial class SolarSistemView { public SolarSistemView() { InitializeComponent(); } protected override void OnAppearing() { base.OnAppearing(); ArScene.RunSession?.Invoke(); } protected ov...
21.75
84
0.546798
[ "MIT" ]
jorgediegocrespo/XamarinAR
ARExample/ARExample/SolarSystemView.xaml.cs
611
C#
namespace P04.Recharge { public class Employee : Worker, ISleeper { public Employee(string id) : base(id) { } public void Sleep() { // sleep... } } }
15.466667
45
0.435345
[ "MIT" ]
AntoniyaIvanova/SoftUni
C#/C# Advanced/C# OOP/06. SOLID/Solid - Lab/P04.Recharge/Employee.cs
234
C#
using System.Linq; namespace WebChat.Application.API.Common.Identity { public static class IdentityResultExtensions { public static IdentityResult ToApplicationResult(this Microsoft.AspNetCore.Identity.IdentityResult result) { return result.Succeeded ? IdentityResult...
30.857143
114
0.671296
[ "Apache-2.0" ]
liannoi/web-chat
src/Layers/Application/Application.API/Common/Identity/IdentityResultExtensions.cs
432
C#
using System; namespace ISIT420COVIDFinalTiffanyValentina.Areas.HelpPage { /// <summary> /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// </summary> public class ImageSample { /// <summary> /// Initial...
26.243902
130
0.536245
[ "MIT" ]
Drakenshiinx/ISIT420COVIDFinalTiffanyValentina
ISIT420COVIDFinalTiffanyValentinaSolution/ISIT420COVIDFinalTiffanyValentina/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,076
C#
using System; namespace VsTranslator { public class GuidList { public const string PackageGuidString = "08a874bc-f0d4-40bc-8bbf-a1f2e30f92e5"; public static readonly Guid CommandSet = new Guid("86da4c7a-599c-42e2-af95-ee1b4d587545"); public const string OutputWindow = "4b805c0f-d131-...
29.333333
98
0.718182
[ "MIT" ]
HiroHsu/VsTranslator
Codes/VsTranslator/GuidList.cs
442
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...
32.208955
90
0.609361
[ "MIT" ]
filipw/qsharp-runtime
src/Azure/Azure.Quantum.Client/generated/Models/RestError.cs
2,158
C#
namespace ExcelCamAddIn { partial class WinFormsCameraControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
45.754237
165
0.610669
[ "MIT" ]
nemanja-popovic/ExcelAddInWithCamera
ExcelCamAddIn/WinFormsCameraControl.Designer.cs
5,401
C#
using UnityEngine; using System.Collections; public class UpLeftGuiPlacementCalculator : AbstractGuiPlacementCalculator { protected override Rect placement() { float left = HORIZONTAL_BORDER_OFFSET; float top = VERTICAL_BORDER_OFFSET; return new Rect(left, top, size.x, size.y); } }
21
74
0.782313
[ "Apache-2.0" ]
alvarogzp/nextation
Assets/Scripts/Gui/Renderer/Placement/Calculator/Impl/UpLeftGuiPlacementCalculator.cs
294
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // The TypeCode enum represents the type code of an object. To obtain the // TypeCode for a given object, use the Value.GetTypeCode() method. The // TypeCode.Empty value represents a...
47.510638
84
0.635916
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Private.CoreLib/src/System/TypeCode.cs
2,233
C#
using System.Threading; using System.Threading.Tasks; using Atlassian.Bitbucket.UI.ViewModels; using Atlassian.Bitbucket.UI.Views; using GitCredentialManager; using GitCredentialManager.UI; namespace Atlassian.Bitbucket.UI.Commands { public class OAuthCommandImpl : OAuthCommand { public OAuthCommandImp...
29
93
0.734483
[ "MIT" ]
1Bax/git-credential-manager
src/windows/Atlassian.Bitbucket.UI.Windows/Commands/OAuthCommandImpl.cs
580
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace Website.Models.ManageViewModels { public class ConfigureTwoFactorViewModel { public string SelectedProvider { get; set; } public ICollection<Sel...
22.8125
66
0.745205
[ "MIT" ]
jusbuc2k/dotnet_mod_auth_pubtkt
src/Website/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs
367
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; usin...
43.543886
294
0.569173
[ "MIT" ]
48355746/AspNetCore
src/SignalR/clients/csharp/Client.Core/src/HubConnection.cs
88,307
C#
using System; using LumiSoft.Net; namespace LumiSoft.Net.IMAP.Server { /// <summary> /// Provides data for the AuthUser event for POP3_Server and SMTP_Server. /// </summary> public class AuthUser_EventArgs { private IMAP_Session m_pSession = null; private string m_UserName = ""; private string ...
22
112
0.640374
[ "Apache-2.0" ]
jeske/StepsDB-alpha
ThirdParty/LumiSoft/Net/Net/IMAP/Server/AuthUser_EventArgs.cs
2,244
C#
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD ...
32.088421
162
0.509644
[ "MIT" ]
3-Delta/Unity-UI
Tools/AI/Behaviac/BehaviacDesigner/ParametersPanel.cs
15,244
C#
using ConsensusCore.Domain.BaseClasses; using ConsensusCore.Domain.Interfaces; using ConsensusCore.Domain.RPCs; using ConsensusCore.Domain.Utility; using Microsoft.Extensions.Logging; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System...
40.343137
154
0.621142
[ "MIT" ]
xucito/consensus-core
ConsensusCore.Node/Services/Data/Components/WriteCache.cs
4,117
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("Od...
37.756757
84
0.742305
[ "MIT" ]
delian1986/C-SoftUni-repo
Programming Basics/05.Cycles (For Loops)/ForLoops/Odd Even Sum/Properties/AssemblyInfo.cs
1,400
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. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
76.838384
617
0.702971
[ "MIT" ]
AlanFlorance/azure-powershell
src/Functions/generated/api/Models/Api20190801/StackMajorVersion.PowerShell.cs
15,017
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Auth_test.Models; namespace Auth_test.Controllers { public class HomeController : Controller { public IActionResult Index() { ...
21.868421
112
0.595668
[ "MIT" ]
AnnaFrank17/iTra17
Auth_test/Auth_test/Controllers/HomeController.cs
833
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Dolittle.Security; using Machine.Specifications; using Moq; using It = Machine.Specifications.It; namespace Dolittle.Security.Specs.for_SecurityTarget { [Sub...
43.911765
122
0.703282
[ "MIT" ]
dolittle-fundamentals/DotNET.Fundamentals
Specifications/Security/for_SecurityTarget/when_checking_can_authorize_with_no_securables_that_can_authorize.cs
1,495
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...
34.816092
151
0.664576
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/ListPolicyVersionsRequestMarshaller.cs
3,029
C#
namespace AdventOfCode.Levels._02; public record Command(Movement Movement, int Value);
29.333333
52
0.829545
[ "MIT" ]
KoTLiK/AdventOfCode
AdventOfCode.2021/Levels/02/Command.cs
88
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, ...
41.593525
158
0.529274
[ "MIT" ]
AssafTzurEl/DiscUtils
Utilities/OSClone/Program.cs
11,563
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,...
44.1
200
0.689342
[ "MIT" ]
stimulsoft/Stimulsoft.Controls.Net
Stimulsoft.Base/Json/IO/FloatFormatHandling.cs
2,207
C#
using System; using System.Collections.Generic; using Alphaleonis.Win32.Filesystem; using System.Linq; using System.Text; using System.Threading.Tasks; using SCG.Data; using SCG.Commands; using System.Windows; using System.Windows.Input; using System.Text.RegularExpressions; using SCG.Data.View; using System.Windows....
27.464824
177
0.684841
[ "MIT" ]
LaughingLeader/SourceControlGenerator
SourceControlGenerator/Core/FileCommands.cs
10,933
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PlotViewBase.Events.cs" company="OxyPlot"> // Copyright (c) 2020 OxyPlot contributors // </copyright> // ------------------------------------------------------------------------...
38.470588
120
0.538663
[ "MIT" ]
iniceice88/OxyPlot.Xamarin.Forms.Skia
Source/OxyPlot.Xamarin.Forms.Skia/PlotViewBase.Events.cs
4,580
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...
45.896907
186
0.671159
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/KeyManagementService/Generated/Model/CloudHsmClusterInvalidConfigurationException.cs
4,452
C#
using MathNet.Numerics.LinearAlgebra; using System; namespace PID_Tuner { /* public class Transfer { public double[] CooficientsX { get; set; } = new double[] { 1 }; public double[] CooficientsY { get; set; } = new double[] { }; private History<double> histX; private Histo...
27.292929
124
0.483346
[ "MIT" ]
vanBassum/PID_Tuner
PID_Tuner/PID_Tuner/Filters/Transfer.cs
2,704
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.ComponentModel; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using System.Numerics; using System.Runtime.InteropServices; usi...
36.259289
150
0.547021
[ "MIT" ]
3DCloud/runtime
src/libraries/System.Drawing.Common/src/System/Drawing/Graphics.cs
90,757
C#
using System.Transactions; using CoreDdd.Domain.Events; using CoreDdd.Domain.Repositories; using CoreDdd.Nhibernate.UnitOfWorks; using CoreDdd.TestHelpers.DomainEvents; using CoreDdd.UnitOfWorks; using CoreIoC; using IntegrationTestsShared.TestEntities; using IntegrationTestsShared.TransactionScopes; using NUnit.Frame...
37.157303
144
0.715754
[ "MIT" ]
Buthrakaur/coreddd
src/CoreDdd.Rebus.UnitOfWork.Tests/RebusTransactionScopeUnitOfWorks/when_saving_entity_within_rebus_transaction_scope_unit_of_work.cs
3,309
C#
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Col...
37.841808
347
0.584951
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/SecuritizedDerivativesAPIforDigitalPortals/v2/src/FactSet.SDK.SecuritizedDerivativesAPIforDigitalPortals/Model/InlineResponse2006InstrumentLockIn.cs
6,698
C#
//----------------------------------------------------------------------- // <copyright company="Sherlock"> // Copyright 2013 Sherlock. Licensed under the Apache License, Version 2.0. // </copyright> //----------------------------------------------------------------------- using System; using System.Runtim...
42
117
0.62585
[ "Apache-2.0" ]
pvandervelde/Sherlock
src/shared.core/Reporting/CannotAddMessageToUninitializedTestSectionException.cs
2,942
C#
#region Copyright Preamble // // Copyright @ 2019 NCode Group // // 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 // /...
40.608365
130
0.543539
[ "ECL-2.0", "Apache-2.0" ]
NCodeGroup/MassTransit.Extensions.Hosting
MassTransit.Extensions.Hosting.Tests/InMemoryHostBuilderTests.cs
10,680
C#
using System; using Systems; using UniRx; using UnityEngine; using Utils; using Utils.Plugins; namespace SystemBase { public class GameComponent : MonoBehaviour, IGameComponent { public virtual IGameSystem System { get; set; } public void RegisterToGame() { IoC.Resolve<Gam...
28.018182
122
0.621674
[ "Unlicense" ]
limered/SystemBase
Assets/SystemBase/GameComponent.cs
1,543
C#
using System; using System.Collections.Generic; using System.Linq; using Telerik.Core; using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; namespace Telerik.UI.Xaml.Controls.Input.Calendar { ...
41.866452
178
0.600826
[ "Apache-2.0" ]
ChristianGutman/UI-For-UWP
Controls/Input/Input.UWP/Calendar/View/Layers/XamlMultiDayViewLayer.cs
52,042
C#
using System; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Mvc; namespace BasicSample.Requests { public class SampleRequest : IRequest<SampleResponse> { public int Id { get; set; } } public class SampleResponse { public string Name...
23.194444
108
0.617964
[ "MIT" ]
Kahbazi/MediatR.AspNetCore.Endpoints
samples/BasicSample/Requests/SampleRequest.cs
835
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace WpfLightToolkit.Interfaces { public interface IContentLoader { Task<object> LoadContentAsync(FrameworkElement parent, object oldCo...
25.888889
138
0.791845
[ "MIT" ]
kfreezen/WpfLightToolkit
Sources/WpfLightToolkit/Interfaces/IContentLoader.cs
468
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.Searcher { class SearcherControl : VisualElement { // Window constants. const string k_WindowTitleLabel = "windowTitleLabel"; const string k_WindowDe...
35.568835
155
0.552507
[ "MIT" ]
BoxThatBeat/pirateCTF
SinkEm/Library/PackageCache/com.unity.searcher@4.0.9/Editor/Searcher/SearcherControl.cs
23,511
C#
using System; using CMS.Core; using CMS.Ecommerce; using CMS.Helpers; using CMS.UIControls; [Title("ProductPriceDetail.Title")] public partial class CMSModules_Ecommerce_CMSPages_ShoppingCartSKUPriceDetail : CMSLiveModalPage { protected void Page_Load(object sender, EventArgs e) { // Initialize prod...
30.619048
101
0.74028
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/Ecommerce/CMSPages/ShoppingCartSKUPriceDetail.aspx.cs
645
C#
using System; using System.Collections.Generic; namespace ModernMembership.Authorization { public interface IUserRightsService { IEnumerable<ScopedRights> GetRights(Guid userId); } }
18.083333
65
0.705069
[ "Apache-2.0" ]
sapiens/ModernMembership
src/ModernMembership.Authorization/IUserRightsService.cs
219
C#
using System; using Newtonsoft.Json; namespace poi.Models { public class Healthcheck { public Healthcheck() { Message = "POI Service Healthcheck"; Status = "Jim is Healthy"; } [Newtonsoft.Json.JsonProperty(PropertyName = "message")] public string...
22.8
64
0.594298
[ "MIT" ]
OpenHackTeam11/TripViewer
apis/poi/web/Models/Healthcheck.cs
458
C#
//------------------------------------------------------------------------------ // <auto-generated /> // This file was automatically generated by the UpdateVendors tool. //------------------------------------------------------------------------------ using System; #if PLAT_BINARYFORMATTER && !(COREFX || PROFILE259) u...
37.828571
108
0.616314
[ "Apache-2.0" ]
Kielek/signalfx-dotnet-tracing
tracer/src/Datadog.Trace/Vendors/protobuf-net/ProtoException.cs
1,324
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
36.8
509
0.623582
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DocumentDB/Latest/GetDatabaseAccountGremlinDatabase.cs
4,232
C#
using UnityEngine; using System.Collections; public class NextTutorial : MonoBehaviour { public Tutorial tutorial; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnPress(bool isPressed) { if(isPressed==true) { tutorial.Next(); } } }
13.913043
43
0.675
[ "Apache-2.0" ]
RutgersUniversityVirtualWorlds/FreshTherapyOffice
Assets/Assets RU/Scripts/NGUI/NextTutorial.cs
320
C#
using Kingmaker.Utility; using System.Collections.Generic; namespace TabletopTweaks.Config { public class Fixes : IUpdatableSettings { public bool NewSettingsOffByDefault = false; public SettingGroup BaseFixes = new SettingGroup(); public SettingGroup Aeon = new SettingGroup(); pu...
43.657692
128
0.630341
[ "MIT" ]
1onepower/WrathMods-TabletopTweaks
TabletopTweaks/Config/Fixes.cs
11,353
C#
using System; using System.ComponentModel; using System.Windows.Forms; namespace Xinq { internal class QueryTextBox : TextBox { private const int WM_KEYDOWN = 0x100; private const int WM_CHAR = 0x102; private const int WM_CUT = 0x300; private const int WM_PASTE = 0x30...
24.8
76
0.449132
[ "MIT" ]
Azure3bt/Xinq
Projects/Package/Sources/Xinq/QueryTextBox.cs
1,612
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
35.769231
195
0.519857
[ "MIT" ]
SpyRefused/chthonianex
backend/src/Squidex.Domain.Apps.Core.Operations/Scripting/JintScriptEngine.cs
6,978
C#
// // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Xamarin.Interactive.Protocol; using Xamarin.Interactive.Representations.Reflection; namespace Xamarin.Interactive.CodeAnalysis { [Serializab...
35
69
0.662718
[ "MIT" ]
mono/workbooks
Agents/Xamarin.Interactive/CodeAnalysis/Evaluation.cs
1,435
C#
// <auto-generated /> using BookCave.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Inte...
28.64759
117
0.449795
[ "MIT" ]
DStrik/BookCave
Migrations/DataContextModelSnapshot.cs
9,513
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Prism.Modularity; using Prism.Regions; namespace HelloWorldModule { public class HelloWorldModule : IModule { private readonly IRegionManager _regionManager; public HelloW...
22.153846
88
0.6875
[ "MIT" ]
gilfaer/PrismHelloWorld
PrismHelloWorld/HelloWorldModule/HelloWorldModule.cs
578
C#
// ******************************************************************************************************** // Product Name: DotSpatial.Projection // Description: The basic module for MapWindow version 6.0 // ******************************************************************************************************** // Th...
36.925187
190
0.555886
[ "Apache-2.0" ]
aardvark-community/unofficial.dotspatial.projections
src/Unofficial.DotSpatial.Projections/Transforms/Transform.cs
14,807
C#
using UnityEngine; using UnityEditor; using Object = UnityEngine.Object; using System.Collections.Generic; using System; using System.Reflection; [CustomPropertyDrawer(typeof(AssetPath.Attribute))] public class AssetPathDrawer : PropertyDrawer { // A helper warning label when the user puts the attribute above a n...
35.472393
127
0.634383
[ "MIT" ]
ByronMayne/AssetPathAttribute
proj.unity/Assets/AssetPathAttribute/Editor/AssetPathDrawer.cs
5,784
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace System.Data.Entity.TestModels.ExtraLazyLoading { using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Dat...
38.178571
145
0.419083
[ "MIT" ]
dotnet/ef6tools
test/EntityFramework/FunctionalTests.ProviderAgnostic/TestModels/ExtraLazyLoading/LazyBlogContext.cs
3,209
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...
43.452055
218
0.621847
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/HyperParameterTrainingJobDefinitionUnmarshaller.cs
6,344
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 Microsoft.ServiceFabr...
44.418182
144
0.575727
[ "MIT" ]
OlegKarasik/service-fabric-client-dotnet
src/Microsoft.ServiceFabric.Client.Http/Serialization/NodeDownEventConverter.cs
4,886
C#
using UnityEngine; using ParadoxNotion.Design; using NodeCanvas.Framework; namespace FlowCanvas.Nodes { [Category("Events/Signals")] [Description("Check if a defined Signal has been invoked. Signals are similar to name-based events but are safer to changes and support multiple parameters.")] [HasRefreshB...
36.556962
163
0.59903
[ "MIT" ]
puerts-tsc/startup
Assets/Plugins/ThirdParty/ParadoxNotion/FlowCanvas/Modules/FlowGraphs/Nodes/Events/Custom/SignalCallback.cs
2,890
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; #if WINDOWS_UWP using Xamarin.Forms.Platform.UWP; using XPlatform = Xamarin.Forms.Platform.UWP.Platform; #elif __WINDOWS__ using Xamarin.Forms.Platform.Wi...
35.051724
255
0.69454
[ "Apache-2.0" ]
Antyos/Ao3-Tracker
Ao3TrackReader/Ao3TrackReader/Controls/LookupView.xaml.cs
2,035
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
36.571429
191
0.660156
[ "BSD-3-Clause" ]
x-xing/Quantlib-SWIG
CSharp/csharp/SoftCallability.cs
1,792
C#
using System; namespace NetCache { /// <summary>Define cache name and cache default ttl</summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)] public class CacheAttribute : Attribute { private int _ttlSecond; /// <summary>Cache name</summary> public st...
28
117
0.592105
[ "MIT" ]
pengweiqhca/NetCache
src/NetCache.Core/CacheAttribute.cs
1,066
C#
/* * Copyright (c) 2009, DIaLOGIKa * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice,...
45.878788
128
0.691546
[ "BSD-3-Clause" ]
datadiode/B2XTranslator
src/Common/OfficeGraph/BiffRecords/ChartColors.cs
3,030
C#
#region Apache License // // 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 // (...
31.423423
174
0.626768
[ "Apache-2.0" ]
BUTTER-Tools/log4net-2.0.8
src/Appender/SmtpAppender.cs
20,928
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Core1.Mobile { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); } } }
15.055556
44
0.745387
[ "MIT" ]
ojraqueno/vstemplates
Core/Core1.Mobile/Core1.Mobile/MainPage.xaml.cs
273
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------------------...
28.419355
97
0.555051
[ "MIT" ]
HFX-93/luban_examples
Projects/Csharp_DotNet5_bin/Gen/test/TbTestRef.cs
1,762
C#
using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using eg_03_csharp_auth_code_grant_core.Models; using Microsoft.AspNetCore.Authorization; using eg_03_csharp_auth_code_grant_core.Common; namespace eg_03_csharp_auth_code_grant_core.Controllers { public class HomeController : ...
29.791667
112
0.632168
[ "MIT" ]
shadim/eg-03-csharp-auth-code-grant-core
eg-03-csharp-auth-code-grant-core/Controllers/HomeController.cs
1,432
C#
using System; using System.Diagnostics; using System.Globalization; using Octokit.Internal; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class PullRequestReview { public PullRequestReview() { } public PullRequestReview(long id) { Id = id; ...
26.329545
154
0.551144
[ "MIT" ]
Kaneraz/octokit.net
Octokit/Models/Response/PullRequestReview.cs
2,319
C#
using System.Runtime.CompilerServices; namespace RI.Framework.Utilities.Comparison { /// <summary> /// Contains utilities for customized comparison of objects. /// </summary> [CompilerGenerated] public sealed class NamespaceDoc { } }
15.625
65
0.728
[ "Apache-2.0" ]
gosystemsgmbh/RI_Framework
RI.Framework.Common/Utilities/Comparison/_NamespaceDoc.cs
252
C#
using Collector.Common.Validation.NationalIdentifier.Interface; using System; using System.Text.RegularExpressions; namespace Collector.Common.Validation.NationalIdentifier.Validators { /// <remarks> /// Allowed formats: DDMMYYZZZQQ or DDMMYY-ZZZQQ /// where DD = day, MM = month, YY = year, ZZZ = seria...
43.804598
185
0.621884
[ "Apache-2.0" ]
tapmui/common-validation
Nationaldentifier/Validators/NorwegianNationalIdentifierValidator.cs
7,660
C#
using System; using System.Collections.Generic; namespace HashCode2022_OnePizze { public static class Utils { public static void AddSorted<T>(this List<T> list, T item, IComparer<T> comparer) { if (list.Count == 0) { list.Add(item); retur...
25.46875
91
0.384867
[ "Apache-2.0" ]
sagishporer/hashcode-practice-one-pizza
OnePizza/Utils.cs
2,447
C#
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Common")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration...
27.483871
52
0.739437
[ "MIT" ]
nkast/WpfFontPipeline
Samples/DrawString/DrawString.Common/Properties/AssemblyInfo.cs
1,226
C#
using Dapr.Actors; using Dapr.Actors.Client; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Globalization; using System.Net.Http; using System.Reflection; using System.Threading.Tasks;...
41.538043
206
0.614549
[ "MIT" ]
ai408/abp-vue-admin-element-typescript
aspnet-core/modules/dapr/LINGYUN.Abp.Dapr.Actors/LINGYUN/Abp/Dapr/Actors/DynamicProxying/DynamicDaprActorProxyInterceptor.cs
7,945
C#
using System.Threading.Tasks; using AElf.Kernel.Blockchain.Events; using Volo.Abp.EventBus; namespace AElf.Kernel.Consensus.Application { /// <summary> /// Trigger consensus to update mining scheduler. /// </summary> public class BestChainFoundEventHandler : ILocalEventHandler<BestChainFoundEventData> ...
30.321429
89
0.673734
[ "MIT" ]
IamWenboZhang/AElf
src/AElf.Kernel.Consensus/Application/BestChainFoundEventHandler.cs
849
C#
namespace TonSdk.Modules.Debot.Models { /// <summary> /// Describes how much funds will be debited from the target contract balance /// as a result of the transaction. /// </summary> public struct Spending { /// <summary> /// Amount of nanotokens that will be sent t...
28.35
86
0.552028
[ "Apache-2.0" ]
vcvetkovs/TonSdk
src/TonSdk/Modules/Debot/Models/Spending.cs
569
C#
using System; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Draft.Endpoints; using Draft.Responses.Statistics; namespace Draft.Requests.Statistics { /// <summary> /// A request to retrieve the statistical information for the server. /// </summary> /...
26.8
97
0.618337
[ "MIT" ]
NathanTurnbow/Draft
source/Draft/Requests/Statistics/IGetServerStatisticsRequest.cs
940
C#
using System.Collections.Generic; using System.Linq; using System.Runtime.Versioning; using Cake.Core.IO; using Cake.NuGet; using NSubstitute; using Xunit; namespace Cake.Core.Tests.Unit.Packaging.NuGet { public class NuGetAssemblyCompatibilityFilterTests { public sealed class TheFilterCompatibleAssemb...
41.015873
123
0.599265
[ "MIT" ]
EvilMindz/cake
src/Cake.NuGet.Tests/Unit/NuGetAssemblyCompatibilityFilterTests.cs
5,168
C#
using System; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using BusStop.Constants; using BusStop.Interfaces; namespace BusStop.Domain.IO { /// <summary> /// Used for reading time tables from sources containing data in the following format: /// <br>P...
36.791667
172
0.638448
[ "MIT" ]
ExamRepos/BusStop
BusStop/Domain/IO/TimeTableReader.cs
3,534
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Linq; using System.Globalization; using System.Windows.Forms; using AH.DUtility; using AH.ModuleController.PHRMSSR; namespace AH.ModuleController.UI.PHRMS.Forms { p...
47.525547
511
0.533958
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/PHRMS/Forms/frmTransferReceive.cs
32,557
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 "li...
35.652174
156
0.633537
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/QLDB/Generated/Model/Internal/MarshallTransformations/ListJournalS3ExportsRequestMarshaller.cs
3,280
C#
using Clarity.Common.CodingUtilities; using Clarity.Common.Infra.Files; namespace Clarity.Engine.Media.Skyboxes { public interface ISkyboxLoader { bool TryLoad(IReadOnlyFileSystem fileSystem, string path, out ISkybox skybox, out string[] imageFileRelativePaths, out ErrorInfo error); } }
30.9
144
0.770227
[ "MIT" ]
Zulkir/ClarityWorlds
Source/Clarity.Engine/Media/Skyboxes/ISkyboxLoader.cs
311
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.1 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
28.649123
133
0.638089
[ "Apache-2.0" ]
Colton-Soneson/FissionEditor
VulkanEditor/SDK/Source/Raknet/DependentExtensions/Swig/InternalSwigItems/InternalSwigWindowsCSharpSample/InternalSwigTestApp/SwigFiles/PacketConsoleLogger.cs
1,633
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Microsoft.AppCenter; using Microsoft.AppCenter.Analytics; using Microsoft.AppCenter.Crashes; using Reviewer.Core; using PhotoTour.Services; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace Phot...
19.62963
65
0.733019
[ "MIT" ]
Azure-Samples/azuredevtour
xamarin/Reviewer.Core/App.xaml.cs
1,062
C#
namespace PDFToJPGExpert { partial class frmPromotion { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
44.735537
144
0.618142
[ "MIT" ]
fourDotsSoftware/PDF-To-JPG-Expert
PDF To JPG Expert/frmPromotion.Designer.cs
5,415
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 Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.CodeAnalysis.Un...
34.333333
160
0.731686
[ "Apache-2.0" ]
amcasey/roslyn-analyzers
src/System.Runtime.Analyzers/UnitTests/CallGCSuppressFinalizeCorrectlyTests.Fixer.cs
1,133
C#
using System; using System.IO; namespace CNUnit.Tools { public static class Constants { public const string JUnitXslt = "https://raw.githubusercontent.com/nunit/nunit-transforms/master/nunit3-junit/nunit3-junit.xslt"; public static readonly string OutDirDefault = Path.Combine(Environment.Curr...
34.285714
137
0.745833
[ "MIT" ]
unickq/CNUnit
CNUnit/Tools/Constants.cs
482
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; namespace ee.iLawyer.ExControls { public class MultiComboBox : ComboBox { static MultiComboBox() { Defaul...
29.254777
213
0.517091
[ "Apache-2.0" ]
Egoily/iLawyer
03.Application/ee.iLawyer/ExControls/MultiComboBox.cs
4,645
C#
using System; namespace CoRDependencyInjection.Exceptions { /// <summary> /// Thrown when the chain is empty and build was requested. /// </summary> public class EmptyChainException : CoRDependencyInjectionException { public EmptyChainException(string message) : base(message) { ...
24.090909
108
0.626415
[ "MIT" ]
esavini/cor-di
CoRDependencyInjection/Exceptions/EmptyChainException.cs
532
C#
using System; using System.Threading.Tasks; using Diagnostics.ModelsAndUtils.Models; using Diagnostics.ModelsAndUtils.Models.ResponseExtensions; using Diagnostics.RuntimeHost.Models; using Diagnostics.RuntimeHost.Utilities; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using Newtonsoft.Json...
58.4
337
0.707049
[ "MIT" ]
pappleby64/Azure-AppServices-Diagnostics
src/Diagnostics.RuntimeHost/Controllers/AzureKubernetesService/AzureKubernetesServiceController.cs
7,010
C#
using UIKit; namespace Example { public class Application { // This is the main entry point of the application. static void Main (string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. UIApplication.Main (args, null, "AppDelegate")...
20.6875
82
0.691843
[ "MIT", "Unlicense" ]
sunnypatel1602/PathMenuXamarin
Example/Main.cs
333
C#
using UnityEngine; using System.Linq; using System.Collections; using System.Collections.Generic; using System; using MapzenGo.Helpers; using uAdventure.Runner; namespace uAdventure.Geo { public class NavigationController : MonoBehaviour { public Transform arrow; // ----------------------- ...
37.174672
213
0.520968
[ "CC0-1.0" ]
Grupo-M-JuegosSerios/ProyectFinal
ProyectoFinal/Assets/uAdventureGeo/Scripts/Runner/NavigationController.cs
17,028
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.Threading; namespace System.Management.Automation.Runspaces { /// <summary> /// PipelineWriter allows the caller to provide an asynchronous stream of objects /// as input to a <see cref="Syste...
31.716495
97
0.557939
[ "MIT" ]
10088/PowerShell
src/System.Management.Automation/utils/IObjectWriter.cs
6,153
C#
using System; using System.Collections.Generic; using System.Linq; class ListManipulationAdvanced { static void Main(string[] args) { List<int> numbers = Console.ReadLine() .Split() .Select(int.Parse) .ToList(); bool madeChanges = false; while (true) { ...
26.259843
87
0.436882
[ "MIT" ]
Zdravko-Kardzhaliyski/Technology-Fundamentals
5.ListsLab/ListsLab/ListManipulationAdvanced/ListManipulationAdvanced.cs
3,337
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...
38.888889
256
0.66
[ "MIT" ]
alexeldeib/azure-sdk-for-net
src/SDKs/Automation/Management.Automation/Generated/ILinkedWorkspaceOperations.cs
2,100
C#
namespace Melon.Net.Http.Resolver { /// <summary> /// The name of named clients resolver /// </summary> public interface INameOfNamedClientsResolver { /// <summary> /// Resolve the name of named clients /// </summary> /// <typeparam name="T">the http client type</typ...
27.75
64
0.59009
[ "MIT" ]
jack2gs/NSwagDemo
Melon.Net.Http/Resolver/INameOfNamedClientsResolver.cs
446
C#
using NBitcoin; using NTumbleBit.BouncyCastle.Crypto.Engines; using NTumbleBit.BouncyCastle.Crypto.Parameters; using NTumbleBit.BouncyCastle.Math; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Sockets; using System.Text; us...
28.555046
134
0.674859
[ "MIT" ]
ArcSin2000X/BreezeProject
NTumbleBit/Utils.cs
6,227
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using PcapDotNet.Packets.Arp; using PcapDotNet.Packets.Ethernet; using PcapDotNet.Packets.IpV4; namespace PcapDotNet.Packets.Gre { /// <summary> /// RFC 1701, RFC 1702, RFC 2637, RFC 2784. /// <pre> ...
42.679208
202
0.545632
[ "BSD-3-Clause" ]
okaywang/MyPcap
PcapDotNet/src/PcapDotNet.Packets/Gre/GreDatagram.cs
21,553
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("ha...
37.432432
84
0.74296
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
JustMeGaaRa/Silent.Algorithms
hamstr/Properties/AssemblyInfo.cs
1,388
C#