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
namespace RealEstates.Services.Models { public class PropertyViewModel { public string District { get; set; } public string BuildingType { get; set; } public string PropertyType { get; set; } public int Price { get; set; } public int? Year { get; set; } publ...
18.136364
48
0.573935
[ "MIT" ]
Iceto04/SoftUni
Entity Framework Core/10. Best Practices And Architecture/RealEstates/RealEstates.Services/Models/PropertyViewModel.cs
401
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using FunFair.Trulioo.Client.Model.BusinessSearch; using FunFair.Trulioo.Client.URI; namespace FunFair.Trulioo.Client; [SuppressMessage(category: "ReSharper", checkId: "UnusedType.Global", Justification = "TODO: Review")] public class ...
37.763889
163
0.705774
[ "Apache-2.0" ]
funfair-tech/funfair-trulioo-client
src/FunFair.Trulioo.Client/BusinessSearch.cs
2,719
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; namespace Asyncify { internal static class LambdaFixProvider { public static SyntaxNode FixLambda(SyntaxNode root, LambdaExpressionSy...
36.448276
116
0.644276
[ "MIT" ]
AdaskoTheBeAsT/Asyncify-CSharp
Asyncify/Asyncify/LambdaFixProvider.cs
1,059
C#
using System; using System.Collections.Generic; using System.Linq; using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Calculators { public partial class TI83 { private readonly Dictionary<string, MemoryDomainByteArray> _byteArrayDomains = new Dictionary<string, MemoryDomainByteArray>(); private ...
25.095238
129
0.705882
[ "MIT" ]
CognitiaAI/StreetFighterRL
emulator/Bizhawk/BizHawk-master/BizHawk.Emulation.Cores/Calculator/TI83.IMemoryDomains.cs
1,583
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("Ket...
38.108108
84
0.751064
[ "MIT" ]
devedse/SparkleypieFiguresOutInheritance
KettyGaatDingenDoenV2/Properties/AssemblyInfo.cs
1,413
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Serialization; namespace Workday.Staffing { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace = "urn:co...
23.22093
136
0.760641
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Staffing/Employee_Period_Salary_Plan_Assignment_DataType.cs
3,994
C#
using AutoMapper; using MyApp.Core.Commands.Contracts; using MyApp.Data; using System; using System.Collections.Generic; using System.Text; namespace MyApp.Core.Commands { public class SetManagerCommand : ICommand { private readonly MyAppContext context; public SetManagerCommand(MyAppContext ...
24.085714
67
0.631079
[ "MIT" ]
StefanLB/Databases-Advanced---Entity-Framework---February-2019
08. DB-Advanced-EF-Core-CSharp-Auto-Mapping-Objects-Exercises/MyApp/Core/Commands/SetManagerCommand.cs
845
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("Coo...
37.72973
84
0.747135
[ "Apache-2.0" ]
Vladimir-Dodnikov/CSharp-Programming-Basics-Problems
Homework_Task 7/Cookie factory/Properties/AssemblyInfo.cs
1,399
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace advent.ConsoleCode { [SuppressMessage("ReSharper", "HeapView.BoxingAllocation")] [SuppressMessage("ReSharper", "UnusedMember.Local")] [SuppressMessage("ReSharper", "HeapView.ObjectAllocation...
33.536364
106
0.530496
[ "MIT" ]
rnelson/adventofcode
advent2020/advent/ConsoleCode/Console.cs
3,691
C#
using UnityEngine; using System.Collections; using System; namespace FORGE3D { public class F3DTurret : MonoBehaviour { [HideInInspector] public bool destroyIt; public enum TurretTrackingType { Step, Smooth, } public TurretTrackingType Tracking...
38.960352
119
0.550656
[ "MIT" ]
Bennef/FPS
Assets/3rd Party Assets/FORGE3D/Sci-Fi Effects/Code/Turrets/F3DTurret.cs
8,846
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.IO; using NMeCab; namespace NMeCabTest { class Program { static void Main(string[] args) { var mPara = new MeCabParam(); //辞書ファイルがあるフォルダを指定(N...
23.272727
64
0.66276
[ "MIT" ]
nQuantums/tips
windows/cs/NMeCabTest/Program.cs
822
C#
/* MIT License Copyright (c) 2020 stephenhaunts Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
30.143678
99
0.557102
[ "MIT" ]
obiwanjacobi/ExoGame2D
Source/Samples/DuckAttack/GameActors/Hud/Hud.cs
5,247
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("Tas...
37.297297
84
0.745652
[ "MIT" ]
RayHammer/xt-net-web
xt-net-web/Task04/Properties/AssemblyInfo.cs
1,383
C#
using Assets.Scripts.Model; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class CallReceiver : MonoBehaviour { // Start is called before the first frame update void Start() { } internal void TrigerMethod0() { //Debug.Log("TrigerMe...
19.742857
93
0.632417
[ "MIT" ]
MindScriptAct/UnityPerformanceTesting
Assets/Scripts/Tests/DirectCalls/CallReceiver.cs
691
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Kuhpik { public sealed partial class GameState { public class Data { public IGameSystem[] StartingSystems { get; private set; } public IGameSystem[] StateEnteringSystems { get; ...
45.87037
103
0.597497
[ "BSD-3-Clause" ]
KuhPik/Bootstrap
Assets/Kuhpik's Bootstrap/Source/Scripts/Game State/GameState.Data.cs
2,479
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data.Common; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Mi...
35.511111
160
0.679648
[ "MIT" ]
jlukawska/linq2db.EntityFrameworkCore
Source/LinqToDB.EntityFrameworkCore/LinqToDBForEFToolsImplDefault.cs
41,550
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Test { /// <summary> /// Hecho por Tomás Agustín Friz /// </summary> static class Program { /// <summary> /// Punto de entrada principal para la ap...
22.777778
65
0.596748
[ "MIT" ]
tomasfriz/TPs-DE-LABORATORIO-2
TP 3/Friz.Tomas.2D.TPFinal/Test/Program.cs
620
C#
using System; using ReMi.Common.Constants; using ReMi.Common.Constants.ReleaseExecution; using ReMi.Common.Utils.Enums; namespace ReMi.BusinessEntities.Metrics { public class Metric { public Guid ExternalId { get; set; } public DateTime? ExecutedOn { get; set; } public MetricType Metric...
28.961538
105
0.612218
[ "MIT" ]
vishalishere/remi
ReMi.Api/BusinessLogic/ReMi.BusinessEntities/Metrics/Metric.cs
753
C#
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // namespace System { using Runtime.CompilerServices; using System.Collections; using System.Runtime.InteropServi...
52.051366
371
0.586411
[ "MIT" ]
cyborgyn/CoreLibrary
nanoFramework.CoreLibrary/System/String.cs
47,627
C#
 using Microsoft.EntityFrameworkCore; namespace Project.Data.Entities { public class CobraKaiDbContext : DbContext { public CobraKaiDbContext() { } public CobraKaiDbContext(DbContextOptions<CobraKaiDbContext> options) : base(options) { } public virt...
25.365854
294
0.691346
[ "MIT" ]
1905-may06-dotnet/Team2-CobraKai-Project2
Project2Solution/Project.Data/Entities/CobraKaiDbContext.cs
1,042
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("Pr...
38.513514
84
0.750175
[ "MIT" ]
MarinMarinov/C-Sharp-Part1
05. Homework - ConditionalStatements/Problem01ExchangeIfGreater/Properties/AssemblyInfo.cs
1,428
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.580645
151
0.583955
[ "MIT" ]
boomtnt46/NetSpeak
NetSpeak - Server/Properties/Settings.Designer.cs
1,074
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"); ...
38.476821
108
0.705508
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net.Tests.Benchmark/Support/TestApiConsistency.cs
5,812
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerat...
24.944604
210
0.684413
[ "Apache-2.0" ]
omeryesil/awapicms
AWAPI_Data/data/SiteContext.designer.cs
104,021
C#
// ************************************************************************ // // * Copyright 2018 OSIsoft, LLC // * Licensed under the Apache License, Version 2.0 (the "License"); // * you may not use this file except in compliance with the License. // * You may obtain a copy of the License at // * // * <http://www...
29.721311
91
0.666851
[ "Apache-2.0" ]
lydonchandra/PI-Web-API-Client-DotNet-Standard
src/OSIsoft.PIDevClub.PIWebApiClient/OSIsoft.PIDevClub.PIWebApiClient/Model/PIItemsDataServer.cs
1,813
C#
namespace PyriteCloudAdmin.Areas.HelpPage.ModelDescriptions { public class SimpleTypeModelDescription : ModelDescription { } }
23
62
0.782609
[ "MIT" ]
PyriteServer/PyriteCli
PyriteCloudAdmin/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs
138
C#
using System.Collections.Generic; using Fp.ObjectModels.Disposing; using UniRx; namespace Fp.DataBinding.Binds.Collections { public sealed class DictionaryBind<TKey, TValue> : DisposableObject, IDictionaryRestrictedBind<TKey, TValue> { private readonly DictionaryBindScope<TKey, TValue> _scope; ...
34.112745
114
0.547205
[ "MIT" ]
FrameProjectTeam/Fp.DataBinding
Assets/Runtime/Binds/Collections/DictionaryBind.cs
6,959
C#
using Meraki.Api; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using System.Xml.Serialization; using Newtonsoft.Json; using Meraki.Api.Data; using System.Net; using System.Text; namespace Meraki_Auto_Block_Utility { class Program { ...
41.392857
165
0.457907
[ "Apache-2.0" ]
smccloud/Meraki-Auto-Block-Utility
Meraki-Auto-Block-Utility/Program.cs
8,115
C#
using System; using ZyGames.Doudizhu.Bll; using ZyGames.Doudizhu.Model; using ZyGames.Framework.Common; using ZyGames.Framework.Game.Cache; using ZyGames.Framework.Game.Contract; using ZyGames.Framework.Game.Contract.Action; using ZyGames.Framework.Game.Lang; using ZyGames.Framework.Game.Service; using ZyGame...
34.010101
69
0.51292
[ "Unlicense" ]
simon96523/Scut
Sample/Doudizhu/Server/release/Script/CsScript/Action/Action1004.cs
3,409
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.OWC10Api { ///<summary> /// Interface DesignAdviseSink /// SupportB...
36.562814
170
0.722375
[ "MIT" ]
Engineerumair/NetOffice
Source/OWC10/Interfaces/DesignAdviseSink.cs
7,276
C#
using System.Collections.Generic; using System.Threading.Tasks; using EPlast.BLL.DTO.AboutBase; using EPlast.DataAccess.Entities; namespace EPlast.BLL.Interfaces.AboutBase { public interface IAboutBaseSectionService { Task<IEnumerable<SectionDTO>> GetAllSectionAsync(); Task<SectionDTO> GetSe...
22.391304
61
0.726214
[ "MIT" ]
ita-social-projects/EPlas
EPlast/EPlast.BLL/Interfaces/AboutBase/IAboutBaseSectionService.cs
517
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.marketing.cdp.advertise.modify /// </summary> public class AlipayMarketingCdpAdvertiseModifyRequest : IAopRequest<AlipayMarketingCdpAdver...
26.290323
115
0.571166
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayMarketingCdpAdvertiseModifyRequest.cs
3,340
C#
using CleanBrowsingClient.Config; using CleanBrowsingClient.Models; using Nett; using Serilog; using System; using System.IO; namespace CleanBrowsingClient.Helper { /// <summary> /// Class to load and save the dnscrypt configuration (TOML format). /// </summary> public static class DnscryptProxyConfigurationMa...
38.34375
169
0.612877
[ "MIT" ]
Barnabas2/CleanBrowsingClient
src/CleanBrowsingClient/Helper/DnscryptProxyConfigurationManager.cs
2,456
C#
using System.Threading.Tasks; using AlphaDev.Core; using AlphaDev.Web.Core.TagHelpers; using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; usin...
51.205357
118
0.604185
[ "Unlicense" ]
OlegKleyman/AlphaDev
tests/unit/AlphaDev.Web.Core.Tests.Unit/TagHelpers/SimpleEditorTagHelperTests.cs
5,737
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace SqlSugar { public partial interface IInsertable<T> { InsertBuilder InsertBuilder { get; set; } int ExecuteCommand(); Task<int> Ex...
36.613636
88
0.69522
[ "Apache-2.0" ]
libingxin01/SqlSugar
Src/Asp.Net/SqlSugar/Interface/Insertable.cs
1,613
C#
using System; using System.Reflection; using Microsoft.Extensions.Logging; using Stl.Fusion.Internal; using Stl.Generators; using Stl.Reflection; namespace Stl.Fusion.Interception { public class ComputeMethodInterceptor : ComputeMethodInterceptorBase { public new class Options : ComputeMethodIntercepto...
46.944444
109
0.619527
[ "MIT" ]
Tyrrrz-Contributions/Stl.Fusion
src/Stl.Fusion/Interception/ComputeMethodInterceptor.cs
3,380
C#
// <auto-generated /> using BackEnd.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace BackEnd.Migrations { ...
34.297872
125
0.600496
[ "MIT" ]
3arlN3t/aspnetcore-app-workshop
save-points/2a-Refactor-to-ConferenceDTO/ConferencePlanner/BackEnd/Migrations/20190128054119_Initial.Designer.cs
1,614
C#
using System.Diagnostics.CodeAnalysis; namespace QSP.Compiler { [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")] [SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")] public class Options { public string[]? Sources { get; set; } public string? OutputPath { get;...
36.083333
71
0.667436
[ "MIT" ]
p1x/QSPNet
QSP.Compiler/Options.cs
435
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class JefeFuegoBullet : MonoBehaviour { public float speed; public int bossDamage; private Transform player; private Vector2 target; public GameObject impactEffect; // Start is called before the first fra...
26.704545
101
0.668085
[ "MIT" ]
SergioPucela/Nano-Doctor
Nano Doctor/Assets/Scripts/JefeFuegoBullet.cs
1,178
C#
using UnityEngine; using System.Collections; public class ActivateScript : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void Activate() { ParticleSystem[] systems = GetComponentsInChildren<ParticleSystem>(); foreach (...
15.275862
71
0.693002
[ "MIT" ]
uareurapid/balloonquest
Assets/scripts/ActivateScript.cs
445
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Thrift.Transport; namespace Thrifty.Nifty.Duplex { /// <summary> /// Represents a pair of transports: one for input and one for output. /// </summary> public class TTransportPair { protec...
28.146341
114
0.658579
[ "Apache-2.0" ]
DavidAlphaFox/Thrifty
src/Thrifty.Nifty/Duplex/TTransportPair.cs
1,156
C#
using Acr.UserDialogs; using AdelaideFuel.Api; using AdelaideFuel.Services; using AdelaideFuel.ViewModels; using Newtonsoft.Json; using Plugin.StoreReview; using Plugin.StoreReview.Abstractions; using Refit; using SimpleInjector; using System; using System.Collections.Generic; using System.Linq; using Xamarin.Essentia...
36.992188
136
0.641183
[ "MIT" ]
dmariogatto/adelaidefuel
src/App/AdelaideFuel/IoC.cs
4,737
C#
// 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/licenses/LICENSE-2.0 // //...
25.980645
95
0.661038
[ "Apache-2.0" ]
balefrost/CastleProject.Core
src/Castle.Core.Tests/ReflectionBasedDictionaryAdapterTestCase.cs
4,027
C#
namespace Orchard.Caching { public interface IVolatileToken { bool IsCurrent { get; } } }
21
37
0.647619
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard/Caching/IVolatileToken.cs
105
C#
using System; using System.Collections; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using Activ...
24.551724
105
0.519663
[ "Unlicense" ]
Swarmops/Swarmops
Boneyard/Site4/Controls/v4/GeographyTree.ascx.cs
4,984
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...
40.560976
291
0.693325
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20181201/Inputs/ManagedServiceIdentityArgs.cs
1,663
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 11.12.2020. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
26.527508
203
0.571307
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Or/Complete/NullableInt64/NullableInt32/TestSet_001__fields.cs
16,396
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.515385
167
0.611333
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/Internal/MarshallTransformations/ListSimulationApplicationsRequestMarshaller.cs
4,747
C#
using Net.Qks.MultiTenancy.Accounting.Dto; namespace Net.Qks.Web.Areas.Admin.Models.Accounting { public class InvoiceViewModel { public InvoiceDto Invoice { get; set; } } }
19.5
51
0.697436
[ "MIT" ]
RocChing/Net.Qks
src/Net.Qks.Web.Mvc/Areas/Admin/Models/Accounting/InvoiceViewModel.cs
197
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace Blackmagic.DeckLink { /// <summary> /// Memory allocator for video frames /// </summary> [ComImport] [Guid("B36EB6E7-9D29-4AA8-92EF-843B87A289E8")] [InterfaceType(ComInterfaceTyp...
22.708333
73
0.755963
[ "MIT" ]
simongh/DeckLink.net
library/IDeckLinkMemoryAllocator.cs
547
C#
using System.Windows; using VMS.TPS.Common.Model.API; namespace EsapiEssentials.Plugin { /// <summary> /// Provides the Execute method that the PluginRunner needs to call. /// Any script that will use the PluginRunner should derive from this class. /// Derive from this class if you want to use...
40.7
95
0.642916
[ "MIT" ]
redcurry/EsapiEssentials
src/EsapiEssentials/Plugin/PluginRunner/ScriptBaseWithWindow.cs
1,223
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. namespace System.Windows.Forms { using System.Windows.Forms.VisualStyles; using System.Drawing; using ...
40.109507
175
0.534277
[ "MIT" ]
Bhaskers-Blu-Org2/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ToolStripSystemRenderer.cs
33,333
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.Diagnostics; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFramewor...
59.353612
131
0.6754
[ "Apache-2.0" ]
SashaBeluj/efcore
src/EFCore/Metadata/Internal/Key.cs
15,610
C#
using Emf.Core; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace Emf.Data { public class EmfDbContext : DbContext { public DbSet<Department> Departments { get; set; } public DbSet<Employee> Employees { get; set; } public...
36.020408
156
0.342351
[ "MIT" ]
matthewalcala/emf-exercise
Emf.Data/EmfDbContext.cs
7,062
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...
26.825
119
0.596925
[ "Apache-2.0" ]
raz2017/aws-sdk-net
sdk/src/Services/AugmentedAIRuntime/Generated/AmazonAugmentedAIRuntimeConfig.cs
2,146
C#
//------------------------------------------------------------------------------ // <license file="InterpretedFunction.cs"> // // The use and distribution terms for this software are contained in the file // named 'LICENSE', which can be found in the resources directory of this // distribution. //...
33.88172
143
0.534116
[ "MIT" ]
jongha/winuglifier
src/WinUglifier.Plugin.YUI.css/EcmaScript.NET/InterpretedFunction.cs
6,302
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.Diagnostics; using System.Xml.XPath; namespace System.Xml { // Represents the text content of an e...
27.419118
105
0.486994
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.Xml/src/System/Xml/Dom/XmlSignificantWhiteSpace.cs
3,729
C#
using FDK; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace TJAPlayer3 { class TextureLoader { public const string BASE = @"Graphics\"; const string GLOBAL = @"Global\"; // Global assets c...
46.393908
185
0.554147
[ "MIT" ]
funnym0th/OpenTaiko
TJAPlayer3/Stages/01.StartUp/TextureLoader.cs
89,858
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OfficeApi { #region Delegates #pragma warning disable public delegate void CustomXMLPart_NodeAfterInsertEventHandler(NetOffice.OfficeApi.CustomXMLNode newNode, bool InUndoRedo); public dele...
42.454545
223
0.736188
[ "MIT" ]
igoreksiz/NetOffice
Source/Office/Classes/CustomXMLPart.cs
2,337
C#
namespace Noppes.Fluffle.Api.AccessControl { public static class AccessControlErrors { private const string AuthenticationPrefix = "AUTHENTICATION_"; public static V1Error InvalidApiKey() => new V1Error(AuthenticationPrefix + "INVALID_API_KEY", "Whoa, you forged you...
44.6
117
0.63154
[ "MIT" ]
NoppesTheFolf/Fluffle
Fluffle.Api/AccessControl/AccessControlErrors.cs
1,340
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using YifyLib.Data.Base; namespace YifyLib.Data { /// <summary> /// Represent a user in YTS /// </summary> public class User : AbstractYifyUser { /// <summary> /// Instantiate this default user ob...
27.666667
64
0.537651
[ "MIT" ]
Lokukarawita/YifyLib
src/YifyLib/Data/User.cs
1,330
C#
using HtmlTags; using HtmlTags.Conventions; using HtmlTags.Conventions.Elements; namespace Miru.Html { public class FormBuilder : IElementBuilder { public HtmlTag Build(ElementRequest request) { var naming = request.Get<ElementNaming>(); var formTag = new FormTag(); ...
25.518519
84
0.522496
[ "MIT" ]
MiruFx/Miru
src/Miru/Html/FormBuilder.cs
689
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/wincrypt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
40.568182
148
0.67563
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/wincrypt/CERT_SERVER_OCSP_RESPONSE_OPEN_PARATests.cs
1,787
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...
41.95935
162
0.626429
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Security/ServerVulnerabilityAssessment.cs
5,161
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (https://www.specflow.org/). // SpecFlow Version:3.7.0.0 // SpecFlow Generator Version:3.7.0.0 // // Changes to this file may cause incorrect behavior and w...
46.313505
239
0.491582
[ "Apache-2.0" ]
LaTranche31/SimpleIdServer
tests/SimpleIdServer.OpenBankingApi.Host.Acceptance.Tests/Features/Accounts.feature.cs
28,809
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BluffinMuffin.Logger.Monitor.DataTypes; using BluffinMuffin.Logger.Monitor.DataTypes.Enums; using BluffinMuffin.Logger.Monitor.ViewModels.Entities.DataElements; using BluffinMuffin.Logger.Monitor.V...
39.769231
236
0.695358
[ "MIT" ]
BluffinMuffin/BluffinMuffin.Logger
C#/BluffinMuffin.Logger.Monitor/ViewModels/Entities/TreeElements/ExecutedCommandBranch.cs
2,070
C#
using Core.Misc; using System.Collections.Generic; using System.Linq; using System.Text; namespace CentralServer.User { public class CSUserMgr { public enum Channel { Web, WXMini } public enum Browser { Chrome = 0, Firefox = 1, Safair = 2, Edge = 3, IE = 4 } public enum Platform ...
22.893281
149
0.62241
[ "MIT" ]
niuniuzhu/KOW
Server/CentralServer/User/CSUserMgr.cs
6,262
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: AssemblyCulture(""...
48.384615
84
0.806041
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SnowflakePowered/snowflake
src/Snowflake.Framework/AssemblyInfo.cs
1,260
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; using System.Threading.Tasks; using Microsoft; using Microsof...
39.821918
185
0.628483
[ "Apache-2.0" ]
BlackGad/NuGet.Client
src/NuGet.Clients/NuGet.PackageManagement.VisualStudio/ProjectServices/VsManagedLanguagesProjectSystemServices.cs
14,535
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("UnShape")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: ...
28.464286
91
0.664366
[ "Apache-2.0" ]
BenDerPan/UnShapes
UnShape/UnShape/Properties/AssemblyInfo.cs
2,253
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Project1.WebUI.Models; namespace Project1.WebUI.Controllers { public class HomeController : Controller { ...
29.906977
112
0.598756
[ "MIT" ]
2002-feb24-net/jacob-project1
Project1.WebUI/Controllers/HomeController.cs
1,288
C#
using System; using System.Collections; using System.Data; using System.Data.SqlClient; namespace Wid.Data { public class LineupPhotoLink : Core.DataClass { #region constructor public LineupPhotoLink() : base() {} #endregion #region Create public int Create(int LineupId, int PhotoId) { SqlParamete...
27.670103
81
0.718703
[ "MIT" ]
ic4f/codegenerator
demo/generated_code/witness_id.cs/LineupPhotoLink.cs
2,684
C#
using System; using System.Collections.Generic; using System.Linq; using VXDesign.Store.DevTools.Common.Core.Extensions; using VXDesign.Store.DevTools.Common.Core.HTTP; namespace VXDesign.Store.DevTools.Common.Clients.Camunda.Endpoints { public class CamundaEndpoint { public int ActionCode { get; } ...
48.361702
158
0.683238
[ "MIT" ]
GUSAR1T0/VXDS-DEV-TOOLS
DevTools/Common/Clients/Camunda/Endpoints/CamundaEndpoint.cs
2,273
C#
using System; namespace OwinFramework.Pages.Core.Exceptions { /// <summary> /// Thrown by the name manager when there are naming /// conflicts or name resolution failures /// </summary> public class NameManagerException: Exception { /// <summary> /// Constructs a NameManagerEx...
27.266667
77
0.58802
[ "Apache-2.0" ]
forki/OwinFramework.Pages
OwinFramework.Pages.Core/Exceptions/NameManagerException.cs
820
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; [assembly: SkipOnMono("System.Net.Ping is not supported on Browser", TestPlatforms.Browser)]
35
92
0.771429
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Net.Ping/tests/FunctionalTests/AssemblyInfo.cs
245
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.Runtime.InteropServices; using System.Collections; using System.DirectoryServices.Interop; using System...
32.614525
138
0.538712
[ "MIT" ]
lukas-lansky/corefx
src/System.DirectoryServices/src/System/DirectoryServices/PropertyCollection.cs
11,676
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("Memory_Policy_Simulator")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration(""...
30.189189
57
0.68308
[ "MIT" ]
ImMoa/Memory-Policy-Simulator
Properties/AssemblyInfo.cs
1,558
C#
namespace BCKFreightTMS.Web.ViewModels.Settings { using BCKFreightTMS.Services.Mapping; public class CargoTypeViewModel<T> : IMapFrom<T> { public int Id { get; set; } public string Name { get; set; } public string AdminId { get; set; } } }
20.285714
52
0.630282
[ "MIT" ]
MMSlavov/BCKFreight
src/Web/BCKFreightTMS.Web.ViewModels/Settings/CargoTypeViewModel.cs
286
C#
using Chinook.Application; using Chinook.Data; using EasyLOB; using System; using System.IO; using System.Reflection; namespace Chinook.Service { public partial class ChinookServiceHelper { #region Methods public static string ExportGenreTXT() { LogManager.T...
32.214286
145
0.574834
[ "MIT" ]
EasyLOB/EasyLOB-Chinook-2
Chinook.Service/ChinookServiceHelper.TXT.cs
1,806
C#
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2006, 2009-2010 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software: you can redistribute it and/or modify * it under the terms of the G...
44.837545
193
0.667552
[ "MIT" ]
devluz/SharpNeatForUnity
src/SharpNeatDomains/BinarySixMultiplexer/RbfBinarySixMultiplexerExperiment.cs
12,422
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Schema; namespace Microsoft.BotBuilderSamples.Trans...
46.293103
186
0.640037
[ "MIT" ]
AhmedMagdyG/BotBuilder-Samples
samples/csharp_dotnetcore/17.multilingual-bot/Translation/TranslationMiddleware.cs
5,372
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Models.Common { public class Entity : BaseObject { public System.Guid EntityUid { get; set; } public int EntityTypeId { get; set; } public string EntityType { get; set; } public int...
25.875
88
0.650564
[ "Apache-2.0" ]
CredentialEngine/CredentialFinderEditor
Models/Common/Entity.cs
1,865
C#
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class LevelLoader : MonoBehaviour { static LevelLoader _loader; private Slider slider; private Animator loadingAnimator; bool _loading; const string LoadTrigger = "Start"; const string ...
24.507692
67
0.577527
[ "Apache-2.0" ]
hal-9001-v/Holobots
Assets/Scripts/Loading/LevelLoader.cs
1,593
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Linq; using MHUrho.Logic; using MHUrho.Storage; using MHUrho.WorldMap; namespace MHUrho.Plugins { /// <summary> /// Base class for player AI instance plugins. /// </summary> public abstract class PlayerAIInstancePlugin : Instan...
31.05618
130
0.696454
[ "MIT" ]
MK4H/MHUrho
MHUrho/MHUrho/Plugins/PlayerAIInstancePlugin.cs
2,766
C#
using Composite.Models; using System; namespace Composite { public class Program { static void Main(string[] args) { Boxs complexOrder = new Boxs(); Products receipt = new Products("Receipt"); complexOrder.Add(receipt); Boxs phoneBox = new Boxs...
23.266667
71
0.560172
[ "MIT" ]
RezaJenabi/DesignPatternsCSharp
Src/Structural/Composite/Program.cs
700
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...
26.16129
88
0.618989
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Ec2/Inputs/GetAmiIdsFilter.cs
811
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Collections.Immutable; using Microsoft.CodeAnalysis.CSharp.Symbols; using...
29.220183
184
0.636735
[ "Apache-2.0" ]
codemonkey85/roslyn
Src/Compilers/CSharp/Test/Symbol/Symbols/MockAssemblySymbol.cs
3,187
C#
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
48.4825
110
0.688032
[ "Apache-2.0" ]
CaptiveLogix/Thinktecture.IdentityServer.v3
source/Tests/UnitTests/Connect/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Invalid.cs
19,395
C#
using BlueBoard.Contract.Common; using BlueBoard.Contract.Identity.Commands; using FluentValidation; namespace BlueBoard.Module.Identity.Validators { public class SignUpValidator : AbstractValidator<SignUp> { public SignUpValidator() { this.RuleFor(i => i.Email) .Not...
26.764706
71
0.67033
[ "MIT" ]
stenvix/blueboard-api
src/BlueBoard.Module.Identity/Validators/SignUpValidator.cs
455
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cofoundry.Domain { /// <summary> /// The basic component of an IPermission, the type represents /// the type of action to be permitted. Some common permission types /// like 'R...
31.961538
115
0.59988
[ "MIT" ]
BOBO41/cofoundry
src/Cofoundry.Domain/Domain/Roles/Models/PermissionType.cs
1,664
C#
using UnityEngine; using UnityEngine.Assertions; using UnityEngine.UI; using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace EcoBuilder { [Serializable] public class LevelDetails { // metadata [SerializeField] int idx; [SerializeFiel...
39.405303
189
0.551812
[ "MIT" ]
jxz12/EcoBuilder
Assets/Scripts/Misc/Level.cs
20,808
C#
using System; using Android.Content; using Android.Runtime; using Android.Util; using Android.Views; namespace Xamarin.Forms.Platform.Android { public class ContainerView : ViewGroup { IVisualElementRenderer _renderer; View _view; public ContainerView(Context context, View view) : base(context) { View =...
22.895652
119
0.688188
[ "MIT" ]
Axemasta/Xamarin.Forms
Xamarin.Forms.Platform.Android/Renderers/ContainerView.cs
2,635
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace CampusApp.Evaluation.DTO { [DataContract] class RequestDTO { [DataMember] internal string deviceID; } }
17.647059
35
0.72
[ "Apache-2.0" ]
M-a-x-G/University-Evaluation-Windows-Phone
CampusAppEvalWP/Evaluation/DTO/RequestDTO .cs
302
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using KiepCommunication.Model; namespace KiepCommunication.GUI { public partial class frmSettings : CustomForm { private Custo...
27.541667
105
0.686082
[ "MIT" ]
Joozt/KiepCommunicationSoftware
KiepCommunication/GUI/frmSettings.cs
2,646
C#
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2016 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software")...
43.90625
101
0.717438
[ "MIT" ]
ketangarala/core
Libraries/Hotcakes.Commerce/Accounts/IAccountService.cs
1,407
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 System; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Screens.Select.Filter; namespace osu.Game.Screens.Select.Carousel { public class ...
37.142857
185
0.621635
[ "MIT" ]
Dragicafit/osu
osu.Game/Screens/Select/Carousel/CarouselBeatmap.cs
2,025
C#
using MediatR; using TaxonomyService.Data; using TaxonomyService.Data.Model; using TaxonomyService.Features.Core; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; using System.Data.Entity; namespace TaxonomyService.Features.Users { public class RemoveUserCommand { publ...
30.604651
117
0.629179
[ "MIT" ]
QuinntyneBrown/TaxonomyService
src/TaxonomyService/Features/Users/RemoveUserCommand.cs
1,316
C#
/******************************************************************************* * Copyright 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 ...
28.768041
132
0.50654
[ "Apache-2.0" ]
brainmurphy/aws-sdk-net
sdk/src/Core/Amazon.Runtime/Internal/Settings/_bcl+coreclr/PersistenceManager.cs
11,164
C#
// Copyright 2019 DeepMind Technologies Limited // // 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 l...
36.55814
104
0.732188
[ "Apache-2.0" ]
Garfield-kh/mujoco
unity/Runtime/Components/Bodies/MjMocapBody.cs
1,572
C#
version https://git-lfs.github.com/spec/v1 oid sha256:de14052fc10ee28d70bdde0951f39c7f208c10e9155e054632ecd02ce9fd66a0 size 414
32
75
0.882813
[ "MIT" ]
kenx00x/ahhhhhhhhhhhh
ahhhhhhhhhh/Library/PackageCache/com.unity.render-pipelines.high-definition@7.1.8/Editor/Material/Unlit/ShaderGraph/CreateHDUnlitShaderGraph.cs
128
C#