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.ComponentModel.DataAnnotations; using EPiServer.Core; using EPiServer.DataAbstraction; using EPiServer.DataAnnotations; namespace Boost.Seo.Ascend.Playground.Models.Pages { /// <summary> /// Used for campaign or landing pages, commonly used for pages linked in online advertising such as AdWords ...
29.15625
112
0.666667
[ "MIT" ]
mariajemaria/Boost.Seo.Ascend.Playground
Boost.Seo.Ascend.Playground/Models/Pages/LandingPage.cs
933
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using MAVN.Common.Encryption; using MAVN.Common.MsSql; using MAVN.Service.CustomerProfile.Domain.Enums; using MAVN.Service.CustomerProfile.Domain.Models; using MAVN.Service.CustomerProfile.Domain.Repositor...
34.7125
116
0.60731
[ "MIT" ]
IliyanIlievPH/MAVN.Service.CustomerProfile
src/MAVN.Service.CustomerProfile.MsSqlRepositories/Repositories/AdminProfileRepository.cs
5,554
C#
using Microsoft.SharePoint; using System; using System.Linq; namespace TITcs.SharePoint.Commons.Extensions { public static class SPSiteExtensions { /// <summary> /// Run code with elevated privileges onto the site. /// </summary> /// <param name="site">The current site.</param>...
31.627907
104
0.558088
[ "MIT" ]
TITcs/TITcs.SharePoint.Commons
src/TITcs.SharePoint.Commons/Extensions/SPSiteExtensions.cs
1,362
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...
41.164179
188
0.636331
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/Internal/MarshallTransformations/CreateMeetingResponseUnmarshaller.cs
5,516
C#
//------------------------------------------------------------------------------ // <auto-generated>This code was generated by LLBLGen Pro v5.6.</auto-generated> //------------------------------------------------------------------------------ using System; using System.Collections.Generic; namespace EFCore.Bencher.En...
49.979592
171
0.686811
[ "MIT" ]
FransBouma/RawDataAccessBencher
EFCore/Model/EntityClasses/SalesOrderDetail.cs
2,451
C#
namespace T3000.Forms { partial class HolidaysForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
44.791946
144
0.620467
[ "MIT" ]
Fance/T3000_CrossPlatform
T3000/Forms/HolidaysForm/HolidaysForm.Designer.cs
6,676
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
37.457143
84
0.762014
[ "MIT" ]
Dineshbala1/GoogleDriveAPI-XamarinForms
XamarinFormsGoogleDriveAPI/XamarinFormsGoogleDriveAPI.Droid/Properties/AssemblyInfo.cs
1,314
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Axe.Windows.Automation; using Axe.Windows.Core.Bases; using Axe.Windows.Core.Enums; using Axe.Windows.Core.Results; using Axe.Windows.Core.Types; using Mic...
44.895928
135
0.61288
[ "MIT" ]
Bhaskers-Blu-Org2/axe-windows
src/AutomationTests/ScanResultsAssemblerTests.cs
9,704
C#
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved using System; using...
34.372881
99
0.602071
[ "MIT" ]
mfloresn90/CSharpSources
Toast notifications sample/C#/App.xaml.cs
2,028
C#
using GranSteL.Chatbot.Services; using MailRu.Marusia.Models; using MailRu.Marusia.Models.Input; namespace GranSteL.Chatbot.Messengers.Marusia { public interface IMarusiaService : IMessengerService<InputModel, OutputModel> { } }
24.2
81
0.785124
[ "MIT" ]
granstel/Templates.Chatbot
src/GranSteL.Chatbot.Messengers.Marusia/IMarusiaService.cs
244
C#
using System; using System.Windows; using VTility.Logic; using System.Linq; namespace VTility.Pages { public partial class PageTimer : BasePage { public PageTimer() { InitializeComponent(); } public UtilTimer SelectedTimer { get ...
31.955882
111
0.552692
[ "Apache-2.0" ]
vincelord/TimeR
VTility/Pages/PageTimer.xaml.cs
2,175
C#
using GServer.Messages; namespace GServer.Plugins.Matchmaking { public class MatchmakingManager<TGame, TAccountModel> : RoomManager<TGame, TAccountModel, MatchmakingRoom<TAccountModel, TGame>> where TAccountModel : AccountModel, new() where TGame : Game<TAccountModel>, new() ...
36.55
109
0.547196
[ "MIT" ]
TBringerOHW/GServer
GServer/GServer.Plugins/Matchmaking/MatchmakingManager.cs
1,464
C#
namespace SmartStore.Core.Domain.Catalog { /// <summary> /// Represents a backorder mode /// </summary> public enum BackorderMode { /// <summary> /// No backorders /// </summary> NoBackorders = 0, /// <summary> /// Allow qty below 0 /// </summa...
22.727273
49
0.512
[ "MIT" ]
jenmcquade/csharp-snippets
SmartStoreNET-3.x/src/Libraries/SmartStore.Core/Domain/Catalog/BackorderMode.cs
500
C#
using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.Rest; using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; namespace PipServices3.Azure.Metrics { public class CosmosDbClientCredentials : ServiceClientCredentials { ...
34.957143
123
0.658357
[ "MIT" ]
pip-services-dotnet/pip-services-azure-dotnet
src/Metrics/CosmosDbClientCredentials.cs
2,449
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System; using System.ComponentModel; using System.Componen...
43.763158
123
0.653939
[ "Apache-2.0" ]
ajfleming1/openiddict-core
src/OpenIddict.EntityFramework/Configurations/OpenIddictTokenConfiguration.cs
3,328
C#
/*********************************************************************\ *This file is part of My Nes * *A Nintendo Entertainment System Emulator. * * * *Copyright (C) 2009 - 2010 ...
33.313861
172
0.339678
[ "Apache-2.0" ]
evgenyvinnik/jvsc-windows-apps
Nes7/EmuSeven/NES/CPU/CPU.cs
62,732
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Microsoft.DotNet.Interactive.Notebook; namespace Microsoft.DotNet.Interactive.Commands { public class SerializeNotebook...
31.666667
124
0.676316
[ "MIT" ]
AngelusGi/interactive
src/Microsoft.DotNet.Interactive/Commands/SerializeNotebook.cs
762
C#
namespace Orchard.OpenId.Constants { public class General { public const string AuthenticationErrorUrl = "/Authentication/Error"; public const string LogonCallbackUrl = "/Users/Account/LogonCallback"; public const string OpenIdOwinMiddlewarePriority = "10"; public const string Local...
45.111111
78
0.706897
[ "BSD-3-Clause" ]
AndreaPiovanelliLaser/Orchard
src/Orchard.Web/Modules/Orchard.OpenId/Constants/General.cs
408
C#
using myoddweb.classifier.interfaces; using Outlook = Microsoft.Office.Interop.Outlook; namespace myoddweb.classifier.core { public class OutlookFolder : IFolder { /// <summary> /// Get access to the outlook folder. /// </summary> public readonly Outlook.MAPIFolder Folder; /// <summary> /...
25.433962
96
0.633531
[ "MIT" ]
FFMG/myoddweb.classifier
Classifier.Outlook/core/outlookfolder.cs
1,350
C#
namespace MassTransit { using System; /// <summary> /// Used to visit the state machine structure, so it can be displayed, etc. /// </summary> [Obsolete] public interface Visitable : IVisitable { } }
16.133333
79
0.590909
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
src/MassTransit.Abstractions/SagaStateMachine/Visitable.cs
242
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("Pla...
38.054054
84
0.747869
[ "MIT" ]
CodePenguin/PlayPass
PlayPass.Engine.Test/Properties/AssemblyInfo.cs
1,411
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2RuleGroupRuleStatementNotStatementStatementAndStatementStatementXssMatchStatementFieldToMatchSingleHeader), fullyQualifiedName: "aws.Wafv2RuleGroupRuleStatementNotStatementStateme...
46.516129
294
0.75104
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2RuleGroupRuleStatementNotStatementStatementAndStatementStatementXssMatchStatementFieldToMatchSingleHeader.cs
1,442
C#
using System; using System.Collections.Generic; using System.Text; namespace WildFarm.Animals.Felines.Factory { public class FelineFactory { public Feline CreateFeline(string type, string name, double weight, string livingRegion, string breed) { type = type.ToLower(); s...
23.777778
110
0.529595
[ "MIT" ]
TodorNikolov89/SoftwareUniversity
CSharp_OOP_Basics/Polymorphism/WildFarm/Animals/Felines/Factory/FelineFactory.cs
644
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...
40.417266
177
0.54361
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ElasticBeanstalk/Generated/Model/Internal/MarshallTransformations/InstanceHealthSummaryUnmarshaller.cs
5,618
C#
using AutoMapper; using DREM_API.BusinessController; using DREM_API.Extensions; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threadi...
40.208633
232
0.578458
[ "MIT" ]
DREM-DAO/drem
market/api/DREM-API/DREM-API/Controllers/OrderController.cs
5,591
C#
using DataAccess.Interfaces; using Neo4j.Driver; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DataAccess.Person { public class PersonRepository : IPersonRepository { private readonly IDictionary<string, string> _mutations; ...
38.946903
179
0.546694
[ "MIT" ]
psyphore/graphql-net_core-neo4j
DataAccess/Person/PersonRepository.cs
4,403
C#
using System.Collections.Generic; namespace TuduManayer.Domain.Todo.Search { public interface ISearchTodoService { IReadOnlyCollection<Models.Todo> Search(string searchText); } public class SearchTodoService : ISearchTodoService { private readonly ISearchTodoRepository repository; ...
25.083333
73
0.677741
[ "MIT" ]
seymourpoler/TuduManayer
dotnet/react.mvc-core.postgres.dapper/TuduManager/src/TuduManayer.Domain/Todo/Search/SearchTodoService.cs
602
C#
/* 2011 - This file is part of AcaLabelPrint AcaLabelPrint is free Software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. AcaLabelprint is di...
41.389175
138
0.584906
[ "Apache-2.0" ]
mvendert/LabelPrint
LabelXPrintEngine/Paper.cs
16,059
C#
using System; using System.Buffers; using System.Diagnostics; using System.Threading; namespace TiffLibrary.ImageDecoder { internal class TiffDelegatingImageDecoderContext : TiffImageDecoderContext { private readonly TiffImageDecoderContext _innerContext; protected TiffImageDecoderContext Inn...
55.625
159
0.741124
[ "MIT" ]
machielvisser/TiffLibrary
src/TiffLibrary/ImageDecoder/TiffDelegatingImageDecoderContext.cs
2,227
C#
/* MIT License Copyright (c) 2020 Whitespace Software Limited 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, m...
37.443548
127
0.566659
[ "MIT" ]
whitespace-software/CSharpUtils
RiskPack/Program.cs
4,645
C#
using System; using Cosmos; using Cosmos.UnionTypes; using Cosmos.UnionTypes.Internals; // ReSharper disable RedundantExtendsListEntry namespace Cosmos.UnionTypes; /// <summary> /// Union Of <br /> /// 联合类型 /// </summary> /// <typeparam name="T0"></typeparam> /// <typeparam name="T1"></typeparam> /// <typeparam nam...
28.596774
231
0.450416
[ "Apache-2.0" ]
cosmos-loops/Cosmos.Standard
src/Cosmos.Extensions.Optionals/Cosmos/UnionTypes/UnionOf`14.cs
30,451
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Maui.CustomAttributes; using System.Maui.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using System.Maui.Core.UITests; #endif namespace System.Maui.Controls.Issues { [Preserve(A...
22.797101
130
0.706929
[ "MIT" ]
AswinPG/maui
System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue4484.cs
1,573
C#
// 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, // distribute, sublicense, and/or sell...
27.756303
73
0.712988
[ "Apache-2.0" ]
121468615/mono
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ApplicationContext.cs
3,303
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using System.Data; using System.Data.SqlClient; namespace TOS.DAL { public class MSSQL { /// <summary> /// 连接字符串 /// </summary> private static string conStr = Conf...
29.643564
105
0.506012
[ "MIT" ]
yiyungent/TOS
TOS.DAL/MSSQL.cs
3,066
C#
using CgbPostBuildHelper.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Text.RegularExpressions; using Diag = System.Diagnostics; using System.Security.Cryptography; using CgbPostBuildHelper.ViewModel; using Assim...
23.184211
59
0.786606
[ "MIT" ]
johannesugb/CG-Base
visual_studio/tools/sources/cgb_post_build_helper/cgb_post_build_helper/Deployers/CopyFileDeployment.cs
883
C#
namespace usagi.Collection.Extension { /// <summary> /// IEnumerable, IDictionary など Collection 向けの Extension /// </summary> [System.Runtime.CompilerServices.CompilerGeneratedAttribute] internal class NamespaceDoc { } }
28.875
62
0.748918
[ "MIT" ]
usagi/usagi.cs
usagi/Collection/Extension/Extension.cs
243
C#
// Modified from http://mvccontrib.codeplex.com // Copyright 2007-2010 Eric Hexter, Jeffrey Palermo using System.Linq; using System.Reflection; using System.Web.Http; namespace WebApiContrib.Testing.Internal.Extensions { internal static class MethodInfoExtensions { /// <summary> /// Returns t...
31.75
133
0.665354
[ "MIT" ]
Udit-Sharma/WebAPIContrib
src/WebApiContrib.Testing/Internal/Extensions/MethodInfoExtensions.cs
764
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// mybank.credit.guarantee.contract.sign /// </summary> public class MybankCreditGuaranteeContractSignRequest : IAlipayRequest<MybankCreditGuaranteeContractSignRespons...
23.601449
117
0.540682
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/MybankCreditGuaranteeContractSignRequest.cs
3,271
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace SigParser.Model { /// <summary> /// Details about a company based on the domain name. You should only map this to your CRM if your CRM only has one Acc...
51.346667
197
0.703367
[ "MIT" ]
DragnetTech/SigParserDotNetApis
src/main/CsharpDotNet2/SigParser/Model/DragnetTechSharedIPAASModelsCompanyOutputModel.cs
11,553
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
35.44
85
0.553047
[ "Apache-2.0" ]
360imprimir/ef6-bulk-operations
Tanneryd.BulkOperations.EF6/Tanneryd.BulkOperations.EF6.NET47.ModelFirst.Tests/Models/EF/BatchInvoiceItem.cs
886
C#
namespace FlatFile.Delimited { using FlatFile.Core; public interface IDelimitedLineBuilderFactory : ILineBuilderFactory<IDelimitedLineBuilder, IDelimitedLayoutDescriptor, IDelimitedFieldSettingsContainer> { } }
26.111111
112
0.782979
[ "MIT" ]
Peter-LaComb/FlatFile
FlatFile.Delimited/IDelimitedLineBuilderFactory.cs
235
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using WooCommerceNET.Base; namespace WooCommerceNET.WooCommerce.v2 { public class CustomerBatch : BatchObject<Customer> { } [DataContract] public class Customer : JsonObject { public static string Endpoint { g...
28.037736
77
0.526053
[ "MIT" ]
HenkoR/WooCommerce.NET
WooCommerce/v2/Customer.cs
10,410
C#
using EngineeringUnits.Units; using System.Collections.Generic; using System.Text; namespace EngineeringUnits { public partial class BitRate { /// <summary> /// Get BitRate in BitsPerSecond. /// </summary> public double BitsPerSecond => As(BitRateUnit.BitPerSecond); ...
33
78
0.587173
[ "MIT" ]
MadsKirkFoged/EngineeringUnits
EngineeringUnits/CombinedUnits/BitRate/BitRateGet.cs
4,820
C#
using Google.GData.Client; using NUnit.Framework; using Google.GData.Client.UnitTests; namespace Google.GData.Client.UnitTests.Core { /// <summary> ///This is a test class for AtomLogoTest and is intended ///to contain all AtomLogoTest Unit Tests ///</summary> [...
25.707317
85
0.523719
[ "Apache-2.0" ]
michael-jia-sage/libgoogle
src/unittests/core/AtomLogoTest.cs
2,110
C#
// // Unit tests for HKCdaDocumentSample // // Authors: // Sebastien Pouliot <sebastien@xamarin.com> // // Copyright 2016 Xamarin Inc. All rights reserved. // #if HAS_HEALTHKIT using System; using Foundation; using HealthKit; using UIKit; using NUnit.Framework; namespace MonoTouchFixtures.HealthKit { [TestFixture...
23.910714
148
0.68708
[ "BSD-3-Clause" ]
ScriptBox99/xamarin-macios
tests/monotouch-test/HealthKit/CdaDocumentSampleTest.cs
1,339
C#
/* The MIT License (MIT) Copyright (c) 2007 - 2021 Microting A/S 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,...
41.802198
113
0.700578
[ "MIT" ]
Gid733/eform-insight-dashboard-base
Microting.InsightDashboardBase/Infrastructure/Data/InsightDashboardPnDbContext.cs
3,804
C#
using Blockcore.Consensus.ScriptInfo; using Blockcore.Networks; using NBitcoin; namespace Blockcore.Indexer.Crypto { public class ScriptToAddressParser { public static string GetSignerAddress(Network network, Script script) { BitcoinAddress address = script.GetSignerAddress(network); ...
28.285714
140
0.562902
[ "MIT" ]
block-core/blockcore-indexer
src/Blockcore.Indexer/Crypto/ScriptToAddressParser.cs
2,178
C#
using FakeNews.Transfer.Jwt; using FakeNews.Transfer.Users; using System.Threading.Tasks; namespace FakeNews.Bll.Users { public interface IUserService { Task<TokenDto> LogUserInAsync(LoginDto loginDto); Task RegisterUserAsync(RegisterUserDto registerUserDto); } }
22.615385
64
0.748299
[ "MIT" ]
TomSoldier/fakenews
src/Backend/FakeNews/FakeNews.Bll/Users/IUserService.cs
296
C#
using System; namespace _03.ExactProductOfRealNumbers { public class ExactProductOfRealNumbers { public static void Main() { int n = int.Parse(Console.ReadLine()); decimal product = 1M; for (int i = 0; i < n; i++) { double number =...
22.857143
65
0.5125
[ "MIT" ]
vasilivanov93/SOFTUNI
C#/02. Programming Fundamentals C# - Extended/Programming Fundamentals - Project/01. Data types - Lab/03. ExactProductOfRealNumbers/ExactProductOfRealNumbers.cs
482
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore; using Microsoft.Extensions.Configuration; using Microsoft.AspNetCore.Http.Features; using System; using...
31.752475
106
0.549111
[ "MIT" ]
BionStt/practical-aspnetcore
projects/2-2/new-redis-caching-package/src/Program.cs
3,207
C#
using System; using System.Collections.Generic; namespace SonarAnalyzer.Experiments.CSharp { public class DontSortUncomparebleLists { public DontSortUncomparebleLists() { var objects = new List<object>(); objects.Sort(); // noncompliant. object does not implement ICompa...
29.6
100
0.594595
[ "MIT" ]
Corniel/SonarAnalyzer.Experiments
src/SonarAnalyzer.Experiments.CSharp/DontSortUncomparebleLists.cs
890
C#
using UnityEngine; using UnityEditor; using System.Reflection; using System.Linq; namespace KrColorPalette { public abstract class ColorInitializeInspectorBase : Editor { protected PropertyInfo[] properties = null; // Palette色のクラスのプロパティ配列 protected string[] propert...
35.20339
126
0.573423
[ "MIT" ]
kirierurein/KrColorPalette
Assets/Kirierurein/ColorPalette/Editor/Scripts/ColorInitializeInspectorBase.cs
2,345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace RainbowCommand { class Explosion { private PointF _position; private float _width; private float _height; private const float MaxExplosion = 100f; pri...
20.936508
111
0.504928
[ "MIT" ]
rfoligno/game-rainbow-command
RainbowCommand/Explosion.cs
1,321
C#
using System; using System.Collections.Generic; using System.Text; using System.Net.Sockets; using SuperSocket.SocketBase; namespace SuperSocket.SocketEngine { /// <summary> /// This class is designed for use as the object to be assigned to the SocketAsyncEventArgs.UserToken property. /// </su...
22.666667
117
0.588235
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
src/external/SuperSocket/v1.4/SocketEngine/AsyncSocket/AsyncUserToken.cs
748
C#
using System.Diagnostics; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Imaging; using System.Windows.Shapes; using JetBrains.Annotations; namespace essentialMix.Core.WPF.Controls; public enum TransitionQuality { Non...
29.699029
333
0.733246
[ "MIT" ]
asm2025/essentailMix.Core
essentialMix.Core.WPF/Controls/SlidingContent.cs
9,179
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.Collections.Generic; using System.Collections.Immutable; using System.Threading; using StarkPlatform.CodeAnalysis.Common; namespa...
38.5
161
0.712662
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/EditorFeatures/Core/Implementation/TodoComment/ITodoListProvider.cs
1,234
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("Imp...
38.162162
84
0.75
[ "MIT" ]
simeonovanton/TelerikALPHA_nov2017
05.DSA/LinearDataStructures/LinearStructures/ImplementLinkedList.cs/Properties/AssemblyInfo.cs
1,415
C#
//----------------------------------------------------- // <copyright file="PageModelOther.cs" company="Cognizant"> // Copyright 2022 Cognizant, All rights Reserved // </copyright> // <summary>Another test Playwright page object model</summary> //----------------------------------------------------- using CognizantSo...
28.62963
87
0.542475
[ "MIT" ]
CognizantOpenSource/maqs-dotnet
Framework/PlaywrightTests/PageModelIFrame.cs
2,321
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код был создан программным средством. // // Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если // код создается повторно. // </auto-generated> //----------------...
35.022222
106
0.572335
[ "Apache-2.0" ]
MiracleSirius1/Projects
WebApplication5/WebApplication5/Site.Master.designer.cs
2,079
C#
using Neo.Persistence; namespace Neo.Network.P2P.Payloads { public interface IInventory : IVerifiable { UInt256 Hash { get; } InventoryType InventoryType { get; } bool Verify(DataCache snapshot); } }
17.071429
45
0.648536
[ "MIT" ]
belane/neo
src/neo/Network/P2P/Payloads/IInventory.cs
239
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================ ** ** Purpose: Unsafe code that uses pointers should ...
39.931818
123
0.584121
[ "MIT" ]
hoyMS/corert
src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeBuffer.cs
17,570
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.Runtime.InteropServices; using Microsoft.AspNetCore.HttpSys.Internal; namespace Microsoft.AspNetCore.Server.HttpSys; // See the native HTTP_TIMEOUT_LIMIT...
35.677966
115
0.660808
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Servers/HttpSys/src/TimeoutManager.cs
8,420
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; using Microsoft.TestPlatform.TestUtilities; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft...
40.181818
186
0.715535
[ "MIT" ]
Evangelink/vstest
test/Microsoft.TestPlatform.ObjectModel.PlatformTests/DiaSessionTests.cs
6,632
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using Spark.Compiler; using Spark.Parser.Markup; using SparkLanguage.VsAdapters; using SparkLanguagePackageLib; using Spark.Parser; using Spark; namespace SparkLanguage { public class SourceS...
35.892857
157
0.530017
[ "Apache-2.0" ]
jayharris/spark
src/Tools/SparkLanguage/SourceSupervisor.cs
9,045
C#
/* * Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved. */ namespace Snowflake.Data.Tests { using NUnit.Framework; using System.IO; using System.Text; using Snowflake.Data.Core; using Snowflake.Data.Client; using System.Threading.Tasks; [TestFixture] ...
37.8107
109
0.529713
[ "Apache-2.0" ]
Christian-Oleson/snowflake-connector-net
Snowflake.Data.Tests/SFReusableChunkTest.cs
9,221
C#
using System; using System.Collections.Generic; using System.Reflection; using Microsoft.AspNetCore.Components; namespace Snijderman.Common.Blazor.Internal.Parameters; internal interface IParameterResolver { IEnumerable<PropertyInfo> ResolveParameters(Type memberType); } internal class ParameterResolver : IParame...
27.636364
93
0.694901
[ "Apache-2.0" ]
Snijderman/Snijderman
src/Snijderman.Common.Blazor/Internal/Parameters/ParameterResolver.cs
1,216
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.28125
153
0.648189
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDeviceManagementDeviceManagementScriptsCollectionPage.cs
1,353
C#
namespace Core.Utilities.Results { public class SuccessResult : Result { public SuccessResult(string message) : base(true, message) { } public SuccessResult() : base(true) { } } }
18.538462
66
0.551867
[ "MIT" ]
Tengilimm/ReCapProject-master
Core/Utilities/Results/SuccessResult.cs
243
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ServerLocal { public class Program { ...
24.28
76
0.693575
[ "MIT" ]
DarkArkantos/Parking
Server/CloudServer/ServerLocal/Program.cs
609
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.Core.UnitTests; using Mono.Cecil; using Mono.Cecil.Cil; using NUnit.Framework; namespace Microsoft.Maui.Controls.Xam...
40.56338
183
0.759375
[ "MIT" ]
10088/maui
src/Controls/tests/Xaml.UnitTests/DefinitionCollectionTests.xaml.cs
2,880
C#
namespace CodeChange.Toolkit.Azure.Events { using CodeChange.Toolkit.Domain.Events; using Microsoft.ApplicationInsights; using System; using System.Collections.Generic; using System.Linq; /// <summary> /// An Azure ApplicationInsights implementation of a domain event logger /// </summa...
28.233129
76
0.474359
[ "MIT" ]
JTOne123/Toolkit.NET
src/CodeChange.Toolkit.Azure/Events/DomainEventLogger.cs
4,604
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using JsonApiDotNetCore.Queries; using JsonApiDotNetCore.Queries.Expressions; using JsonApiDotNetCore.Resources; namespace JsonApiDotNetCore.Repositories { /// <summary> /// Retrieves an <see cref="IResourceRe...
49.195122
156
0.695588
[ "MIT" ]
json-api-dotnet/JsonApiDotNetCore
src/JsonApiDotNetCore/Repositories/IResourceRepositoryAccessor.cs
4,034
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VisitorPattern.Items { public class Book : Item { public Book(float weight,string title) : base(weight) { this.Title = title; } ...
18.15
46
0.608815
[ "MIT" ]
GoranGit/High-Quality-Code
Homework/18.BehavioralPattern/VisitorPattern/Items/Book.cs
365
C#
// OData .NET Libraries ver. 5.6.3 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // 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 withou...
54.645858
280
0.581459
[ "Apache-2.0" ]
tapika/choco
lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Microsoft/Data/OData/Atom/ODataAtomPropertyAndValueDeserializer.cs
45,520
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using System.Threading.Tasks; using CrypticPay.Areas.Identity.Data; using CrypticPay.Data; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc...
33.8875
134
0.596459
[ "Apache-2.0" ]
jettblu/Kryptik
CrypticPay/Areas/Community/Pages/Content/Upload.cshtml.cs
2,711
C#
// <copyright file="Login.cshtml.cs" company="Kiip Pazardzhik"> // Copyright (c) Kiip Pazardzhik. All rights reserved. // </copyright> namespace KiipPazardzhik.Areas.Identity.Pages.Account { using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using KiipPazardzhik.Models...
35.60396
164
0.605951
[ "MIT" ]
indieza/Kiip-Pazardzhik
KiipPazardzhik/KiipPazardzhik/Areas/Identity/Pages/Account/Login.cshtml.cs
3,598
C#
//----------------------------------------------------------------------- // <copyright file="ProductFacetsViewModel.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2015 // </copyright> // <summary>Defines the ProductFacetsViewModel class.</summary> //--------------------------------...
42.467532
171
0.617431
[ "Apache-2.0" ]
Sitecore/Reference-Storefront-SCpbMD
Storefront/CSF/Models/Storefront/ProductFacetsViewModel.cs
3,272
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace RegaloParaTiAPI { public class Program { publi...
25.814815
70
0.647059
[ "MIT" ]
jdjinete/regaloparatiapistore
RegaloParaTiAPI/Program.cs
697
C#
using System; using UnityEngine; using UnityStandardAssets.CrossPlatformInput; namespace UnityStandardAssets.Vehicles.Car { [RequireComponent(typeof (CarController))] public class CarUserControl : MonoBehaviour { private CarController m_Car; // the car controller we want to use public bool ...
29.3125
73
0.530917
[ "MIT" ]
DanielSzulc98/High-Speed
High Speed/Assets/Standard Assets/Vehicles/Car/Scripts/CarUserControl.cs
1,876
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 VDF = Autodesk.DataManagement.Client.Framework; using Autodesk.DataManagement.Client.Framework.Vau...
37.821053
261
0.544829
[ "MIT" ]
koechlm/Vault-Sample---Job4iLogicRuleExec
Autodesk.VltInvSrv.iLogicSampleJob/iLogicJobAdminForm.cs
25,153
C#
using System; using ShapesApp.Library; namespace ShapesApp.App { static class Program { static void Main(string[] args) { double length = 3; string input; do { Console.WriteLine("Enter a length:"); inp...
28.365385
85
0.505085
[ "MIT" ]
1909-sep30-net/javon-code
ShapesApp/ShapesApp.App/Program.cs
1,477
C#
using System; using System.Diagnostics; using System.Linq; using GemBox.Presentation; class Program { static void Main() { // If using Professional version, put your serial key below. ComponentInfo.SetLicense("FREE-LIMITED-KEY"); // If example exceeds Free version limitations then cont...
32.607843
162
0.648226
[ "MIT" ]
GemBox-d-o-o/GemBox.Presentation.Examples
C#/Performance/Program.cs
1,663
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.EntityFrameworkCore; using HPlusSports.Models; using System.Threading.Tasks; namespace HPlusSports.DAL.Test { [TestClass] public class TrackingRepositoryTests { [TestMethod] public async Task Delet...
30.228571
86
0.582231
[ "MIT" ]
Dedac/HPlusSportsPatterns
HPlusSports.DAL.Test/TrackingRepositoryTests.cs
1,058
C#
using System; using CMS.Base.Web.UI; using CMS.Base.Web.UI.ActionsConfig; using CMS.DataEngine; using CMS.DocumentEngine; using CMS.FormEngine.Web.UI; using CMS.Helpers; using CMS.Membership; using CMS.PortalEngine.Web.UI; using CMS.SiteProvider; using CMS.UIControls; public partial class CMSModules_C...
33.211111
207
0.588826
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSModules/Content/CMSDesk/Properties/Alias_Edit.aspx.cs
8,969
C#
using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; namespace Logical.Editor.UIElements { public class TwoPaneSplitView : VisualElement { private static readonly string s_UssClassName = "unity-two-pane-split-view"; private static readonly strin...
39.035545
154
0.582225
[ "MIT" ]
GeoBT/Logical-Behavior-Trees
Assets/Logical/Editor/UIElements/TwoPaneSplitView.cs
16,475
C#
using System; using System.Drawing; using System.Windows.Forms; using FlashDebugger.Controls; using PluginCore.Localization; using WeifenLuo.WinFormsUI.Docking; using PluginCore; namespace FlashDebugger { internal class PanelsHelper { static public String pluginGuid = "f9d8faf1-31f7-45ca-9c14-2cad27d7a19e";...
42.219178
133
0.730694
[ "MIT" ]
SlavaRa/flashdevelop-macros
External/Plugins/FlashDebugger/Helpers/PanelsHelper.cs
3,084
C#
using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using AElf.Kernel; using AElf.OS.Network.Grpc; using AElf.OS.Network.Infrastructure; using Google.Protobuf; using Shouldly; using Xunit; namespace AElf.OS.Network { public class PeerConnectionServiceTests : ServerServiceT...
42.31746
128
0.670668
[ "MIT" ]
380086154/AElf
test/AElf.OS.Network.Grpc.Tests/PeerConnectionServiceTests.cs
2,666
C#
using System; using Axis.Pollux.Common.Models; using Axis.Pollux.Identity.Models; namespace Axis.Pollux.Authentication.Models { public class MultiFactorCredential: BaseModel<Guid> { public User TargetUser { get; set; } public string CredentialKey { get; set; } public string CredentialT...
32.904762
146
0.665702
[ "MIT" ]
d-dantte/Axis.Pollox
Axis.Pollux.Authentication/Models/MultiFactorCredential.cs
693
C#
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Reveche { class RevitFile : INotifyPropertyChanged { private static Regex EndYear = new Rege...
26.695652
87
0.54886
[ "MIT" ]
chuongmep/Reveche
Reveche/RevitFile.cs
2,458
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class StartSceneCanvas : MonoBehaviour { public void LoadingNextLevel(string nextLevelName)//加载loading场景 { SceneManager.LoadScene(nextLevelName); } /// <summary> /// 关...
21
67
0.627595
[ "MIT" ]
05Robot/05_Robot
Assets/Script/Mono/UI/StartSceneCanvas.cs
861
C#
using System.ComponentModel.DataAnnotations; namespace AdventureWorks.BaseDomain.Interfaces { public interface ICaching { [Timestamp] byte[] RowVersion { get; set; } byte?[] CashedRowVersion { get; set; } } }
20.5
46
0.654472
[ "Unlicense" ]
CodeSwifterGit/adventure-works
src/AdventureWorks.BaseDomain/Interfaces/ICaching.cs
246
C#
// *********************************************************************** // <copyright file="RequestExtensions.cs" company="ServiceStack, Inc."> // Copyright (c) ServiceStack, Inc. All Rights Reserved. // </copyright> // <summary>Fork for YetAnotherForum.NET, Licensed under the Apache License, Version 2.0</s...
35.9625
121
0.46472
[ "Apache-2.0" ]
Spinks90/YAFNET
yafsrc/ServiceStack/ServiceStack/Common/RequestExtensions.cs
2,800
C#
using System ; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace SpeedCubeSolver { ...
27.444444
70
0.608637
[ "MIT" ]
MichaelKappel/SpeedCube
RC/SpeedCubeSolver/Program.cs
741
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class TaskReport : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Menu Menu1 = (Menu)Master.FindControl("Menu1"); ...
31.869565
133
0.675307
[ "Apache-2.0" ]
nsadovin/Wilstream
Questinary/TaskReport.aspx.cs
735
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.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
32.126316
92
0.60616
[ "MIT" ]
DmitryGolubenkov/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/PipelineDiscardRectangleStateCreateInfoEXT.gen.cs
3,052
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.I...
27.310345
81
0.661616
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/elastic-cloud-eck/dotnet/Kubernetes/Crds/Operators/ElasticCloudEck/Elasticsearch/V1/Inputs/ElasticsearchSpecAuthRolesArgs.cs
792
C#
namespace Sanderling { public enum ShipManeuverTypeEnum { None = 0, Stop = 9, Approach = 10, Orbit = 11, KeepAtRange = 12, Dock = 17, Docked = 18, Undock = 19, Warp = 30, Jump = 31, } public enum ShipCargoSpaceTypeEnum { None = 0, General = 1, DroneBay = 3, OreHold = 7, } public e...
13.680851
35
0.600311
[ "Apache-2.0" ]
SDManson/Sanderling
src/Sanderling/Sanderling/GameWorldStatic.cs
645
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 #region Usings using System; using System.Data; using System.Globalization; using DotNetNuke.Entities.Users; ...
29.592105
167
0.532681
[ "MIT" ]
MaiklT/Dnn.Platform
DNN Platform/Library/Services/Tokens/PropertyAccess/DataRowPropertyAccess.cs
2,251
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...
35.105882
135
0.671247
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Connect/Generated/Model/Internal/MarshallTransformations/LimitExceededExceptionUnmarshaller.cs
2,984
C#
using kSlovnik.Windows; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; namespace kSlovnik.Controls { public static class Prompt { public static string SelectedGamePath { get; private set; } ...
40.498069
142
0.533511
[ "BSD-3-Clause" ]
martin-chulev/kSlovnik
kSlovnik/Controls/Prompt.cs
10,539
C#