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
//------------------------------------------------------------------------------ // <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> //--...
34.870968
151
0.587419
[ "MIT" ]
FloTurtle/WindowsNetworkTypeSwitcher
WindowsNetworkTypeSwitcher/Properties/Settings.Designer.cs
1,083
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyExtensions { //Only 2 dimensional (for now) //Also only 2 states public class CellularAutomaton { public const int MaxStates = byte.MaxValue; public enum Borde...
26.485507
125
0.585226
[ "MIT" ]
randomouscrap98/MyExtensions
MyExtensions/CellularAutomaton.cs
3,657
C#
using System; using System.Threading.Tasks; namespace FreeSql { public interface ICache { /// <summary> /// 缓存数据时序列化方法,若无设置则默认使用 Json.net /// </summary> Func<object, string> Serialize { get; set; } /// <summary> /// 获取缓存数据时反序列化方法,若无设置则默认使用 Json.net /// </summary> Func<string, Type, object> Deseriali...
29.321101
98
0.601377
[ "MIT" ]
orm-core-group/FreeSql
FreeSql/Interface/ICache.cs
3,736
C#
using Contoso.Provisioning.Cloud.SyncWeb.ApplicationLogic; using Contoso.Provisioning.Cloud.SyncWeb.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml.Linq; namespace Contoso.Provisioning.Cloud.SyncWeb {...
40.279188
186
0.535476
[ "Apache-2.0" ]
Chipzter/PnP
Solutions/Provisioning.Cloud.Sync/Provisioning.Cloud.SyncWeb/Pages/Default.aspx.cs
7,937
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace SoftUni.WebServer.Data.Migrations { public partial class InitialMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBui...
40.121547
122
0.474663
[ "MIT" ]
zrusev/SoftUni_2016
07. C# Web Basics - May 2018/C# Web Development Basics - 01 July 2018/SoftUni.WebServer.Data/Migrations/20180703151810_InitialMigration.cs
7,264
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace RzaolyScan.Services { public interface IQrScanningService { Task<string> ScanAsync(); } }
16.846154
39
0.726027
[ "MIT" ]
Aliwave/rzasite-laravel
RzaolyScan/RzaolyScan/RzaolyScan/Services/IQrScanningService.cs
221
C#
// Copyright © 2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { /// <summary> /// Values that represent key event types. /// </summary> public enum KeyEventType { /// ...
29.972973
100
0.586114
[ "BSD-3-Clause" ]
364988343/CefSharp.Net40
CefSharp/Enums/KeyEventType.cs
1,110
C#
using System.Xml.Serialization; namespace CarDealer.Dtos.Import { [XmlType("Part")] public class ImportPartDto { [XmlElement("name")] public string Name { get; set; } [XmlElement("price")] public decimal Price { get; set; } [XmlElement("quantity")] public ...
22.384615
43
0.580756
[ "MIT" ]
DanielBankov/SoftUni
C# DB Fundamentals/Databases Advanced - Entity Framework/XML Processing/CarDealer - Skeleton/CarDealer/Dtos/Import/ImportPartDto.cs
584
C#
using UnityEngine; using System.Collections; public class CubeSpeed : Cube { public override void AwakeChild() { // SET CUBE EFFECT IN YOUR AWAKE FUNCTION effect = Cube.CubeEffect_e.SPEED; } public override void setActiveChild(bool active_) { if (active_) { tag ...
18.227273
56
0.558603
[ "MIT" ]
spencewenski/494p3
Assets/Scripts/CubeSpeed.cs
403
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> //----------------------------------------...
31.441176
84
0.48363
[ "MIT" ]
Spurch/ASP-.NET-WebForms
TreeView/TreeView.aspx.designer.cs
1,071
C#
namespace NetworkListMgr { partial class ModifyDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
54.200893
134
0.631085
[ "Apache-2.0" ]
Xusser/NetworkListMgr
NetworkListMgr/NetworkListMgr/ModifyDialog.Designer.cs
12,175
C#
//////////////////////////////////////////////////////////////////////////////// // // MIZUTANI KIRIN // Copyright 2016-2020 MIZUTANI KIRIN All Rights Reserved. // // NOTICE: MIZUTANI KIRIN permits you to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it...
34.389758
119
0.436818
[ "MIT" ]
mizutanikirin/Re.Unity
Assets/KirinUtil/Scripts/Util.cs
49,408
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
38.811881
99
0.613776
[ "MIT" ]
1iveowl/SSDP.UPnP.PCL
src/test/UWP.Test/App.xaml.cs
3,922
C#
// ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerat...
29.578947
81
0.485765
[ "Apache-2.0" ]
DavidAlphaFox/mac-samples
GLFullScreen/GLFullScreen/MainMenu.xib.designer.cs
562
C#
using JsonEnvelopes.Example.Commands; using JsonEnvelopes.Example.Services; using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace JsonEnvelopes.Example.Handlers { public class CreateCharacterHandler : ICommandHandler<Creat...
28.307692
114
0.695652
[ "MIT" ]
DaneVinson/JsonEnvelopes
JsonEnvelopes.Example/Handlers/CreateCharacterHandler.cs
1,106
C#
using CQRSlite.Domain; using CQRSlite.Snapshotting; using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace CQRSlite.Storage { public class AttributeSnapshotStrategy : ISnapshotStrategy { public const string DEFAULT_S...
39.313725
128
0.65187
[ "Apache-2.0" ]
628426/CQRSlite
Framework/CQRSlite.Storage/AttributeSnapshotStrategy.cs
2,007
C#
using Sutro.Core.Settings; namespace Sutro.Core.FillTypes { public class FillTypeFactory { private IPrintProfileFFF settings; public FillTypeFactory(IPrintProfileFFF settings) { this.settings = settings; } public IFillType Bridge() { re...
24.96875
142
0.595119
[ "MIT" ]
SutroMachine/Sutro.Core
Sutro.Core/FillTypes/FillTypeFactory.cs
1,600
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
41.243243
151
0.54076
[ "Apache-2.0" ]
jingle1000/TensorFlow.NET
test/TensorFlowNET.Examples/ImageProcessing/DigitRecognitionNN.cs
7,632
C#
using System.Collections.Generic; namespace Serious.IO.Messages { /// <summary> /// The response from calling https://api.ab.bot/api/cli/list. This is used by the Abbot CLI to /// retrieve info about a skill and start an editing session. /// </summary> public class SkillListResponse { /...
31.923077
99
0.593976
[ "MIT" ]
aseriousbiz/abbot-cli
src/Abbot.Messages/Responses/SkillListResponse.cs
830
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrowserGameEngine.Persistence { public class FileStorage : IBlobStorage { private readonly DirectoryInfo directory; public FileStorage(DirectoryInfo directory) { this...
25.076923
86
0.736196
[ "Apache-2.0" ]
discostu105/bge
src/BrowserGameEngine.Persistence/FileStorage.cs
980
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("UsingCallback")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assem...
28.756757
56
0.698308
[ "MIT" ]
totalintelli/UsingCallback
UsingCallback/Properties/AssemblyInfo.cs
1,505
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZLMediaKit.Common.Dtos.HookResultDto { public interface IHookServerStartedResult : IHookCommonResult { } public class HookServerStartedResult: HookCommonResult, IHookServerStar...
20.294118
84
0.773913
[ "MIT" ]
chengxiaosheng/ZLMediaKit.HttpApi
ZLMediaKit.Common/Dtos/HookResultDto/IHookServerStartedResult.cs
347
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.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.Speech.AudioFormat; using System.Speech.Internal; using System.Speech...
29.59375
127
0.571067
[ "MIT" ]
belav/runtime
src/libraries/System.Speech/src/Recognition/RecognizerInfo.cs
4,735
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...
30.09375
100
0.652648
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/DirectoryService/Generated/Model/VerifyTrustRequest.cs
1,926
C#
// Copyright © 2015 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using ExtCore.Data.EntityFramework; using Microsoft.EntityFrameworkCore; using Platformus.Bareb...
39.295082
177
0.675428
[ "Apache-2.0" ]
TarasKovalenko/Platformus
src/Platformus.Domain.Data.EntityFramework.SqlServer/DataTypeRepository.cs
4,797
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sandbox.Dynamic_Programming { public class Substrings { /// <summary> /// Given an input string and a length num, return all substrings with exactly num dist...
34.285714
167
0.53125
[ "MIT" ]
juanuberti/Sandbox
Sandbox/Dynamic Programming/Substrings.cs
1,442
C#
// This is EBurNiFication - https://github.com/picrap/EBurNiFication - MIT License namespace Eburnification.Symbols.Ebnf { public class RepetitionSymbol : CharCharacterSymbol<RepetitionSymbol> { protected override char Character => '*'; } }
29.111111
83
0.725191
[ "MIT" ]
picrap/EBurNiFication
Eburnification/Symbols/Ebnf/RepetitionSymbol.cs
264
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Controls { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class SemanticZoomViewChanged...
55.102941
212
0.785695
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls/SemanticZoomViewChangedEventArgs.cs
3,747
C#
using Core.Infrastructure.Interfaces.Configuration; using System.Threading; using System.Threading.Tasks; using System.Web.Mvc; using Web.Site.Services.Interfaces; namespace Web.Site.Controllers { public class HomeController : BaseController { private readonly IApiService _apiService; private ...
40.577778
114
0.650602
[ "MIT" ]
sourcewalker/hexago.net
Source/Web/Web.Site/Controllers/HomeController.cs
1,828
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Qmuiteam.Qmui.Widget.PullLayout { // Metadata.xml XPath class reference: path="/api/package[@name='com.qmuiteam.qmui.widget.pullLayout']/class[@name='QMUIPullLoadMoreView']" [global::Android.Runtime.Register ("c...
52.206349
344
0.763454
[ "MIT" ]
daddycoding/XamarinQMUI
XamarinQMUI/QMUI.Droid/Additions/Com.Qmuiteam.Qmui.Widget.PullLayout.QMUIPullLoadMoreView.cs
9,867
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LeftPaddle : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { //Si se presiona W, se movera hacia arriba. if (Input.GetKey(KeyCode.W)) { ...
16.73913
48
0.67013
[ "MIT" ]
Santiagos7/SantiagoBarrera-Partial2-TableTennis
SantiagoBarrera-TableTennis/Assets/Scripts/LeftPaddle.cs
772
C#
using System.Collections.Generic; namespace Pierre.Models { public class Treat { public Treat() { this.Flavors = new HashSet<TreatFlavor>(); } public int TreatId { get; set; } public string TreatName { get; set; } public virtual ApplicationUser User { get; set; } public virtual I...
21.823529
65
0.657682
[ "MIT" ]
Prestwick97/Pierre.Solution
Pierre/Models/Treat.cs
371
C#
/* Copyright (C) 2012-2014 de4dot@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
40.806452
74
0.743083
[ "MIT" ]
Georgeto/dnlib
src/IO/IOExtensions.cs
1,267
C#
/* part of Pyrolite, by Irmen de Jong (irmen@razorvine.net) */ using System; using System.Text.RegularExpressions; // ReSharper disable InconsistentNaming // ReSharper disable UnusedMember.Global namespace Razorvine.Pyro { /// <summary> /// The Pyro URI object. /// </summary> [Serializable] public class PyroURI { ...
20.733333
81
0.652733
[ "MIT" ]
sreekanth370/Pyrolite
dotnet/Razorvine.Pyrolite/Pyrolite/Pyro/PyroURI.cs
1,866
C#
// Copyright (c) Gaurav Aroraa // Licensed under the MIT License. See License.txt in the project root for license information. using System; using NUnit.Framework; namespace TDD_Katas_project.FizzBuzzKata { [TestFixture] [Category("TheFizzBuzzKata")] public class TestFizzBuzz { #region Private...
36.738462
442
0.609296
[ "MIT" ]
airesdiegom66/tdd-master
Src/CSharp/Net Framework/FizzBuzzKata/TestFizzBuzz.cs
2,390
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace Aliyun.SDK.Hosting.Client.Models { /** * 获取视频雪碧图地址 url response */ public class GetVideoPreviewSpriteURLResponse : TeaModel { /// <summary> //...
23.447761
62
0.52387
[ "Apache-2.0" ]
18730298725/alibabacloud-pds-sdk
hosting/csharp/core/Models/GetVideoPreviewSpriteURLResponse.cs
1,589
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Liquid_VCMP_browser { public partial class FirstStartup : Form { protected Dic...
29.897059
124
0.550664
[ "MIT" ]
iFlake/Liquid-VCMP-browser
Liquid VCMP browser/Liquid VCMP browser/FirstStartup.cs
4,068
C#
using Rtp; using System; using NUnit.Framework; namespace TestRtp { [TestFixture] public class RtpMessageTest { [Test] public void ParseTest() { byte[] bytes1 = new byte[] { 0xff, 0xff, 0xff, 0xff, 0xb2, 0xEA, 0x46, 0x5C, 0x06, 0xE7, 0x95, 0xA7, 0x00, 0x01, 0x50, 0x61, 0x00, 0x00, 0...
28.952381
98
0.680921
[ "MIT" ]
OverCube/sipserver
Tests/Rtp/RtpMessageTest.cs
2,434
C#
namespace System.Data.SQLite { public partial class Sqlite3 { /* ** 2007 May 1 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others...
29.5275
84
0.642283
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ehsan2022002/VirastarE
System.Data.SQLite/src/vdbeblob_c.cs
11,811
C#
namespace Forcura.NPPES.Models { public class NPPESIdentifier { public string Identifier { get; set; } public string Code { get; set; } public string State { get; set; } public string Issuer { get; set; } public string Description { get; set; } } }
25.166667
47
0.592715
[ "Apache-2.0" ]
griffengorsuchres/npi-api-net
NPPESAPI.net/Models/NPPESIdentifier.cs
304
C#
using Episememe.Api.Configuration; using Episememe.Api.Json; using Episememe.Api.Utilities; using Episememe.Application; using Episememe.Infrastructure; using Episememe.Infrastructure.Database; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Micros...
28.280488
106
0.586028
[ "BSD-3-Clause" ]
marax27/Episememe
server/Episememe.Api/Startup.cs
2,319
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("Me...
38.081081
84
0.745919
[ "MIT" ]
fotijr/MetroDom
MetroDom.Conductor/Properties/AssemblyInfo.cs
1,412
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ZencoderWrapper { public class JobListingJob { public DateTime? created_at { get; set; } public DateTime? finished_at { get; set; } public DateTime? updated_at { get; set; } public D...
32.043478
79
0.647218
[ "MIT" ]
cdeutsch/ZencoderWrapper
ZencoderWrapper/JobListingJob.cs
739
C#
using GalaSoft.MvvmLight.Command; using Newtonsoft.Json; using Npgsql; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Data; using System.IO; using System.Linq; using System.Net; using System.Runtime.CompilerServices; using System.Text; us...
35.905769
187
0.523218
[ "MIT" ]
Embarcadero/ComparisonResearch
unicode-reader/wpf/UnicodeReader/UnicodeReader/MainWindowViewModel.cs
18,673
C#
using System.Data.Common; using Abp.Zero.EntityFramework; using PlugInDemo.Authorization.Roles; using PlugInDemo.MultiTenancy; using PlugInDemo.Users; namespace PlugInDemo.EntityFramework { public class PlugInDemoDbContext : AbpZeroDbContext<Tenant, Role, User> { //TODO: Define an IDbSet for your Enti...
32.119048
134
0.659007
[ "MIT" ]
Jimmey-Jiang/aspnetboilerplate-samples
PlugInDemo/PlugInDemo.EntityFramework/EntityFramework/PlugInDemoDbContext.cs
1,351
C#
// <auto-generated /> using System; using ConsoleApp7; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace ConsoleApp7.Migrations { [DbContext(typeof(BloggingCo...
33.682493
256
0.472293
[ "MIT" ]
jrbirdmanFA/EFCoreDocsApp-SQLSERVER
ConsoleApp7/Migrations/BloggingContextModelSnapshot.cs
11,353
C#
// *********************************************************************** // Assembly : ACBr.Net.CTe // Author : RFTD // Created : 10-14-2016 // // Last Modified By : RFTD // Last Modified On : 10-14-2016 // *********************************************************************** // <copyrigh...
35.528302
83
0.619225
[ "MIT" ]
ACBrNet/ACBr.Net.CTe
src/ACBr.Net.CTe.Shared/CTeTomador.cs
1,883
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayCommerceFixTaskQueryModel Data Structure. /// </summary> public class AlipayCommerceFixTaskQueryModel : AlipayObject { /// <summary> /// 工单唯一id。 获取途径:创建工单的返回结果id,或者通...
26.176471
63
0.644944
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceFixTaskQueryModel.cs
517
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IAppLifecycleBehavior.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the ...
45.231707
121
0.61553
[ "MIT" ]
snakefoot/kephas
src/Kephas.Core/Application/IAppLifecycleBehavior.cs
3,711
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using tvn.cosine.exceptions; using tvn.cosine.ai.logic.propositional.inference; using tvn.cosine.ai.logic.propositional.kb; using tvn.cosine.ai.logic.propositional.parsing; using tvn.cosine.ai.logic.propositional.parsing.ast; namespace tvn_cosine.ai.test.unit.logic....
29.431034
71
0.543644
[ "Apache-2.0" ]
itoledo/Birdie.Tesseract
tvn-cosine.ai/tvn-cosine.ai.test/unit/logic/propositional/inference/PLFCEntailsTest.cs
1,709
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using MySql.Data.MySqlClient; namespace Swimming_Pool_Management_System { public partial class Pool_...
32.536842
88
0.566807
[ "MIT" ]
smcqueen-95/swimming-pool-mangement-system
Pool Maintenance List.cs
3,093
C#
using System; using System.Collections.Concurrent; using System.Linq; namespace Xapu.Extensions.Selects { internal static class QueryableSelectorBag { private static readonly ConcurrentDictionary<Type, object> Instances = new ConcurrentDictionary<Type, object>(); public static IQueryableSelec...
32.365854
120
0.664657
[ "Apache-2.0" ]
valtermro/Xapu.Extensions.Selects
src/Xapu.Extensions.Selects/Core/Bags/QueryableSelectorBag.cs
1,329
C#
// ----------------------------------------------------------------------- // <copyright file="MockAuthenticationFactory.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Micros...
38.44186
150
0.610405
[ "MIT" ]
cblackuk/Partner-Center-PowerShell
test/PowerShell.Tests/Factories/MockAuthenticationFactory.cs
1,655
C#
namespace ModuleZeroSampleProject.Web.Models.Account { public class LoginFormViewModel { public string ReturnUrl { get; set; } public bool IsMultiTenancyEnabled { get; set; } } }
23.111111
55
0.677885
[ "MIT" ]
FadiAlalloush/questions-answers
src/ModuleZeroSampleProject.Web/Models/Account/LoginFormViewModel.cs
210
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TimeStamp.cs" company="Brandon Seydel"> // N/A // </copyright> // ----------------------------------------------------------------------------------------------------------------...
24.814815
119
0.364179
[ "MIT" ]
Argenteneo/MailChimp.Net
MailChimp.Net/Models/TimeStamp.cs
670
C#
// Copyright (c) 2020 Yann Crumeyrolle. All rights reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. using System; using System.Buffers; using System.Buffers.Binary; using System.Diagnostics; using System.Numerics; using System.Runtime.InteropServices; namespace Js...
42.289063
151
0.49843
[ "MIT" ]
signature-opensource/Jwt
src/JsonWebToken/Cryptography/Pbkdf2.cs
5,415
C#
using Esfa.Recruit.Provider.Web.Configuration.Routing; using Esfa.Recruit.Provider.Web.RouteModel; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; using Esfa.Recruit.Provider.Web.Configuration; using Esfa.Recruit.Provider.Web.Extensions; using Esfa.Recruit.Provider.Web.Orchestrators.Part2; using Esfa.Rec...
39.098039
113
0.713139
[ "MIT" ]
SkillsFundingAgency/das-recru
src/Provider/Provider.Web/Controllers/Part2/ProviderContactDetailsController.cs
1,996
C#
using UnityEngine; namespace DetectionService { public struct DetectionRay { public readonly Ray Ray; public readonly Vector3 StartPoint; public readonly Vector3 Direction; public readonly Vector3 EndPoint; public DetectionRay(Ray ray, Vector3 startPoint, Vector3 endPo...
24.95
93
0.61523
[ "MIT" ]
muveso/Unity-Detection-Sensor
UnitySensorSystem/Assets/DetectionService/Ray.cs
501
C#
using System; using System.Windows.Data; using System.Windows.Markup; namespace FtpClient.Converters { public class ConnectButtonStatusConverter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) { ...
27.8125
129
0.658427
[ "MIT" ]
Norgerman/FtpClient
FtpClient/Converters/ConnectButtonStatusConverter.cs
892
C#
namespace Microsoft.ComponentDetection.Contracts { public interface IDetectorDependencies { ILogger Logger { get; set; } IComponentStreamEnumerableFactory ComponentStreamEnumerableFactory { get; set; } IPathUtilityService PathUtilityService { get; set; } ICommandLineInvocatio...
30
88
0.716667
[ "MIT" ]
ByAgenT/component-detection
src/Microsoft.ComponentDetection.Contracts/IDetectorDependencies.cs
662
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 Microsoft.ML.Runtime; using Microsoft.ML.Runtime.CommandLine; using Microsoft.ML.Runtime.Data; using Microsoft...
47.263993
179
0.564949
[ "MIT" ]
robosek/machinelearning
src/Microsoft.ML.Data/Evaluators/MulticlassClassifierEvaluator.cs
56,575
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.AI.MetricsAdvisor.Models { /// <summary> data source type. </summary> public readonly partial struct DataFeedSourc...
48.913793
137
0.695805
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Generated/Models/DataFeedSourceKind.cs
2,837
C#
// Copyright 2020-present Etherna Sagl // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
37
82
0.72973
[ "Apache-2.0" ]
Etherna/mongodm
src/MongODM.Core/Serialization/Serializers/IReferenceContainerSerializer.cs
816
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerate...
53.535714
132
0.647765
[ "Apache-2.0" ]
Infosys/Intelligent-Bot-Management-
Superbot/Source/DataEntity/resource.cs
2,998
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> //-------------------------------------...
22.91623
135
0.458191
[ "Apache-2.0" ]
corvus-dotnet/Corvus.JsonSchema
Solutions/Corvus.JsonSchema.Benchmarking/202012/FormatDraft202012/ValidationOfIDEMailAddresses/Schema.cs
8,754
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Authentication.J...
34.836364
143
0.599426
[ "Apache-2.0" ]
jtstuedle/netcore-oidc-client
Startup.cs
3,832
C#
using Dominio.Interfaces.Repositorio.Comum; using Dominio.Interfaces.Servicos.Comum; using System.Collections.Generic; using System.Data; namespace Dominio.Servicos.Comum { public class Servico<TEntity> : IServico<TEntity> where TEntity : class { private readonly IRepositorio<TEntity> _repositorio; ...
28.086957
120
0.633127
[ "Apache-2.0" ]
isaiasccruz/AspNetCoreMVCBasicCRUD
DominioCore/Servicos/Comum/Servico.cs
1,294
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; namespa...
30.829787
119
0.642512
[ "MIT" ]
Padawan2612/Consola_Inicial_OFF
miPrimerApp/WebApplication4/WebApplication4/Areas/Identity/Pages/Account/ConfirmEmail.cshtml.cs
1,451
C#
// <copyright file="SignInPage.cs" company="Automate The Planet Ltd."> // Copyright 2019 Automate The Planet Ltd. // 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/licen...
35.184211
85
0.691847
[ "Apache-2.0" ]
FrancielleWN/AutomateThePlanet-Learning-Series
DesignPatternsInAutomatedTesting-Series/AdvancedBehavioursDesignPattern/Pages/SignInPage/SignInPage.cs
1,339
C#
using System.IO; using System.Text; namespace Alex.API.Services { public interface IStorageSystem { #region Json bool TryWriteJson<T>(string key, T value); bool TryReadJson<T>(string key, out T value); bool TryReadJson<T>(string key, out T value, Encoding encoding); ...
24.791667
76
0.618487
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
lvyitian1/Alex
src/Alex.API/Services/Abstractions/IStorageSystem.cs
1,192
C#
using System; namespace Orckestra.Composer.Cart.Parameters.Order { public class GetShipmentNotesParam { /// <summary> /// The scope of the shipment. /// </summary> public string Scope { get; set; } /// <summary> /// The overture identifier of the shipment. ...
21.777778
52
0.561224
[ "MIT" ]
InnaBoitsun/BetterRetailGroceryTest
src/Orckestra.Composer.Cart/Parameters/Order/GetShipmentNotesParam.cs
394
C#
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Text; using Utf8Json.Formatters; namespace Utf8Json.Resolvers { public sealed class BuiltinResolver : IJsonFormatterResolver { public static readonly IJsonFormatterResolver Instan...
50.337838
141
0.588591
[ "MIT" ]
aisinker/AkyuiUnity
Assets/AkyuiUnity/Loader/Libraries/Utf8Json/Resolvers/BuiltinResolver.cs
7,452
C#
using System.Collections.Generic; using System.ComponentModel; using GoogleTestAdapter.Common; // ReSharper disable NotResolvedInText namespace GoogleTestAdapter.ProcessExecution { [TypeConverter(typeof(DebuggerKindConverter))] public enum DebuggerKind { VsTestFramework, Native, ManagedAndNative } publi...
31.702703
94
0.709292
[ "Apache-2.0" ]
csoltenborn/GoogleTestAdapter
GoogleTestAdapter/Core/ProcessExecution/DebuggerKind.cs
1,175
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...
35.618644
161
0.625506
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/DatabaseMigrationService/Generated/Model/DescribeReplicationTaskAssessmentResultsRequest.cs
4,203
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Windows.Forms; namespace TouchKB { class LockableTouchKey : GraphicTouchKey { private Bitmap lockedReleasedBmp_ = null; private Bitmap lockedPressedBmp_ = null; pub...
35.673913
109
0.622182
[ "Unlicense" ]
gcardi/TouchKB
TouchKB/LockableTouchKey.cs
1,643
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Microsoft.Bot.Schema.Tests { [TestClass] public...
35.406114
93
0.553774
[ "MIT" ]
swagatmishra2007/botbuilder-dotnet
tests/Microsoft.Bot.Schema.Tests/ActivityTest.cs
8,110
C#
using System.Threading; using MyAdb.Commands; namespace MyAdb { public class MultiThreadObject { private static MultiThreadObject _instance; private static readonly object _lockFlag = new object(); private readonly ManualResetEvent _event; private int _count; private i...
22.03125
64
0.446099
[ "Apache-2.0" ]
yshinkarev/MyAdb
MultiThreadObject.cs
1,412
C#
using System.ServiceModel; using System.ServiceModel.Channels; namespace ServiceStack.ServiceClient.Web { [ServiceContract(Namespace = "http://services.servicestack.net/", CallbackContract = typeof(IDuplexCallback))] public interface IDuplex { [OperationContract(Action = "*", ReplyAction = ...
31.083333
115
0.691689
[ "BSD-3-Clause" ]
bcuff/ServiceStack
src/ServiceStack.Common/ServiceClient.Web/IDuplex.cs
373
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Tbs.EntityFrameworkCore; using Abp.Authorization; using Abp.BackgroundJobs; using Abp.Notifications; namespace Tbs....
31.164639
117
0.412763
[ "MIT" ]
jiangyimin/Tbs
src/Tbs.EntityFrameworkCore/Migrations/20170721012248_m4.Designer.cs
71,743
C#
using SacredUtils.resources.prp; using System.Windows; using static SacredUtils.SourceFiles.Logger; namespace SacredUtils.resources.pgs { public partial class GamePlaySettingsThree { public GamePlaySettingsThree() { InitializeComponent(); DataContext = new GamePlaySettingsThreeProp...
31.157895
157
0.731419
[ "Apache-2.0" ]
MairwunNx/SacredUtils
SacredUtils/SourceFiles/pgs/GamePlaySettingsThree.xaml.cs
594
C#
// ========================================================================== // Notifo.io // ========================================================================== // Copyright (c) Sebastian Stehle // All rights reserved. Licensed under the MIT license. // ======================================================...
29.058824
78
0.342105
[ "MIT" ]
anhgeeky/notifo
backend/src/Notifo/Areas/Api/Controllers/Web/Dtos/ConnectionMode.cs
496
C#
using System.IO; using Microsoft.AspNetCore.Hosting; namespace EasyParking { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) ...
21.47619
64
0.518847
[ "MIT" ]
olegmusin/EasyParking
EasyParking/EasyParking/Program.cs
453
C#
using System; using System.Data; #if !NETSTANDARD1_3 namespace DotNet.Kit.Dapper { internal sealed class DataTableHandler : SqlMapper.ITypeHandler { public object Parse(Type destinationType, object value) { throw new NotImplementedException(); } public void SetValue...
24.842105
74
0.658898
[ "MIT" ]
Meowv/DotNet.Kit
src/DotNet.Kit/SqlHelper/DataTableHandler.cs
474
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable la...
27.64
99
0.641582
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
module/ASC.Api/ASC.Api.CRM/CRMApiBase.cs
2,073
C#
using System; using System.Runtime.CompilerServices; namespace AutoLot.Services.Logging { public interface IAppLogging<T> { void LogAppError(Exception exception, string message, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", ...
39.416667
64
0.63055
[ "BSD-3-Clause", "MIT" ]
MalikWaseemJaved/presentations
.NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Services/Logging/IAppLogging.cs
1,894
C#
namespace Larva.RaftAlgo { /// <summary> /// Raft settings /// </summary> public class InMemoryRaftSettings : IRaftSettings { /// <summary> /// /// </summary> public int MinElectionTimeoutMilliseconds { get; set; } /// <summary> /// /// </su...
22.606061
63
0.490617
[ "MIT" ]
freshncp/Larva.RaftAlgo
src/Larva.RaftAlgo/InMemoryRaftSettings.cs
746
C#
using System; using System.Diagnostics; using System.IO; using System.Linq; namespace onchange { public class Program { private readonly Settings _settings; private readonly FileSystemWatcher _watcher; static void Main(string[] args) { var program = new Program(args); program.WaitForFinish(); } ...
21.961039
96
0.668244
[ "Unlicense" ]
morkeleb/onchange
onchange/Program.cs
1,693
C#
// <copyright file="DistributedContextDeserializationTest.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // 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 //...
41.810169
217
0.558618
[ "Apache-2.0" ]
FrancisChung/opentelemetry-dotnet
test/OpenTelemetry.Tests/Impl/DistributedContext/Propagation/DistributedContextDeserializationTest.cs
12,336
C#
//----------------------------------------------------------------------- // <copyright file="IDateTimeNowTimeProvider.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </cop...
36
92
0.536111
[ "Apache-2.0" ]
EnterpriseProductsLP/akka.net
src/core/Akka/Actor/Scheduler/IDateTimeNowTimeProvider.cs
722
C#
namespace Everyday.Web.Models { public class TaskCategory { public int TaskId { get; set; } public Task Task { get; set; } public int CategoryId { get; set; } public Category Category { get; set; } } }
22.363636
46
0.581301
[ "MIT" ]
smith-neil/everyday
server/Everyday.Web/Models/TaskCategory.cs
246
C#
using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Cauldron.Anathema { public class AnathemaRampageCardController : CardController { public AnathemaRampageCardController(Ca...
36.430556
187
0.771636
[ "MIT" ]
LNBertolini/CauldronMods
Controller/Villains/Anathema/Cards/AnathemaRampageCardController.cs
2,625
C#
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
42.057971
110
0.649897
[ "MIT" ]
baetz-daniel/Toolkit
Source/Toolkit/SharpDX.Toolkit/Graphics/EffectData.CompilerArguments.cs
2,904
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: monopoly/announce_bankrupt_spec.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; usi...
33.190045
201
0.679755
[ "MIT" ]
SeawolvesAtCali/Monopoly
protos/gen_csharp/Monopoly/Protobuf/AnnounceBankruptSpec.cs
7,335
C#
using System; using System.Collections.Generic; using Web.Models; namespace Web.ViewModels { internal class PlayerConnectedViewModel { public PlayerConnectedViewModel(GameSession game) { this.GameId = game.Id; Code = game.Code; this.Users = new List<UserVie...
25.755556
58
0.56428
[ "MIT" ]
csutorasr-homeworks/softwareachitecture
src/Web/ViewModels/GameViewModel.cs
1,161
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DocStoreApi.BusinessLogic; using NUnit.Framework; namespace DocStoreTests { [TestFixture] public class DocStoreHelperTests { [Test] public void CreateDocStore() ...
24.269231
76
0.664025
[ "MIT" ]
pjsvis/DocStore
DocStoreTests/DocStoreHelperTests.cs
633
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================= ** ** Class: ThreadStateException ** ** Author: Derek Yenzer (dereky) ** ** Purpose: An exception class to indicate that the Thread class...
40.479167
129
0.60525
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/clr/bcl/system/threading/threadstateexception.cs
1,943
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Xml.Serialization { using System; using System.IO; using System.Collections; using System.ComponentModel; using System.Threading; using Syste...
39.811138
216
0.560698
[ "MIT" ]
333fred/runtime
src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationGeneratedCode.cs
16,442
C#
using System; namespace YY.DBTools.Core.Helpers { public sealed class EnumHelper { public static T GetEnumValueByName<T>(string storageTypeByName) where T : struct, Enum { Enum.TryParse(storageTypeByName, true, out T EnumValue); return EnumValue; } } }
22.785714
94
0.623824
[ "MIT" ]
YPermitin/YY.DBTools
Libs/YY.DBTools.Core/Helpers/EnumHelper.cs
321
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; namespace DaisyFx.TestHelpers { public class SourceTestRunner<TSource, T> where TSource : ISource<T> { private readonly IServicePro...
35.147059
115
0.683682
[ "Apache-2.0" ]
DaisyFx/DaisyFx
tests/DaisyFx.TestHelpers/SourceTestRunner.cs
1,197
C#
using CoreWCF.IdentityModel.Tokens; using CoreWCF; using System; using System.Collections.Generic; using System.Text; namespace CoreWCF.IdentityModel.Selectors { internal class SecurityTokenRequirement { const string Namespace = "http://schemas.microsoft.com/ws/2006/05/identitymodel/securitytokenrequi...
35.432749
219
0.588711
[ "MIT" ]
0x53A/CoreWCF
src/CoreWCF.Primitives/src/CoreWCF/IdentityModel/Selectors/SecurityTokenRequirement.cs
6,061
C#