content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Reflection; using System.Threading.Tasks; using VkNet.Commands.Results; namespace VkNet.Commands.Readers { internal static class EnumTypeReader { public static TypeReader GetReader(Type t...
38.5
134
0.626345
[ "MIT" ]
davidsl4/VkNet.Commands
src/VkNet.Commands/Readers/EnumTypeReader.cs
2,695
C#
using System; using System.Collections.Generic; #if WINFORMS using System.Drawing; #endif namespace Fairweather.Service { /* Various helper methods */ static partial class Extensions { static public char ToUpper(this char ch) { var ret = Char.ToUpper(ch); ...
21.610619
92
0.453931
[ "MIT" ]
staafl/dotnet-bclext
to-integrate/Extensions/Mutators.cs
4,886
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.439815
147
0.587407
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Sql/V20190601Preview/SyncGroup.cs
8,735
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using Newtonsoft.Json; using NUnit.Framework; using osu.Framework.MathUtils; using osu.Game.Rulesets.Catch.Mods; ...
32.821053
93
0.592688
[ "MIT" ]
123tris/osu
osu.Game.Rulesets.Catch.Tests/CatchBeatmapConversionTest.cs
3,026
C#
//----------------------------------------------------------------------- // <copyright file="BagButton.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TQVaultAE.GUI { u...
31.027027
110
0.610627
[ "MIT" ]
marq/TQVaultAE
src/TQVaultAE.GUI/BagButton.cs
1,148
C#
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Racing.IO { internal static class CustomJsonSerializationSettings { public static readonly JsonSerializerSettings Default = new JsonSerializerSettings { Formatting = Formatting.Indented, ...
26.1875
79
0.661098
[ "MIT" ]
simonrozsival/racing-simulation
src/Racing.IO/CustomJsonSerializationSettings.cs
421
C#
// /* // Copyright (c) 2017-12 // // moljac // Test.cs // // 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 rig...
33.380597
103
0.690588
[ "MIT" ]
moljac/HolisticWare.Xamarin.Tools.Bindings.XamarinAndroid.FassBinderMeister
tests/Tests.CommonShared/GitHubClientAPI/GitHubClient.cs
4,475
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...
50.736842
212
0.770228
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementOrStatementStatementNotStatementStatementOrStatementStatementXssMatchStatementArgs.cs
1,928
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Controls; namespace BassClefStudio.UWP.Core { /// <summary> /// Represents a <see cref="Page"/> with add...
39.37037
139
0.620414
[ "MIT" ]
bassclefstudio/BassClefStudio.UWP
BassClefStudio.UWP.Core/Observables.cs
4,254
C#
// ========================================================================== // RenameAsset.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ===========================================================...
31.875
78
0.372549
[ "MIT" ]
maooson/squidex
src/Squidex.Domain.Apps.Write/Assets/Commands/RenameAsset.cs
512
C#
namespace HareDu { public enum QueueMode { Default, Lazy } }
11
25
0.511364
[ "Apache-2.0" ]
ahives/HareDu1
src/HareDu/QueueMode.cs
88
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.DependencyInjection; using Senparc.CO2NET; using Senparc.CO2NET.Extensions; using Senparc.CO2NET.RegisterServices; using Senparc.CO2NET.Utilities; using Senparc.Core.Models; using Senparc.Scf.Core.Config; using S...
38.365854
160
0.72028
[ "Apache-2.0" ]
gongzhw/SCF
src/Senparc.Web/DbContext/SenparcDbContextFactory.cs
1,775
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
45.340426
144
0.716096
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/NavigationSystem/NavSystemConfigOverride.cs
2,131
C#
using System.Threading; using System.Threading.Tasks; using HealthyNutGuysDomain.Models; namespace HealthyNutGuysDomain.Repositories { public interface IRefreshTokenRepository { #region Methods Task<bool> DeleteAsync(ApplicationUser user, RefreshToken refreshToken, CancellationToken ct = default(Cancellati...
33.722222
129
0.805601
[ "MIT" ]
omikolaj/healthy-nut-guys-api
HealthyNutGuysDomain/Repositories/IRefreshTokenRepository.cs
607
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AH.Shared.MODEL; namespace AH.INVMS.MODEL { public class DemandRequisition { public string ID { set; get; } public string TransactionType { set; get; } public strin...
35.606061
58
0.645957
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.INVMS/MODEL/DemandRequisition.cs
1,177
C#
using System; class Bus : Vehicle { public Bus(double fuelQuantity, double fuelConsumation, double tankCapacity) : base(fuelQuantity, fuelConsumation, tankCapacity) { } internal override void Drive(double distance) { DriveCalculate(distance, 1.4); } internal void DriveEmpty(doubl...
25.935484
81
0.652985
[ "MIT" ]
sevgin0954/SoftUni-Projects
C# OOP Basics/Polymorphism - Exercise/Vehicles/Bus.cs
806
C#
namespace PhoenixPointModLoader.Manager { public enum ModLoadPriority { Normal, Low, High } }
11.444444
40
0.728155
[ "Apache-2.0" ]
Ijwu/PhoenixPointModInjector
PhoenixPointModLoader/Manager/ModLoadPriority.cs
105
C#
using numl.Math.LinearAlgebra; using numl.Supervised; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace numl.Supervised.Classification { /// <summary> /// Generated Classification model. /// </summary> public class ClassificationModel : LearningModel {...
34.494624
174
0.554863
[ "MIT" ]
sethjuarez/numl
Src/numl/Supervised/Classification/ClassificationModel.cs
3,210
C#
/* JustMock Lite Copyright © 2010-2014 Telerik EAD 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 o...
26.704545
138
0.766809
[ "Apache-2.0" ]
tailsu/JustMockLite
Telerik.JustMock.Silverlight/Silverlight/SilverlightGlue.cs
1,176
C#
namespace Agebull.EntityModel { /// <summary> /// 通知对象的状态类型 /// </summary> public enum NotificationStatusType { /// <summary> /// 原始状态 /// </summary> None, /// <summary> /// 已刷新 /// </summary> Refresh, /// <summary> ///...
17.95
38
0.342618
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
agebullhu/MicroZero
src/ZeroTester/Entities/Interface/NotificationStatusType.cs
1,187
C#
/* Copyright (c) 2013, 2014 Paolo Patierno All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www.eclipse....
37.358121
185
0.600943
[ "EPL-1.0" ]
sandermvanvliet/paho.mqtt.m2mqtt
M2Mqtt/Net/MqttNetworkChannel.cs
19,090
C#
using System.Linq; using System.Threading.Tasks; using IdentitySample.Models; using IdentitySample.Models.ManageViewModels; using IdentitySample.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using ...
31.163265
120
0.724951
[ "MIT" ]
iamshen/LinqToDB.Identity
samples/IdentitySample.Mvc/Controllers/ManageController.cs
10,689
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("05....
37.459459
84
0.743867
[ "MIT" ]
Shtereva/Fundamentals-with-CSharp
Objects and Simple Classes/05. Boxes/Properties/AssemblyInfo.cs
1,389
C#
using System; namespace XmlFormatter.src.Interfaces.Settings.DataStructure { /// <summary> /// This interface is a single setting /// </summary> public interface ISettingPair { /// <summary> /// The key or name of the setting /// </summary> string Name { get; } ...
27.692308
84
0.532407
[ "MIT" ]
XanatosX/XmlFormatter
XmlFormatter/src/Interfaces/Settings/DataStructure/ISettingPair.cs
1,082
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. using Microsoft.AspNetCore.Razor.LanguageServer.Tooltip; using Xunit; namespace Microsoft.AspNetCore.Razor.LanguageServer.Test.Completion { public class TagHelper...
28.5
144
0.587235
[ "MIT" ]
dougbu/razor-tooling
src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/Completion/TagHelperTooltipFactoryBaseTest.cs
9,293
C#
using System.Collections; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using Microsoft.Xna.Framework; using Olive.SceneManagement; namespace Olive; /// <summary> /// Represents an object which exists in a scene. /// </summary> public sealed class GameObject : IDisposable { private readonly...
32.4
149
0.594463
[ "MIT" ]
olive-engine/olive
Olive/GameObject.cs
10,692
C#
// LogSwrveActionOnMethod Decompiled was cancelled.
13.25
25
0.830189
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.Analytics/LogSwrveActionOnMethod.cs
53
C#
namespace Sdl.Web.Mvc { /// <summary> /// Constants representing the names of ViewData/ViewBag items used by the DXA framework. /// </summary> public static class DxaViewDataItems { public const string RegionName = "RegionName"; public const string Renderer = "Renderer"; pub...
35.4375
93
0.679012
[ "Apache-2.0" ]
JaimeSA/dxa-web-application-dotnet
Sdl.Web.Mvc/DxaViewDataItems.cs
569
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
38.607477
262
0.632292
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/datamigration/Microsoft.Azure.Management.DataMigration/src/Generated/Models/ConnectToSourceMySqlTaskInput.cs
4,131
C#
namespace Call_in_a_Doctor { partial class frmInPersonPaymentJasmin { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
54.119632
170
0.594627
[ "MIT" ]
Atanusaha143/Call-in-a-Doctor
Call in a Doctor/Call in a Doctor/InPersonPaymentJasmin.Designer.cs
17,645
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Cofoundry.Core.Configuration; using Microsoft.AspNetCore.Hosting; namespace Cofoundry.Core { /// <summary> /// Settings that give finer grained control over debugging Cofoundry features. /// </summary> ...
45.278689
128
0.672339
[ "MIT" ]
BOBO41/cofoundry
src/Cofoundry.Core/Core/Settings/DebugSettings.cs
2,764
C#
namespace Highway.Data { /// <summary> /// An Interface for Scalar Queries that return a single value or object /// </summary> /// <typeparam name="T">The Type that is being returned</typeparam> public interface IScalar<out T> { /// <summary> /// Executes the expression against t...
38.75
106
0.63871
[ "Apache-2.0" ]
mrayburn/Highway.Data
Highway/src/Highway.Data/Interfaces/Queries/IScalar.cs
620
C#
/* Copyright 2010-2014 MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
24.215686
74
0.636437
[ "Apache-2.0" ]
EvilMindz/mongo-csharp-driver
MongoDB.DriverUnitTests/Jira/CSharp532Tests.cs
1,237
C#
using System.Windows; namespace WpfApplication1 { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { DataContext = new TestWindowViewModel(); InitializeComponent(); ...
19.411765
52
0.578788
[ "MIT" ]
JPVenson/WPFCommon
WpfApplication1/MainWindow.xaml.cs
332
C#
namespace LiteDB.Studio { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
53.722494
162
0.626215
[ "MIT" ]
AlBannaTechno/LiteDB.Studio
LiteDB.Studio/Forms/MainForm.Designer.cs
43,947
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Protocol.Models; using OmniSharp.Extensions.LanguageServer.Protocol.Server;...
39.53125
128
0.647036
[ "Apache-2.0" ]
BigHeadGift/HLSL
src/ShaderTools.LanguageServer/Handlers/DocumentHighlightHandler.cs
2,469
C#
using HackConsole; using SurvivalHack.ECM; using System.Collections.Generic; using System.Linq; namespace SurvivalHack.Combat { public interface IWeapon : IComponent { Damage Damage { get; } Vec? Dir(Entity attacker, Entity defender); IEnumerable<Entity> Targets(Entity attacker, Vec di...
27.039683
129
0.560611
[ "BSD-2-Clause" ]
wokste/LotUS-Roguelike
SurvivalHack/Combat/Weapons.cs
3,409
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections; using System.Collections.Generic; using System.ComponentModel; using S...
33.711632
184
0.450837
[ "MIT" ]
jsoref/dotnet-winforms
src/System.Windows.Forms/src/System/Windows/Forms/LinkLabel.cs
68,976
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 MySql.Data.MySqlClient; using System.IO; using System.Text.RegularExpressions; namespace Car_Renti...
33.950156
485
0.523246
[ "Apache-2.0" ]
GunaRakulan-GR/car-rental-system
0-project-files/Car_Renting_Management_System/carsForm.cs
32,696
C#
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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...
28.972222
75
0.698945
[ "ECL-2.0", "Apache-2.0", "MIT" ]
ONLYOFFICE/CommunityServer
module/ASC.HealthCheck/ASC.HealthCheck/Models/ServiceEnum.cs
1,043
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.852941
319
0.567975
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/network/Microsoft.Azure.Management.Network/src/Generated/PeerExpressRouteCircuitConnectionsOperations.cs
29,621
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using Dawn; using System.Linq; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO.Lottery; using Sportradar.OddsFeed.SDK.Messages.REST; namespace Sportradar.OddsFeed.SD...
35.02439
143
0.64624
[ "Apache-2.0" ]
Honore-Gaming/UnifiedOddsSdkNetCore
src/Sportradar.OddsFeed.SDK/Entities/REST/Internal/Mapping/Lottery/LotteriesMapper.cs
1,438
C#
using Lucene.Net.Analysis; namespace Lucene.Net.Search.Highlight { /* * 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 f...
37.942857
92
0.704066
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net.Highlighter/Highlight/NullFragmenter.cs
1,330
C#
using UnityEngine; using System.Collections; // Object that lists all its children and, when told to, scrolls them public class BackgroundScroller : MonoBehaviour { // Set these through the editor public float begin; public float end; public float scrollSpeed; bool scrolling = false; ArrayL...
32
118
0.614443
[ "Apache-2.0" ]
UnBiHealth/fisiogame
Assets/Script/Minigames/BackgroundScroller.cs
2,370
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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...
52.655087
225
0.680961
[ "Apache-2.0" ]
PracplayLLC/Lean
Tests/Engine/BrokerageTransactionHandlerTests/BrokerageTransactionHandlerTests.cs
42,442
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TestApp.EntityFrameworkCore; nam...
36.929959
125
0.444854
[ "MIT" ]
hasan-ak1996/boilerplate
aspnet-core/src/TestApp.EntityFrameworkCore/Migrations/20201111192402_Update-order2.Designer.cs
72,237
C#
/* * OpaqueMail (https://opaquemail.org/). * * Licensed according to the MIT License (http://mit-license.org/). * * Copyright © Bert Johnson (https://bertjohnson.com/) of Allcloud Inc. (https://allcloud.com/). * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software a...
48.075269
463
0.569112
[ "MIT" ]
bertjohnson/OpaqueMail
OpaqueMail/Mailbox.cs
8,953
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Globalization; using System.Linq; using System.Threading; using Dolittle.Artifacts.Contracts; using Dolittle.Runtime.Artifacts; using Dolittle.Runtime.Domai...
45.159574
239
0.700824
[ "MIT" ]
dolittle-runtime/Runtime
Specifications/Events.Store.MongoDB/Persistence/for_UpdateAggregateVersionsAfterCommit/given/all_dependencies.cs
4,245
C#
using Flight.Seats.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Flight.Data.Configurations; public class SeatConfiguration : IEntityTypeConfiguration<Seat> { public void Configure(EntityTypeBuilder<Seat> builder) { builder.ToTable("Seat"...
25.636364
63
0.671986
[ "MIT" ]
xpertdev/Airline-Microservices
src/Services/Airline.Flight/src/Flight/Data/Configurations/SeatConfiguration.cs
564
C#
using Com.Elarian.Hera.Proto; namespace Elarian.Net.Model { public class ConsentUpdateReply { public MessagingConsentUpdateStatus Status { get; } public string Description { get; } public string CustomerId { get; } internal ConsentUpdateReply(UpdateMessagingConsentReply reply)...
27.176471
121
0.615801
[ "MIT" ]
ElarianLtd/dotnet-sdk
Elarian.Net/Model/Reply/ConsentUpdateReply.cs
926
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.471/blob/master/LICENSE * */ #endregion using Core.Classes.Colours; using Core.Enumerations; using System; using S...
26.864286
155
0.51808
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.471
Source/Krypton Toolkit Suite Extended/Shared/Tooling/Controls/Colours/RGBAColourSlider.cs
7,524
C#
using Architect.Repositories.Abstractions; using RestSharp; using System; using System.Collections.Generic; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Architect.Repositories.WebRepositories { public abstract class BaseWebRepository { protected ...
31.021739
114
0.644008
[ "MIT" ]
MuhammadBashir/Architect
src/Architect.Repositories/WebRepositories/BaseWebRepository.cs
1,429
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; using Microsoft.AspNetCore.Mvc; namespace MVCApp.Models { ///...
32.077922
105
0.679757
[ "MIT" ]
jaatay/Lab11-MVCApp
MVCApp/MVCApp/Models/TimePerson.cs
2,472
C#
using DatabaseBuilder.MigrationManagers; using System; using System.Configuration; using System.Data.SqlClient; namespace DatabaseBuilder { class Program { static void Main(string[] args) { Console.WriteLine("Starting Migration Manager"); var connectionString = Configu...
30.195122
88
0.567044
[ "MIT" ]
mwijnen/WebPortal
DatabaseBuilder/Program.cs
1,240
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.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using M...
39.818182
184
0.751142
[ "Apache-2.0" ]
jdm7dv/Rosyln
Src/Workspaces/CSharp/LanguageServices/CSharpSymbolDeclarationService.cs
878
C#
using Sandbox.Common.ObjectBuilders; using Sandbox.Game.Entities.Cube; using Sandbox.ModAPI; using VRage.Game.ModAPI; using VRage.ObjectBuilders; namespace Rynchodon.Weapons.SystemDisruption { public class DisableTurret : Disruption { protected override MyObjectBuilderType[] BlocksAffected { get { return new...
25.032258
175
0.775773
[ "CC0-1.0" ]
Rynchodon/ARMS
Scripts/Weapons/SystemDisruption/DisableTurret.cs
776
C#
using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.Domain.Repositories; using Portal.Core.Authorization.Users; namespace Portal.Core.Authorization.Roles { public class RoleStore : AbpRoleStore<Role, User> { public RoleStore( IRepository<Role> roleRepository, ...
29.47619
85
0.657512
[ "MIT" ]
EtwasGE/InformationPortal
Portal.Core/Authorization/Roles/RoleStore.cs
619
C#
using System.Diagnostics; using Armature.Core.Logging; namespace Armature.Core.UnitMatchers.Properties { /// <summary> /// Matches Unit representing "property" of the currently building Unit /// </summary> public class PropertyMatcher : IUnitMatcher { public static readonly IUnitMatcher Instance = new...
29.3
124
0.721274
[ "Apache-2.0" ]
Temp1ar/Armature
src/Armature.Core/UnitMatchers/Properties/PropertyMatcher.cs
881
C#
namespace ContosoUniversity.IntegrationTests { using Ploeh.AutoFixture; public abstract class AutoFixtureCustomization : ICustomization { public void Customize(IFixture fixture) { fixture.Customizations.Add(new IdOmitterBuilder()); fixture.Customizations.Add(new Omi...
30.05
70
0.680532
[ "Apache-2.0" ]
jbogard/ContinuousDeliveryExample
src/IntegrationTests/AutoFixtureCustomization.cs
603
C#
using BudgetTrack.Data; using BudgetTrack.Extentions; using BudgetTrack.ViewModels; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Globalization; using System.Linq; using Syst...
40.146497
145
0.525147
[ "MIT" ]
ermirbeqiraj/expense-tracker
BudgetTrack/Controllers/ExpensesController.cs
6,305
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _10.Check_Prime { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); bool isPrime = true; for...
20.942857
50
0.405184
[ "MIT" ]
Koceto/SoftUni
Old Code/Programming Basics/Advanced Loops/10. Check Prime/Program.cs
735
C#
using UIKit; namespace SignInExample { public class Application { // This is the main entry point of the application. static void Main (string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. UIApplication.Main (args, null, "AppDele...
21.0625
82
0.697329
[ "MIT" ]
Acidburn0zzz/GoogleApisForiOSComponents
Google.SignIn/samples/SignInExample/SignInExample/Main.cs
339
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
34.177419
195
0.692308
[ "MIT" ]
Chimpaneez/LiveSplit
LiveSplit/Libs/JSON.Net/Source/Src/Newtonsoft.Json.Tests/Converters/JavaScriptDateTimeConverterTests.cs
8,478
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...
30.827586
108
0.710291
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-sumologic
sdk/dotnet/Inputs/MonitorTriggerConditionsLogsStaticConditionArgs.cs
894
C#
using System; using System.Runtime.CompilerServices; namespace ScrambledLinear { /// <summary> /// 32-bit all-purpose random number generator with 128-bit state (xoshiro128++). /// </summary> /// <remarks>http://prng.di.unimi.it/xoshiro128plusplus.c</remarks> public class Xoshiro128PP { /...
25.383333
85
0.483913
[ "CC0-1.0" ]
medo64/ScrambledLinear
src/ScrambledLinear/Xoshiro/Xoshiro128PP.cs
1,523
C#
using System; using System.IO; using System.Reflection; namespace Coding4Fun.Toolkit.Tool.XamlMerger { public static class FilePaths { public static string BaseFilePath = Path.Combine( BaseFolderPath, Constants.ControlFolder, Constants.ThemesFolder); // source/Coding4Fun.Toolkit.Controls/...
23.846939
96
0.660676
[ "MIT" ]
Coding4FunProjects/Coding4FunToolk
source/Coding4Fun.Toolkit.Tool.XamlMerger/FilePaths.cs
2,339
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; namespace Miru; public static class EnumExtensions { public static string DisplayName(this Enum @enum) { var fieldInfo = @enum.GetType().GetField(@enum.ToString());...
29.276596
112
0.638808
[ "MIT" ]
mirufx/miru
src/Miru/EnumExtensions.cs
1,376
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; using System.Data.SqlClient; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore.Design; namespace where_is_my_doctor.Models{ public...
31.76
86
0.586902
[ "MIT" ]
victor-cleber/where_is_my_doctor
Models/ApplicationDbContext.cs
1,588
C#
namespace ATF.Repository.Replicas { using System; using System.Collections.Generic; using Newtonsoft.Json; internal class BatchQueryReplica: IBatchQuery { [JsonProperty("items")] public List<IBaseQuery> Queries { get; set; } [JsonProperty("continueIfError")] public bool ContinueIfError { get; set; } ...
22.296296
50
0.734219
[ "MIT" ]
Advance-Technologies-Foundation/repository
ATF.Repository/Replicas/BatchQueryReplica.cs
604
C#
using System; using System.Globalization; using System.Text.RegularExpressions; using Elasticsearch.Net; using Elasticsearch.Net.Utf8Json; namespace Nest { [JsonFormatter(typeof(DistanceFormatter))] public class Distance { private static readonly Regex DistanceUnitRegex = new Regex(@"^(?<precision>\d+(?:\.\d+...
34.263889
125
0.753141
[ "Apache-2.0" ]
AnthAbou/elasticsearch-net
src/Nest/CommonOptions/Geo/Distance.cs
2,469
C#
namespace NextTech.ChaChing123.UI.Web.Models { public class HomeInOneCategoryContentModel { public string ID { get; set; } public string Content { get; set; } public string ImagePath { get; set; } public string CategoryID { get; set; } } }
25.818182
46
0.630282
[ "MIT" ]
hochaucan/123ChaChing-Web
NextTech.ChaChing123.UI.Web/Models/HomeInOneCategoryContentModel.cs
284
C#
using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; using System.Collections.Generic; using System.Collections.Specialized; using System; using System.Collections; #if UITEST using Xamarin.UITest; using NUnit.Framework; #endif namespace Xamarin.Forms.Controls.Issues { #if UITEST [NUnit.Framework.Ca...
23.734694
111
0.733878
[ "MIT" ]
Alan-love/Xamarin.Forms
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla57674.cs
2,328
C#
using System; namespace Charlotte { // Token: 0x02000170 RID: 368 public struct ConfigureOptionalEuantheCase { // Token: 0x06001C67 RID: 7271 RVA: 0x00043192 File Offset: 0x00041392 public void ListExternalHeliumInterval(int RestartNextGraceHost, int NotePreferredIsonoeMessage, int DeployInitialSkollYou) { ...
41.291892
275
0.812279
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Decompile/Confused_03/Elsa20200001/ConfigureOptionalEuantheCase.cs
7,641
C#
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System; using System.Windows.Controls; namespace Microsoft.Phone.Controls.Primitives { /// <summa...
33.809524
92
0.632394
[ "MIT" ]
misenhower/WPRemote
CommonLibraries/Libraries/Microsoft.Phone.Controls.Toolkit/Microsoft.Phone.Controls.Toolkit/Primitives/LoopingSelectorDataSource.cs
1,422
C#
using System; namespace NAudio.Wave { /// <summary> /// Represents Channel for the WaveMixerStream /// 32 bit output and 16 bit input /// It's output is always stereo /// The input stream can be panned /// </summary> public class WaveChannel32 : WaveStream, ISampleNotifier { pri...
34.380531
112
0.499871
[ "MIT" ]
alexsigaras/auxy-robot
Code/Robot/ThirdParty/NAudio-1-3/Source Code/NAudio/Wave/WaveStreams/WaveChannel32.cs
11,655
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Globalization; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Protocols.OpenIdConnect; n...
51.61165
152
0.717269
[ "MIT" ]
TiagoBrenck/microsoft-identity-web
src/Microsoft.Identity.Web/Resource/OpenIdConnectMiddlewareDiagnostics.cs
10,634
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.Goog...
44.812749
504
0.632557
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/Alpha/RegionHealthCheck.cs
11,248
C#
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software distributed under the ...
53.801457
199
0.567179
[ "Apache-2.0" ]
17666349388/google-api-dotnet-client
Src/Generated/Google.Apis.GameServices.v1beta/Google.Apis.GameServices.v1beta.cs
228,979
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("1To...
37.243243
84
0.745283
[ "MIT" ]
bobo4aces/02.SoftUni-TechModule
02. ST - 01. Git And GitHub/Homeworkk/1To20/Properties/AssemblyInfo.cs
1,381
C#
/* * * * * * * * */ using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace VisualStudioRichPresence.Entities { [UnmanagedFunctionPointer (CallingConvention.Cdecl)] public delegate void ReadyC...
34.080169
132
0.72985
[ "MIT" ]
Storm-MC/VisualStudioRichPresence
VisualStudioRichPresence/Entities/DiscordRpc.cs
8,079
C#
using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.GarmentShipping.ExportSalesDO; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Com.Danliris.Service.Packing.Inventory.Test.Services.GarmentShipping.ExportSalesDO { public class Garm...
31.194444
106
0.688335
[ "MIT" ]
AndreaZain/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Test/Services/GarmentShipping/ExportSalesDO/GarmentShippingExportSalesDOValidationTest.cs
1,125
C#
namespace EventTraceKit.VsExtension.Filtering { using System; using System.Diagnostics; [Flags] public enum TokenFlags { None = 0, Unary = 1 } public struct SourceLocation { public SourceLocation(int id) { Id = id; } public i...
20.086538
66
0.486357
[ "MIT" ]
gix/event-trace-kit
src/EventTraceKit.VsExtension/Filtering/Token.cs
2,089
C#
using Nexus.Entities; using Nexus.Entities.Pickups.Base; using Nexus.EventSystem; namespace Nexus.Events { /// <summary> /// Fires after a player drops an item. /// </summary> public class DroppedItem : Event { /// <summary> /// Gets the player who dropped the item. /// </...
21.3
58
0.543036
[ "MIT" ]
NexusCommunity/Nexus
Nexus/Events/DroppedItem.cs
641
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace OrchardCore.Modules { /// <summary> /// When used on a class, it will include the service only /// if the specific features are enabled. /// </summary> [AttributeUsage(AttributeTargets.Class, Allow...
31.3
117
0.65016
[ "BSD-3-Clause" ]
Yuexs/OrchardCore
src/OrchardCore/OrchardCore.Modules.Abstractions/RequireFeaturesAttribute.cs
1,252
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DestroySoon : MonoBehaviour { void Start() { Destroy(gameObject, 0.5f); } }
15.75
40
0.693122
[ "MIT" ]
Dmarsh12fitch/RobDavGGJ
Assets/DestroySoon.cs
189
C#
using System; using System.Globalization; using ClearHl7.Extensions; using ClearHl7.Helpers; using ClearHl7.Serialization; using ClearHl7.V281.Types; namespace ClearHl7.V281.Segments { /// <summary> /// HL7 Version 2 Segment CNS - Clear Notification. /// </summary> public class CnsSegment : ISegment ...
51.556522
181
0.628436
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7/V281/Segments/CnsSegment.cs
5,931
C#
using System; using System.Xml.Serialization; namespace Niue.Alipay.Domain { /// <summary> /// GetRuleInfo Data Structure. /// </summary> [Serializable] public class GetRuleInfo : AopObject { /// <summary> /// 截至时间 /// </summary> [XmlElement("end_time")] ...
21.548387
53
0.523952
[ "MIT" ]
P79N6A/abp-ant-design-pro-vue
Niue.Alipay/Domain/GetRuleInfo.cs
698
C#
using System; using System.Text; using Logger.Enums; using Logger.Models.Appenders.Contracts; using Logger.Models.Errors.Contracts; using Logger.Models.Layouts.Contracts; namespace Logger.Models.Appenders { class ConsoleAppender : IAppender { private int messagesAppended; public ConsoleAppend...
27.139535
198
0.631534
[ "MIT" ]
doba7a/SoftUni
CSharp Fundamentals/CSharp OOP Advanced/2. SOLID - Exercise/1. Logger/Models/Appenders/ConsoleAppender.cs
1,169
C#
using System; #nullable enable namespace Nexus.Tools.Validations.Attributes { public class DisplayNameAttribute : System.ComponentModel.DisplayNameAttribute { private readonly string? _displayName; public DisplayNameAttribute(string displayName) => _displayName = displayName; public...
26.5
106
0.586703
[ "MIT" ]
JuanDouglas/Nexus-Validations-Tools
Nexus.Tools/Attributes/DisplayNameAttribute.cs
1,115
C#
using System; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.mobile.public.label.delete /// </summary> public class AlipayMobilePublicLabelDeleteRequest : IAopRequest<AlipayMobilePublicLabelDeleteResponse> { /// <summa...
23.949367
106
0.613636
[ "Apache-2.0" ]
oceanho/AnyPayment
docs/alipay-sdk-NET-20151130120112/Request/AlipayMobilePublicLabelDeleteRequest.cs
1,894
C#
using System.ComponentModel.DataAnnotations; namespace Infotechia.DAL.Entities { public class Solution : IEntity { public int Id { get; set; } public string Name { get; set; } [DataType(DataType.Text)] public string Description { get; set; } public int ProblemId { get...
22.411765
47
0.614173
[ "BSD-2-Clause" ]
earth-emoji/Infotechia.Net
Infotechia.DAL/Entities/Solution.cs
381
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Irony.Ast; using Irony.Parsing; namespace Irony.Interpreter.Ast { //A node representing an anonymous function public class LambdaNode : AstNode { public AstNode Parameters; public AstNode Body; ...
34.783505
128
0.601363
[ "MIT" ]
Hyperspaces/Hyperspace.DotLua
src/Irony.Interpreter/Ast/Functions/LambdaNode.cs
3,376
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace TRMDesktopUI { /// <summary> /// App.xaml에 대한 상호 작용 논리 /// </summary> public partial class App : Application { } }
17.611111
42
0.694006
[ "MIT" ]
tspark9946/ParkRetailManager
TRMDesktopUI/App.xaml.cs
337
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.Xml.Schema { using System.Collections; using System.Diagnostics; internal sealed class...
49.594108
98
0.652267
[ "MIT" ]
Aevitas/corefx
src/System.Private.Xml/src/System/Xml/Schema/SchemaNames.cs
30,302
C#
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Text; namespace Ash.Impl.DefaultEC.Utils.Extensions { public static class CompatExt { public static bool RayIntersects(this RectangleF rect, ref Ray2D ray, out float distance) { distance = 0f; var maxValue = float....
22.319672
91
0.58061
[ "MIT" ]
JonSnowbd/Ash
Ash.DefaultEC/Utils/Extensions/CompatExt.cs
2,725
C#
#pragma checksum "..\..\..\Formularios\Grid.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "88ED70D5A880B095DF0858FECE5699D18CEEB1A39DEDA72C7FBEB08010A0DAD6" //------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Ve...
39.646766
159
0.604844
[ "MIT" ]
OlgaVeronica/Tela-Cadastro-E-Login-XAML
Projeto1/obj/Debug/Formularios/Grid.g.cs
7,980
C#
using System; using System.ComponentModel.DataAnnotations.Schema; namespace SimpleSocial.Data.Models { public class Comment { public string Id { get; set; } public string AuthorId { get; set; } public SimpleSocialUser Author { get; set; } public DateTime PostedOn { get; set;...
21.333333
65
0.615234
[ "MIT" ]
ctsmohanreddy072/socialnetwork-core
src/SimpleSocial/Data/SimpleSocial.Data.Models/Comment.cs
514
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace jcPL.UnitTests.MVC { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}....
24.416667
99
0.588737
[ "MIT" ]
jcapellman/jcPL
jcPL.UnitTests.MVC/App_Start/RouteConfig.cs
588
C#
using System.Collections.Generic; using System.Linq; using NameSorter.Business.Interfaces; using NameSorter.Models.Implementations; using NameSorter.Models.Interfaces; using NameSorter.Services.Interfaces; namespace NameSorter.Business.Implementations { /// <summary> /// The App. /// </summary> class ...
36.231579
108
0.596746
[ "MIT" ]
VineethBolisetty/name-sorter
NameSorter/Business/Implementations/App.cs
3,444
C#
namespace Bash { public interface IPrinter { void Print(string value); } }
12.875
34
0.543689
[ "MIT" ]
kirill-ivanov-a/programming-practice
Second term/Bash/BashLib/IPrinter.cs
105
C#