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.Linq.Expressions; namespace FlowModel.Presenter.ParentInterfaces { public interface IContainer { void Register<TService, TImplementation>() where TImplementation : TService; void Register<TService>(); void RegisterInstance<TInst...
26.142857
90
0.63388
[ "MIT" ]
Grischenkov/FlowModel
FlowModel.Presenter/ParentInterfaces/IContainer.cs
551
C#
#region Using Directives using System; #endregion Using Directives namespace ScintillaNET { /// <summary> /// Provides data for the StyleChanged event /// </summary> /// <remarks> /// StyleChangedEventHandler is used for the StyleChanged Event which is also used as /// a more s...
21.151515
111
0.550143
[ "Unlicense" ]
itlezy/ITLezyTools
ScintillaNET-2.6/StyleChangedEventArgs.cs
1,398
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 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
30.833333
74
0.717568
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/StreamAnalytics/Management.StreamAnalytics/Generated/Models/EventsOutOfOrderPolicy.cs
740
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace EasyTcp3.Actions { /// <summary> /// Contains the core elements of the action system /// /// Protocol of the action system: /// (ushort: [data length + action id length(4)]) [int: action id] [data]...
43.708661
141
0.581517
[ "MIT" ]
AndreiBlizorukov/EasyTcp
EasyTcp3/EasyTcp3.Actions/ActionsCore.cs
5,551
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace RefactoringEssentials.CSharp.Diagnostics { [DiagnosticAnalyzer(...
44.107692
119
0.66097
[ "MIT" ]
Wagnerp/RefactoringEssentials
RefactoringEssentials/CSharp/Diagnostics/Synced/CodeQuality/NonReadonlyReferencedInGetHashCodeAnalyzer.cs
2,867
C#
using CommandsService.Models; using Microsoft.EntityFrameworkCore; namespace CommandsService.Data { public class AppDbContext: DbContext { public AppDbContext(DbContextOptions<AppDbContext> opts): base(opts) { } public DbSet<Platform> Platforms { get; set; } public Db...
27.333333
76
0.57561
[ "MIT" ]
mahrncic/.NET-microservices
CommandsService/CommandsService/Data/AppDbContext.cs
822
C#
using System; namespace App_master.Models { public class Item { public string Id { get; set; } public string Text { get; set; } public string Description { get; set; } } }
19
47
0.583732
[ "MIT" ]
Shaw6157/SOFT803_Xamarin
App_master/App_master/App_master/Models/Item.cs
211
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; us...
24.683544
125
0.597436
[ "MIT" ]
CameronLoewen/docusign-csharp-client
sdk/src/DocuSign.eSign.Test/Model/UserInfoListTests.cs
1,950
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: AssemblyTi...
39.054054
85
0.727336
[ "MIT" ]
MarinMarinov/C-Sharp-Part-2
Homework 08- TextFiles/06.SaveSortedNames/Properties/AssemblyInfo.cs
1,448
C#
namespace NaCl.Core.Internal { using System; using System.Linq; using System.Runtime.CompilerServices; public static class CryptoBytes { public static byte[] Combine(params byte[][] arrays) { var rv = new byte[arrays.Sum(a => a.Length)]; var offset = 0; ...
39.452055
198
0.543866
[ "MIT" ]
RossMetacraft/GeoVR
source/Libraries/NaCl.Core/Internal/CryptoBytes.cs
8,642
C#
using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; namespace SimpleInputNamespace { public class Joystick : MonoBehaviour, ISimpleInputDraggable { public enum MovementAxes { XandY, X, Y }; public SimpleInput.AxisInput xAxis = new SimpleInput.AxisInput( "Horizontal" ); public ...
27.141593
157
0.704434
[ "CC0-1.0" ]
MoonyGames/file547
file547/Assets/file547/Packages/SimpleInput/Scripts/AxisInputs/Joystick.cs
6,136
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. /****************************************************************************** * This file is auto-generated from ...
42.327645
187
0.583333
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Avx2/CompareGreaterThan.Int16.cs
24,804
C#
using System.ComponentModel.DataAnnotations; namespace OrchardCore.Microsoft.Authentication.ViewModels { public class AzureADSettingsViewModel { [Required] public string DisplayName { get; set; } [Required(AllowEmptyStrings = false, ErrorMessage = "Application Id is required")] ...
32.272727
118
0.632394
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/ViewModels/AzureADSettingsViewModel.cs
710
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Qmuiteam.Qmui.Widget.Popup { // Metadata.xml XPath class reference: path="/api/package[@name='com.qmuiteam.qmui.widget.popup']/class[@name='QMUIBasePopup']" [global::Android.Runtime.Register ("com/qmuiteam/qmui/...
49.638298
288
0.764291
[ "MIT" ]
daddycoding/XamarinQMUI
XamarinQMUI/QMUI.Droid/Additions/Com.Qmuiteam.Qmui.Widget.Popup.QMUIBasePopup.cs
25,663
C#
using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace ShopManagement.Migrations { public partial class AddUserDetails : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "User", ...
33.264706
92
0.526967
[ "MIT" ]
diogolopes18-cyber/PersonalWebsite
ShopManagement/Migrations/20220416204445_AddUserDetails.cs
1,133
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetC...
41.549451
212
0.541259
[ "MIT" ]
hougii/MyCodeGen
CodeGen.Web/Controllers/CodegenController.cs
15,380
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Blocker : MonoBehaviour { public Transform Target; private Vector3 Initial; private float Speed = 0.1f; private Rigidbody Rigidbody; public bool canJump = false; public bool canBlock = false; private boo...
18.988372
73
0.638089
[ "Apache-2.0" ]
Aaryan-kapur/tf-jam
Assets/Blocker.cs
1,635
C#
#pragma checksum "F:\DotNetSelfPractise_Home\source\MyProjects\LearningNeverEndsEFCoreProject\GameManagementProject\Views\Shared\_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4b5e5ef4ebf7354cc35c7dacddd6bc3068f19a47" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Micr...
68.95098
406
0.766671
[ "MIT" ]
Amphibian007/DotNetSelfPractise_Home
source/MyProjects/LearningNeverEndsEFCoreProject/GameManagementProject/obj/Debug/netcoreapp3.1/Razor/Views/Shared/_ValidationScriptsPartial.cshtml.g.cs
7,033
C#
namespace SimulOP { /// <summary> /// Classe para representar ventiladores [Não implementedo]. /// </summary> class Ventilador : EquipamentoOPI { } }
19.333333
64
0.614943
[ "MIT" ]
rafaelterras/SimulOp
SimulOP/SimulOP/EquipamentosOPI/Ventilador.cs
177
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.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using OpenTK.Graphics; namespace osu.Game.Screens.E...
31.717949
93
0.501213
[ "MIT" ]
br-Zhang/osu
osu.Game/Screens/Edit/Screens/Compose/Layers/BorderLayer.cs
1,239
C#
using System; namespace CharlieBackend.Core.DTO.Schedule { public class ScheduledEventFilterRequestDTO { public long? CourseID { get; set; } public long? MentorID { get; set; } public long? GroupID { get; set; } public long? ThemeID { get; set; } public long? Studen...
21.166667
52
0.606299
[ "MIT" ]
ViktorMarhitich/WhatBackend
CharlieBackend.Core/DTO/Schedule/ScheduledEventFilterRequestDTO.cs
510
C#
using System.Web; using System.Web.Mvc; namespace Angulari18n { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
18.857143
80
0.655303
[ "MIT" ]
johnproctor/SimpleAngulari18n
Angulari18n/App_Start/FilterConfig.cs
266
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过下列特性集 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ZigBee.Server")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [ass...
26.611111
57
0.693111
[ "Apache-2.0" ]
401175209/ZigBee
ZigBee.Server/Properties/AssemblyInfo.cs
1,319
C#
// // Tweener.cs // // Author: // Jason Smith <jason.smith@xamarin.com> // // Copyright (c) 2012 Xamarin Inc. // // 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, ...
29.017699
184
0.684457
[ "MIT" ]
Bobface/Xamarin.Forms
Xamarin.Forms.Core/AnimationExtensions.cs
9,837
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.md file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Moq; using Moq.Protected; using Xunit;...
34
201
0.568934
[ "MIT" ]
BillHiebert/roslyn-project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Telemetry/VsTelemetryServiceTests.cs
6,339
C#
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using NetOffice; using NetOffice.Attributes; namespace NetOffice.AccessApi.Events { #pragma warning disable #region SinkPoint Interface [SupportByVersion("Access", 14,15,16)...
37.451098
278
0.628737
[ "MIT" ]
DominikPalo/NetOffice
Source/Access/Events/DispWebBrowserControlEvents.cs
18,765
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace BeatmapDownloader.Abstract.Services.UI { public class DownloadProviderListAttribute : Attribute { public string Name { get; set; } } public static class DownloadProviderListAttributeExtension...
31.151515
107
0.626459
[ "MIT" ]
OsuSync/EmberTools
src/plugins/osu/BeatmapDownloader.Abstract/Services/UI/DownloadProviderListAttribute.cs
1,030
C#
using System.Collections.Generic; using System.Linq; namespace kafka4net.Protocols.Requests { class PartitionData { public int Partition; // is calculated at serizlization time //public int MessageSetSize; public IEnumerable<MessageData> Messages; /// <summ...
33.666667
129
0.614686
[ "Apache-2.0" ]
ntent-ad/kafka4net
src/Protocols/Requests/PartitionData.cs
1,214
C#
using System; namespace ClangNet.Native { /// <summary> /// Completion Context /// </summary> /// <remarks> /// Bits that represent the context under which completion is occurring. /// /// The enumerators in this enumeration may be bitwise-OR'd together if multiple /// contexts are occ...
29.029787
84
0.501319
[ "MIT" ]
an-embedded-engineer/ClangNet
ClangNet/Managed/Enums/CompletionContext.cs
6,824
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.62963
151
0.583178
[ "Unlicense" ]
oggy22/LanguageTools
GoogleTranslate/Properties/Settings.Designer.cs
1,072
C#
using Okta.Xamarin.Demo.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Okta.Xamarin.Demo.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class Logi...
23.380952
55
0.698574
[ "Apache-2.0" ]
kensykora/samples-xamarin
Okta.Xamarin.Demo/Views/LoginPage.xaml.cs
493
C#
namespace Sunny.UI.Demo { partial class FHeaderAsideMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
35.25
107
0.543486
[ "MIT" ]
BillChan226/Visualization-Project-for-Greyout
VisualTool/Forms/Frames/FHeaderAsideMain.Designer.cs
2,689
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.Threading.Tasks; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.EntityFrameworkCore.Storage; using Xunit; nam...
35.772358
111
0.643409
[ "Apache-2.0" ]
davidroth/EntityFrameworkCore
test/Microsoft.EntityFrameworkCore.InMemory.Tests/InMemoryTransactionManagerTest.cs
4,400
C#
using Northwind.Api.Models; namespace Northwind.Api.Repository { public interface IProductRepository : IRepository<Product> { } }
15.888889
62
0.734266
[ "MIT" ]
jonalexjm/WebApiPatronRepository
src/api/Northwind.Api.Repository/IProductRepository.cs
143
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Linq.Expressions; namespace NLayer.Common.Extensions { /// <summary> /// Extension methods for <see cref="Collection{T}"/>. /// </summary> public static class CollectionExtensions ...
39.850467
152
0.577158
[ "Apache-2.0" ]
ZyshchykMaksim/NLayer.NET
NLayer.NET.Common/Extensions/CollectionExtensions.cs
4,266
C#
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
27.842105
84
0.702583
[ "Apache-2.0" ]
SeanKilleen/MassTransit
src/MassTransit.Tests/Configuration/InstanceSubscription_Specs.cs
1,587
C#
#region Header // Vorspire _,-'/-'/ TimeListEntryOpts.cs // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2018 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -=====...
22.147727
73
0.544895
[ "MIT" ]
Vita-Nex/Core
Services/Schedules/UI/TimeListEntryOpts.cs
1,949
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; using System.Collections.Generic; using System.ComponentModel; using System.Data.Common; u...
42.880079
165
0.60031
[ "MIT" ]
ARhj/corefx
src/System.Data.SqlClient/src/System/Data/SqlClient/SqlConnectionStringBuilder.cs
43,266
C#
namespace _03._Composite { using System; /// <summary> /// The 'Leaf' class /// </summary> public class PrimitiveElement : DrawingElement { public PrimitiveElement(string name) : base(name) { } public override void Add(DrawingElement d) { ...
21.970588
60
0.511379
[ "MIT" ]
pirocorp/Databases-Advanced---Entity-Framework
15. DESIGN PATTERNS/02. Structural Patterns/03. Composite/PrimitiveElement.cs
749
C#
// Copyright © 2010-2014 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. using System; using System.Windows.Forms; using CefSharp.Example; namespace CefSharp.WinForms.Example { class Program { [STAThrea...
21.434783
100
0.626775
[ "BSD-3-Clause" ]
ivan-sam/CefSharp
CefSharp.WinForms.Example/Program.cs
496
C#
using System.Collections.Generic; using System.Linq; using GW2EIEvtcParser.EncounterLogic; using GW2EIEvtcParser.ParsedData; using GW2EIEvtcParser.Extensions; namespace GW2EIEvtcParser.EIData { internal static class ProfHelper { private static readonly List<InstantCastFinder> _genericInstantCastFinde...
51.016878
187
0.534199
[ "MIT" ]
enlich/GW2-Elite-Insights-Parser
GW2EIEvtcParser/EIData/ProfHelpers/ProfHelper.cs
12,093
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using opieandanthonylive.Data.Domain; namespace opieandanthonylive.Data.Maps { public class GuestAppearanceTypeMap : IEntityTypeConfiguration<GuestAppearanceType> { public void Configure( EntityTypeBuilder<Gu...
26.933333
61
0.712871
[ "MIT" ]
vreniose95/opieandanthonylive
src/Data/old/opieandanthonylive.Data/Data/Maps/GuestAppearanceTypeMap.cs
810
C#
/* * Kubernetes * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1.5.1-660c2a2 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using...
51.846442
698
0.595102
[ "Apache-2.0" ]
mbohlool/client-csharp
kubernetes/src/io.kubernetes.csharp/Model/V1NodeStatus.cs
13,843
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
37.528302
145
0.592006
[ "MIT" ]
TrevorDArcyEvans/EllieWare
code/IronLanguages/Runtime/Microsoft.Dynamic/ComInterop/ComInvokeAction.cs
3,980
C#
// suppress "Missing XML comment for publicly visible type or member" #pragma warning disable 1591 #region ReSharper warnings // ReSharper disable PartialTypeWithSinglePart // ReSharper disable RedundantNameQualifier // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace // ReSharper disable Un...
28.550265
82
0.568569
[ "MIT" ]
grisharav/bond
compiler/tests/generated/collection-interfaces/defaults_types.cs
5,396
C#
using System; using System.Linq; using OfficeRibbonXEditor.Helpers; using OfficeRibbonXEditor.ViewModels.Dialogs; using OfficeRibbonXEditor.Views.Controls; namespace OfficeRibbonXEditor.Views.Dialogs { /// <summary> /// Interaction logic for SettingsDialog /// </summary> [ExportView(typeof(SettingsDia...
26.478261
114
0.706076
[ "MIT" ]
JDiaz11/office-ribbonx-editor
src/OfficeRibbonXEditor/Views/Dialogs/SettingsDialog.xaml.cs
611
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 Elastic.Elasticsearch.Ephemeral; using Elastic.Elasticsear...
30.577586
133
0.741472
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
tests/Tests/XPack/Security/User/PutUser/PutUserApiTests.cs
3,547
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CDummyComponent : CComponent ...
31.434783
127
0.742739
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CDummyComponent.cs
723
C#
using Scripts.Map; using Scripts.Map.Room.ModulableRoom; using Scripts.ScriptableObjects; using UnityEngine; namespace Scripts.Exploration { public class Submarine : MonoBehaviour { private AirlockRoom _base; private Rigidbody2D _rb; private SpriteRenderer _sr; private void S...
30.685714
143
0.453445
[ "MIT" ]
BionomeeX/LudumDare48
Assets/Scripts/Exploration/Submarine.cs
2,150
C#
namespace Microsoft.FeatureFlighting.Common.Config { /// <summary> /// Configuration when feature flags are evaluated /// </summary> public class FlagEvaluationConfiguration { /// <summary> /// Flag to indicate if exceptions should be ignored when evaluating feature flags ...
33.131579
98
0.566322
[ "MIT" ]
t739/FeatureFlightingManagement
src/service/Common/Config/FlagEvaluationConfiguration.cs
1,261
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> //--...
29
81
0.478261
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RTax25DebtType.cs
669
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace WhiteBoard.Objects { public class Pool<T> where T : new() { private Stack<T> _stack; public Pool() { _stack = new Stack<T>(...
19.061224
51
0.465739
[ "MIT" ]
RobLach/Overly-Professional
src/WhiteBoard/Objects/ResourceManager.cs
936
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Linq; using osu.Framework.IO.File; namespace osu.Framework.Platform { publi...
41.301075
166
0.637074
[ "MIT" ]
AyakuraYuki/osu-framework
osu.Framework/Platform/NativeStorage.cs
3,751
C#
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restr...
37.127273
81
0.499755
[ "MIT" ]
7erj1/RPG_Starter
Templates/RPGDemo/game/core/scripts/server/levelInfo.cs
3,975
C#
namespace ReciboKravMaga { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
45.375
137
0.589226
[ "MIT" ]
Khalarii/KravMagaReceiptGenerator
ReciboKravMaga/ReciboKravMaga/Form1.Designer.cs
9,803
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 no...
39.701149
135
0.682687
[ "Apache-2.0" ]
ThinkGeo/GIS-Editor
MapSuiteGisEditor/GisEditorPluginCore/Shares/Wizards/SqlLayerWizard/View/DatabaseLayerInfoUserControl.xaml.cs
3,454
C#
using System; namespace Soltys.Database { internal class AstValue:IAstNode { public ReadOnlySpan<AstExpression> Expressions => this.expressions; private readonly AstExpression[] expressions; public AstValue(AstExpression[] expressions) { this.expressions = expressio...
22.157895
76
0.660333
[ "MIT" ]
soltys/Melange
src/Database/Soltys.Database/Cmd/AST/AstValue.cs
421
C#
using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using SJP.Schematic.Tests.Utilities; namespace SJP.Schematic.PostgreSql.Tests.Integration.Versions.V10 { internal sealed partial class PostgreSqlRelationalDatabaseTableProviderTests : PostgreSql10Test { [Test] pu...
40.738255
109
0.645964
[ "MIT" ]
sjp/Schematic
src/SJP.Schematic.PostgreSql.Tests/Integration/Versions/V10/PostgreSqlRelationalDatabaseTableProviderTests.Columns.cs
6,072
C#
// Copyright 2021 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 ...
41.547619
121
0.704871
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/contactcenterinsights/v1/google-cloud-contactcenterinsights-v1-csharp/Google.Cloud.ContactCenterInsights.V1.StandaloneSnippets/ContactCenterInsightsClient.CreateConversationResourceNamesSnippet.g.cs
1,745
C#
using Volo.Abp; namespace BookStore.EntityFrameworkCore { public abstract class BookStoreEntityFrameworkCoreTestBase : BookStoreTestBase<BookStoreEntityFrameworkCoreTestModule> { } }
19.9
123
0.798995
[ "MIT" ]
271943794/abp-samples
BlazorPageUniTest/test/BookStore.EntityFrameworkCore.Tests/EntityFrameworkCore/BookStoreEntityFrameworkCoreTestBase.cs
201
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using MoviesRecommendationSystem.Data; ...
37.297134
125
0.453049
[ "MIT" ]
histefanov/ASP-NET-Project-Movies-Recommendation-System
MoviesRecommendationSystem/Data/Migrations/20210728171906_FixEditorToUserRelationship.Designer.cs
24,730
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Head : Characteristic { public Head(Sprite[] sprites) { string[] listOfSpriteNames = CustomizableOptions.featureSprites.Head; listOfSprites = new Sprite[sprites.Length]; listOfSprites = sprites;...
28.692308
90
0.624665
[ "Unlicense" ]
jjerion/PrototypeHotGirlSummer
Hot Girl Summer Prototype 1/Assets/Scripts/Character Creator/Head.cs
748
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.ObjectModel; using System.Runtime.Serialization; using System.Xml; using System.Xml.Serialization; using System.Diagnostics; namespace System.ServiceModel.S...
34.33213
177
0.554679
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ServiceModel.Syndication/src/System/ServiceModel/Syndication/SyndicationElementExtensionCollection.cs
9,510
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.73913
81
0.649929
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DocumentDB/V20151106/Outputs/ConflictResolutionPolicyResponse.cs
1,414
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using PKISharp.WACS.Configuration; using PKISharp.WACS.Plugins.InstallationPlugins; using PKISharp.WACS.Services; using PKISharp.WACS.UnitTests.Mock.Services; using System; namespace PKISharp.WACS.UnitTests.Tests.InstallationPluginTests { [TestClass] public ...
39.573529
252
0.640654
[ "Apache-2.0" ]
Skulblaka/win-acme
src/main.test/Tests/InstallationPluginTests/ArgumentParserTests.cs
2,693
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Paillave.Etl.Core { public interface ITraceContent { string Type { get; } TraceLevel Level { get; } string Message { get; } } }
17.933333
34
0.654275
[ "MIT" ]
fundprocess/Etl.Net
src/Paillave.Etl/Core/ITraceContent.cs
271
C#
using eCommerce.Commons.Objects.Responses.Products; using eCommerce.Commons.Objects.Responses.ShoppingCart; using eCommerce.ShoppingCart.Core.Objects.Dtos; namespace eCommerce.ShoppingCart.Core.Helpers.Mappers { public class MapperHelper : IMapperHelper { public ShoppingCartResponse MappToShoppingCart...
33.163934
88
0.542758
[ "Apache-2.0" ]
wepea93/PICA.eCommerce
src/Services/eCommerce.ShoppingCart/eCommerce.ShoppingCart.Core/Helpers/Mappers/MapperHelper.cs
2,025
C#
using System; using System.Collections.Generic; using System.Text; namespace Laugris.Sage { /// <summary> /// Description of the Visual element size /// </summary> public enum DimensionType { /// <summary> /// The specified dimension is an absolute number of pixels. ...
29.107143
82
0.580368
[ "Artistic-2.0" ]
perevoznyk/krento
src/Laugris.Sage/Presentation/DimensionType.cs
817
C#
using Abp.EntityHistory; using Afonsoft.Ranking.Authorization.Users; namespace Afonsoft.Ranking.Auditing { /// <summary> /// A helper class to store an <see cref="EntityChange"/> and a <see cref="User"/> object. /// </summary> public class EntityChangeAndUser { public EntityChange EntityCh...
25.733333
94
0.65285
[ "MIT" ]
afonsoft/Ranking
src/Afonsoft.Ranking.Application/Auditing/EntityChangeAndUser.cs
388
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hatfield.EnviroData.DataProfile.WQ.Models { public class Site : WQProfileEntity { public int Id { get; set; } public string Name { get; set; } public string Des...
23.421053
51
0.65618
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
HatfieldConsultants/Hatfield.EnviroData.Core
Source/Hatfield.EnviroData.DataProfile.WQ.Models/Site.cs
447
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Keypress : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
15.421053
52
0.62116
[ "MIT" ]
davtamay/DecisionIntervention
DecisionIntervention/Assets/Keypress.cs
295
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.952703
91
0.592229
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/RecoveryServices/Latest/Outputs/ProcessServerDetailsResponse.cs
4,581
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace Cynosura.Studio.Core.Requests.EntityChanges.Models { public class EntityChangeModel { public int Id { get; set; } [DisplayName("Entity Id")] public int EntityId { get; set; } ...
25.676471
69
0.626575
[ "MIT" ]
CynosuraPlatform/Cynosura.Studio
Cynosura.Studio.Core/Requests/EntityChanges/Models/EntityChangeModel.cs
875
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.ComponentModel; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace NuGetGallery.FunctionalTests.St...
46.216216
139
0.630409
[ "Apache-2.0" ]
JarLob/NuGetGallery
tests/NuGetGallery.FunctionalTests/Statistics/PackageStatisticsTests.cs
3,422
C#
using System; using System.Collections.Generic; using System.Text; // // Visual Basic .NET Parser // // Copyright (C) 2005, Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER // EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO...
37.72973
231
0.721347
[ "MIT" ]
wwdenis/vbconverter
Parser/Trees/Statements/AddHandlerStatement.cs
1,396
C#
using System.ComponentModel.Composition; using System.Diagnostics.CodeAnalysis; using STR.MvvmCommon; namespace Str.Wallpaper.Wpf.ViewModels { [Export] [ViewModel(nameof(NotifyIconViewModel))] [SuppressMessage("ReSharper", "MemberCanBeInternal")] [SuppressMessage("ReSharper", "MemberCanBePrivate.Global")] ...
21.913043
66
0.688492
[ "MIT" ]
stricq/STR.Wallpaper
Str.Wallpaper.Wpf/ViewModels/NotifyIconViewModel.cs
1,010
C#
using GLib; using System; using Uno.UI.Runtime.Skia; namespace Authentication.OidcDemo.Skia.Gtk { class Program { static void Main(string[] args) { ExceptionManager.UnhandledException += delegate (UnhandledExceptionArgs expArgs) { Console.WriteLine("GLIB UNHANDLED EXCEPTION" + expArgs.ExceptionObject....
19.608696
87
0.696231
[ "Apache-2.0" ]
Mohsens22/Uno.Samples
UI/Authentication.OidcDemo/Authentication.OidcDemo/Authentication.OidcDemo.Skia.Gtk/Program.cs
453
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using WebMvc1.Models; namespace WebMvc1.Controllers { public class HomeController : Controller { public IActionResult Index() { ...
21.763158
112
0.593712
[ "MIT" ]
AtwindYu/Asp.NetCore2
sources/WebMvc1/Controllers/HomeController.cs
829
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using Xunit; namespace System.Globalization.CalendarsTests { //System.Globalization.KoreanCalendar.IsLeapYear(System.Int3...
37.895425
139
0.573991
[ "MIT" ]
690486439/corefx
src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarIsLeapYear.cs
5,798
C#
using RapidCMS.Core.Abstractions.Data; using RapidCMS.Core.Repositories; using RapidCMSTests.EFCore; using RapidCMSTests.Entities; using RapidCMSTests.Models.Cms; using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using System.Linq; using RapidCMS.Core.Ab...
34.493902
145
0.607389
[ "MIT" ]
ThomasBleijendaal/RapidCMS-Tests
RapidCMSTests/RapidCMSTests/Repositories/CountryRepository.cs
5,659
C#
using System.Collections.Generic; using System.Security.AccessControl; namespace System.IO.Abstractions { /// <inheritdoc cref="IDirectoryInfo"/> [Serializable] public abstract class DirectoryInfoBase : FileSystemInfoBase, IDirectoryInfo { /// <inheritdoc /> protected DirectoryInfoBase...
46.524476
139
0.7317
[ "MIT" ]
BrianMcBrayer/System.IO.Abstractions
src/System.IO.Abstractions/DirectoryInfoBase.cs
6,655
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Windows.Devices.Input; using Windows.Foundation; using Windows.UI.Input; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.X...
37.187891
207
0.691574
[ "Apache-2.0" ]
06needhamt/uno
src/SamplesApp/UITests.Shared/Windows_UI_Input/PointersTests/EventsSequences.xaml.cs
17,815
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> //--...
34.16129
151
0.578848
[ "MIT" ]
hexadezi/owdl
owdl/Properties/Settings.Designer.cs
1,061
C#
using Lyn.Types.Fundamental; namespace Lyn.Protocol.Bolt3.Types { public class Keyset { public Keyset(PublicKey revocationKey, PublicKey localHtlcKey, PublicKey remoteHtlcKey, PublicKey localDelayedPaymentKey, PublicKey remotePaymentKey) { RevocationKey = revocationKey; ...
36.272727
157
0.672932
[ "MIT" ]
block-core/lyn
src/Lyn.Protocol/Bolt3/Types/Keyset.cs
800
C#
namespace Camunda.Api.Client.History { public class CleanableProcessInstanceReport: CleanableProcessInstanceReportCount { /// <summary> /// Sort the results by a given criterion. A valid value is activityId. Must be used in conjunction with the sortOrder parameter. /// </summary> ...
35.741935
169
0.657942
[ "MIT" ]
Maicelicious/Camunda.Api.Client
Camunda.Api.Client/History/CleanableProcessInstanceReport.cs
1,110
C#
// (c) Eric Vander Wal, 2017 All rights reserved. // Custom Action by DumbGameDev // www.dumbgamedev.com using UnityEngine; using TMPro; namespace HutongGames.PlayMaker.Actions { [ActionCategory("TextMesh Pro UGUI Basic")] [Tooltip("Set Text Mesh Pro input field component.")] public class setTextmeshProI...
24.985075
71
0.554361
[ "MIT" ]
H1NIVyrus/BRKDWNSANDBRKUPS
Assets/PlayMaker Custom Actions/Basic/setTextmeshProInputText.cs
1,676
C#
using System; using System.Linq; using System.Web; using System.Web.UI; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Owin; using ASP.NETWebForms.Models; namespace ASP.NETWebForms.Account { public partial class Register : Page { protected void CreateUser_Click(object sen...
43.833333
155
0.650824
[ "MIT" ]
todor-enikov/TelerikAcademy
ASP .NET Web Forms/1.Introduction to ASP.NET/1.Few Web applications/ASP.NETWebForms/Account/Register.aspx.cs
1,580
C#
using Microsoft.EntityFrameworkCore; namespace fy21_simplemtapp.Model { public class Subscription { public bool IsActive { get; set; } = false; public string Id { get; set; } = "1CD21362-9CED-42EB-8958-F965F67C328F"; public string PartitionKey { get; set; } = "CEE"; } public c...
33.56
118
0.661502
[ "MIT" ]
ceeidpnotes/ceeidpnotes
Demos-Src/CS/NOT_FINISHED/TKFY22-step2-mtapp-cosmos/TKFY22-step2-mtapp-cosmos/Model/Subscription.cs
841
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.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namesp...
32.21875
111
0.563207
[ "Apache-2.0" ]
belav/aspnetcore
src/SignalR/clients/csharp/Http.Connections.Client/src/Internal/LoggingHttpMessageHandler.cs
3,093
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...
36.708661
147
0.610682
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/DataPipeline/Generated/Model/Internal/MarshallTransformations/ActivatePipelineRequestMarshaller.cs
4,662
C#
namespace Stateless.Web { using System; public class StateMachineContent { public string Id { get; set; } = Guid.NewGuid().ToString("N"); public string Key { get; set; } public string ContentType { get; set; } public long Size { get; set; } public DateTime Creat...
19.6
70
0.576531
[ "Apache-2.0" ]
geffzhang/stateless-web
src/Stateless.Web/StateMachineContent.cs
394
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkQ.Rules.Lang { public class Operand : Expression { public Operand() { PrepareOperations(); } private void Prepar...
33.258427
119
0.492568
[ "MIT" ]
raasiel/FrameworkQ.Rules
FrameworkQ.Rules/Lang/Operand.cs
5,922
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...
47.38522
331
0.571059
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/ReplicationProtectionContainersOperationsExtensions.cs
30,137
C#
using BattleTech; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BTRandomMechComponentUpgrader { class Modifier_Additions : IMechDefSpawnModifier { public void ModifyMech(MechDef mDef, SimGameState s, UpgradeList ulist, ref...
46.444444
158
0.561244
[ "MIT" ]
mcb5637/BTRandomMechComponentUpgrader
BTRandomMechComponentUpgrader/Modifier_Additions.cs
2,092
C#
using CleanArchitecture.Core.Entities; using CleanArchitecture.Core.Extensions; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace CleanArchitecture.Applicati...
39.204082
216
0.696512
[ "MIT" ]
ayzdru/CleanArchitecture
source/CleanArchitecture.Application/Behaviours/PerformanceBehaviour.cs
1,923
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.Concurrent; using Microsoft.CodeAnalysis.Storage; using Microsoft.CodeAnalysis.SQLite.v2.I...
44
122
0.642943
[ "MIT" ]
AlFasGD/roslyn
src/Workspaces/Core/Portable/Storage/SQLite/v2/SQLitePersistentStorage_DocumentIds.cs
3,346
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.CodeAnalysis.Editor.CSharp.SignatureHelp; using Microsoft.CodeAnalysis.Editor.UnitTests.SignatureHelp; using...
30.699275
360
0.601676
[ "Apache-2.0" ]
0x53A/roslyn
src/EditorFeatures/CSharpTest/SignatureHelp/GenericNameSignatureHelpProviderTests.cs
25,419
C#
using System; using XFScrollviewAnimations.Plugin.Abstractions; namespace XFScrollviewAnimations.Plugin { /// <summary> /// /// </summary> public static class CrossScrollViewAnimations { static Lazy<IXFScrollviewAnimations> Implementation = new Lazy<IXFScrollviewAnimations>(() => CreateAnimation...
31.454545
310
0.624277
[ "MIT" ]
HexisSoftware/XFScrollviewAnimations
src/XFScrollviewAnimations.Plugin/CrossScrollViewAnimations.cs
1,384
C#
using System; using System.Collections.Generic; using System.Text; using Dapper; using Xunit; using Gyomu.Test.Common; namespace Gyomu.Test { public class StatusCodeTest { private const short testApplicationId = 32650; [Theory] [InlineData(Gyomu.Common.SettingItem.DBType.M...
38.857143
102
0.671324
[ "MIT" ]
Yoshihisa-Matsumoto/Gyomu
Gyomu.Test/StatusCodeTest.cs
1,362
C#
using Alex.Worlds; using MiNET.Entities; namespace Alex.Entities.Passive { public class SkeletonHorse : AbstractHorse { public SkeletonHorse(World level) : base(level) { Height = 1.6; Width = 1.396484; } } }
14.933333
49
0.696429
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
codingwatching/Alex
src/Alex/Entities/Passive/SkeletonHorse.cs
224
C#