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 (c) 2005-2019 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
35.835878
152
0.557354
[ "MIT" ]
AlexanderSemenyak/UA-.NETStandard-Samples
Workshop/SimpleEvents/Server/SimpleEventsNodeManager.cs
9,389
C#
/* ******************************************************************** * * 曹旭升(sheng.c) * E-mail: cao.silhouette@msn.com * QQ: 279060597 * https://github.com/iccb1013 * http://shengxunwei.com * * © Copyright 2016 * ********************************************************************/ using Sheng.W...
20.580645
69
0.5
[ "MIT" ]
1002753959/Sheng.WeixinConstruction
SourceCode/Sheng.WeixinConstruction.Client.Shell/Models/Home/PersonalInfoViewModel.cs
651
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Payroll.Interface { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepTh...
22.213115
136
0.735793
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Payroll.Interface/Work_Hours_ProfileObjectType.cs
1,355
C#
namespace LoggingKata { public interface ITrackable {//interfaces specify behavior string Name { get; set; } Point Location { get; set; } } }
22.375
37
0.586592
[ "MIT" ]
BillyGordon93/TacoParser
LoggingKata/ITrackable.cs
181
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.Net; using CoreWCF.Runtime; using Microsoft.AspNetCore.Http; namespace CoreWCF.Channels { public sealed class HttpRequestMessageProperty : IMessageProperty { ...
29.761364
107
0.555556
[ "MIT" ]
DevX-Realtobiz/CoreWCF
src/CoreWCF.Http/src/CoreWCF/Channels/HttpRequestMessageProperty.cs
2,621
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; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.OpenIdConnect; usin...
45.696629
143
0.707401
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Azure/AzureAD/Authentication.AzureADB2C.UI/src/AzureAdB2COpenIDConnectEventHandlers.cs
4,067
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Spark.Engine.Extensions; using System; using System.Net.Http; using Hl7.Fhir.Rest; namespace Spark.Engine.Test.Extensions { [TestClass] public class HttpRequestFhirExtensionsTests { [TestMethod] public void TestGetDateParameter() ...
39.069767
188
0.63006
[ "BSD-3-Clause" ]
chtk/spark
src/Spark.Engine.Test/Extensions/HttpRequestFhirExtensionsTests.cs
3,362
C#
using SQLController; using System; using System.Data; using System.Drawing; using System.Windows.Forms; namespace PasswordManager { public partial class frmUserModifier : Form { #region Global Variables long _userID = 0; DataTable _userTable; #endregion #region Construct...
28.136842
87
0.55144
[ "MIT" ]
Forbidden-Duck/PasswordManager
src/UserModifier.cs
2,675
C#
namespace DVSA.MOT.SDK.Models { public class Rfrandcomment { public string Text { get; set; } public string Type { get; set; } public bool Dangerous { get; set; } } }
22.555556
43
0.581281
[ "MIT" ]
AaronSadlerUK/DVSA.MOT.SDK
DVSA.MOT.SDK/Models/Rfrandcomment.cs
205
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
35.305147
130
0.562949
[ "BSD-3-Clause" ]
Krypton-Suite/Standard-Toolkit
Source/Krypton Components/Krypton.Toolkit/Palette Base/PaletteRibbon/PaletteRibbonBackRedirect.cs
9,606
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...
37.684211
161
0.642458
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.CodeDeploy/Model/Internal/MarshallTransformations/ListDeploymentInstancesRequestMarshaller.cs
3,580
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Net.Http; using System.Net.Sockets; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; namespace PureOtp { /// <summary> /// Class to aide with...
28.559748
190
0.667694
[ "MIT" ]
amritdumre10/Kachuwa
Core/Kachuwa.OTP/Ntp.cs
4,543
C#
using System; using System.Collections; using UnityEngine; public class LTDescr { public bool toggle; public bool useEstimatedTime; public bool useFrames; public bool hasInitiliazed; public bool hasPhysics; public float passed; public float delay; public float time; public float lastVal; private uin...
17.622807
130
0.704828
[ "MIT" ]
moto2002/wudihanghai
src/LTDescr.cs
8,036
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...
45.876289
187
0.671011
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/CannotChangeImmutablePublicKeyFieldsException.cs
4,450
C#
using Newtonsoft.Json; namespace EPiServer.Vsf.Core.ApiBridge.Model { public abstract class VsfResponse {} public abstract class VsfResponse<T> : VsfResponse { protected VsfResponse(int code, T result) { this.Code = code; this.Result = result; } ...
24.546875
77
0.580522
[ "Apache-2.0" ]
makingwaves/epi-commerce-to-vue-storefront
EPiServer.Vsf.Core/ApiBridge/Model/VsfResponse.cs
1,573
C#
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using Zenject; public class RegimentBuilder : NetworkBehaviour { private RegimentController.Factory _regimentFactory; private const string NAME_HouseOOBSuffix = "houseoob"; [Inject] public void Construct...
39.287671
139
0.527197
[ "MIT" ]
five3025/innersphereonline
Assets/Scripts/Regiments/RegimentBuilder.cs
2,868
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; namespace ProductShop.Dtos.Import { [XmlType("CategoryProduct")] public class CategoryProductDto { [XmlElement("CategoryId")] public int CategoryId { get; set; } [XmlElement("ProductI...
20.210526
43
0.653646
[ "MIT" ]
BlagoKolev/SoftUni
Entity Framework Core/xmlProcessing/ProductShopXML/ProductShop/Dtos/Import/CategoryProductDto.cs
386
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
50.051724
84
0.681709
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/DiskspaceReportPackageDetails.ascx.designer.cs
2,903
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.645161
151
0.583799
[ "MIT" ]
efbenson/MapSharpGen
MapSharpGen.Example/Properties/Settings.Designer.cs
1,076
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.Reactive.Concurrency; using System.Reactive.Disposables; using Syst...
36.639175
175
0.547552
[ "MIT" ]
rafsanulhasan/reactive
Rx.NET/Source/src/System.Reactive/Linq/QueryLanguage.Imperative.cs
7,110
C#
using System; namespace Academy.Models.Abstractions { public abstract class User : IUser { private string username; protected User(string username) { this.Username = username; } public string Username { get {...
22.764706
109
0.423773
[ "MIT" ]
MichaelaIvanova/Unit-Testing
Topics/04. Workshops/Workshop (Trainers)/Academy/Workshop/Academy/Models/Abstractions/User.cs
776
C#
namespace TwilightSparkle.Forum.Foundation.ImageStorage { public class SavedImage { public string ExternalId { get; } public SavedImage(string externalId) { ExternalId = externalId; } } }
17.642857
56
0.603239
[ "Apache-2.0" ]
pavvlik777/Fluttershy_Barn_Forum
src/TwilightSparkle.Forum.Foundation/ImageStorage/SavedImage.cs
249
C#
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using GtkKey = Gdk.Key; namespace Ryujinx.Input.GTK3 { public static class GTK3MappingHelper { private static readonly GtkKey[] _keyMapping = new GtkKey[(int)Key.Count] { // NOTE: invalid ...
25.464865
97
0.445977
[ "MIT" ]
AcK77/Ryujinx
Ryujinx/Input/GTK3/GTK3MappingHelper.cs
4,713
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AutomataPDL { [Serializable()] public class PDLException : Exception { public PDLException() : base() { } public PDLException(string message) : base(message) { } public PDLEx...
33.380952
95
0.67475
[ "MIT" ]
AutomataTutor/automatatutor-backend
AutomataPDL/PDL/PDLException.cs
703
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; namespace Microsoft.VisualStudio.SymReaderInterop { [Guid("B20D55B3-532E-4906-87E7-25BD5734ABD2"), I...
33.777778
161
0.689145
[ "Apache-2.0" ]
pottereric/roslyn
src/Test/PdbUtilities/Shared/ISymUnmanagedAsyncMethod.cs
1,218
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 righ...
41.130435
104
0.683404
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.Database.DataAccess.Interfaces/Repositories/IAreaInformationTypeNameRepository.cs
1,894
C#
using System; using System.Collections.Generic; using System.Linq; namespace LiteDB { internal class PageService { private CacheService _cache; private IDiskService _disk; private AesEncryption _crypto; private Logger _log; public PageService(IDiskService disk, AesEncr...
33.917582
135
0.496031
[ "MIT" ]
3factr/LiteDB
LiteDB/Engine/Services/PageService.cs
12,348
C#
using Microsoft.EntityFrameworkCore; using MyWeatherApp.DB; using MyWeatherApp.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyWeatherApp.Services { public class LogService { private readonly MyWeatherAppDbContext ...
23.512821
80
0.621592
[ "MIT" ]
stprojects500/WeatherAppRepo
MyWeatherApp/MyWeatherApp.Services/LogService.cs
919
C#
using System; using System.Collections.Generic; using HasSurvivingMutants.Implementation; using NUnit.Framework; namespace HasSurvivingMutants.MoreTests { public class MoreTests { [Test] public void DummyTest() { Assert.That(1+1, Is.EqualTo(2)); } ...
32.813559
98
0.582128
[ "MIT" ]
AlexanderWinter/fettle
src/Examples/HasSurvivingMutants/MoreTests/MoreNumberComparisonTests.cs
1,938
C#
//************************************************************************************************ // Copyright © 2016 Steven M Cohn. All rights reserved. //************************************************************************************************ #pragma warning disable S1155 // "Any()" should be used to test...
27.997531
99
0.630567
[ "MPL-2.0" ]
HarthTuwist/OneMore
OneMore/Models/Page.cs
34,020
C#
using System; using System.Collections.Generic; namespace UnityEngine.Experimental.Rendering.RenderGraphModule { /// <summary> /// Use this struct to set up a new Render Pass. /// </summary> public struct RenderGraphBuilder : IDisposable { RenderGraphPass m_RenderPass; R...
44.421053
184
0.624499
[ "MIT" ]
Acromatic/HDRP-Unity-Template-GitHub-Template
Library/PackageCache/com.unity.render-pipelines.core@10.2.2/Runtime/RenderGraph/RenderGraphBuilder.cs
10,972
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
32.44
84
0.493218
[ "MIT" ]
aspose-cells/Aspose.Cells-for-.NET
Examples_GridWeb/GridWeb.Net4/CSharp/Worksheets/AddRemoveHyperlinkFromClientSide.aspx.designer.cs
813
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...
31.308642
105
0.610804
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/DeleteBackupSelectionRequest.cs
2,536
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Globalization; namespace HolidaysBetweenTwoDates2 { class Program { static void Main(string[] args) { var startDate = DateTime.ParseExact(Console.ReadLin...
28.5
110
0.592982
[ "MIT" ]
dragobaltov/Programming-Basics-And-Fundamentals
HolidaysBetweenTwoDates2/HolidaysBetweenTwoDates2/Program.cs
857
C#
using AbpTailwindMvc.Localization; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Localization; namespace AbpTailwindMvc.Permissions { public class AbpTailwindMvcPermissionDefinitionProvider : PermissionDefinitionProvider { public override void Define(IPermissionDefinitionContext context) ...
33.863636
108
0.720805
[ "MIT" ]
antosubash/AbpTailwindMvcUI
src/AbpTailwindMvc.Application.Contracts/Permissions/AbpTailwindMvcPermissionDefinitionProvider.cs
747
C#
namespace SuperPowerEditor.Base.DataAccess.Entities { public class Language { public int? Id { get; set; } public int? LanguageName { get; set; } } }
22.25
52
0.617978
[ "MIT" ]
Blind-Striker/super-power-2-editor
src/Base/DataAccess/Entities/Language.cs
180
C#
using System.Collections.Generic; using UnityEngine; namespace Defs { public class DefHandler<Tdef> where Tdef : DataDef { private readonly Dictionary<string, Tdef> library; private readonly string path; public bool IsLoaded { get; private set; } public DefHandler(string path) { this.path = path; ...
25.959184
201
0.673742
[ "MIT" ]
MichaelDemone/CyberpunkGame
Assets/Scripts/Defs/DefHandler.cs
1,274
C#
// Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, this // ...
42.107143
84
0.727453
[ "BSD-3-Clause" ]
9192939495969798/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.Base/Mail/IMailServer.cs
3,537
C#
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JetBrains.Metadata.Reader.API; using JetBrains.Metadata.Reader.Impl; using JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Cache2.Parts; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2; using JetBrain...
33.582781
87
0.723132
[ "Apache-2.0" ]
tylerhartwig/fsharp-support
ReSharper.FSharp/src/FSharp.Psi/src/Impl/DeclaredElement/CompilerGenerated/FSharpUnionTagsClass.cs
5,073
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Objects_Interaction : MonoBehaviour { [Header("For Rings, Srpings and so on")] public PlayerBhysics Player; public HedgeCamera Cam; public SonicSoundsControl Sounds; public ActionManager Actions; public PlayerBinput In...
33.982143
110
0.488492
[ "BSD-3-Clause" ]
dudemancart456/HedgePhysics
HedgePhysics/Assets/GameplayScripts/Objects_Interaction.cs
9,517
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Win32.SafeHandles; using System.Collections.Generic; using System.Diagnostics; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Security; ...
38.352304
162
0.529819
[ "MIT" ]
belav/runtime
src/libraries/System.IO.Pipes/src/System/IO/Pipes/NamedPipeServerStream.Unix.cs
14,152
C#
using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Networker.Formatter.ZeroFormatter; using Networker.Server; namespace GameServer { internal class Program { private static void Main(string[] args) {...
32.921053
87
0.578737
[ "MIT" ]
MarkioE/Networker
Demos/GameServer/Program.cs
1,253
C#
using System; using System.Collections.Generic; using System.Text; namespace Homer.Authorization.Models { public static class HomerRoleConstants { public const string Admin = "Admin"; public const string StoreOwner = "Store Owner"; public const string SameCompany = "Same Company"; ...
23.142857
57
0.697531
[ "MIT" ]
benzach/SimpleCurbsideOrder
Homer.Authorization/Models/HomerRoleConstants.cs
326
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class CloneStationPanel : MonoBehaviour { [SerializeField] TextMeshProUGUI costText; [SerializeField] TextMeshProUGUI productionText; [SerializeField] TextMeshProUGUI currentSpeedText; [Seriali...
29.415385
107
0.626046
[ "MIT" ]
leonemsolis/hamster-land
Assets/Scripts/CloneStationPanel.cs
1,914
C#
namespace ClipperLib { internal enum Direction { dRightToLeft, dLeftToRight } }
9.666667
24
0.735632
[ "MIT" ]
undancer/oni-data
Managed/firstpass/ClipperLib/Direction.cs
87
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. // </auto-generated> namespace Microsoft.Azure.Management.Network.Fluent.Mod...
37.3625
330
0.632988
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Network/Generated/Models/NetworkWatcherInner.cs
2,989
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("L-...
37.648649
84
0.743001
[ "MIT" ]
mayapeneva/Programming-Fundamentals
02.Data Types and Variables/L-Greeting/Properties/AssemblyInfo.cs
1,396
C#
using System.Collections.Generic; namespace Shopping.Aggregator.Models { public class BasketModel { public string Username { get; set; } public List<BasketItemExtendedModel> Items { get; set; } = new List<BasketItemExtendedModel>(); public decimal TotalPrice { get; set; } ...
23.571429
104
0.645455
[ "MIT" ]
heliosCreation/AspnetMicroservice
src/aspnet-microservices/ApiGateways/Shopping.Aggregator/Models/BasketModel.cs
332
C#
namespace LTMCompanyNameFree.YoyoCmsTemplate.Web.Views.Shared.Components.TenantChange { public class ChangeModalViewModel { public string TenancyName { get; set; } } }
23.625
86
0.730159
[ "MIT" ]
52ABP/52ABP.Template
src/aspnet-core/src/LTMCompanyNameFree.YoyoCmsTemplate.Web.Mvc/Views/Shared/Components/TenantChange/ChangeModalViewModel.cs
191
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DataLayerCore.Model { public partial class SHAPE_TYPES { [StringLength(50)] public string Diagram_Type_XML { get; set; } [Required]...
28.545455
54
0.656051
[ "MIT" ]
Harshilpatel134/cisagovdocker
CSETWebApi/CSETWeb_Api/DataLayerCore/Model/SHAPE_TYPES.cs
630
C#
// <auto-generated /> using System; using Honk.Server.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable namespace Honk.Server.Mig...
36.980176
143
0.435166
[ "MIT" ]
collenirwin/Honk
Honk/Server/Migrations/ApplicationDbContextModelSnapshot.cs
16,791
C#
using NAudio.CoreAudioApi; using NAudio.Wave; using NAudio.Wave.SampleProviders; using SoundSpreader.Windows.NAudio; using SoundSpreader.Windows.NAudio.Waveable; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Wind...
32.522876
126
0.581391
[ "MIT" ]
leekcake/SoundSpreader
SoundSpreader.Windows/SoundSpreader.Windows/MainWindow.xaml.cs
5,090
C#
namespace NServiceBus { /// <summary> /// Contains extension methods for <see cref="BusConfiguration"/> that expose Queue creation settings. /// </summary> public static partial class ConfigureQueueCreation { /// <summary> /// If queues configured do not exist, will cause the...
31.9
107
0.565308
[ "Apache-2.0", "MIT" ]
dotnetjunkie/NServiceBus
src/NServiceBus.Core/ConfigureQueueCreation.cs
928
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos { //Should match string in SchemaConstants.h :: ConsistencyLevel /// <summary> /// T...
43.957447
176
0.620523
[ "MIT" ]
Arithmomaniac/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Resource/Settings/ConsistencyLevel.cs
2,068
C#
using gerenciador_de_filmes_e_series.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace gerenciador_de_filmes_e_series.Droid.Views { [XamlCompilation(XamlCompilationOptions.Compile)] ...
29.988372
84
0.6076
[ "MIT" ]
miguelhp373/Programacao_Mobile_Modulo03
ProjetoFilmes/gerenciador_de_filmes_e_series/gerenciador_de_filmes_e_series/Views/PageFilmesDetalhes.xaml.cs
2,581
C#
// Decompiled with JetBrains decompiler // Type: BlockManager // Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: C4620B93-89DB-4575-91D4-00F0A36DE06A // Assembly location: E:\Work Space\eca-decompilation\Assets\Plugins\Assembly-CSharp.dll using System; using System.Col...
38.955628
135
0.553799
[ "Apache-2.0" ]
ChinarG/Tutorial--XML
Assets/Chinar Demo/Scripts/06-LegoXML/BlockManager.cs
36,167
C#
using AlexaLambda.Infrastructure.DataAccess.StateCapitals.Models; using System; using System.Collections.Generic; using System.Text; namespace AlexaLambda.Infrastructure.DataAccess.StateCapitals { public interface IStateCapitalsRepository { Capital GetCapital(string stateName); } }
23.461538
66
0.793443
[ "MIT" ]
CodeLifeNinja/AlexaCSharpHelloWorld
AlexaSolution/AlexaLambda/Infrastructure/DataAccess/StateCapitals/IStateCapitalsRepository.cs
307
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.651163
153
0.575168
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookTableRowAddRequest.cs
2,980
C#
/* * Copyright (c) Kuno Contributors * * This file is subject to the terms and conditions defined in * the LICENSE file, which is part of this source code package. */ using System.Threading.Tasks; using Kuno.Services.Messaging; namespace Kuno.Services.Pipeline { /// <summary> /// The completion step o...
25.333333
71
0.649123
[ "MIT" ]
kuno-framework/kuno
Core/Kuno/Services/Pipeline/Complete.cs
686
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.SqlServer.TransactSql.ScriptDom; namespace GraphView { internal class GremlinPropertiesOp: GremlinTranslationOperator { public List<string> PropertyKeys; public ...
26.848485
88
0.6614
[ "MIT" ]
georgeycliu/k-core
GraphView/GremlinTranslation/map/GremlinPropertiesOp.cs
888
C#
using System.Reflection; [assembly: AssemblyTitle("NSwagStudio")] [assembly: AssemblyDescription("")] [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NSwagStudio")] [assembly: AssemblyCopyright("Copyright © Rico Suter, 2016")] [assembly: AssemblyVersion("12.1.0")]
32.111111
61
0.761246
[ "MIT" ]
bleissem/NSwag
src/NSwagStudio/Properties/AssemblyInfo.cs
292
C#
using System; using System.Collections.Generic; using Abp.Domain.Entities; using Abp.GeneralTree; namespace TreeApplication { public class Region2 : Entity<string>, IGeneralTreeWithReferenceType<Region2, string> { public virtual string MyCustomData { get; set; } public virtual int SomeForeign...
25.785714
89
0.66205
[ "MIT" ]
fossabot/Abp.GeneralTree
TreeApplication/Region2.cs
724
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("In...
37.555556
84
0.747781
[ "MIT" ]
jjvanzon/JJ.TryOut
Third Party/NPersist/Source Code/NPersist/Tests/NET 3.5/InMemTest/Properties/AssemblyInfo.cs
1,355
C#
using NetFabric.Assertive; using System; using System.Linq; using System.Threading.Tasks; using Xunit; namespace NetFabric.Hyperlinq.UnitTests.Filtering.Where { public class AsyncValueEnumerableTests { [Theory] [MemberData(nameof(TestData.PredicateEmpty), MemberType = typeof(TestData))] ...
34.315789
119
0.587423
[ "MIT" ]
Ashrafnet/NetFabric.Hyperlinq
NetFabric.Hyperlinq.UnitTests/Filtering/Where/Where.AsyncValueEnumerable.Tests.cs
1,956
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationParts; /// <summary> /// A provider for a given <typeparamref name="TFeature"/> feature. /// </summary> /// <typeparam name="TFeature">...
45.12
117
0.710106
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProviderOfT.cs
1,128
C#
namespace FluentValidation.Tests { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using Resources; using Validators; using Xunit; public class LanguageManagerTests { private ILanguageManager _languages; public La...
32.7375
177
0.704658
[ "Apache-2.0" ]
CharlieBP/FluentValidation
src/FluentValidation.Tests/LanguageManagerTests.cs
5,248
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...
32.632911
103
0.635376
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/DocDB/Generated/Model/DescribeCertificatesResponse.cs
2,578
C#
using System; using System.Collections.Generic; using System.Text; namespace DED.NPC { class Perception { //actorname, actionname, action Dictionary<string, Dictionary<string, Action>> actions = new Dictionary<string, Dictionary<string, Action>>(); public Perception() { ...
26.863636
136
0.634518
[ "MIT" ]
uoy-research/DED
SecondLife/Actor/Backup/NPC/Perception.cs
591
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using uemgevent.classes; using System.Data.SQLite; namespace uemgevent { public partial class Form_L...
32.986111
107
0.513263
[ "MIT" ]
EuFreela/UEMGEVENTS
UEMG-EVENT-PROGRAM/uemgevent/uemgevent/Form_ListaUsuarios.cs
4,756
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VL.Lib.UI.Notifications { public abstract class NotificationBase { public readonly bool AltKey; public readonly bool ShiftKey; public readonly bool ...
28
70
0.614583
[ "BSD-3-Clause" ]
tebjan/VL.UI.CraftLie
src/VL.Lib.UI/Notifications/NotificationBase.cs
674
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...
50.711538
183
0.661737
[ "MIT" ]
AlanFlorance/azure-powershell
src/Cdn/generated/api/Support/AfdProvisioningState.cs
5,171
C#
using System; using MonoGame.Extended.TextureAtlases; using System.Collections.Generic; using MonoGame.Extended.Collections; namespace MonoGame.Extended.BitmapFonts { public class BitmapFontRegion { public int Character { get; } public TextureRegion2D TextureRegion { get; } public int X...
29.27027
97
0.615882
[ "MIT" ]
MichalX2002/MonoGame.Extended
Source/MonoGame.Extended/BitmapFonts/BitmapFontRegion.cs
1,083
C#
namespace BalanceRoyale.Battles { public static class GameExtensions { public static bool CanPlay<T>(this IGame<T> game) { return game.Players.Count > 0; } } }
19
57
0.578947
[ "MIT" ]
pseudonym117/BalanceRoyale
BalanceRoyale/Battles/GameExtensions.cs
211
C#
// AForge Direct Show Library // AForge.NET framework // http://www.aforgenet.com/framework/ // // Copyright © AForge.NET, 2009-2012 // contacts@aforgenet.com // namespace AForge.Video.DirectShow { /// <summary> /// Specifies the physical type of pin (audio or video). /// </summary> publi...
30.040323
109
0.491275
[ "MIT" ]
pavitra14/Xtremis-V2.0
Client/Core/AForge/Video.DirectShow/PhysicalConnectorType.cs
3,732
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Persistence; namespace Persistence.Migrations { [DbContext(typeof(DataCont...
37.023474
95
0.457266
[ "MIT" ]
mr-robot9/TripScheduler
Persistence/Migrations/20201105041025_InitialSetup.Designer.cs
15,774
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1009_a542-c25f9dc4")] public void Method_1009_a542() { ii(0x1009_a542, 5); push(0x20); ...
64.179487
114
0.423492
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1009-a542.cs
2,503
C#
using System.Net; namespace NightlyCode.Net.Server { /// <summary> /// handles service requests /// </summary> public interface IServiceHandler<T> { /// <summary> /// handles a request to the service /// </summary> /// <param name="context">http context</param> ...
21.055556
54
0.588391
[ "Unlicense" ]
telmengedar/NightlyCode.Net
Net/Server/IServiceHandler.cs
381
C#
namespace CyberCAT.Forms.Editor { partial class GameSessionConfigControl { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. ...
46.166667
134
0.593992
[ "MIT" ]
Deweh/CyberCAT
CyberCAT.Forms/Editor/GameSessionConfigControl.Designer.cs
7,762
C#
using System; using System.Data.SqlClient; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using RepoDb.Attributes; using RepoDb.IntegrationTests.Setup; namespace RepoDb.IntegrationTests { [TestClass] public class ObjectNameCasingTest { [TestInitialize] public void I...
37.552239
147
0.58744
[ "Apache-2.0" ]
orm-core-group/RepoDb
RepoDb.Core/RepoDb.Tests/RepoDb.IntegrationTests/ObjectNameCasingTest.cs
5,034
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; using Internal.TypeSystem; namespace ILCompiler { public class CodeGenerationFailedException : InternalCompilerErrorException { private const string M...
28.4
88
0.692958
[ "MIT" ]
belav/runtime
src/coreclr/tools/Common/Compiler/CodeGenerationFailedException.cs
710
C#
// *** WARNING: this file was generated by pulumigen. *** // *** 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.Ou...
56.958333
422
0.697147
[ "Apache-2.0" ]
Teshel/pulumi-kubernetes
sdk/dotnet/Core/V1/Outputs/PodSecurityContext.cs
5,468
C#
using System; using System.Data; using System.IO; using System.Text; using Dapper; using NetModular.Lib.Auth.Abstractions; using NetModular.Lib.Data.Abstractions; using NetModular.Lib.Data.Abstractions.Entities; using NetModular.Lib.Utils.Core.Extensions; using IsolationLevel = System.Data.IsolationLevel; namespace N...
29.022901
138
0.552078
[ "MIT" ]
madfrog1982/NetModular
src/Framework/Data/Core/Data.Core/DbContext.cs
3,948
C#
using System.Runtime.InteropServices; namespace System.Security.Cryptography.X509Certificates { public class Win32 { [DllImport("crypt32.dll", EntryPoint = "CertOpenStore", CharSet = CharSet.Auto, SetLastError = true)] public static extern IntPtr CertOpenStore( int storeProvider, ...
37.28
110
0.699928
[ "MIT" ]
nyanhp/AutomatedLab.Common
Library/CertStore.cs
2,798
C#
using Delobytes.Mapper; using MediatR; using Microsoft.Extensions.Logging; using System; using System.Threading; using System.Threading.Tasks; using YA.ServiceTemplate.Application.Enums; using YA.ServiceTemplate.Application.Interfaces; using YA.ServiceTemplate.Application.Models.SaveModels; using YA.ServiceTemplate.Co...
36.196721
121
0.645833
[ "MIT" ]
a-postx/YA.ServiceTemplate
src/Application/Features/Cars/Commands/ReplaceCarCommand.cs
2,210
C#
using Convience.Entity.Entity.Identity; using Convience.EntityFrameWork.Repositories; using Convience.JwtAuthentication; using Convience.Model.Models.Account; using Convience.Service.SystemManage; using Convience.Util.Helpers; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Caching.Memory; using Micros...
40.875862
167
0.602666
[ "MIT" ]
chriskid824/CF.BASE
src/Convience.Backend/Convience.Applications/Convience.Service/Account/AccountService.cs
5,955
C#
// Copyright (c) 2019 Alachisoft // // 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...
36.833564
162
0.58173
[ "Apache-2.0" ]
delsoft/NCache
Src/NCSerialization/IO/CompactBinaryReader.cs
26,557
C#
namespace Compentio.Ankara.Api.Filters { using Compentio.Ankara.Models.Users; using Compentio.Ankara.Session; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Linq; public class RoleAuthorizationFilter : IAuthorizationFilter { r...
28.28
103
0.579915
[ "MIT" ]
alekshura/Ankara
Compentio.Ankara.Api/Filters/RoleRequirementFilter.cs
1,416
C#
using FluentAssertions; using LazyEntityGraph.EntityFramework.Tests.Edmx; using LazyEntityGraph.Core; using LazyEntityGraph.Core.Constraints; using LazyEntityGraph.EntityFramework; using System.Collections; using Xunit; using LazyEntityGraph.TestUtils; namespace LazyEntityGraph.EntityFramework.Tests.Edmx { public...
37.442623
134
0.609457
[ "MIT" ]
dbroudy/LazyEntityGraph
src/LazyEntityGraph.EntityFramework.Tests.Edmx/ModelMetadataGeneratorTests.cs
2,286
C#
namespace AdventOfCode.Solutions.Helpers; public static class SequenceHelpers { /// <summary> /// Generates a sequence of Triangular Numbers /// 1, 3, 6, 10, 15 ... /// </summary> /// <param name="count">The number of sequential integers to generate</param> /// <param name="startAtZero">Start the sequence wit...
25.4
148
0.62871
[ "MIT" ]
smabuk/AdventOfCode
Solutions/Helpers/SequenceHelpers.cs
1,653
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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; #if USE_MDT_EVENTSOURCE using Microsoft.Diagnostics.T...
33.731707
115
0.571945
[ "MIT" ]
belav/runtime
src/libraries/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.cs
2,766
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace egitim.Models { [Table("deneme")] public class deneme { [Key] public string adi { get; set; } ...
20.388889
51
0.686649
[ "Unlicense" ]
buraksecer/education
egitim/Models/deneme.cs
369
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.MultiTenancy; using EI.Portal.Editions; using EI.Portal.MultiTenancy; namespace EI.Portal.EntityFrameworkCore.Seed.Tenants { public class DefaultTenantBuilder { private readonly PortalDbContext _context; public DefaultTenantBui...
29.318182
141
0.611628
[ "MIT" ]
escritoriointeligente/Portal
aspnet-core/src/EI.Portal.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/DefaultTenantBuilder.cs
1,292
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
35.668874
85
0.550687
[ "BSD-3-Clause" ]
Alirexaa/SolidCP
SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/StorageSpaces/UserControls/StorageSpaceLevelResourceGroups.ascx.designer.cs
5,388
C#
using System; namespace DA.ProjectManagement.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; } p...
24.958333
113
0.627713
[ "MIT" ]
anthonynguyen92/DoAn
aspnet-core/src/DA.ProjectManagement.Web.Core/Authentication/External/ExternalLoginProviderInfo.cs
601
C#
using System; using System.Collections.Generic; using RI.Utilities.ObjectModel; namespace RI.Utilities.Collections.Generic { /// <summary> /// Implements a base class which can be used for <see cref="IPool{T}" /> implementations. /// </summary> /// <typeparam name="T"> The type of objects whic...
28.553797
205
0.504045
[ "Apache-2.0" ]
RotenInformatik/UtilitiesDotNet
sources/RI.Utilities/Collections/Generic/PoolBase.cs
9,025
C#
using System; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Intercom_OAuth_Demo.Models; namespace Intercom_OA...
35.802062
173
0.55258
[ "MIT" ]
AreYouFreeBusy/Intercom-OAuth-Provider
Intercom-OAuth-Demo/Controllers/AccountController.cs
17,366
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; namespace Cupboard { internal sealed class RebootDetector : IRebootDetector { private readonly IWindowsRegistry _registry; private readonly List<RegistryPath> _checkForExistence = new() ...
38.517647
134
0.619731
[ "MIT" ]
BlythMeister/cupboard
src/Cupboard/RebootDetector.cs
3,274
C#
// ----------------------------------------------------------------------- // <copyright file="ConstantArray.cs" company="Ubiquity.NET Contributors"> // Copyright (c) Ubiquity.NET Contributors. All rights reserved. // Portions Copyright (c) Microsoft Corporation // </copyright> // -------------------------------------...
43.054945
136
0.606177
[ "MIT" ]
ScriptBox99/qsharp-compiler
src/QsCompiler/LlvmBindings/Values/ConstantArray.cs
3,920
C#
using System; using System.IO; namespace FFmpegLite.NET { public static class StringExtensions { /// <summary> /// Check if the string value equals a path to a file using File.Exists /// </summary> /// <param name="filePath">The full path to the file to check</param> //...
37.953846
115
0.597892
[ "MIT" ]
chadzhao/FFmpegLite.NET
src/FFmpegLite.NET/Extensions/StringExtensions.cs
2,469
C#
using WindowsApp.Common; using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Found...
36.673684
195
0.570207
[ "ECL-2.0", "Apache-2.0" ]
YuxiaoHu/AppSuite
AppSuite.Net/WindowsApp/WindowsApp/App.xaml.cs
17,422
C#