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; [Serializable] public class GuildstatueDataVo { public int Rank; public string Modle; public float Offset; public string Tile; public string Pos1; public string Pos2; }
10.833333
30
0.748718
[ "MIT" ]
moto2002/tianzi_src2
src/GuildstatueDataVo.cs
195
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Xtoad.App.Budget.Models; using Xtoad.App.Budget.ViewModels; using Xtoad.App.Budget.Views; namespace Xtoad.App.Budget.Vie...
22.09375
63
0.663366
[ "MIT" ]
442803117/Xtoad.App.Budget
Xtoad.App.Budget/Views/ItemsPage.xaml.cs
709
C#
using Dapper; using Xunit; namespace DotNetCore.CAP.MySql.Test { [Collection("MySql")] public class MySqlStorageTest : DatabaseTestHost { private readonly string _dbName; private readonly string _masterDbConnectionString; public MySqlStorageTest() { _dbName = C...
36.244444
123
0.614347
[ "MIT" ]
123longteng/CAP
test/DotNetCore.CAP.MySql.Test/MySqlStorageTest.cs
1,633
C#
using System; using System.IO; namespace UsingBloco { class Program { static void Main(string[] args) { string caminho = @"C:\Users\YANICK\Desktop\Rumo a PROGRAMADOR\C#\ApredendoArquivos\file1.txt"; try { // using (FileStream fs = new FileStr...
30.088235
106
0.418377
[ "MIT" ]
Yanicksantos/.NET
ApredendoArquivos/UsingBlock/UsingBlock/Program.cs
1,026
C#
using System; using System.Linq; using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.Services; using Umbraco.Core.Services.Changes; using Umbraco.Web.PublishedCache; namespace Umbraco.Web.Cache { public sealed class ContentTypeCac...
32.75
174
0.614279
[ "MIT" ]
AndersBrohus/Umbraco-CMS
src/Umbraco.Web/Cache/ContentTypeCacheRefresher.cs
4,456
C#
using System.Text.RegularExpressions; namespace WebApiContrib.Formatting.Jsonp { public static class CallbackValidator { private static readonly Regex JsonpCallbackFormat = new Regex(@"[^0-9a-zA-Z\$_\.]|^(abstract|boolean|break|byte|case|catch|char|class|const|continue|debugger|default|delete|do|doubl...
52.066667
509
0.758003
[ "MIT" ]
WebApiContrib/WebApiContrib.Formatting.Jsonp
src/WebApiContrib.Formatting.Jsonp/CallbackValidator.cs
783
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AssetDeliveryItem Data Structure. /// </summary> public class AssetDeliveryItem : AlipayObject { /// <summary> /// SEND - 发货指令(执行向目的地进行发货动作) , RECEIVE - 收货指令(执行从来源地进行收货动作)...
27.708108
74
0.526141
[ "MIT" ]
Msy1989/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AssetDeliveryItem.cs
5,712
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...
31.101695
103
0.673569
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/GetVoiceConnectorProxyRequest.cs
1,835
C#
namespace SharpMusicPlayerDemo.Models { public class TimeStretchProfile { public string Id { get; set; } public string Description { get; set; } public bool UseAAFilter { get; set; } public int AAFilterLength { get; set; } public int Overlap { get; set; } public...
24.75
47
0.573737
[ "MIT" ]
Milkitic/SharpMusicPlayerDemo
Models/TimeStretchProfile.cs
497
C#
using HN.Services; namespace HN.Controls.ImageEx.Core.Tests.Services { public class TestDesignModeService : IDesignModeService { public bool IsInDesignMode => false; } }
19.2
59
0.713542
[ "MIT" ]
h82258652/HN.Controls.ImageEx
test/HN.Controls.ImageEx.Core.Tests/Services/TestDesignModeService.cs
194
C#
using System; using System.Xml.Serialization; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// DeliverInfo Data Structure. /// </summary> [Serializable] public class DeliverInfo : AlipayObject { /// <summary> /// 保单寄送地址的住址 /...
26.333333
57
0.582278
[ "MIT" ]
AkonCoder/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/DeliverInfo.cs
1,164
C#
using AppDynamics.Dexter.ReportObjects; using CsvHelper.Configuration; namespace AppDynamics.Dexter.ReportObjectMaps { public class WEBPageToBusinessTransactionReportMap : ClassMap<WEBPageToBusinessTransaction> { public WEBPageToBusinessTransactionReportMap() { int i = 0; ...
36.232558
95
0.517972
[ "Apache-2.0" ]
Appdynamics/AppDynamics.DEXTER
ReportObjects/EntityWEB/Maps/WEBPageToBusinessTransactionReportMap.cs
1,560
C#
using Microsoft.Extensions.DependencyInjection; using System; namespace ConfigMgmt { public static class TheStartup { public static void ConfigureServices(IServiceCollection services) { services.AddHttpClient<IBadgeApiClient, BadgeApiClient>(); services.AddSingleton(Re...
35.181818
118
0.72739
[ "MIT" ]
appsonsf/FabricEAP
src/ConfigMgmtApi/TheStartup.cs
776
C#
using System.Net.Sockets; using System.Text; namespace core.BusinessEntityCollection { public class ClientState { public Socket Socket { get; set; } public ClientBuffer ClientBuffer { get; set; } public StringBuilder Data { get; set; } } }
17.625
54
0.652482
[ "Unlicense" ]
kartalm/chatService
chatService/core/BusinessEntityCollection/ClientState.cs
284
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zadatak1 { class Program { static void Main(string[] args) { Orkestar orkestar = new Orkestar(); try { ...
41.83908
169
0.498077
[ "MIT" ]
astrihale/NTP4
prvi-blok/Zadatak1/Zadatak1/Program.cs
3,642
C#
using System.Collections.ObjectModel; namespace ApiRest.Areas.HelpPage.ModelDescriptions { public class ComplexTypeModelDescription : ModelDescription { public ComplexTypeModelDescription() { Properties = new Collection<ParameterDescription>(); } public C...
28.142857
81
0.680203
[ "Unlicense" ]
manutres/oesia
ApiRest/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs
394
C#
using System.Reflection; namespace Amazon.JSII.Runtime.Services { internal sealed class JsiiRuntimeProvider : IJsiiRuntimeProvider { private const string ENTRYPOINT = "jsii-runtime.js"; public JsiiRuntimeProvider(IResourceExtractor resourceExtractor) { string[] files = { E...
31.266667
107
0.584222
[ "Apache-2.0" ]
NGL321/jsii
packages/@jsii/dotnet-runtime/src/Amazon.JSII.Runtime/Services/JsiiRuntimeProvider.cs
940
C#
using UnityEngine; using System.Collections; using Invector.CharacterController.TopDownShooter; public class vShooterTopDownCursor : MonoBehaviour { private vTopDownShooterInput shooter; public GameObject sprite; public LineRenderer lineRender; void Start() { shooter = Find...
31.265306
82
0.530026
[ "MIT" ]
FR98/ProyectoJuegosUVG
Assets/Invector-3rdPersonController/Shooter/Scripts/Examples/TopDownShooter/TopDownCursor/vShooterTopDownCursor.cs
1,534
C#
using System; using System.IO; using System.Text; namespace TextTableFormatter.ConsoleApp { class Program { static void Main() { // 1. BASIC TABLE EXAMPLE var basicTable = new TextTable(3); basicTable.AddCell("Artist"); basicTable.AddCell("Album"); basicTable.AddCell("Year");...
37.357143
154
0.593603
[ "Apache-2.0" ]
dsantarelli/TextTableFormatter.NET
TextTableFormatter.ConsoleApp/Program.cs
6,033
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26.Maps { using V26; /// <summary> /// OPL_O37_PATIENT (GroupMap) - /// </sum...
29.695652
104
0.581259
[ "Apache-2.0" ]
ahives/Machete
src/Machete.HL7Schema/V26/Groups/Maps/OPL_O37_PATIENTMap.cs
683
C#
namespace TraktNet.Objects.Get.Tests.History.Json.Writer { using FluentAssertions; using Newtonsoft.Json; using System; using System.IO; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Enums; using TraktNet.Extensions; using TraktNet.Objects.Get.Ep...
43.03211
161
0.504957
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Tests/Trakt.NET.Objects.Get.Tests/History/Json/Writer/HistoryItemObjectJsonWriter/HistoryItemObjectJsonWriter_Episode_JsonWriter_Tests.cs
9,383
C#
using My9GAG.Logic.Client; using My9GAG.Logic.DownloadManager; using My9GAG.Logic.PageNavigator; using My9GAG.Models.Comment; using My9GAG.Models.Post; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using ...
30.81201
164
0.517244
[ "MIT" ]
Rora/My9GAG
My9GAG/My9GAG/ViewModels/PostsPageViewModel.cs
11,803
C#
using FluentAssertions; using foodtruacker.AcceptanceTests.Framework; using foodtruacker.Application.BoundedContexts.UserAccountManagement.Commands; using foodtruacker.Application.Results; using foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates; using foodtruacker.Domain.BoundedContexts.UserAccountM...
44.927273
127
0.707001
[ "MIT" ]
hiiammalte/foodtruacker
foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_verifying_a_customer.cs
2,473
C#
using System.Collections.Generic; using NodeCanvas.Framework; using ParadoxNotion.Design; namespace NodeCanvas.Tasks.Actions { [Category("✫ Blackboard/Lists")] public class GetIndexOfElement<T> : ActionTask { [RequiredField] [BlackboardOnly] public BBParameter<List<T>> targetList;...
25.375
78
0.663383
[ "MIT" ]
BlestxVentures/oculus-experiments
Assets/External/ParadoxNotion/NodeCanvas/Tasks/Actions/Blackboard/List Specific/GetIndexOfElement.cs
613
C#
namespace DigitalLearningSolutions.Data.Tests.Services { using DigitalLearningSolutions.Data.Services; using DigitalLearningSolutions.Data.Models; using DigitalLearningSolutions.Data.Tests.Helpers; using NUnit.Framework; using FluentAssertions; public class UnlockDataServiceTests ...
32.585366
88
0.591317
[ "MIT" ]
FridaTveit/DLSV2
DigitalLearningSolutions.Data.Tests/Services/UnlockDataServiceTests.cs
1,338
C#
namespace Caliburn.Micro { using System; using System.Collections.Generic; using System.Windows; ///<summary> /// A base implementation of <see cref = "IViewAware" /> which is capable of caching views by context. ///</summary> public class ViewAware : PropertyChangedBase, IViewAware { ...
36.211009
114
0.577654
[ "MIT" ]
victorarias/Caliburn.Micro
src/Caliburn.Micro.Silverlight/ViewAware.cs
3,949
C#
namespace DrawerConsole { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <para...
31.932203
107
0.558386
[ "BSD-3-Clause" ]
ISTNAIT/GDIDrawer
DrawerConsole/Form1.Designer.cs
1,886
C#
using Newtonsoft.Json; namespace NadekoBot.Modules.Searches.Common { public class MangaResult { public int Id { get; set; } [JsonProperty("publishing_status")] public string PublishingStatus { get; set; } [JsonProperty("image_url_lge")] public string ImageUrlLge { get; s...
38.52
121
0.623053
[ "MIT" ]
A-N-NA/NadekoBot
NadekoBot.Core/Modules/Searches/Common/MangaResult.cs
963
C#
#region License and Copyright Notice // Copyright (c) 2010 Ananth B. // All rights reserved. // // The contents of this file are made available under the terms of the // Eclipse Public License v1.0 (the "License") which accompanies this // distribution, and is available at the following URL: // http://www.open...
28.974359
82
0.646903
[ "EPL-1.0" ]
aquavit/Brahma
Source/Brahma/Buffer.cs
1,132
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.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFramewo...
39.743155
128
0.470721
[ "Apache-2.0" ]
chrisblock/EntityFramework
src/EFCore/Query/Internal/ExpressionEqualityComparer.cs
30,483
C#
/* * Copyright 2010-2013 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...
39.677419
182
0.652846
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.IdentityManagement/Model/Internal/MarshallTransformations/ChangePasswordResponseUnmarshaller.cs
3,690
C#
using DCL.Models; using System.Collections; using System.Collections.Generic; using DCL.Helpers; using UnityEngine; using DCL.Controllers; namespace DCL.Components { public class DCLAnimator : BaseComponent { [System.Serializable] public class Model : BaseModel { [System.Ser...
30.796791
118
0.52648
[ "Apache-2.0" ]
Marguelgtz/explorer
unity-client/Assets/Scripts/MainScripts/DCL/Components/Animator/DCLAnimator.cs
5,759
C#
namespace SPNATI_Character_Editor.Controls { partial class ImageFileSelectControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposin...
34.449438
148
0.723744
[ "MIT" ]
laytonc32/spnati
editor source/SPNATI Character Editor/Controls/EditControls/ImageFileSelectControl.Designer.cs
3,068
C#
using UnityEngine; using System; [Serializable] public struct CameraBufferSettings { public bool allowHDR; public bool copyColor; public bool copyColorReflection; public bool copyDepth; public bool copyDepthReflections; [Range(CameraRenderer.renderScaleMin, CameraRenderer.renderSc...
23.102564
74
0.653718
[ "MIT" ]
Alekssasho/UnityCustomRenderingPipeline
Assets/Custom RP/Runtime/CameraBufferSettings.cs
903
C#
using System; using DCL.Components; using DCL.Controllers; using DCL.Helpers; using DCL.Interface; using Newtonsoft.Json; using UnityEngine; using UnityEngine.Profiling; namespace DCL { public class DebugBridge : MonoBehaviour { [Serializable] class ToggleSceneBoundingBoxesPayload { ...
33.66129
127
0.606133
[ "Apache-2.0" ]
Timothyoung97/unity-renderer
unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/DebugController/DebugBridge.cs
8,350
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable CommentTypo // ReSharper disable IdentifierTypo // ReSharper disable UnusedMember.Global // ReSharper...
28.4
92
0.554326
[ "MIT" ]
amironov73/ManagedIrbis5
Source/Libs/ManagedIrbis5.WinForms/Source/Grid/SiberianUtility.cs
5,453
C#
using eDriven.Core.Geom; namespace eDriven.Gui.Containers { /// <summary> /// Provides container scrolling /// </summary> public interface IScrollable { /// <summary> /// Content scrolling /// </summary> //bool ScrollContent { get; set; } bool ClipContent { ...
28.914894
108
0.555556
[ "MIT" ]
dkozar/edriven-gui
eDriven/eDriven.Gui/Containers/Core/IScrollable.cs
1,359
C#
using Amazon.EC2.Model; using Microsoft.AspNetCore.Mvc; using Microsoft.IdentityModel.Protocols; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks;...
32.269231
110
0.650775
[ "MIT" ]
Thapelo101/CSVImport
CSVImport/CSVImport/Controllers/LoginController.cs
1,680
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using CandidateTesting.JoseAntonio.ConvertToAgora.Templates; using CandidateTesting.JoseAntonio.ConvertToAgora.Converters; using System.Collections.Generic; namespace CandidateTesting.JoseAntonio.ConvertToAgora.Tests { [TestClass] public class ConverterTest ...
39.448276
111
0.615822
[ "MIT" ]
otenbr/CandidateTesting.JoseAntonio.ConvertToAgora
ConvertToAgora.Tests/ConverterTest.cs
2,288
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; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Json; using Sys...
47.494792
126
0.628633
[ "Apache-2.0" ]
Deckhandfirststar01/AspNetCore
src/Mvc/Mvc.Core/src/MvcOptions.cs
18,238
C#
// // MRNativeGroup.cs // // Author: // Steve Jakab <> // // Copyright (c) 2016 Steve Jakab // // 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...
24.927536
80
0.741279
[ "MIT" ]
portablemagicrealm/portablerealm
Assets/Standard Assets (Mobile)/Scripts/Denizens/MRNativeGroup.cs
1,722
C#
using System; using System.Collections; using System.Collections.Generic; using EnTTSharp.Entities.Helpers; using EnTTSharp.Entities.Pools; namespace EnTTSharp.Entities { public abstract class MultiViewBase<TEntityKey, TEnumerator> : IEntityView<TEntityKey> where TEnumerator : IEnumerator<TEntityKey> ...
27.346278
117
0.523314
[ "MIT" ]
RabbitStewDio/EnTTSharp
src/EnTTSharp/Entities/MultiViewBase.cs
8,452
C#
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; using System.Collections.Generic; using Autofac; using Autofac.Core; using ...
33.9801
141
0.595315
[ "BSD-3-Clause" ]
abdullin/lokad-cqrs
Framework/Lokad.Cqrs.Portable/Build/Engine/CqrsEngineBuilder.cs
6,830
C#
using NUnit.Framework; using NLog; using SmartBulkCopy; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System; using DotNetEnv; namespace SmartBulkCopy.Tests { public class ClusteredColumnstoreTests: BaseTests { [Test] public async Task Clu...
43.169811
113
0.681818
[ "MIT" ]
Splaxi/smartbulkcopy
tests/ClusteredColumnstore.cs
2,288
C#
using System; using System.Collections.Generic; using Kuni.Core.Models; using System.Windows.Input; using MvvmCross.ViewModels; using MvvmCross; using Kuni.Core.Services.Abstract; using System.Threading.Tasks; using Kuni.Core.Models.DB; using Newtonsoft.Json; using Kuni.Core.Providers.LocalDBProvider; using System.Lin...
23.308594
103
0.698676
[ "MIT" ]
nininea2/unicard_app_base
Kuni.Core/ViewModels/iOSSpecific/iCatalogDetailViewModel.cs
5,981
C#
/* * Original author: Brendan MacLean <brendanx .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2012 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
35.447727
155
0.510739
[ "Apache-2.0" ]
vagisha/pwiz
pwiz_tools/Skyline/Controls/Graphs/SummaryBarGraphPaneBase.cs
15,597
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using UnityEditor; using UnityEngine; using Cinemachine.Utility; namespace Cinemachine.Editor { [CustomEditor(typeof(CinemachineGroupComposer))] internal class CinemachineGroupComposerEditor : CinemachineComposerEditor { ...
41.642105
126
0.555865
[ "MIT" ]
Axedas/hex-game
New Unity Project (1)/Library/PackageCache/com.unity.cinemachine@2.3.4/Editor/Editors/CinemachineGroupComposerEditor.cs
3,956
C#
#nullable disable using Brimborium.Json.Internal; namespace Brimborium.Json.Formatters { // multi dimentional array serialize to [[seq], [seq]] public sealed class TwoDimentionalArrayFormatter<T> : IJsonFormatter<T[,]> { public void Serialize(JsonWriter writer, T[,] value, IJsonFormatterResolver ...
39.022222
124
0.475607
[ "MIT" ]
grimmborium/Brimborium.Json
try1/src/Brimborium.Json/Formatters/MultiDimentionalArrayFormatter.cs
10,538
C#
using System; using System.Threading.Tasks; using Microsoft.Azure.Management.Monitor.Fluent.Models; using Microsoft.Extensions.Logging; using Promitor.Core.Scraping.Configuration.Model; using Promitor.Core.Scraping.Configuration.Model.Metrics.ResourceTypes; using Promitor.Core.Telemetry.Interfaces; using Promitor.Inte...
52.451613
229
0.796433
[ "MIT" ]
brandonh-msft/promitor
src/Promitor.Core.Scraping/ResourceTypes/ContainerInstanceScraper.cs
1,628
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UICollar : MonoBehaviour { [SerializeField, Tooltip("Collar")] private Color _color = Color.white; [SerializeField, Tooltip("イメージリスト")] private List<Image> _imageList = new List<Image>(); [SerializeF...
17.930233
52
0.673152
[ "Unlicense" ]
kurokurogamer/MAKINAS
MACHINA/Assets/Scripts/UI/UICollar.cs
801
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace MyLibrary.Web.Pages { public class ErrorModel : PageModel { public string RequestId { get; set;...
25.916667
92
0.696141
[ "MIT" ]
msotiroff/Softuni-learning
C# Web Module/CSharp-Web-Asp.Net.Core-MVC/02.BasicsAndRazorPages/src/MyLibrary/MyLibrary.Web/Pages/Error.cshtml.cs
622
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace IdentityServerWithIdentity.Models.ManageViewModels { public class SetPasswordViewModel { [Required] [StringLength(100, ErrorMessage = "The {0}...
33.2
125
0.683133
[ "BSD-3-Clause", "MIT" ]
MalikWaseemJaved/presentations
.NETCore/ASP.NETCore/v3.1/Security/IdentityServer/IdentityServerWithIdentity/Models/ManageViewModels/SetPasswordViewModel.cs
832
C#
// MIT License // // Copyright (c) 2019 Peter Malik. (MalikP.) // // File: AbstractClientBuilder.cs // Company: MalikP. // // Repository: https://github.com/peterM/IVAO-Library // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (t...
30.816
93
0.646417
[ "MIT" ]
peterM/IVAO-Library
src/MalikP. IVAO Library/MalikP.IVAO.Library/Models/Clients/AbstractClientBuilder.cs
3,854
C#
using Gallery.Data.Models; namespace Gallery.Data.Repositories { public interface ILoggingRepository : IEntityBaseRepository<Error> { } }
16.888889
70
0.743421
[ "MIT" ]
PiotrKantorowicz1/PhotoGalleryApp
Gallery.Data/Repositories/ILoggingRepository.cs
154
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...
28.630952
109
0.612058
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/GetGroupRequest.cs
2,405
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.ContractsLight; using BuildXL.FrontEnd.Script.Evaluator; using BuildXL.FrontEnd.Script.Values; using BuildXL.Utilities; using static Bui...
29.514851
115
0.558873
[ "MIT" ]
AzureMentor/BuildXL
Public/Src/FrontEnd/Script/Ast/Expressions/SwitchExpressionClause.cs
2,981
C#
using System.Reflection; [assembly: AssemblyTitle("Lex.Db for .Net 4.6")]
15.4
48
0.714286
[ "MIT" ]
demigor/lex.db
lib/Lex.Db.Net46/Properties/AssemblyInfo.cs
79
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> //--...
35.580645
151
0.572983
[ "MIT" ]
ScarletKuro/TinyNavigationHelper
src/TinyNavigationHelper.WPF/Properties/Settings.Designer.cs
1,105
C#
using System; namespace Contentstack.Utils.Models { public class TextNode: Node { public bool bold { get; set; } public bool italic { get; set; } public bool underline { get; set; } public bool strikethrough { get; set; } public bool inlineCode { get; set; } publ...
27.9375
47
0.58613
[ "MIT" ]
contentstack/contentstack-utils-dotnet
Contentstack.Utils/Models/TextNode.cs
449
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LeakBlocker.Libraries.Common.Collections; using LeakBlocker.Libraries.Common.Entities.Security; using LeakBlocker.Server.Service.InternalTools.LocalStorages; namespace LeakBlocker.Server.Service.InternalTools.SingletonImplemen...
30.058824
134
0.699609
[ "MIT" ]
imanushin/leak-blocker
Projects/LeakBlocker.Server.Service/InternalTools/SingletonImplementation/LocalStorages/AgentsSetupListStorage.cs
1,024
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// mybank.credit.sceneprod.drawdown.apply /// </summary> public class MybankCreditSceneprodDrawdownApplyRequest : IAlipayRequest<MybankCreditScen...
22.935484
119
0.552391
[ "MIT" ]
lzw316/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/MybankCreditSceneprodDrawdownApplyRequest.cs
2,874
C#
using FujiyBlog.Core.DomainObjects; using System.Collections.Generic; namespace FujiyBlog.Web.Areas.Admin.ViewModels { public class AdminCategoriesList { public AdminCategoriesList() { NewCategory = new Category(); } public IDictionary<Category, int> CategoriesPost...
24.8125
75
0.65995
[ "MIT" ]
felipepessoto/FujiyBlog
src/FujiyBlog.Web/Areas/Admin/ViewModels/AdminCategoriesList.cs
399
C#
// Copyright (c) Jerry Lee. All rights reserved. Licensed under the MIT License. // See LICENSE in the project root for license information. using System.Collections; using System.Collections.Generic; namespace UniSharper { /// <summary> /// Support a simple chain execution for <see cref="IEnumerator"/>. ...
36.116667
123
0.610521
[ "MIT" ]
cosmos53076/UniSharper.Core
Runtime/CoroutineEnumerator.cs
2,169
C#
namespace Blazorise.States { /// <summary> /// Holds the information about the current state of the <see cref="BarDropdown"/> component. /// </summary> public record BarDropdownState { /// <summary> /// Gets or sets the dropdown menu visibilty state. /// </summary> p...
32.121212
97
0.569811
[ "MIT" ]
CPlusPlus17/Blazorise
Source/Blazorise/States/BarDropdownState.cs
1,062
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using FortniteReplayReader; using FortniteReplayReader.Models; using Unreal.Core.Models.Enums; using Unreal.Core.Exceptions; namespace cli { class Program { static ReplayReader reader = new ReplayReader(); pub...
35.447619
126
0.570392
[ "MIT" ]
flyrev/Fortnite-Replay-Analyzer
cli/Program.cs
3,724
C#
namespace microCommerce.Ioc { public interface IDependencyRegistrar { /// <summary> /// Register services and interfaces /// </summary> /// <param name="context">Container builder</param> /// <param name="typeFinder">Type finder</param> /// <param name="config">Co...
29.611111
66
0.585366
[ "MIT" ]
BOBO41/microCommerce
src/Libraries/microCommerce.Ioc/IDependencyRegistrar.cs
533
C#
using System; using System.Collections.Generic; namespace Metaheuristics { public class GA2OptFirst4TSP : IMetaheuristic, ITunableMetaheuristic { protected double timePenalty = 250; protected double popSize = 2; protected double mutProbability = 0.3; public void Start(string fileInput, string fileOutput, ...
24.873016
118
0.695597
[ "MIT" ]
yasserglez/metaheuristics
Problems/TSP/GA2OptFirst4TSP/GA2OptFirst4TSP.cs
1,567
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2017 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
33.101695
121
0.576378
[ "MIT" ]
DFihnn/dotnetrdf
Libraries/dotNetRDF/Nodes/TimeSpanNode.cs
5,859
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mandrill.Requests.Templates { /// <summary> /// Class TemplateTimeSeriesRequest. /// </summary> public class TemplateTimeSeriesRequest : RequestBase { publ...
20.821429
54
0.668954
[ "Apache-2.0" ]
marcusscott/Mandrill-dotnet
src/Mandrill/Requests/Templates/TemplateTimeSeriesRequests.cs
585
C#
using System; using XMPP_API.Classes.Network.XML.Messages.Processor; namespace XMPP_API.Classes.Network.XML.Messages.Features.SASL.Plain { internal class PlainSASLMechanism: AbstractSASLMechanism { //--------------------------------------------------------Attributes:-----------------------------------...
33.196721
144
0.408395
[ "MPL-2.0" ]
LibreHacker/UWPX-Client
XMPP_API/Classes/Network/XML/Messages/Features/SASL/Plain/PlainSASLMechanism.cs
2,027
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameControlScript : MonoBehaviour { public GameObject timeIsUp, restartButton; public GameObject heart1, heart2, heart3, gameOver; public static int lovehealth; // Use this ...
28.455696
57
0.576957
[ "MIT" ]
edosept/ALVGames
Assets/Scripts/Count/GameControlScript.cs
2,250
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.VisualBasic; namespace MyPaint { public partial class Form2 : Form { int bianshu = 0; int count = 0; area...
29.476744
97
0.444181
[ "Apache-2.0" ]
henshin123/-demo
MyPaint/Form2.cs
2,581
C#
using System; using ywcai.core.control; using ywcai.global.config; namespace ywcai.core.veiw { partial class RemoteDesk { private ControlCenter ctrlCenter = new ControlCenter(); private void StartLocalService() { ctrlCenter.StartServer(); ctrlCenter.setPsw(label...
21.352941
63
0.639118
[ "Apache-2.0" ]
ywcai/RemoteDesk_win
src/core/view/MainForm.CoreProccess .cs
365
C#
#region License // Copyright 2010 John Sheehan // // 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 ap...
46.35122
129
0.613134
[ "Apache-2.0" ]
284171004/RestSharp
RestSharp/RestClient.Async.cs
19,006
C#
/**************************************************************************** The MIT License(MIT) Copyright(c) 2016 Bohn Technology Solutions, LLC 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 Softwar...
40.926471
92
0.684872
[ "MIT" ]
bohntech/CottonHarvestFileDownload
CottonHarvestDataTransferApp.EF/DataProvider.cs
2,785
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VendingMachine.Process.CustomException { /// <summary> /// 釣銭切れエラー /// </summary> public class OutOfChangeException : Exception { public override string Message => "釣銭切れです!"; } }
18.529412
48
0.742857
[ "MIT" ]
YoshisakiMiyuki/VendingMachine
VendingMachine/VendingMachine.Process/CustomException/OutOfChangeException.cs
345
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 Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CS...
40.855556
186
0.629589
[ "Apache-2.0" ]
DaiMichael/roslyn
src/Workspaces/CSharp/Portable/Formatting/Rules/WrappingFormattingRule.cs
7,356
C#
namespace Workflow.Messages { public class BeginDataCenterProcessing : WorkflowCommand { public BeginDataCenterProcessing(string workflowId) { WorkflowId = workflowId; } } }
20.181818
60
0.644144
[ "MIT" ]
ErikMuir/NServiceBusDemo
lift-and-shift/NServiceBusWorkflow/Workflow/Messages/Commands/BeginDataCenterProcessing.cs
222
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/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace TerraFX.Int...
27.857143
145
0.774359
[ "MIT" ]
JeremyKuhne/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d12/D3D12_META_COMMAND_DESC.cs
587
C#
using IbanLib.Countries; using NUnit.Framework; namespace IbanLib.Splitters.Test { [TestFixture] public abstract class ASplitterTest { protected ICountry GetCountryFromIBan(string iban) { return Getter.GetCountry(iban.Substring(0, 2)); } } }
21.071429
59
0.657627
[ "MIT" ]
epreviati/IbanLib
IbanLib.Splitters.Test/ASplitterTest.cs
297
C#
namespace GameCreator.Inventory { using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using GameCreator.Core; using GameCreator.Characters; using GameCreator.Variables; [AddComponentMenu("")] public class ActionInstantiateSkin : IAction { ...
30.787879
101
0.58563
[ "MIT" ]
Signal-K/Unity-Demo
Assets/Plugins/GameCreator/Inventory/Mono/Actions/ActionInstantiateSkin.cs
2,034
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Web; using DataTablesNetSample.DataTables; using DataTablesNetSample.Helper; using Ionic.Zip; using Newtonsoft.Json; namespace DataTablesNetSample...
42.603774
165
0.55775
[ "MIT" ]
steven-r/AspNetDatatablesSample
DataTablesNetSample/DataTablesNetSample/DataProviders/DemoDataProvider.cs
11,292
C#
using System; using ShoppingSpree.Core; namespace ShoppingSpree { public class StartUp { static void Main(string[] args) { try { Engine engine = new Engine(); engine.Run(); } catch (Exception e) { ...
17.565217
45
0.418317
[ "MIT" ]
tonchevaAleksandra/C-Sharp-OOP
Encapsulation/ShoppingSpree/StartUp.cs
406
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace ChilliSource.Cloud.Web.MVC { /// <summary> /// Represents support for creating modal window. /// </summary> public static class ModalHelper { ...
53.607477
277
0.588389
[ "MIT" ]
BlueChilli/ChilliSource.Cloud.Web.MVC
src/ChilliSource.Cloud.Web.MVC/Extensions/Helpers/Modal.cs
5,739
C#
using System.Collections.Generic; using NitroSharp.Content; using NitroSharp.Graphics; using NitroSharp.NsScript.VM; using Veldrid; namespace NitroSharp.Saving { internal sealed class GameSavingContext { private readonly List<Texture> _textures = new(); public GameSavingContext(World world) ...
27.2
71
0.633272
[ "MIT" ]
CommitteeOfZero/nitrosharp
src/NitroSharp/Saving/Context.cs
1,090
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GrapeCity.DataVisualization.Chart.TestSite { public class Test { public Test() { this.Id = 0; this.Name = ""; this.Path = ""; this.Content ...
22.203704
52
0.442035
[ "MIT" ]
robin-han/react-netcore-testsite
Models/Test.cs
1,201
C#
namespace RecepiesProject.Data.Common { using System; using System.Threading.Tasks; public interface IDbQueryRunner : IDisposable { Task RunQueryAsync(string query, params object[] parameters); } }
20.727273
69
0.701754
[ "Apache-2.0" ]
AKermanov/recipes-project
src/Data/RecepiesProject.Data.Common/IDbQueryRunner.cs
230
C#
using System; using System.Collections.Generic; using System.Text; using Telerik.DataSource; namespace gRPCsample.Shared { public class DataEnvelope<T> { /// <summary> /// Use this when there is data grouping /// </summary> public List<AggregateFunctionsGroup> GroupedData { ge...
25.888889
107
0.60372
[ "MIT" ]
EdCharbeneau/blazor-ui
common/grpc-example/datasource-request-result/gRPCsample/Shared/JSON/DataEnvelope.cs
701
C#
// Copyright (c) Just Eat, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System.Net.Http; namespace JustEat.HttpClientInterception.Matching { /// <summary> /// Represents a class that tests for matches for HTTP...
40.26087
122
0.669546
[ "Apache-2.0" ]
NuKeeperBot/httpclient-interception
src/HttpClientInterception/Matching/RequestMatcher.cs
926
C#
using Xunit; namespace NStandard.UnitValues.Test { public class StorageUnitTests { [Fact] public void Test1() { var a = StorageValue.Parse(".5 MB"); var b = new StorageValue(512, "KB"); Assert.Equal(1, (a + b).GetValue("MB")); Assert.Equ...
26.234043
85
0.472019
[ "MIT" ]
zmjack/NStd
Tests/NStandard.Test/UnitValues/StorageUnitTests.cs
1,235
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.IO; namespace WindowsFormsApplication_GetTemperature { class GetTemMethod { public string GetTemMethodtemp(string city) { string sURL,s...
30.625
106
0.570748
[ "MIT" ]
ricky10116/Csharp_WebService_Get_Temperature
WindowsFormsApplication_GetTemperature/WindowsFormsApplication_GetTemperature/GetTemMethod.cs
1,472
C#
using Microsoft.Xna.Framework; using SoulsFormats; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DSAnimStudio { public class NewMesh : IDisposable { public List<FlverSubmeshRenderer> Submeshes = new List<FlverSubmeshRender...
32.167568
173
0.507646
[ "MIT" ]
Meowmaritus/DSAnimStudio
DSAnimStudio/NewMesh.cs
5,953
C#
using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using JuvoLogger; using System.Reactive.Subjects; namespace Rtsp { using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Globalization; using System.IO; usi...
38.235
131
0.452596
[ "MIT" ]
Acidburn0zzz/JuvoPlayer
thirdparty/RTSP/RTSPListener.cs
22,345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace LinqToDB.Linq.Builder { using LinqToDB.Expressions; using SqlQuery; partial class TableBuilder { static IBuildContext BuildCteContext(ExpressionBuilder builder, BuildInfo buildInfo) { ...
30.113074
127
0.650199
[ "MIT" ]
AndreyAndryushinPSB/linq2db
Source/LinqToDB/Linq/Builder/TableBuilder.CteTableContext.cs
8,242
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace workspacer { /// <summary> /// IWorkspace provides a common interface for workspace-related operations. /// workspaces logically contain a set of windows, and allow callers to inter...
31.419753
109
0.564047
[ "MIT" ]
dalyIsaac/workspacer
src/workspacer.Shared/Workspace/IWorkspace.cs
5,090
C#
// ReSharper disable UnusedAutoPropertyAccessor.Global namespace AlfaBot.Host.Model { /// <summary> /// DTO object for User controller /// </summary> public class UserOutDto { /// <summary> /// ChatId for User /// </summary> public long ChatId { get; set; } ...
26.061224
54
0.483164
[ "MIT" ]
egorsh0/alfa-findit-telegram
src/AlfaBot.Host/Model/UserOutDto.cs
1,277
C#
using System.Collections.Generic; using System.IO; using System.Linq; using CSharpFunctionalExtensions; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using NBitcoin; using Stratis.Bitcoin.Features.Wallet; using Stratis.Bitcoin.Features.Wallet.Controllers; using Stratis.Bitcoin.Feature...
55.660714
276
0.648219
[ "MIT" ]
AYCHPay/AYCHPayGenesisFullnode
src/Stratis.Bitcoin.IntegrationTests/Wallet/WalletTests.cs
24,938
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Win32; namespace BPUtil { /// <summary> /// Provides utility methods for accessing the Windows Registry. /// </summary> public static class RegistryUtil { /// <summary> /// Set ...
33.38484
133
0.659244
[ "Unlicense" ]
bp2008/BPUtil
BPUtil/RegistryUtil.cs
11,453
C#
using Stepometer.Page; using System; using System.Collections.Generic; using Stepometer.Controls; using Xamarin.Forms; namespace Stepometer { public partial class AppShell : Shell { public Dictionary<string, Type> Routes { get; private set; } = new Dictionary<string, Type>(); public AppShell(...
28.323529
102
0.597092
[ "MIT" ]
BlockiyDmitriy/Stepometer.Client
Stepometr/Stepometr/Stepometr/AppShell.xaml.cs
965
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Orang.CommandLine { internal abstract class CommonListCommandOptions : AbstractCommandOptions { internal CommonListCommandOptions() ...
28.642857
160
0.700748
[ "Apache-2.0" ]
atifaziz/Orang
src/CommandLine/CommandOptions/CommonListCommandOptions.cs
403
C#