content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
/* * Copyright 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...
35.617021
161
0.703704
[ "Apache-2.0" ]
amazon-archives/aws-sdk-xamarin
AWS.XamarinSDK/AWSSDK_Android/Amazon.S3/Model/Internal/MarshallTransformations/GetBucketLoggingRequestMarshaller.cs
1,674
C#
using UnityEngine; using DanielOaks.RS; public class RSManagerVerticalSlice : RSManager { public string MapName = "test"; public override void InitFacts() { this.Facts.Set("map", this.MapName); } }
18.333333
47
0.686364
[ "CC0-1.0" ]
DanielOaks/UnityResponseSystem
examples/RSManagerVerticalSlice.cs
220
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; namespace ClProductImport { public class DataBaseCommand { //建立数据库连接 public static SqlConnection GetSqlconnection() { ...
50.266026
186
0.458968
[ "MIT" ]
AlbertAY/ProductImport
src/MeiDiImport/DataBaseCommand.cs
15,963
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.AI.TextAnalytics.Models; namespace Azure.AI.TextAnalytics { /// <summary> /// A word or phrase identified as a Personally Identifiable Information /// that can be categorized as known type in a giv...
37.442857
124
0.614269
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/src/PiiEntity.cs
2,623
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Sterling.Core.Exceptions; using Sterling.Core.Serialization; namespace Sterling.Core.Database { /// <summary> /// The sterling database manager /// </summary> internal class SterlingDatabase : ISterlingDataba...
35.644279
158
0.522716
[ "MIT" ]
JeremyLikness/sterling-net-core
sterling-core/Database/SterlingDatabase.cs
14,331
C#
namespace SunLine.Community.Entities.Search { public class SearchResult { public int Page { get; set; } public int AmountOnPage { get; set; } public int AllResults { get; set; } } }
21.9
45
0.607306
[ "Apache-2.0" ]
mczachurski/community
SunLine.Community.Entities/Search/SearchResult.cs
221
C#
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace KachnaOnline.Data.Entities.BoardGames { [Table("BoardGameCategories")] public class Category { [Key] public int Id { get; set; } ...
27.384615
65
0.664326
[ "MIT" ]
Adda0/kachna-online
KachnaOnline.Data/Entities/BoardGames/Category.cs
712
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using Sdl.FileTypeSupport.Framework.Core.Settings; namespace Sdl.Sdk.FileTypeSupport.Samples.SimpleText.WinUI { /// <s...
31.571429
104
0.576277
[ "MIT" ]
Impertatore/trados-studio-api-samples
FileTypeSupport/Sdl.Sdk.FileTypeSupport.Samples.SimpleText.WinUI/SettingsUIExtended.cs
3,096
C#
namespace Meraki.Api.Data; [DataContract] public enum AccessPolicyType { [EnumMember(Value = "Open")] Open = 1, [EnumMember(Value = "Custom access policy'")] CustomAccessPolicy, [EnumMember(Value = "MAC allow list")] MacAllowList, [EnumMember(Value = "Sticky MAC allow list")] StickyMacAllowList }
17.277778
46
0.723473
[ "MIT" ]
Pituzek/Meraki.Api
Meraki.Api/Data/AccessPolicyType.cs
313
C#
// Decompiled with JetBrains decompiler // Type: STAR.Framework.Utility.EncodingTypes // Assembly: STAR.Framework.Utility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=09c4f98813f6b683 // MVID: C0759794-9AB4-40FB-8B71-6E464E708E5C // Assembly location: C:\Git\Repos\CapitalMarkets\Solutions\packages\STAR.Framework....
29.26087
134
0.683507
[ "MIT" ]
DaveStoneDotNet/React.MegaRunbookCreator
STAR.Originations.MRC.DataAccess/NationstarNugets/Utility/EncodingTypes.cs
675
C#
using System; namespace Veldrid { /// <summary> /// A device resource encapsulating a single shader module. /// See <see cref="ShaderDescription"/>. /// </summary> public abstract class Shader : DeviceResource, IDisposable { internal Shader(ShaderStages stage, string entryPoint) ...
26.731707
73
0.560219
[ "MIT" ]
JoeTwizzle/veldrid
src/Veldrid/Shader.cs
1,098
C#
using System; using System.Collections.Generic; using System.Linq; using HotChocolate.Types; namespace HotChocolate { internal sealed class SchemaTypes { private readonly Dictionary<NameString, INamedType> _types; private readonly Dictionary<NameString, List<ObjectType>> _possibleTypes; ...
30.814815
96
0.519952
[ "MIT" ]
Alxandr/hotchocolate
src/HotChocolate/Core/src/Types/SchemaTypes.cs
4,160
C#
using System.Collections.Generic; using FlixOne.BookStore.WebClient.Models; using RestSharp; namespace FlixOne.BookStore.WebClient.Client { public class RestSharpWebClient { private readonly RestClient _client = new RestClient("http://localhost:10065/api/"); public List<Product> GetProducts()...
28.888889
92
0.667308
[ "MIT" ]
PacktPublishing/Building-RESTful-Web-Services-with-DOTNET-Core
Chapter10/FlixOne.BookStore.WebClient/FlixOne.BookStore.WebClient/Client/RestSharpWebClient.cs
522
C#
#region LICENSE /* Sora - A Modular Bancho written in C# Copyright (C) 2019 Robin A. P. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License...
31.5
79
0.714286
[ "MIT" ]
Tiller431/yes
Sora/Sora/Events/BanchoEvents/Multiplayer/Match/OnBanchoMatchLoadCompleteEvent.cs
1,260
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Cotorra.General.Core; using Cotorra.Schema; namespace Cotorra.WebAPI.Controllers { /// <summary> /// Cotorria Bot Service - Consultas en lenguaje natural /// </summary> [Route("api/[controller]")] [ApiController] public class ...
25.892857
107
0.69931
[ "MIT" ]
CotorraProject/Cotorra
Cotorra.WebAPI/Controllers/Action/ActionController.cs
727
C#
using System; using System.Net; namespace Albatross.WebClient{ public class ClientException : Exception { public ErrorMessage ErrorMessage { get; } public ClientException(HttpStatusCode statusCode, string msg) : this(new ErrorMessage(statusCode, msg)) { } public ClientException(ErrorMessage err):base($"{...
25.5625
107
0.733496
[ "MIT" ]
RushuiGuan/framework
src/Albatross.WebClient/ClientException.cs
411
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.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Xunit; namespace Microsoft.EntityFr...
34.605839
111
0.556212
[ "Apache-2.0" ]
belav/efcore
test/EFCore.InMemory.FunctionalTests/IntegerGeneratorEndToEndInMemoryTest.cs
4,741
C#
/* * Copyright 2020 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 "licens...
36.090909
140
0.657116
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElasticBeanstalk/Generated/Model/Internal/MarshallTransformations/TooManyEnvironmentsExceptionUnmarshaller.cs
3,176
C#
namespace Tethos.Tests.Common { public class SystemUnderTest { public SystemUnderTest(IMockable mockable) => this.Mockable = mockable; public IMockable Mockable { get; } public int Exercise() => this.Mockable.Get(); } }
21.583333
79
0.648649
[ "MIT" ]
iamdmitrij/Tethos
test/Tethos.Tests.Common/SystemUnderTest.cs
261
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.855422
153
0.583899
[ "MIT" ]
jiaomy2016/MSGraph-SDK-Code-Generator
test/Typewriter.Test/TestDataCSharp/com/Microsoft/Graph/Requests/CallReferenceRequest.cs
3,391
C#
using System; namespace XNetEx.Text { /// <summary> /// 为字符串解析对象 <see cref="IStringParser{T}"/> 提供抽象基类。 /// </summary> /// <typeparam name="T">要从字符串解析为对象的类型。</typeparam> public abstract class StringParser<T> : IStringParser, IStringParser<T> where T : notnull { /// <summary> //...
41.829268
94
0.559767
[ "MIT" ]
x-stars/DotNetExtensionLibrary
XNetEx.Runtime.ObjectText/Text/StringParser.cs
8,142
C#
using System; using System.Collections.Generic; using System.Linq; using Android.App; using Android.Graphics; using Android.Views; using Android.Widget; using SalesApp.Core.BL; namespace SalesApp.Droid.Adapters { public class MessageListAdapter : BaseAdapter<NotificationListItem> { Activity context; ...
37.07177
171
0.533686
[ "Apache-2.0" ]
mkopadev/salesapp
SalesApp.Droid/Adapters/BroadcastMessageListAdapter.cs
7,748
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System.ComponentModel.Composition; using Sce.Atf; using Sce.Atf.Applications; using Sce.Atf.Dom; namespace DomTreeEditorSample { /// <summary> /// Component that populates the palette with the basic UI types</summa...
38.25
96
0.612299
[ "Apache-2.0" ]
gamebytes/ATF
Samples/DomTreeEditor/PaletteClient.cs
3,282
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> /// OPU_R25 (MessageMap) - /// </summary...
32.642857
105
0.526258
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.HL7Schema/Generated/V26/Messages/Maps/OPU_R25Map.cs
914
C#
using System; using System.Runtime.InteropServices; using System.Threading; namespace RemoteAgent.Service.Utility { public class NativeMethods { [DllImport("user32.dll")] public static extern void LockWorkStation(); [DllImport("user32.dll", EntryPoint = "GetDesktopWindow")] private static extern IntPtr Get...
29.338028
104
0.733077
[ "Apache-2.0" ]
taori/PCRemoteController
src/RemoteAgent.Service/RemoteAgent.Service/Utility/NativeMethods.cs
2,085
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.135417
207
0.636863
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.ElasticBeanstalk/Model/UpdateApplicationRequest.cs
3,277
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Diagnostics; using SR = StarkPlatform.Reflection.Reso...
45.762178
203
0.615553
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Reflection.Metadata/Metadata/Ecma335/SignatureDecoder.cs
15,971
C#
using UnityEngine; using UnityEngine.UI; namespace NomaiVR.Helpers { public static class MenuHelper { public static void AddPauseMenuAction(this PauseMenuManager pauseMenu, string name, int order, SubmitAction.SubmitActionEvent onSubmit) { var pauseItems = pauseMenu._pauseMenu.tran...
43.153846
143
0.69697
[ "MIT" ]
12090113/nomai-vr
NomaiVR/Helpers/MenuHelper.cs
1,124
C#
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: developers@squareup.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collec...
25.368421
122
0.582573
[ "Apache-2.0" ]
NimmoJustin/connect-csharp-sdk
src/Square.Connect.Test/Model/ListCustomersResponseTests.cs
2,410
C#
using System; using HtmlAgilityPack; namespace RohlikAPI.Model { public class Product { public string Name { get; set; } public double Price { get; set; } public double PricePerUnit { get; set; } public string Unit { get; set; } public bool IsDiscounted { get; set; } ...
29.842105
54
0.603175
[ "MIT" ]
notdev/RohlikAPI
RohlikAPI/Model/Product.cs
569
C#
/* * Copyright 2017 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" ...
42.934783
120
0.622025
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/test/Services/S3/UnitTests/Custom/SignatureVersionTests.cs
3,950
C#
using Checkout.ApiServices.Cards.ResponseModels; using Checkout.ApiServices.Charges.RequestModels; using Checkout.ApiServices.SharedModels; using System; using System.Collections.Generic; using Checkout.ApiServices.RecurringPayments.RequestModels; using Newtonsoft.Json; namespace Checkout.ApiServices.Charges.ResponseM...
38.142857
75
0.66367
[ "MIT" ]
ioan-ghisoi-cko/checkout-net-library
Checkout.ApiClient.NetStandard/ApiServices/Charges/ResponseModels/Charge.cs
1,335
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.open.mini.data.visit.query /// </summary> public class AlipayOpenMiniDataVisitQueryRequest : IAlipayRequest<AlipayOpenMiniDataVisitQueryResponse> { ...
22.556452
107
0.54487
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/AlipayOpenMiniDataVisitQueryRequest.cs
2,821
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
46.651786
203
0.655311
[ "MIT" ]
Andrean/azure-powershell
src/StackAdmin/Network/Commands.Network/VirtualNetworkGateway/AddAzureVpnClientRevokedCertificateCommand.cs
5,116
C#
using MQTTProcessor; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ProcessMQTT { class Program { static void Main(string[] args) { MQTTProcessor.MQTTManager m2m = new MQTTProcesso...
26.428571
119
0.641892
[ "MIT" ]
MakerDen/IoT-Dashboard
ProcessMQTT/Program.cs
742
C#
using Microsoft.Win32.SafeHandles; using Spfx.Utilities.Runtime; using System; using System.Runtime.InteropServices; using System.Threading; namespace Spfx.Utilities { internal static class SafeHandleUtilities { private class ZeroSafeHandle : NoDisposeSafeHandle { publi...
29.271429
99
0.597365
[ "MIT" ]
fbrosseau/SimpleProcessFramework
SimpleProcessFramework/Utilities/SafeHandleUtilities.cs
2,051
C#
using System; using System.Collections.Generic; using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Cloudsdale_Metro.Common { /// <summary> /// Wrapper for <see cref="RichTextBlock"/> that creates as many additional overflow /// columns as needed to fit the available...
45.451087
107
0.600502
[ "MIT" ]
cloudsdaleapp/cloudsdale-metro
Cloudsdale-Metro/Common/RichTextColumns.cs
8,365
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Models { public class Session { #region Variable private static Session session = new Session(); private static List<Aux> Sessiones = new List<Aux>(); #endregion #region Pro...
26.949686
122
0.484247
[ "MIT" ]
knivek91/SignalR-Example
SignalR/Models/Session.cs
4,287
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
31.78441
138
0.731905
[ "MIT" ]
Walicen/TheBestSeriesXamarin
TheBestSeries.Android/Resources/Resource.designer.cs
238,542
C#
using System.Linq; using UnityEngine; // ReSharper disable once CheckNamespace namespace QFX.IFX { public class IFX_SimpleProjectile : MonoBehaviour { public ParticleSystem MovementPS; public Collider SelfCollider; public bool DestroyAfterCollision; public float DestroyAfterCo...
27.35
126
0.564442
[ "MIT" ]
Darkbill/DogAndPig
MiniProject/Assets/98.Asset/Effect/QFX/Imagy VFX/Resources/Scripts/Projectile/IFX_SimpleProjectile.cs
2,190
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace Swagger.Trello.Model { /// <summary> /// /// </summary> [DataContract] public class OrganizationsDesc { /// <summary> /// a string with a...
26.5
68
0.64315
[ "MIT" ]
maglethong/TrelloHabitica
Swagger.Trello/Model/OrganizationsDesc.cs
1,219
C#
/**************************************************************************** * Copyright (c) 2017 ~ 2020.10 liangxie * * https://qframework.cn * https://github.com/liangxiegame/QFramework * https://gitee.com/liangxiegame/QFramework * * Permission is hereby granted, free of charge, to any person obtaining a co...
29.75
97
0.53646
[ "MIT" ]
Fanka0921/QFramework
QFramework/QFramework.Unity.Runtime/Core/Singleton/MonoSingleton.cs
3,891
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.IdentityModel.Tokens.Jwt; using System.Net.Http; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNe...
54.376344
132
0.696856
[ "Apache-2.0" ]
FastSecurity1/fast
src/Microsoft.AspNetCore.Authentication.OpenIdConnect/Events/AuthorizationCodeReceivedContext.cs
5,057
C#
// Copyright (c) 2010-2013 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, modif...
37.59292
184
0.581803
[ "MIT" ]
shoelzer/SharpDX
Source/SharpDX.Direct2D1/WIC/BitmapEncoderOptions.cs
8,496
C#
using Inshapardaz.Domain.Helpers; using Inshapardaz.Domain.Models.Handlers.Library; using Inshapardaz.Domain.Repositories; using Inshapardaz.Domain.Repositories.Library; using Paramore.Darker; using System.Threading; using System.Threading.Tasks; namespace Inshapardaz.Domain.Models.Library { public class GetSerie...
35.785714
151
0.674152
[ "Apache-2.0" ]
inshapardaz/api
src/Inshapardaz.Domain/Ports/Handlers/Library/GetSeriesQuery.cs
2,006
C#
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Versioning; using ParkAPI.Models; using Microsoft.EntityFrameworkCore; using System; using System.Threading.Tasks; namespace ParkAPI.Controllers { [ApiVersion("1.0")] [Route("api/nationalparks")] [...
27.431579
91
0.660015
[ "MIT", "Unlicense" ]
kevinkirkl3y/Parks.Solution
ParkAPI/Controllers/NationalParksController.cs
2,606
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// The sort criteria specifies the device type as the column for /// the sort, w...
30.73913
129
0.721358
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SortByDeviceType.cs
707
C#
/* * Copyright 2012-2021 The Pkcs11Interop Project * * 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...
34.174603
134
0.666976
[ "Apache-2.0" ]
Pkcs11Interop/Pkcs11Interop
src/Pkcs11Interop/LowLevelAPI40/CK_INFO.cs
2,163
C#
using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace FreeSql.Tests.Sqlite { public class SqliteUpdateTest { IUpdate<Topic> update => g.sqlite.Update<Topic>(); [Table(Name = "tb_topic")] class Topic { ...
62.962085
723
0.528039
[ "MIT" ]
1051324354/FreeSql
FreeSql.Tests/FreeSql.Tests/Sqlite/Curd/SqliteUpdateTest.cs
13,285
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> //--...
39.333333
151
0.580038
[ "MIT" ]
lallousx86/WinTools
WEPExplorer/Explorer/Properties/Settings.Designer.cs
1,064
C#
using CefSharp; namespace avaness.BrowserLCD { public class LifespanHandler : ILifeSpanHandler { bool ILifeSpanHandler.OnBeforePopup(IWebBrowser browserControl, IBrowser browser, IFrame frame, string targetUrl, string targetFrameName, WindowOpenDisposition targetDisposition, bool userGesture, IPopupFe...
40.142857
349
0.748517
[ "Unlicense" ]
austinvaness/BrowserLCD
BrowserLCD/LifespanHandler.cs
845
C#
namespace Logiwa.Models { public class CategoryRequestModel { public string Name { get; set; } public CategoryRequestModel Category { get; set; } } }
20.777778
59
0.609626
[ "MIT" ]
bhdryrdm/Logiwa
Logiwa/Models/Request/CategoryRequestModel.cs
189
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
26.225
146
0.7102
[ "MIT" ]
AleronWen/SoRaVAC
SoRaVAC/Views/Dialog/ErrorDialog.xaml.cs
1,055
C#
using System; using System.Security.Principal; namespace FutureState.Security { public class FSIdentity : IIdentity { public string Name { get; } public string AuthenticationType { get; } public bool IsAuthenticated { get; set; } public FSIdentity(string name, Guid userId) ...
22.444444
61
0.59571
[ "Apache-2.0" ]
arisanikolaou/futurestate
src/FutureState.Domain/Security/FSIdentity.cs
608
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Proxoft.Maps.Core; using Proxoft.Maps.Core.Api; using Proxoft.Maps.Core.Api.Maps; namespace Sample.Maps.Pages { public sealed partial class TwoMaps : IDisposable ...
28.043956
89
0.469044
[ "MIT" ]
proxoft/Maps
Source/Samples/Sample.Maps/Pages/TwoMaps.razor.cs
2,554
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Azure.Messaging.EventHubs; namespace NLog.Extensions.AzureStorage { internal interface IEventHubService { string EventHubName { get; } void Connect(string connectionString, string eventHubName, string...
35.0625
157
0.771836
[ "MIT" ]
CptButtercup/NLog.Extensions.AzureStorage
src/NLog.Extensions.AzureEventHub/IEventHubService.cs
563
C#
using Microsoft.Extensions.Caching.Memory; using Net6WebApiTemplate.Application.Common.Interfaces; namespace Net6WebApiTemplate.Infrastructure.Cache.InMemory { public class CacheProvider : ICacheProvider { private readonly IMemoryCache _memoryCache; public CacheProvider(IMemoryCache memoryCac...
27.621622
101
0.629159
[ "MIT" ]
marlonajgayle/Net6WebApiTemplate
src/Content/src/Net6WebApiTemplate.Infrastructure/Cache/InMemory/CacheProvider.cs
1,024
C#
/* cplib - Coding and Parsing Library * Copyright © 2009 Craig Oberg. All rights reserved. * * This work is licensed under the terms of the MIT license. * For a copy, see <https://opensource.org/licenses/MIT>. */ using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Te...
30.163934
127
0.55163
[ "MIT" ]
cobergmd/cplib
cprc/main.cs
1,843
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ABCForTravelers.EN { public class ReviewsEN { public int ID { get; set; } public UserEN User { get; set; } public BusinessEN Business { get; set; } public decimal Rating { get; set; ...
24.526316
48
0.620172
[ "MIT" ]
irahulramachandran/abcfortravelers
Api-Admin/ABCForTravelers.EN/ReviewsEN.cs
468
C#
using Extreme.Net; using RuriLib.LS; using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Windows.Media; names...
38.121488
193
0.5182
[ "MIT" ]
IceyTroll/openbullet
RuriLib/Blocks/BlockFunction.cs
46,129
C#
using Grpc.Core; using ProtoBuf.Grpc.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Runtime.CompilerServices; using System.Threading; namespace ProtoBuf.Grpc.Internal { internal st...
53.074184
220
0.529129
[ "Apache-2.0" ]
Euan-McVie/protobuf-net.Grpc
src/protobuf-net.Grpc/Internal/ProxyEmitter.cs
17,888
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...
36.396694
138
0.586966
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/FMS/Generated/Model/Internal/MarshallTransformations/TagResourceRequestMarshaller.cs
4,404
C#
using System.Web; using System.Web.Mvc; namespace DailySoccerBackoffice { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.571429
80
0.667883
[ "MIT" ]
teerachail/xdailysoccer
src/DailySoccerSolution/DailySoccerBackoffice/App_Start/FilterConfig.cs
276
C#
using Microsoft.VisualStudio.Shell; using System; using System.Runtime.InteropServices; using System.Threading; using Task = System.Threading.Tasks.Task; namespace RurcemleqiwaicherHereleewucawhallwur { /// <summary> /// This is the class that implements the package exposed by this assembly. /// </summa...
50.517857
176
0.714033
[ "MIT" ]
jianyuyanyu/lindexi_gd
RurcemleqiwaicherHereleewucawhallwur/RurcemleqiwaicherHereleewucawhallwur/RurcemleqiwaicherHereleewucawhallwurPackage.cs
2,831
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Diagnostics; using System.IO; using System.Linq; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.TestWindow.Extensibility; using tSQLtTestAdapter.Helpers; ...
35.469466
157
0.586893
[ "MIT" ]
GoEddie/tSQLt-TestAdapter
XmlTestAdapter/tSQLtTestContainerDiscoverer.cs
9,297
C#
using Microsoft.Extensions.Logging; using System.Text.RegularExpressions; using CryptoGramBot.Helpers; namespace CryptoGramBot.Configuration { public class BittrexConfig : IConfig { private readonly ILogger<BittrexConfig> _log; public decimal? BagNotification { get; set; } public bool...
35.258621
157
0.558435
[ "MIT" ]
gambcl/CryptoGramBot
CryptoGramBot/Configuration/BittrexConfig.cs
2,047
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...
70.919643
304
0.704897
[ "MIT" ]
Agazoth/azure-powershell
src/ConfidentialLedger/generated/api/Models/Api20210513Preview/ConfidentialLedger.json.cs
7,832
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. namespace Masa.Contrib.ReadWriteSpliting.Cqrs.Commands; public record Command : ICommand { private Guid _eventId; private DateTime _creationTime; [JsonIgnore] ...
27.5
95
0.715152
[ "MIT" ]
Sky-nt/MASA.Contrib
src/ReadWriteSpliting/Cqrs/Masa.Contrib.ReadWriteSpliting.Cqrs/Commands/Command.cs
825
C#
// // Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Amazon Software License (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/asl/ // // or in the "license" file acco...
34.727273
114
0.662304
[ "MIT" ]
ciaranodonnell/KinesisDotNet
Code/Amazon/ClientLibrary/inputs/ShutdownInput.cs
1,146
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
30.289474
113
0.64205
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/CloudGuard/Inputs/DetectorRecipeEffectiveDetectorRuleDetailsConfigurationValueGetArgs.cs
1,151
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...
71.835655
459
0.673349
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/cmdlets/GetAzMigrateReplicationJob_Get.cs
25,431
C#
using System.Collections.Generic; using System.Linq; using CarDealer.Models.EntityModels; using CarDealer.Models.ViewModels.Logs; namespace CarDealer.Services { public class LogsService : Service { public AllLogsPageVm GetAllLogsPageVm(string username, int? page) { var currentPage ...
28.176471
88
0.483299
[ "MIT" ]
ivajlotokiew/CSharp_ASP.NET_MVC
Car_Dealer/CarDealer.Services/LogsService.cs
1,918
C#
using System; namespace FlickrNet { /// <summary> /// Exception thrown when method requires authentication but no authentication token is supplied. /// </summary> [Serializable] public class AuthenticationRequiredException : FlickrException { /// <summary> /// Initializes a new ...
34.85
129
0.629125
[ "Unlicense" ]
jjxtra/FlickrDownloader
FlickrNet/AuthenticationRequiredException.cs
1,394
C#
using ChocolArm64.Memory; using Ryujinx.Audio; using Ryujinx.HLE.Logging; using Ryujinx.HLE.OsHle.Handles; using Ryujinx.HLE.OsHle.Ipc; using System; using System.Collections.Generic; namespace Ryujinx.HLE.OsHle.Services.Aud { class IAudioOut : IpcService, IDisposable { private Dictionary<int, ServiceP...
28.557576
95
0.561757
[ "Unlicense" ]
DatBoiJay3/Ryujinx
Ryujinx.HLE/OsHle/Services/Aud/IAudioOut.cs
4,712
C#
namespace DEVBG.Data.Seeding { using System; using System.Linq; using System.Threading.Tasks; using DEVBG.Data.Models; internal class SettingsSeeder : ISeeder { public async Task SeedAsync(ApplicationDbContext dbContext, IServiceProvider serviceProvider) { if (dbCo...
23.318182
101
0.594542
[ "MIT" ]
PhilipYordanov/useful-net-libraries
src/04.ASP.NET Core Template/Data/DEVBG.Data/Seeding/SettingsSeeder.cs
515
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
35.391892
151
0.55021
[ "Apache-2.0" ]
ntikhonov/ignite
modules/platforms/dotnet/examples/Apache.Ignite.Examples/ThinClient/ThinClientQueryExample.cs
5,238
C#
//// Licensed to the .NET Foundation under one or more agreements. //// The .NET Foundation licenses this file to you under the MIT license. //// See the LICENSE file in the project root for more information. //using System.Collections.Generic; //using System.Linq; //using Xunit; //namespace Collections.Pooled.Tests...
41.676533
168
0.581342
[ "MIT" ]
ipavel83/Collections.Pooled
Collections.Pooled.Tests/PooledDictionary/Dictionary.Generic.Tests.netcoreapp.cs
19,715
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...
32.5
104
0.579744
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Batch/Generated/Model/LaunchTemplateSpecification.cs
3,900
C#
using Microsoft.AspNetCore.Mvc; using Pygma.App.Filters; namespace Pygma.App.Extensions { public static class MvcFiltersExtensions { public static void AddCoreFilters(this MvcOptions options) { options.Filters.Add(new UserFilter()); options.Filters.Add(new ValidateModel...
23.6
66
0.666667
[ "MIT" ]
CodeExcavator/project-pygma
backend/.net core-be/Pygma/Pygma.App/Extensions/MvcFiltersExtensions.cs
356
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. // // Purpose: Point and Figure chart type do not plot series data // point directly as most of the...
34.640091
216
0.632439
[ "MIT" ]
FastReports/winforms-datavisualization
src/shared/ChartTypes/PointAndFigureChart.cs
30,416
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Rulesets.Taiko.Objects; using OpenTK; using Op...
41.349442
147
0.461746
[ "MIT" ]
StefanYohansson/osu
osu.Game.Rulesets.Taiko/UI/TaikoPlayfield.cs
11,125
C#
using System.Collections.Generic; using System.Linq; using SocialGoal.Data; using SocialGoal.Data.Infrastructure; using SocialGoal.Model.Models; using SocialGoal.Data.Repository; using System; namespace SocialGoal.Service { public interface IGroupCommentService { IEnumerable<GroupComment> GetComments...
37.564516
232
0.662301
[ "MIT" ]
26596/Home
source/SocialGoal.Service/GroupCommentService.cs
4,660
C#
using System; using System.Collections.Generic; using Orleans.Runtime; using Orleans.Streams; namespace Orleans.Providers.Streams.Common { /// <summary> /// Cursor into a simple queue cache /// </summary> public class SimpleQueueCacheCursor : IQueueCacheCursor { private readonly IStreamIden...
33.691358
150
0.565042
[ "MIT" ]
Invertironline/orleans
src/OrleansProviders/Streams/Common/SimpleCache/SimpleQueueCacheCursor.cs
5,458
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.NetworkInformation; using System.Text.RegularExpressions; namespace Derungsoft.WolSharp { public class DefaultPhysicalAddressParser : IPhysicalAddressParser { private readonly char[] _suppor...
31.956044
165
0.544704
[ "MIT" ]
Derungsoft/WolSharp
src/Derungsoft.WolSharp/DefaultPhysicalAddressParser.cs
2,910
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанные со сборкой. [assembly: AssemblyTitle("MessageForm")] [asse...
38.540541
99
0.762272
[ "Apache-2.0" ]
MACE4GITHUB/PowerScheme
MessageForm/Properties/AssemblyInfo.cs
2,005
C#
using System; using System.Collections.Generic; using Couchbase.Query; using Couchbase.Search; using Couchbase.Search.Queries.Simple; using Couchbase.Search.Sort; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Xunit; namespace Couchbase.UnitTests.Services.Search { public class SearchParamsTests { ...
32.029268
338
0.506244
[ "Apache-2.0" ]
mfeerick/couchbase-net-client
tests/Couchbase.UnitTests/Services/Search/SearchParamsTests.cs
6,568
C#
using Dongbo.OAuth.Core.Models; using Microsoft.Owin.Security.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dongbo.OAuth.Core.Extensions; using System.Security.Claims; using Microsoft.Owin.Security; namespace Dongbo.OAuth.Core....
38.863636
128
0.591423
[ "MIT" ]
gavin-hao/framework_aspnet
src/OAuth.Core/Providers/OAuthProviders/AccessAuthenticationTokenProvider.cs
5,132
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; using System.Threading.Tasks; using System.Windows.Forms; namespace MSCodeTools { public partial class login : Form { priv...
31.022222
218
0.506447
[ "Apache-2.0" ]
andyshao/CodeTools
MSCodeTools/login.cs
3,070
C#
//----------------------------------------------------------------------- // <copyright file="CacheEventHelper.cs" company="Copacetic Software"> // Copyright (c) Copacetic Software. // <author>Philip Pittle</author> // <date>Tuesday, May 13, 2014 4:54:11 PM</date> // Licensed under the Apache License, Version 2....
39.971751
177
0.593074
[ "Apache-2.0" ]
ppittle/pMixins
CopaceticSoftware.CodeGenerator.StarterKit/Infrastructure/Caching/CacheEventHelper.cs
7,077
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GameEngine { public static class Physics { public const float Gravity = -9261.38f; } }
16.692308
48
0.658986
[ "MIT" ]
dethi/troma
src/Game/GameEngine/Physics.cs
219
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Globalization; using System.IO; namespace Nest { //...
26.981949
125
0.691664
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
src/Nest/QueryDsl/Geo/WKT/GeoWKTReader.cs
14,948
C#
using System.Text; using System; using System.Collections; using System.Collections.Generic; namespace Lexico { public interface IBuffer { int CodeUnitSize { get; } int Length { get; } int this[int idx] { get; } IEnumerator<int> GetCodepointEnumerator(); IEnumerator<char>...
27.4
77
0.443504
[ "MIT" ]
hamish-milne/Lexico
Lexico/Buffer.cs
3,425
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using Dromedary.Factories; namespace Dromedary.Acceptance.Test { public partial class DromedaryRouteAcceptanceTest { internal class FakeComponent : IDromedaryComponent ...
34.307692
123
0.579721
[ "Apache-2.0" ]
lillo42/dromedary
test/Dromedary.Acceptance.Test/DromedaryRouteAcceptanceTest.Component.cs
4,014
C#
using BurningKnight.assets.lighting; using BurningKnight.assets.particle.custom; using BurningKnight.entity.component; using Lens.entity; using Lens.util; using Lens.util.camera; using Microsoft.Xna.Framework; namespace BurningKnight.entity.item.use { public class AddTorchUse : ItemUse { private bool isOut; priva...
25.681818
117
0.682301
[ "MIT" ]
Cuber01/BurningKnight
BurningKnight/entity/item/use/AddTorchUse.cs
1,130
C#
// This file is provided under The MIT License as part of Steamworks.NET. // Copyright (c) 2013-2019 Riley Labrecque // Please see the included LICENSE.txt for additional information. // This file is automatically generated. // Changes to this file will be reverted when you update Steamworks.NET #if UNITY_ANDROID || ...
28.836735
160
0.660651
[ "MIT" ]
0lento/Steamworks.NET
Plugins/Steamworks.NET/types/SteamTypes/SteamIPAddress_t.cs
2,826
C#
using System.Text; using DidacticalEnigma.Core.Models.LanguageService; using NUnit.Framework; namespace AutomatedTests { [TestFixture] class KanaPropertiesTests { public static readonly TestCaseData[] HiraganaConversion = { new TestCaseData("ドキドキ", "どきどき"), ...
25.290323
75
0.593112
[ "MIT" ]
DidacticalEnigma/DidacticalEnigma.Core
AutomatedTests.Common/KanaPropertiesTests.cs
814
C#
using System; using System.Collections.Generic; using System.Text; namespace Gandalan.IDAS.WebApi.Data.DTOs.AV { public class AVReserviertItemDTO { public string Variante { get; set; } public int Menge { get; set; } public string Kommission { get; set; } public string Kunde { g...
25.315789
48
0.629938
[ "MIT" ]
Saibamen/idas-client-libs
Gandalan.IDAS.WebApi.Client/DTOs/AV/AVReserviertItemDTO.cs
483
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
29.683333
143
0.606401
[ "MIT" ]
MukeshBisht/Demo
Demo.Web/Startup.cs
1,781
C#
using System; namespace Web.AutoFiles { public class T6_Plan { public T6_Plan() { } public string ID { get; set; } public string YM { get; set; } public string FileName { get; set; } public string FileNameS { get; set; } public string UploadTime { get; set; } ...
58.223684
644
0.40226
[ "Apache-2.0" ]
nnugaoz/HLAQSC
Web/AutoFiles/T6_Plan.cs
4,425
C#
// Copyright © 2015 - Present RealDimensions Software, LLC // // 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 requ...
39.987342
244
0.641975
[ "Apache-2.0" ]
chocolatey/package-validator
src/chocolatey.package.validator/infrastructure.app/services/PackageValidationService.cs
3,162
C#