content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Net; using System.Net.Sockets; using Cytar.IO; namespace Cytar.Network { public class TCPSession : NetworkSession { public override bool Available { get { ...
25.905882
80
0.500454
[ "MIT" ]
SardineFish/Cytar
Cytar/Network/TCPSession.cs
2,204
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: AssemblyTit...
38.756757
85
0.730126
[ "MIT" ]
martin1tasev/SecondRepo
TechModule CSharpBasics syntax/02RectangleArea/Properties/AssemblyInfo.cs
1,437
C#
using System; namespace APIView { class Program { static void Main(string[] args) { try { var renderer = new TextRendererAPIV(); Console.WriteLine(renderer.Render(AssemblyAPIV.AssemblyFromFile(args[0]))); } catch ...
20.652174
91
0.473684
[ "MIT" ]
shahabhijeet/azure-sdk-tools
src/dotnet/APIView/APIView/Program.cs
477
C#
// Copyright 2019 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
45.593201
160
0.593399
[ "Apache-2.0" ]
ArulMozhiVaradan/google-cloud-dotnet
apis/Google.Cloud.Dataproc.V1/Google.Cloud.Dataproc.V1/JobControllerClient.cs
80,472
C#
#if !NETSTANDARD1_3 namespace Oliviann.Data { #region Usings using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using Oliviann.Collections.Generic; using Oliviann.Linq; #endregion Usings /// <summary> /// Represents a...
34.508333
113
0.541657
[ "Unlicense" ]
hype8912/Oliviann
source/Oliviann.Common/Data/DataTableExtensions.cs
4,143
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace MICCookBook { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); } } }
17
47
0.660131
[ "MIT" ]
noobody23/MICCookBook
src/MICCookBook/MICCookBook/MICCookBook/MainPage.xaml.cs
308
C#
using PiTung; using PiTung.Components; using System; using UnityEngine; public class OversizeButtons : Mod { public override string Name => "Oversize Buttons"; public override string PackageName => "me.jimmy.GiantButtons"; public override string Author => "Iamsodarncool"; public override Ver...
50.875
223
0.591436
[ "MIT" ]
Iamsodarncool/Oversize-Buttons
OversizeButtonsMod.cs
2,851
C#
using System; using System.Collections.Generic; namespace Backlog.Domain.Models { public class HtmlContent { public Guid HtmlContentId { get; set; } public string Name { get; set; } } }
18.153846
55
0.597458
[ "MIT" ]
QuinntyneBrown/backlog
src/Backlog.Domain/Models/HtmlContent.cs
236
C#
using SanAndreasUnity.Behaviours.World; using UnityEngine; using SanAndreasUnity.UI; namespace SanAndreasUnity.Settings { public class WorldSettings : MonoBehaviour { private static WorldSettings Singleton { get; set; } private float _drawDistanceToApply = 0f; public const string DrawDistanceSerializationNa...
26.622642
88
0.772502
[ "MIT" ]
CyberSys/SanAndreasUnity
Assets/Scripts/Settings/WorldSettings.cs
1,413
C#
using System.Windows; using System.Windows.Controls; using HandyControl.Data; namespace HandyControl.Controls { public class TextBlockAttach { public static readonly DependencyProperty AutoTooltipProperty = DependencyProperty.RegisterAttached( "AutoTooltip", typeof(bool), typeof(TextBlockA...
36.722222
131
0.618255
[ "MIT" ]
AlBannaTechno/HandyControl
src/Shared/HandyControl_Shared/Controls/Attach/TextBlockAttach.cs
1,985
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über folgende // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: AssemblyT...
41.189189
106
0.763123
[ "MIT" ]
Gartenschlaeger/TextureFont
TextureFontTests/Properties/AssemblyInfo.cs
1,540
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. #nullable disable using System; using System.Collections.Generic; using System.Collections.Immutable; using System...
46.178728
218
0.612181
[ "MIT" ]
CyrusNajmabadi/roslyn
src/EditorFeatures/Test/CodeGeneration/CodeGenerationTests.cs
42,117
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using System.Diagnostics; using Microsoft.Xna.Framework.Graphics; using ThridWolrdShooterGame.Managers; using MyExtensions; namespace ThridWolrdShooterGame.Entites.Messages { public clas...
35.68595
290
0.539833
[ "MIT" ]
AlanSosa/Infinite-pew-pew-PC-Version
Infinite pew pew PC Version/Infinite pew pew PC Version/Game/Entites/Messages/BonusClock.cs
4,318
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
30.42029
90
0.586946
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/managedservices/Microsoft.Azure.Management.ManagedServices/src/Generated/Models/ErrorResponse.cs
2,099
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SignalRHubServer { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.Registe...
21.578947
60
0.692683
[ "MIT" ]
xiong-ang/SignalRDemo
SignalRHubServer/Global.asax.cs
412
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using Amazon.SQS; using Amazon.SQS.Model; class Program { static readonly string MessageToSend = new XDocument(new XElement("SomeNativeMessage", new XElement("ThisIsTheMessage", "Hello...
44.603175
240
0.593238
[ "Apache-2.0" ]
Particular/docs.particular.net
samples/sqs/native-integration/Sqs_5/Sender/Program.cs
2,750
C#
using PrintServer2.Properties; using PrintService.Server; using PrintService.UI; using PrintService.Utility; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Windows.Forms; namespace PrintServer2.UI { public class PrintTray { private NotifyIcon notify...
34.324176
132
0.56251
[ "MIT" ]
xiangbohua/PrintServer2
PrintServer2/UI/PrintTray.cs
6,249
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")...
28.193548
135
0.665141
[ "Apache-2.0" ]
xueandfeng/aliyun-openapi-net-sdk
aliyun-net-sdk-cloudapi/CloudAPI/Model/V20160714/SetDomainRequest.cs
2,622
C#
using ChuckyBurguer.BL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ChuckyBurguer.WebAdmin.Controllers { [Authorize] public class ProductosController : Controller { //variable ProductosBL _productosBL; Categor...
26.821918
89
0.547497
[ "MIT" ]
HenryLCR/QuieroPizza
ChuckyBurguer/ChuckyBurguer.WebAdmin/Controllers/ProductosController.cs
3,918
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security; using System.Security.Cryptography; using System.Security.Cryptography.Pkcs; using System.Security.Cryptography.X509Certificates; using Kerberos.NET.Crypto; using Kerberos.NET.Entities; namespace Kerber...
35.619608
166
0.618078
[ "MIT" ]
ericlaw1979/Kerberos.NET
Kerberos.NET/Server/PaDataPkAsReqHandler.cs
9,085
C#
using System; using System.ComponentModel.DataAnnotations; namespace BookShelf.Models { public class BookShelf { public Guid Id { get; set; } [Required] public string Name { get; set; } } }
18.833333
44
0.632743
[ "MIT" ]
rafaelldi/BookShelf
src/BookShelf/Models/BookShelf.cs
226
C#
namespace ExcelDna.Fluent.Command { public interface ICommand { /// <summary> /// 命令所属控件Id, <see cref="WriteCallbackXml">生成 Ribbon Xml</see>时会更新此Id /// </summary> string ControlId { get; } } }
29.125
77
0.587983
[ "MIT" ]
zwq00000/AddinX.Ribbon
src/ExcelDna.RibbonFluent/Fluent/Command/ICommand.cs
261
C#
using Pluto.Domain.Commands.Common; using System; namespace Pluto.Domain.Commands.Order { public class RemoveProductCommand : Command { public Guid ProductId { get; set; } public Guid UserId { get; set; } } }
19.916667
47
0.665272
[ "MIT" ]
spaki/Pluto
Pluto.Domain/Commands/Order/RemoveProductCommand.cs
241
C#
using System; using Xunit; public class Account { //https://gist.github.com/nirlanka/ed10b8cc9806bc192625a33837ba4a3b [Flags] public enum Access { Delete = 1, Publish = 2, Submit = 4, Comment = 8, Modify = 16, Writer = Submit | Modify, Editor = ...
29.517241
129
0.635514
[ "MIT" ]
samjones00/katas
EditorEnums/Program.cs
858
C#
/* * Copyright 2004 - $Date: 2008-11-15 23:58:07 +0100 (za, 15 nov 2008) $ by PeopleWare n.v.. * * 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/license...
34.8
93
0.722496
[ "Apache-2.0" ]
jandockx/ppwcode
dotnet/Kit/Tasks.API_I/I/3.n/3.2.0/src/SolutionItems/SolutionInfo.cs
1,221
C#
using System.Collections.Generic; namespace YNAB.Rest { public class BulkTransactions { public IList<string> TransactionIds { get; set; } public IList<string> DuplicateImportIds { get; set; } } /* { "transaction_ids": [ "string" ], "duplicate_import_ids": [ ...
17.095238
61
0.551532
[ "MIT" ]
jdhawley/YNAB.Rest
YNAB.Rest/BulkTransactions.cs
361
C#
namespace InterReact; public enum GenericTickType { Undefined = 0, OptionVolume = 100, OptionOpenInterest = 101, HistoricalVolatility = 104, AverageOptionVolume = 105, OptionImpliedVolatility = 106, CloseImpliedVolatility = 107, BondAnalytics = 125, IndexFuturePremium = 162, Mis...
24.186047
39
0.670192
[ "Apache-2.0" ]
dshe/InterReact
InterReact/Enums/GenericTickType.cs
1,040
C#
using System; /* 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 law or agreed to in writing, softwar...
30.470588
86
0.683398
[ "Apache-2.0" ]
zhangzihan/nactivity
NActiviti/Sys.Bpm.Engine/Engine/impl/persistence/entity/DeadLetterJobEntityImpl.cs
1,038
C#
using System.Web; using System.ComponentModel.DataAnnotations; using AlloyNoJS.Models.Pages; using EPiServer.Web; using EPiServer.Core; namespace AlloyNoJS.Models.ViewModels { public class ContactBlockModel { [UIHint(UIHint.Image)] public ContentReference Image { get; set; } public stri...
27.15
52
0.672192
[ "Apache-2.0" ]
episerver/AlloyNoJS
AlloyNoJS/Models/ViewModels/ContactBlockModel.cs
543
C#
// <auto-generated /> using System; using MaestroApp.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; ...
33.594444
125
0.460275
[ "MIT" ]
dviltres18/MaestroApp
aspnet-core/src/MaestroApp.EntityFrameworkCore/Migrations/20180927062608_Upgrade_ABP_3.8.3.Designer.cs
42,331
C#
namespace WindowsForms { partial class SimpleElementsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
37.129032
107
0.552853
[ "MIT" ]
Extensis/RAutomation
ext/WindowsForms/WindowsForms/SimpleElementsForm.Designer.cs
3,455
C#
namespace PofyTools.Distribution { using UnityEngine; using System.Collections; /// <summary> /// Distribution based on chance with optional Auto Deck Size /// </summary> public class Chance { private bool _autoDeckSize = true; /// <summary> /// Gets or sets a value ind...
27.508671
116
0.437697
[ "MIT" ]
PofyTeam/PofyTools
Distribution/Chance.cs
4,761
C#
using AmplaData.AmplaData2008; using AmplaData.Modules.Metrics; using NUnit.Framework; namespace AmplaData.Binding.Mapping.Modules { [TestFixture] public class MetricsModuleMappingUnitTests : ModuleMappingTestFixture { public MetricsModuleMappingUnitTests() : base(MetricsViews.Standard...
25.137931
89
0.561043
[ "MIT" ]
Ampla/Ampla-Data
src/AmplaData.Tests/Binding/Mapping/Modules/MetricsModuleMappingUnitTests.cs
1,460
C#
using System; using System.Collections.Generic; using System.Text; namespace DungeonsAndCodeWizards.Entities.Characters.Contracts { public interface IAttackable { void Attack(Character character); } }
18.083333
62
0.769585
[ "MIT" ]
SimeonShterev/2018.01.22-2018.04.22-CSharpFundamentals
2018.02.12-OOPBasics/OfficialExam-SecondTry/DungeonsAndCodeWizards/Entities/Characters/Contracts/IAttackable.cs
219
C#
using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; namespace Mozu.Api.ToolKit.Config { public class AppSetting : IAppSetting { public string AppName { get; private set; } public string ApplicationId { get; private set; } pub...
33.245033
130
0.58247
[ "MIT" ]
LatinWarrior/Mozu.Api.Tookit.Luis
Mozu.Api.ToolKit/Config/AppSetting.cs
5,022
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
35.925926
86
0.723711
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackupCrossregionRestoe/Generated/Models/ResourceHealthStatus.cs
970
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.Threading.Tasks; namespace Microbenchmarks.Tests.TestModels { publ...
23.958333
111
0.678261
[ "Apache-2.0" ]
benaadams/Performance
test/Microbenchmarks.Tests/TestModels/User.cs
577
C#
// <copyright file="UserController.cs" company="None"> // All rights reserved. // </copyright> // <author>Sander Dings</author> using System.Collections.Generic; using Newtonsoft.Json; using UnityEngine; using UnityEngine.UI; /// <summary> /// The user controller. Manages all things that belong to the user. /// ...
29.885714
165
0.592894
[ "MIT" ]
eternalflamez/ChatApplication
ChatApplication/Assets/Scripts/Controllers/UserController.cs
6,278
C#
using System.Collections.Generic; using UnityEngine; /// <summary> /// 参考来源:https://github.com/EllanJiang/StarForce /// </summary> public class DeviceModelConfig : ScriptableObject { [SerializeField] private List<DeviceModel> m_DeviceModels = null; public DeviceModel[] GetDeviceModels () { return...
27.181818
59
0.64437
[ "Apache-2.0" ]
mutouzdl/GF_JustOneLevel
Assets/GF_JustOneLevel/Scripts/Config/DeviceModelConfig.cs
909
C#
//--------------------------------------------------------------------- // Author: Harley Green // // Description: Class to create dynamic types // // Creation Date: 2008/3/8 //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Reflection; ...
35.563636
105
0.575665
[ "Apache-2.0" ]
AnaCr/OrionSDK
Src/SwisPowerShell/DataTypeBuilder.cs
3,912
C#
using System; using Telerik.Core; namespace Telerik.UI.Xaml.Controls.Grid { public abstract class GridElement : Element, IGridNode { public object ContainerType { get; set; } public object Container { get; set; } ...
15.481481
58
0.466507
[ "Apache-2.0" ]
PseudoPlay/UI-For-UWP
Controls/Grid/Grid.UWP/Model/Common/GridElement.cs
420
C#
using ArgsAsRoutes.BL.Entities; using ArgsAsRoutes.Interfaces.ArgLang; namespace ArgsAsRoutes.BL.TokenScanners; public class CollectionOfValidCharsButDifferentStartTokenScanner : TokenScannerBase { private readonly string _validFirstCharacters; private readonly string _validNextCharacters; public Collect...
27.717391
93
0.650196
[ "MIT" ]
stho32/CH023-Library-X-CSharp
Source/ArgsAsRoutes/ArgsAsRoutes.BL/TokenScanners/CollectionOfValidCharsButDifferentStartTokenScanner.cs
1,275
C#
using System; using System.Collections.Generic; using System.Linq; using Melanchall.DryWetMidi.Common; namespace Melanchall.DryWetMidi.Core { /// <summary> /// Provides extension methods for <see cref="TrackChunk"/>. /// </summary> public static class TrackChunkUtilities { #region Methods ...
47.591837
125
0.642796
[ "MIT" ]
EnableIrelandAT/Coimbra
ProjectCoimbra.UWP/Melanchall.DryWetMidi.UWP/Core/Utilities/TrackChunkUtilities.cs
4,666
C#
using System.Collections.Generic; using System.Linq; namespace Canducci.GraphQLQuery.MSTest.Queries.Datas { public class States : List<State> { public States() { var st1 = new State { Id = 1, Name = "SP", Cities = new List<City>() }; ...
22.75
83
0.468864
[ "MIT" ]
fulviocanducci/Canducci.GraphQLQuery
Canducci.GraphQLQuery.MSTest/Queries/Datas/States.cs
822
C#
#region License // Copyright 2004-2010 Castle Project - http://www.castleproject.org/ // // 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/lic...
35.938272
123
0.752662
[ "Apache-2.0" ]
ByteDecoder/Castle.Facilities.NHibernateIntegration
src/Castle.Facilities.NHibernateIntegration.Tests/Issues/Facilities117/PersistentConfigurationBuilderConventionsFixture.cs
2,831
C#
namespace Lykke.Service.FxPriceAdapter.FxGeteRest { public class MarketProfile { public MarketProfileResult Result { get; set; } } }
21.857143
55
0.69281
[ "MIT" ]
LykkeCity/Lykke.Service.FxPriceAdapter
src/Lykke.Service.FxPriceAdapter/FxGeteRest/MarketProfile.cs
155
C#
using MongoDB.Bson.Serialization; using Pso.Domain.Entities; namespace Pso.Infra.Data.NoSqlMongoDb.Mapping { public class LenteMap : MapBase<Lente> { public override void OnBsonClassMap(BsonClassMap<Lente> map) { map.MapMember(x => x.Cyl); map.MapMember(x => x.Eixo); ...
25.833333
68
0.584946
[ "MIT" ]
tmoreirafreitas/PSO.BackEnd
Pso.Infra.Data.NoSqlMongoDb/Mapping/LenteMap.cs
467
C#
using EpicLibrary.Services; using Playnite; using Playnite.SDK; using Playnite.Commands; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Text.RegularExpressions; using System.T...
30.821429
114
0.544226
[ "MIT" ]
JosefNemec/PlayniteExtensions
source/Libraries/EpicLibrary/EpicLibrarySettingsViewModel.cs
2,591
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...
34.827103
201
0.556957
[ "ECL-2.0", "Apache-2.0" ]
aamir-locus/pulumi-aws
sdk/dotnet/ResourceGroups/Group.cs
7,453
C#
using System; namespace Tetrominoes { public class RandomMatchCalculator : IMatchCalculator { readonly Random _random; public RandomMatchCalculator(Random random) => _random = random ?? throw new ArgumentNullException(nameof(random)); public TetrominoPiece NextTetrominoPie...
25.6
80
0.671875
[ "MIT" ]
joncloud/tetrominoes
src/Tetrominoes/RandomMatchCalculator.cs
386
C#
// <auto-generated /> using Abp.Authorization; using Abp.BackgroundJobs; using Abp.Events.Bus.Entities; using Abp.Notifications; using TityoAttendance.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Micros...
31.92133
117
0.445108
[ "MIT" ]
BTityo/TityoAttendance
src/TityoAttendance.EntityFrameworkCore/Migrations/20180201051646_Upgraded_To_Abp_v3.4.0.Designer.cs
39,361
C#
using System; namespace Shapes.Shapes { public sealed class Side { public string Name { get; } public int MinSize { get; set; } public int MaxSize { get; set; } public int Size { get; private set; } public Side(string name, int minSize, int maxSize) { ...
25.352941
102
0.535963
[ "MIT" ]
bramborman/Area42
C#/Homeworks/Shapes/Shapes/Shapes/Side.cs
864
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Text; using System.Threading.Tasks; using FeedReader.Model; using FeedReader.Repository; using Moq; using NUnit.Framework; namespace FeedReader.UnitTests { [TestFixtur...
31.515873
102
0.591539
[ "MIT" ]
joseph-iussa/feed-reader
FeedReader.UnitTests/DataRepositoryTests.cs
3,973
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
29.653846
76
0.653696
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ResourceManagement/ApiManagement/ApiManagementManagement/Generated/SmapiModels/GenerateSsoUrlResponse.cs
1,542
C#
// Copyright (c) 2012-2021 VLINGO LABS. All rights reserved. // // This Source Code Form is subject to the terms of the // Mozilla Public License, v. 2.0. If a copy of the MPL // was not distributed with this file, You can obtain // one at https://mozilla.org/MPL/2.0/. using System; using Vlingo.Xoom.Actors.TestKit; ...
28.871429
121
0.544532
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Luteceo/vlingo-net-actors
src/Vlingo.Xoom.Actors.Tests/SchedulerTest.cs
4,044
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace GDSHelpers.TestSite { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] ar...
26.3
70
0.581749
[ "MIT" ]
CQCDigital/GdsHelpers
GDSHelpers.TestSite/Program.cs
528
C#
using EllieMae.Encompass.BusinessObjects; namespace EncompassBrowserTab.Objects.Interface { public interface ICommitted { void Committed(object sender, PersistentObjectEventHandler e); } }
21.1
70
0.758294
[ "MIT" ]
algohubhq/EncompassBrowserTab
EncompassBrowserTab/Objects/Interface/ICommitted.cs
213
C#
using System; using System.Collections; using NUnit.Framework; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; #if UNITY_EDITOR using UnityEditor.AddressableAssets.Settings; #endif using UnityEngine.AddressableAssets.Initialization; using UnityEngine.ResourceManagement...
44.752
197
0.736682
[ "MIT" ]
Wuduanyi/SkillSystemDemo
Assets/Scripts/addressables/Tests/Runtime/ResourceProviders/ContentCatalogProviderTests.cs
11,188
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-generate...
39.416667
172
0.586328
[ "MIT" ]
Yaaappee/Radio
Radio/Radio/Properties/Resources.Designer.cs
2,840
C#
[RequiredByNativeCodeAttribute] // RVA: 0xC6B30 Offset: 0xC6C31 VA: 0xC6B30 [NativeClassAttribute] // RVA: 0xC6B30 Offset: 0xC6C31 VA: 0xC6B30 [NativeHeaderAttribute] // RVA: 0xC6B30 Offset: 0xC6C31 VA: 0xC6B30 [NativeHeaderAttribute] // RVA: 0xC6B30 Offset: 0xC6C31 VA: 0xC6B30 public struct LayerMask // TypeDefIndex: ...
34.595238
75
0.74329
[ "MIT" ]
SinsofSloth/RF5-global-metadata
UnityEngine/LayerMask.cs
1,453
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
49.8125
139
0.659138
[ "Apache-2.0" ]
ASolomatin/dotnet-arangodb
Core.Arango/Relinq/Clauses/IBodyClause.cs
2,391
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Altinn.Platform.Storage.Configuration; using Altinn.Platform.Storage.Interface.Models; using Azure; using Azure.Storage; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; using Microsoft...
38.825623
160
0.625756
[ "BSD-3-Clause" ]
TheTechArch/altinn-studio
src/Altinn.Platform/Altinn.Platform.Storage/Storage/Repository/DataRepository.cs
10,910
C#
namespace Messerli.FileManipulator.Project.MsBuild { internal static class Constant { public const string PackageReferenceTypeTag = "PackageReference"; public const string VersionMetadataAttribute = "Version"; public const string PrivateAssetsMetadataAttribute = "PrivateAssets"; ...
43.5
77
0.737548
[ "MIT" ]
messerli-informatik-ag/MetaGenerator
FileManipulator/Project/MsBuild/Constant.cs
522
C#
using System; namespace MyCore.BaseProject.Authentication.External { public class ExternalLoginProviderInfo { public string Name { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public Type ProviderApiType { get; set; } pub...
24.875
113
0.626466
[ "MIT" ]
liyahui520/BaseProject
aspnet-core/src/MyCore.BaseProject.Web.Core/Authentication/External/ExternalLoginProviderInfo.cs
599
C#
using EasyBlog.Support.Entities; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace EasyBlog.Common { public class PreSubmissionPostingEventArgs : CancelEventArgs { public PreSubmissionPostingEventArgs(BlogPost blogPost) { BlogP...
21.157895
64
0.699005
[ "MIT" ]
mcarcini/EasyBlog
EasyBlog..Common/PreSubmissionPostingEventArgs.cs
402
C#
// Func<string, bool, int> //
7.5
23
0.566667
[ "MIT" ]
HighSchoolHacking/GLS-Draft
test/integration/LambdaTypeInline/two parameters return int.cs
30
C#
namespace SharpProto { [Message] public struct Person { [Field(1)] public string name; [Field(2)] public int id; } [Message] public struct Group { [Field(1)] public string name; [Field(2)] public Person member1; [Field...
15.826087
30
0.491758
[ "Apache-2.0" ]
huahualeetcode/SharpProto
SharpProto/TestProto.cs
366
C#
namespace CloudFoundry.UAA { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CloudFoundry.UAA.Authentication; /// <summary> /// Class that represents the current authentication context. /// </summary> pub...
23.622642
79
0.489617
[ "Apache-2.0" ]
adasescu/cf-dotnet-sdk
src/CloudFoundry.UAA.Client/Context.cs
1,254
C#
namespace Ryujinx.HLE.HOS.Kernel.Memory { static class DramMemoryMap { public const ulong DramBase = 0x80000000; public const ulong KernelReserveBase = DramBase + 0x60000; public const ulong SlabHeapBase = KernelReserveBase + 0x85000; public const ulong SlapHeapSize = 0xa21000;...
29.277778
70
0.667932
[ "MIT" ]
2579768776/Ryujinx
Ryujinx.HLE/HOS/Kernel/Memory/DramMemoryMap.cs
527
C#
using System; using System.Threading; using System.Threading.Tasks; using ZptSharp.Config; using ZptSharp.Dom; using ZptSharp.SourceAnnotation; namespace ZptSharp.Rendering { /// <summary> /// Implementation of <see cref="IModifiesDocument"/> which adds source annotation /// to the document DOM where appro...
54.41791
135
0.66621
[ "MIT" ]
csf-dev/ZPT-Sharp
ZptSharp/Rendering/SourceAnnotationDocumentModifierDecorator.cs
3,646
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using masz.data; namespace masz.Migrations { [DbContext(typeof(DataContext))] ...
36.493939
75
0.469069
[ "MIT" ]
BSscripter/discord-masz
backend/masz/Migrations/20210220145159_AddMotd.Designer.cs
12,045
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; namespace CorsStudentClient.Account { public partial class VerifyPhoneNumber : System.Web.UI.Page { ...
35.44
113
0.615124
[ "MIT" ]
BCIT-ASP/WebAPI-CORS
StudentWebApiCorsLab/CorsStudentClient/Account/VerifyPhoneNumber.aspx.cs
1,774
C#
using System; using System.Globalization; namespace CoreSharp.Extensions { /// <summary> /// <see cref="ulong"/> extensions. /// </summary> public static class UlongExtensions { /// <inheritdoc cref="ToComputerSize(ulong, string, IFormatProvider)"/> public static string ToComputerS...
35.85
111
0.588563
[ "MIT" ]
efthymios-ks/CoreSharp
CoreSharp/Extensions/UlongExtensions.cs
2,153
C#
/* _BEGIN_TEMPLATE_ { "id": "BOTA_231e", "name": [ "孵化", "Incubating" ], "text": [ "<b>亡语:</b>召唤一个{0}。", "<b>Deathrattle:</b> Summon a {0}." ], "CardClass": "NEUTRAL", "type": "ENCHANTMENT", "cost": null, "rarity": null, "set": "BOOMSDAY", "collectible": null, "dbfId": 51490 } _...
14.821429
39
0.544578
[ "MIT" ]
chi-rei-den/Silverfish
cards/BOOMSDAY/BOTA/Sim_BOTA_231e.cs
435
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class scnISceneSystem : gameISceneSystem { public scnISceneSystem(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } }
20.866667
102
0.72524
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/scnISceneSystem.cs
299
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using wolvm; namespace wolSystem.classes { public class wolStreamWriter : wolvm.Void { public new StreamWriter value; public wolStreamWriter() : base() { strtype = "StreamWriter"; }...
19.346154
62
0.602386
[ "Apache-2.0" ]
snaulX/frameworks-wolvm-dotnet
System/SystemFramework/System/classes/wolStreamWriter.cs
505
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Moq; using Xunit; using Assert = Microsoft.TestCommon.AssertEx; namespace System.Web.Mvc.Test { public class ValidatableObjectAdapterTest { // IValidatableObject support [Fact] publ...
41.578035
175
0.61254
[ "Apache-2.0" ]
douchedetector/mvc-razor
test/System.Web.Mvc.Test/Test/ValidatableObjectAdapterTest.cs
7,195
C#
using BuildingGraph.Client; public class BGNode { internal BGNode() { } internal BGNode(PendingNode pendingNode) { intPendingNode = pendingNode; Name = pendingNode.NodeName; Id = pendingNode.TempId; WasCommited = pendingNode.WasCommited; } public static BGNode Fr...
20.971429
62
0.648501
[ "MIT" ]
menome/BuildingGraph-Client-Revit
BuildingGraph.Integration.Dynamo/BGNode.cs
736
C#
using Miru.Html.Tags; namespace Miru.Tests.Html.TagHelpers; public class SrcForTagHelperTest : TagHelperTest { [Test] public async Task Should_add_src_attr_for_a_feature_url() { // arrange var tag = CreateTag(new SrcForTagHelper { For = MakeExpression(new PostShow.Query...
22.870968
66
0.54725
[ "MIT" ]
mirufx/miru
tests/Miru.Tests/Html/TagHelpers/SrcForTagHelperTest.cs
709
C#
using BinarySerializer; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MusyXBoy { public class Context : BinarySerializer.Context { public Context(string basePath, bool log, bool verbose = true) : base( ...
39.978495
154
0.612964
[ "MIT" ]
byvar/musyxboy
src/BinarySerializer/Context.cs
3,720
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class ShuffleBag<T> { List<T> bag; int i; public ShuffleBag(IEnumerable<T> l) { bag = l.ToList(); UnityEngine.Debug.Assert(bag.Count != 0); Reshuffle(); } void Reshuffle() { bag = ba...
18.269231
60
0.652632
[ "MIT" ]
2bam/ShipwreckEnsemble
Assets/Scripts/ShuffleBag.cs
477
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...
37.972789
153
0.594769
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/ListComplianceItemsRequestMarshaller.cs
5,582
C#
// <copyright file="EncodeBmp.cs" company="James Jackson-South"> // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> namespace ImageSharp.Benchmarks.Image { using System.Drawing; using System.Drawing.Imaging; using System.IO; using...
28.387097
101
0.573864
[ "Apache-2.0" ]
OrchardCMS/ImageSharp
tests/ImageSharp.Benchmarks/Image/EncodeBmp.cs
1,762
C#
// Copyright (c) Jan Škoruba. All Rights Reserved. // Licensed under the Apache License, Version 2.0. using Skoruba.AuditLogging.Events; using Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Dtos.Configuration; namespace Skoruba.Duende.IdentityServer.Admin.BusinessLogic.Events.IdentityResource { public class I...
38.85
127
0.760618
[ "Apache-2.0" ]
CentauriConsulting/Duende.IdentityServer.Admin
src/Skoruba.Duende.IdentityServer.Admin.BusinessLogic/Events/IdentityResource/IdentityResourceUpdatedEvent.cs
780
C#
namespace Domain.Entities.Abstractions.Point { public interface IPointInstance { IPoint Build(); } }
15.25
45
0.655738
[ "MIT" ]
sergiobarriel/planet-exploration
src/PlanetExploration/Domain.Entities/Abstractions/Point/IPointInstance.cs
124
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using IdentityServer3.Core.Models; using IdentityServer3.Core.Extensions; using IdentityServer3.Core; using IdentityModel; using IdentityServer3.Core.Services.Default; using Dnx.Iden...
43.248768
231
0.57042
[ "MIT" ]
tugberkugurlu/ModernShopping
Auth/src/ModernShopping.Auth/Identity/AspNetIdentityUserService.cs
17,561
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.SDK.EmulatorTests { using System; using System.Collections.Generic; using System.Glob...
39.783654
148
0.558792
[ "MIT" ]
SaurabhSharma-MSFT/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/UserAgentTests.cs
16,552
C#
 namespace iTin.Hardware.Specification.Eedid.Blocks.EDID { using iTin.Core.Hardware.Common; using Sections; /// <summary> /// Sections available for a block <see cref="KnownDataBlock.EDID"/>. /// </summary> public enum EdidSection { /// <summary> /// <b>Header</b> section ...
41.809524
170
0.622153
[ "MIT" ]
iAJTin/iEEDID
src/lib/net/iTin.Hardware/iTin.Hardware.Specification/iTin.Hardware.Specification.Eedid/EEDID/Blocks/EDID/EdidSection.cs
3,514
C#
// // System.MultiCastDelegate.cs // // Authors: // Miguel de Icaza (miguel@ximian.com) // Daniel Stodden (stodden@in.tum.de) // // (C) Ximian, Inc. http://www.ximian.com // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // ...
29.900763
93
0.669007
[ "Apache-2.0" ]
dlech/mono
mcs/class/corlib/System/MulticastDelegate.cs
7,834
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System; using System.Net; using System.Net.Sockets; using System.Threading; using System.Text; namespace BomberTesting { public class AsynchronousClient { public sta...
35.728111
92
0.478395
[ "MIT" ]
ayamnova/plat_tanks
Plat_Tanks/ServerClient.cs
7,755
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/d3d10effect.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using S...
33.627907
145
0.680498
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/DirectX/um/d3d10effect/ID3D10EffectTests.cs
1,448
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.txt file in the project root for more information. using System.ComponentModel.Composition; using System.Collections.Generic; using System.Threading.Tasks; names...
32.290323
98
0.699301
[ "MIT" ]
dotnet/interactive-window
src/Microsoft.VisualStudio.InteractiveWindow/Commands/ClearScreenCommand.cs
1,003
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Amazon.S3; using Amazon.S3.Model; namespace WebApi.Controllers { /// <summary> ...
33.298507
144
0.554684
[ "MIT" ]
gangyi89/dotnetAWSServerless
WebApi/Controllers/S3ProxyController.cs
4,464
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. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Roslynator.Testing; using Roslynator.Testing.CSharp; using Xunit; namespace Roslynator.CSha...
23.258333
160
0.666786
[ "Apache-2.0" ]
joebone/Roslynator
src/Tests/Analyzers.Tests/RCS1046AsynchronousMethodNameShouldEndWithAsyncTests.cs
2,793
C#
using System; using System.Threading; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; namespace LINGYUN.Abp.MessageService.Chat { public interface IUserChatSettingRepository : IBasicRepository<UserChatSetting, long> { Task<bool> UserHasOpendImAsync(Guid userId, CancellationToken canc...
33.071429
108
0.786177
[ "MIT" ]
FanShiYou/abp-vue-admin-element-typescript
aspnet-core/modules/message/LINGYUN.Abp.MessageService.Domain/LINGYUN/Abp/MessageService/Chat/IUserChatSettingRepository.cs
465
C#
using System.Globalization; using UnityEngine; namespace UnityDataLogging.LoggingPresets { [RequireComponent(typeof(Rigidbody))] public class RigidBodyLogger : Utility.Logger { // Log the kinematic properties of the rigidbody this script is attached to. [HideInInspector] public string[] r...
35.359375
96
0.593902
[ "MIT" ]
Avdbergnmf/UnityDataLogging
LoggingPresets/RigidBodyLogger.cs
2,265
C#
using System; using System.Reactive.Linq; using System.Threading; using System.Threading.Tasks; namespace ReactiveUI.Samples.Basics.ViewModels { public class MainViewModel : ReactiveObject { public MainViewModel() { ////RxApp.MainThreadScheduler = new DispatcherScheduler(Applicati...
27.303371
120
0.531687
[ "MIT" ]
behroozbc/ReactiveUI.Samples
wpf/ReactiveUI.Samples.Basics/ViewModels/MainViewModel.cs
2,432
C#
// <copyright file="ISignUpUseCase.cs" company="Ivan Paulovich"> // Copyright © Ivan Paulovich. All rights reserved. // </copyright> namespace Application.UseCases.SignUp { using System.Threading.Tasks; /// <summary> /// <see href="https://github.com/ivanpaulovich/clean-architecture-manga/wiki/Domain-...
27.677419
126
0.567599
[ "Apache-2.0" ]
BrunoMoureau/clean-arch-core-3.1
src/Application/UseCases/SignUp/ISignUpUseCase.cs
859
C#
using System; using System.Collections.Generic; using System.Text; namespace Slipe.Shared.Exceptions { /// <summary> /// Exception raised when a wrapped MTA function cannot find a requested element /// </summary> public class NullElementException : System.Exception { public NullElementExce...
24.733333
84
0.700809
[ "Apache-2.0" ]
Citizen01/Slipe-Core
Slipe/Core/Source/SlipeShared/Exceptions/NullElementException.cs
373
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.I...
25.35
81
0.727811
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/argocd-operator/dotnet/Kubernetes/Crds/Operators/ArgocdOperator/Argoproj/V1Alpha1/Inputs/ArgoCDSpecRedisResourcesLimitsArgs.cs
507
C#