content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
// Copyright (c) .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 System.Reflection; using Microsoft.EntityFrameworkCor...
50.384069
140
0.684505
[ "Apache-2.0" ]
0b01/efcore
test/EFCore.Tests/Metadata/Conventions/ForeignKeyPropertyDiscoveryConventionTest.cs
63,887
C#
using Abp.Authorization; using DotNetCoreAngular.Authorization.Roles; using DotNetCoreAngular.Authorization.Users; namespace DotNetCoreAngular.Authorization { public class PermissionChecker : PermissionChecker<Role, User> { public PermissionChecker(UserManager userManager) : base(userManag...
23.466667
66
0.71875
[ "MIT" ]
intobi/DotNetCoreAngularTemplate
aspnet-core/src/DotNetCoreAngular.Core/Authorization/PermissionChecker.cs
354
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Biblioteca.Camadas.BLL { public class Curso { public List<MODEL.Curso> Select() { DAL.Curso dalCurso = new DAL.Curso(); ret...
21.910714
69
0.530562
[ "MIT" ]
williamsartijose/Trabalho-Cadastro-de-Aluno
Site/App_Code/Camadas/BLL/Curso.cs
1,229
C#
// *********************************************************************** // Assembly : nem2-sdk // Author : kaili // Created : 01-15-2018 // // Last Modified By : kaili // Last Modified On : 02-01-2018 // *********************************************************************** // <copyright...
53.758242
290
0.672016
[ "Apache-2.0" ]
SoloEnergy/nem2-sdk-csharp
src/nem2-sdk/src/Model/Transactions/MultisigModificationTransactions.cs
9,786
C#
using System; using NUnit.Framework; using Org.BouncyCastle.Security; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Paddings; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Utilities.Encoders; using Org.BouncyCastle.Utilities.Test; names...
18.316327
66
0.644011
[ "MIT" ]
63l06ri5/bc-csharp
crypto/test/src/crypto/test/ShortenedDigestTest.cs
1,795
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
25.5
91
0.639216
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Lb/Client/DeleteListenerCertificatesExecutor.cs
1,628
C#
using Modelos; using Repositorio.Interfaces.Acciones; namespace Repositorio.Interfaces { public interface IFacturaRepositorio : ILeerRepositorio<Factura ,int>, ICrearRepositorio<Factura>, IActualizarRepositorio<Factura>...
29.285714
79
0.514634
[ "MIT" ]
agustinjosew/PracticaEntrevista
SVS-Ventas/src/Repositorio.Interfaces/IFacturaRepositorio.cs
412
C#
using ZimaHrm.Data.Entity; using ZimaHrm.Data.Repository.Base; using ZimaHrm.Data.Repository.Interfaces; namespace ZimaHrm.Data.Repository { public class LeaveEmployeeRepository : BaseRepository<LeaveEmployee>, ILeaveEmployeeRepository { public LeaveEmployeeRepository(AppDbContext context) : base(cont...
22.6875
98
0.721763
[ "Apache-2.0" ]
Dakicksoft/ZimaHrm
ZimaHrm.Data/Repository/LeaveEmployeeRepository.cs
365
C#
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Models { public class UpdateStatusResult { public bool ClientUpToDate { get; private set; } public bool BackendCompatible { get; private set; } public UpdateStatusResult(bool backendCompatible, bool clientUpToDate) { ...
21.368421
72
0.770936
[ "MIT" ]
99ytrewq911/WalletWasabi
WalletWasabi/Models/UpdateStatusResult.cs
406
C#
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // // 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 witho...
31.370874
110
0.472766
[ "MIT" ]
Mattlk13/corefx
src/System.Data.Common/tests/System/Data/SqlTypes/SqlCharsTest.cs
16,156
C#
/** * Copyright 2018 IBM Corp. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
30.472222
76
0.684594
[ "Apache-2.0" ]
thiagoloureiro/dotnet-standard-sdk
src/IBM.WatsonDeveloperCloud.NaturalLanguageUnderstanding.v1/Model/Feed.cs
1,097
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. namespace NuGet.PackageManagement.UI { // Aggregated contract for user settings management, persisted in a .suo file. public interface IUserSet...
37.153846
111
0.613354
[ "Apache-2.0" ]
BdDsl/NuGet.Client
src/NuGet.Clients/NuGet.PackageManagement.UI/UserInterfaceService/IUserSettingsManager.cs
1,934
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using OpenTK.Graphics; namespace osu.Game.Screens.E...
27.484848
93
0.583241
[ "MIT" ]
Kontort/OsuKyzer
osu.Game/Screens/Edit/Compose/Components/EditorPlayfieldBorder.cs
877
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text.RegularExpressions; using System.Xml; using Arc.YTSubConverter.Util; namespace Arc.YTSubConverter.Formats { internal class YttDocument : SubtitleDocument { public YttDocument(string f...
40.52549
166
0.529998
[ "MIT" ]
Admiy02/YTSubConverter
YTSubConverter/Formats/YttDocument.cs
31,005
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/winioctl.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.333333
145
0.684573
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/winioctl/STORAGE_ZONE_DESCRIPTORTests.cs
1,454
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 20.01.2021. // // (short)integer_column==smallint_column // using System; using System.ComponentModel.DataAnnotation...
29.437908
126
0.574822
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/CastAs/SET_001/NullableInt32/Double/TestSet__N010__const_with_null.cs
4,506
C#
// ReSharper disable All using System.Collections.Generic; using System.Dynamic; using PetaPoco; namespace MixERP.Net.Schemas.Localization.Data { public interface ILocalizedResourceViewRepository { /// <summary> /// Performs count on ILocalizedResourceViewRepository. /// </summary> ...
50.197183
167
0.691919
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/DAL/Localization/ILocalizedResourceViewRepository.cs
3,564
C#
// Copyright 2013, Google Inc. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
37.983871
100
0.664756
[ "Apache-2.0" ]
Zocdoc/googleads-adwords-dotnet-lib
examples/adwords/CSharp/v201309/BasicOperations/UpdateKeyword.cs
4,710
C#
/* * Copyright (c) Citrix Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1) Redistributions of source code must retain the above copyright * notice, t...
54.680108
672
0.637153
[ "BSD-2-Clause" ]
borzel/xenadmin
XenModel/XenAPI/JsonRpcClient.cs
790,565
C#
using ScrapyCore.Core; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Xunit; namespace ScrapyCore.IntegrationTests { public class BootstrapOnTest { private static readonly Bootstrap bootstrap; private readonly Mess...
36
99
0.604167
[ "Apache-2.0" ]
amz-hjinfeng/ScrapyCore
ScrapyCore.IntegrationTests/BootstrapOnTest.cs
3,314
C#
namespace SFMBE.Client.Features.Characters { using BlazorState; using SFMBE.Shared.Characters.Queries; internal partial class CharactersState : State<CharactersState> { public GetCharacterQueryResponse Character { get; set; } public override void Initialize() { } } }
22.153846
65
0.75
[ "MIT" ]
Rado-K/SFMBE
src/SFMBE.Client/Features/Characters/CharactersState.cs
288
C#
using System; namespace DayOfWeek { class DayWeek { static void Main(string[] args) { int numberDay = int.Parse(Console.ReadLine()); if (numberDay < 1 || numberDay > 7) numberDay = 0; string[] nameDay = {"Invalid Day!", "Monda...
29.478261
74
0.349558
[ "MIT" ]
arobertov/Programming-fundametals-course
ArraysLab/DayOfWeek/DayWeek.cs
680
C#
using System; using System.Windows.Forms; namespace RegFuck { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application...
36.52
173
0.616648
[ "MIT" ]
Dobby233Liu/REGFuck
RegFuck/Program.cs
931
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.IO.Ports; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input;...
45.395241
366
0.503303
[ "MIT" ]
kris701/ArduLED-2.0
Source Code/ArduLED 2.0/ArduLED/MainWindow.xaml.cs
263,249
C#
using System; using System.Linq; using EventStore.Projections.Core.Messages; using NUnit.Framework; using EventStore.Projections.Core.Services; using ResolvedEvent = EventStore.Projections.Core.Services.Processing.ResolvedEvent; using EventStore.Core.Data; using EventStore.Projections.Core.Services.Processing; using Sy...
34.469697
140
0.622418
[ "Apache-2.0", "CC0-1.0" ]
BertschiAG/EventStore
src/EventStore.Projections.Core.Tests/Services/core_projection/when_stopping_a_projection_with_existing_state_without_updating_the_state.cs
2,275
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/sapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System.R...
38.722222
145
0.671449
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/sapi/SPEVENTSOURCEINFOTests.cs
1,396
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Drawing; using NumSharp.Backends; namespace NumSharp { public static partial class np { public static NDArray array(Array array, Type dtype = null, int ndim = 1) { ...
31.073394
167
0.505167
[ "Apache-2.0" ]
hanabi1224/NumSharp
src/NumSharp.Core/Creation/np.array.cs
3,389
C#
using System.Collections.Generic; using BuildingBlocks.CQRS.Events; using BuildingBlocks.Types; namespace University.Departments.Application.Services; public interface IEventMapper { IEvent Map(IDomainEvent @event); IEnumerable<IEvent> MapAll(IEnumerable<IDomainEvent> events); }
26.272727
65
0.816609
[ "MIT" ]
MedAmineBenbaha/University-Microservices
src/Services/Departments/University.Departments.Application/Services/IEventMapper.cs
289
C#
using Paillave.Etl.Reactive.Core; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Paillave.Etl.Reactive.Core { public static class SortDefinition { public static SortDefinition<T, TKey> Create<T, TKey>(Func<T, TKey> getKey, objec...
35.979021
163
0.496987
[ "MIT" ]
fossabot/Etl.Net
src/Paillave.Etl/Reactive/Core/SortDefinition.cs
5,147
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using Windows.Foundation; using DirectUI; using DateTime = System.DateTimeOffset; namespace Windows.UI.Xaml.Controls { partial class CalendarLayoutStr...
24.672131
142
0.754419
[ "Apache-2.0" ]
aTiKhan/Uno
src/Uno.UI/UI/Xaml/Controls/CalendarView/CalendarLayoutStrategy_Partial.cs
7,525
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using OpenQA.Selenium.Environment; using OpenQA.Selenium.Internal; namespace OpenQA.Selenium.DevTools { [TestFixtu...
49.277264
152
0.654151
[ "Apache-2.0" ]
Abdulwahed-alhallak/selenium
dotnet/test/common/DevTools/DevToolsNetworkTest.cs
26,659
C#
//////////////////////////////////////////////////////////////////////////// // <copyright file="ThemeManager.cs" company="Intel Corporation"> // // Copyright (c) 2013-2017 Intel Corporation  // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with th...
31.635714
104
0.520772
[ "Apache-2.0" ]
125m125/acat
src/Libraries/ACATCore/ThemeManagement/ThemeManager.cs
8,933
C#
using System; using System.Drawing; using BulletSharp; using DemoFramework; namespace DistanceDemo { sealed class DistanceDemo : Demo { private readonly Matrix _rotBodyPosition = Matrix.Translation(0, 10, 0); private Matrix _staticBodyPosition = Matrix.Translation(0, 5, 0); ...
33.338346
124
0.560893
[ "MIT" ]
AndresTraks/BulletSharp
demos/Generic/DistanceDemo/DistanceDemo.cs
4,436
C#
/* * @create: 李锦俊 * @email: mybios@qq.com * 在lua版本里,用的是表实现,在C#里用的是List的实现 * */ using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; public class LuaArray<T> { List<T> _list = new List<T>(); public LuaArray() { } public T this[int index] { ge...
22.314286
96
0.642125
[ "Apache-2.0" ]
Cheatoid/CSharp.lua
test/TestCases/Bridge/Bridge/LuaArray.cs
1,608
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime...
38.59375
163
0.594332
[ "MIT" ]
654306663/JEngine
UnityProject/Assets/Dependencies/ILRuntime/Generated/System_Array_Binding.cs
3,705
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace QuartzCore.Common.Helper { public class HttpUtil { /// <summary> /// 静态的HttpClient ...
35.856209
189
0.519686
[ "MIT" ]
BaseCoreVueProject/QuartzCore.Blazor
QuartzCore.Common/Helper/HttpUtil.cs
5,536
C#
using System; using System.Xml.Serialization; namespace Top.Api.Response { /// <summary> /// DeliveryTemplateUpdateResponse. /// </summary> public class DeliveryTemplateUpdateResponse : TopResponse { /// <summary> /// 表示修改是否成功 /// </summary> [XmlElement("complete")] ...
20.611111
61
0.595687
[ "MIT" ]
objectyan/MyTools
OY.Solution/OY.TopSdk/Response/DeliveryTemplateUpdateResponse.cs
387
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Media { #if false || false || false || false [global::Uno.NotImplemented] #endif public partial class TransformGroup : global::Windows.UI.Xaml.Media.Transform { #if false || false || fal...
36.446429
152
0.740813
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Media/TransformGroup.cs
2,041
C#
using csharp9.Records; using System; using Xunit; namespace csharp9.Tests.Unit.Records { public class RecordTests { [Fact] public void InitOnlyByDefault() { var c = new Chicken { Name = "test" }; Assert.Equal("test", c.Name); // setting a value is n...
23.291139
78
0.4625
[ "MIT" ]
mbernard/codeSamples
csharp9/csharp9.Tests.Unit/Records/RecordTests.cs
1,842
C#
namespace Neovolve.Toolkit.Workflow.Activities { using System; using System.Activities; using System.Activities.Validation; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using Neovolve.Toolki...
39.882096
149
0.580204
[ "MIT" ]
roryprimrose/Neovolve.Toolkit
Neovolve.Toolkit.Workflow/Activities/BusinessFailureEvaluator.cs
9,141
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataExplorer.Application.Core.Commands; namespace DataExplorer.Application.Layouts.Link.Commands { public class UnsetLinkColumnCommand : ICommand { } }
20.571429
56
0.788194
[ "BSD-3-Clause" ]
dataexplorer/dataexplorer
Application/Layouts/Link/Commands/UnsetLinkColumnCommand.cs
290
C#
namespace P9Control.Client.Pages.Authentication { using Microsoft.AspNetCore.Components; public class ChangePasswordPageBase : ComponentBase { public const string Route = "/changePassword"; } }
20.8
53
0.764423
[ "Unlicense" ]
stefanbemelmans/BlazorP9LinkerBug
Source/Client/Pages/Authentication/ChangePasswordPage.razor.cs
210
C#
namespace XenAdmin.Controls { partial class CustomHistoryPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ///...
27.608696
108
0.495276
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenAdmin/Controls/CustomHistoryPanel/CustomHistoryPanel.Designer.cs
1,270
C#
namespace Ange.Application.Infrastructure.AutoMapper { using AutoMapper; using System.Reflection; using global::AutoMapper; public class AutoMapperProfile : Profile { public AutoMapperProfile() { LoadStandardMappings(); LoadCustomMappings(); LoadC...
24.8
101
0.56754
[ "MIT" ]
v4rden/Ange
Ange.Application/Infrastructure/AutoMapper/AutoMapperProfile.cs
992
C#
using UnityEngine; using UOP1.StateMachine; using UOP1.StateMachine.ScriptableObjects; [CreateAssetMenu(fileName = "IsEntityGettingHit", menuName = "State Machines/Conditions/Is Entity Getting Hit")] public class IsEntityGettingHitSO : StateConditionSO { protected override Condition CreateCondition() => new IsEntit...
22.3125
112
0.77451
[ "Apache-2.0" ]
10xcr4zy01/open-project-1
UOP1_Project/Assets/Scripts/Characters/StateMachine/Conditions/IsEntityGettingHitSO.cs
716
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; using XRTK.Definitions.Devices; using XRTK.Definitions.Utilities; namespace XRTK.Inspectors.Data { /// <summary> /// Used ...
28.863636
92
0.71811
[ "MIT" ]
hridpath/XRTK-Core
XRTK-Core/Assets/XRTK/Inspectors/Data/ControllerInputActionOption.cs
639
C#
using Abp.Application.Editions; using Abp.Application.Features; using Abp.Domain.Repositories; namespace FMS.Editions { public class EditionManager : AbpEditionManager { public const string DefaultEditionName = "Standard"; public EditionManager( IRepository<Edition> editionReposit...
23.857143
60
0.638723
[ "MIT" ]
Watapapz/FMS
aspnet-core/src/FMS.Core/Editions/EditionManager.cs
503
C#
/* http://www.cgsoso.com/forum-211-1.html CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源! CGSOSO 主打游戏开发,影视设计等CG资源素材。 插件如若商用,请务必官网购买! daily assets update for try. U should buy the asset from home store if u use it in your project! */ //---------------------------------------------- // NGUI: Next-Gen UI kit // Cop...
26.562814
122
0.672973
[ "Unlicense" ]
jacky20140731/ARGameProject
Assets/NGUI/Scripts/Internal/Localization.cs
15,953
C#
using Esfa.Recruit.Vacancies.Client.Application.Validation; using Esfa.Recruit.Vacancies.Client.Domain.Entities; using FluentAssertions; using Xunit; namespace Esfa.Recruit.UnitTests.Vacancies.Client.Application.VacancyValidation.SingleField { public class ThroughFaaApplicationMethodValidationTests : VacancyValid...
39.371681
152
0.633401
[ "MIT" ]
SkillsFundingAgency/das-recru
src/Shared/UnitTests/Vacancies.Client/Application/VacancyValidation/SingleField/ThroughFaaApplicationMethodValidationTests.cs
4,451
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under MIT X11 license (for details please see \doc\license.txt) using System; using System.Linq; using NUnit.Framework; namespace ICSharpCode.NRefactory.CSharp.Parser.TypeMembers { [Tes...
39.333333
153
0.754708
[ "MIT" ]
arturek/ILSpy
NRefactory/ICSharpCode.NRefactory.Tests/CSharp/Parser/TypeMembers/OperatorDeclarationTests.cs
2,126
C#
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit.MySql.Tests.Fixtures; using Xunit.MySql.Tests.Models; using Xunit; using Xunit.MySql.Extensions; namespace Xunit.MySql.Tests.Queries { public class RawQueryTestV8 : IClassFixture<...
32.166667
105
0.601612
[ "MIT" ]
twsl/xunit.MySql
test/xunit.MySql.Tests/Queries/RawQueryTestV8.cs
1,739
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
37.803922
166
0.678942
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.CloudFront/Model/InvalidArgumentException.cs
1,928
C#
/* * Copyright 2010-2013 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...
32.189189
177
0.577666
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.AutoScaling/Model/PutScalingPolicyResult.cs
2,382
C#
namespace NotificationHandler.Domain { using System; using System.Collections.Generic; using System.Text; public class Configurations : Entity { /// <summary> /// Gets or sets the applications. /// </summary> /// <value> /// The applications. /// </v...
23.706897
54
0.457455
[ "MIT" ]
vishnuborn1996/NotificationHandler
NotificationHandler.Domain/Master/Configurations.cs
1,377
C#
// // TableLayout.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 rights to use, copy, modify, merge, publish, // distribute,...
32.441509
206
0.640921
[ "Apache-2.0" ]
Sectoid/debian-mono
mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayout.cs
17,194
C#
using ShipDock.Framework; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Knights.Game { public class Consts { /// <summary>修炼类武学</summary> public const int TYPE_MAR_ARTS_PRACTICE = 0; /// <summary>战斗类武学</summary> public const int TYPE_M...
35.65625
58
0.612913
[ "MIT" ]
firefishes/knights
Assets/Scripts/Game/Consts.cs
3,555
C#
using System; using MYOB.AccountRight.SDK.Contracts.Version2.GeneralLedger; using MYOB.AccountRight.SDK.Contracts.Version2.Sale; namespace MYOB.AccountRight.SDK.Contracts.Version2 { public class InvoiceFinancialLine : InvoiceLine { public DateTime? Date { get; set; } public AccountLink Account...
28.5
61
0.733918
[ "MIT" ]
AnshumanSaurabhMYOB/AccountRight_Live_API_.Net_SDK
MYOB.API.SDK/SDK/Contracts/Version2/InvoiceFinancialLine.cs
344
C#
namespace _05._Date_Modifier { using System; using System.Linq; public class DateModifier { public DateTime FirstDateTime { get; set; } public DateTime SecondDateTime { get; set; } public static int CalculateDifference(string firstDateAsString, string secondDateAsString) ...
33.83871
105
0.609152
[ "MIT" ]
thelad43/CSharp-OOP-Basics-SoftUni
02. Defining Classes - Exercise/05. Date Modifier/DateModifier.cs
1,051
C#
using System; using System.Reactive; using System.Reactive.Linq; using Microsoft.Maui.Controls; namespace FreshMvvm.Maui.Extensions { public static class ObservableExtensions { public static IDisposable SubscribeWeakly<T, TTarget>(this IObservable<T> observable, TTarget target, Action<TTarget, T> onNe...
30.081081
158
0.557053
[ "MIT" ]
XAM-Consulting/FreshMvvm.Maui
src/FreshMvvm.Maui/Extensions/ObservableExtensions.cs
1,115
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...
38.525641
207
0.61919
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/ApiGatewayV2/Generated/Model/GetAuthorizerResponse.cs
9,015
C#
using System.Collections.Generic; using Nancy; using Nancy.ViewEngines.Razor; namespace HairSalon { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => View["index.cshtml"]; Get["/stylists"] = _ => { List<Stylists> AllStylists = Stylists.GetAll(); retur...
37.990566
93
0.606407
[ "MIT" ]
kimlan1510/HairSalon
Modules/HomeModule.cs
4,027
C#
namespace BookCatalog.Migrations { using System; using System.Data.Entity.Migrations; public partial class YoctoSqlServer : DbMigration { public override void Up() { CreateTable( "dbo.Authors", c => new { ...
44.111888
82
0.453075
[ "MIT" ]
caxe/BookCatalog
BookCatalog/BookCatalog/Migrations/201706100626395_YoctoSqlServer.cs
6,308
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Diagnostics; using System.Reflection; using System.Threading; using ...
41.725352
215
0.582785
[ "MIT" ]
FiniteReality/msbuild
src/Build/Instance/TaskFactories/TaskHostTask.cs
23,702
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; /* Amiga-Side example: DBG_BYTE EQU 1 DBG_WORD EQU 2 DBG_LONG EQU 4 DBG_CPER EQU 8 ...
56.624762
121
0.547666
[ "Unlicense", "MIT" ]
fcondolo/WinUAEScanner
WinUAE_Scanner/VariableView.cs
29,730
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace ToysAndGamesStore.Controllers { [Route("[controller]")] [ApiController] public class WeatherForecastController : ControllerBase { private static read...
29.421053
110
0.596601
[ "MIT" ]
AnyxLeo/ToysAndGamesStore
ToysAndGamesStore/ToysAndGamesStore/Controllers/WeatherForecastController.cs
1,120
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 System.Security.Principal; using System.IO; namespace funni { public partial cla...
34.701754
192
0.53185
[ "Apache-2.0" ]
PK268/Fortnite-Trojan
Form1.cs
1,980
C#
// <auto-generated /> using System; using IdentityServer4.MicroService.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion...
35.42161
125
0.489264
[ "Apache-2.0" ]
ChaplinMarchais/IdentityServer4.MicroService
IdentityServer4.MicroService.Host/Data/Migrations/Identity/20181207033043_20181207UpdateIdentityDbMigration.Designer.cs
16,721
C#
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using Ding.Model; using XCode.DataAccessLayer; namespace XCoder { public partial class NewModel : UserControl { public List<IDataTable> Tables { get; set; } public NewModel() { In...
29.564356
122
0.553248
[ "MIT" ]
EnhWeb/DC.Framework
src/Ding.Xcoder/NewModelForm/NewModel.cs
3,094
C#
namespace HotChocolate.Types; /// <summary> /// This internal data structure is used to store the effective mutation options of a field /// on the context so that the type interceptor can access them. /// </summary> internal class MutationContextData { public MutationContextData( ObjectFieldDefinition defi...
28.765957
91
0.696006
[ "MIT" ]
AccountTechnologies/hotchocolate
src/HotChocolate/Core/src/Types.Mutations/MutationContextData.cs
1,352
C#
/* MIT LICENSE Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com 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, ...
41.383178
460
0.505119
[ "MIT" ]
abdullahkaracabey/ExchangeSharp
ExchangeSharpConsole/Console/ExchangeSharpConsole_Example.cs
13,286
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sales.Entities.Exceptions { public class DataBaseUpdateException : Exception { public IReadOnlyList<string> Entries { get; } public DataBaseUpdateException() { } ...
32.05
98
0.705148
[ "Unlicense" ]
drualcman/CleanArchitectureCrearOrden
Sales.Entities/Exceptions/DataBaseUpdateException.cs
643
C#
using CounterAnimation.Models; using System; using System.Linq; using System.Threading; using WordCounter.Models; namespace WordCounterEntry { class Program { public static void Main(string[] args) { Logic frontEnd = new Logic(); bool run = true; while (run == true) { Conso...
58.717791
159
0.119528
[ "Unlicense" ]
tytyhibye/WordCounter
WordCounter/Program.cs
18,511
C#
using System.Collections.Generic; using Abp.Localization; namespace LTMCompanyNameFree.YoyoCmsTemplate.Web.Views.Shared.Components.TopBarLanguageSwitch { public class TopBarLanguageSwitchViewModel { public LanguageInfo CurrentLanguage { get; set; } public IReadOnlyList<LanguageInfo> Languages...
26.384615
93
0.758017
[ "MIT" ]
cnmediar/YoyoCmsFree.Template
src/aspnet-core/src/LTMCompanyNameFree.YoyoCmsTemplate.Web.Mvc/Views/Shared/Components/TopBarLanguageSwitch/TopBarLanguageSwitchViewModel.cs
345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace asp.net_cms { public partial class WebForm7 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } }
18.529412
60
0.685714
[ "MIT" ]
jakubzasanski/asp.net-cms
asp.net-cms/content/cyberpunk.aspx.cs
317
C#
// CodeContracts // // 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 without restriction, including wit...
33.653061
463
0.73772
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Core/Sources/System.Dynamic.InvokeMemberBinder.cs
3,298
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /* * v0.0.2-r12 * Written by Veritas83 * www.NigelTodman.com * /Scripts/Grid.cs */ public class Grid : MonoBehaviour { // The Grid itself public static int w = 10; public static int h...
24.794118
74
0.422697
[ "MIT" ]
jacking75/examples_unity_network
UnityClients/Unity_PvPTetris/Assets/Scripts/GamePlay/Grid.cs
2,531
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....
32.96
85
0.51699
[ "MIT" ]
ajohnson96/2019-06-c-sharp-labs
labs/snap_lab_4_LINQ/SpartansTable.cs
824
C#
using System; namespace SimpleMultiTenancy.Data.Abstract { public interface IDBTenantConnectionString { Guid TenantID { get; set; } string DataSource { get; set; } string InitialCatalog { get; set; } bool IntegratedSecurity { get; set; } bool MultipleActiveResultSet...
19.952381
51
0.610979
[ "MIT" ]
angganarpati/SimpleMultiTenancy
SimpleMultiTenancy/Data/Abstract/IDBTenantConnectionString.cs
421
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FilmLister.Domain.Test { [TestClass] public class OrderedFilmComparisonTest { private readonly Film testFilm = new Film(0, "test", 0, "test", "test", null, null, null, null, null); [TestMethod] [ExpectedException(typeof(...
28.666667
110
0.593798
[ "MIT" ]
RichTeaMan/FilmLister
FilmLister.Domain.Test/OrderedFilmComparisonTest.cs
1,290
C#
//----------------------------------------------------------------------- // <copyright file="ColorBlockFormatter.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
47.526316
129
0.661573
[ "MIT" ]
zach-v/Deeper
top-down-shooter/Assets/Packages/Databox/Core/Serializers/OdinSerializer/Unity Integration/Formatters/ColorBlockFormatter.cs
4,515
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: zhima.credit.ep.scene.agreement.use /// </summary> public class ZhimaCreditEpSceneAgreementUseRequest : IAopRequest<ZhimaCreditEpSceneAgreementUseResponse...
23.590909
108
0.60501
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Request/ZhimaCreditEpSceneAgreementUseRequest.cs
2,607
C#
// Copyright 2008-2009 The AnkhSVN Project // // 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 ...
31.01087
136
0.533824
[ "Apache-2.0" ]
AmpScm/AnkhSVN
src/Ankh.UI/VSSelectionControls/Commands/ListViewShow.cs
2,853
C#
// <copyright file="Constants.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.FAQPlusPlus.Common { /// <summary> /// constants. /// </summary> public static class Constants { /// <summary> /// Source. ...
35.706422
194
0.579908
[ "MIT" ]
icjgd/microsoft-teams-apps-faqplusv2
Source/Microsoft.Teams.Apps.FAQPlusPlus.Common/Constants.cs
3,896
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace EMRApplication.Data.PatientDB { public partial class Advanced_Databases_EMRContext : DbContext { public virtual DbSet<ConsentLookup> ConsentLookup { get; set; } public virtual DbSet<Event...
37.504274
117
0.489175
[ "MIT" ]
PeterMcteague/AdvancedDatabases
EMRApplication/EMRApplication/Data/PatientDB/Advanced_Databases_EMRContext.cs
17,554
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Quartz; using Quartz.Spi; namespace Turquoise.Common.Scheduler.QuartzScheduler { public class QuartzHostedService : IHostedService { private readonly ISchedule...
32.188406
80
0.624043
[ "Apache-2.0" ]
mmercan/Turquoise.HealthChecks
App/Libs/Turquoise.Common.Scheduler/QuartzScheduler/QuartzHostedService.cs
2,221
C#
using UnityEngine; using System.Collections; public delegate void HelicopterCompleteAnimationCallback(); public delegate void HelicopterCompleteMovementCallback(); public delegate void HelicopterCompleteFallingCallback(); public class HelicopterController : MonoBehaviour { private Quaternion baseRotation; p...
27.757576
158
0.6369
[ "MIT" ]
StephanSchue/NFC
Assets/Scripts/HelicopterController.cs
4,582
C#
 using GithubWebhook.Common; using Newtonsoft.Json; namespace GithubWebhook.Events { public partial class DeploymentEvent { [JsonProperty("deployment")] public Deployment Deployment { get; set; } [JsonProperty("repository")] public Repository Repository { get; set; } ...
23.814815
136
0.671851
[ "MIT" ]
PromoFaux/GithubWebhook
GithubWebhook/Events/DeploymentEvent.cs
645
C#
using System.Threading; using System.Threading.Tasks; using api.Common.Enums; using api.Contracts.V1.ResponseModels.Suppliers; using api.Entities; using api.Helpers; using AutoMapper; using MediatR; namespace api.CQRS.Suppliers.Commands.CreateSupplier { public class CreateSupplierCommandHandler : IRequestHandler<C...
33.580645
118
0.705091
[ "MIT" ]
tortoise10h/Fruit_WareHouse_Management_Api
api/CQRS/Suppliers/Commands/CreateSupplier/CreateSupplierCommandHandler.cs
1,041
C#
using System; using System.Collections.Generic; using Grasshopper.Kernel; using Grasshopper.Kernel.Parameters; using Rhino.Geometry; using Mp = Aviary.Macaw.Procedural; namespace Aviary.Macaw.GH.Procedural { public class NoiseBase : GH_Component { /// <summary> /// Initializes a new instance...
38.472603
211
0.563646
[ "MIT" ]
interopxyz/Macaw.GH
Aviary.Macaw.GH/Construct/Procedural/NoiseBase.cs
5,619
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace MariBot.DiscordPatterns { /// <summary> /// Represents a generic channel that can send and receive messages. /// </summary> public interface IMariDiscordMessageChannel : IMariDiscordChannel { ...
53.801802
205
0.656899
[ "MIT" ]
MariBotOfficial/MariDiscordAbstractions
MariDiscordAbstractions/Core/Models/Channels/IMariDiscordMessageChannel.cs
5,972
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace KeyGame { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] s...
22.956522
66
0.583333
[ "MIT" ]
JianGuoWan/third-edition
VS2012/Chapter_4/KeyGame/KeyGame/Program.cs
530
C#
using DevExpress.Xpf.Core; using DevExpress.Xpo; using System; using System.Windows; using System.Windows.Threading; using XpoTutorial; namespace WpfApplicationMvvm { public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); ...
37.25
129
0.671141
[ "MIT" ]
Chittaranjan86/XPO
Tutorials/WPF/DevExpress.MVVM/CS/App.xaml.cs
1,045
C#
// ************************************************************************** //Start Finance - An to manage your personal finances. //Start Finance 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 ver...
38.936073
148
0.536062
[ "MIT" ]
ericnguyen-adl/Tafe20S102
StartFinanceMaster/InstaRichie/Views/PersonalInformationPage.xaml.cs
8,529
C#
using FluentAssertions; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NSubstitute; using Sfa.Tl.Matching.Application.Interfaces; using Sfa.Tl.Matching.Models.ViewModel; using Sfa.Tl.Matching.Web.Controllers; using Sfa.Tl.Matching.Web.UnitTests.Controllers.Builders; using Sfa.Tl.Matching.Web.Uni...
36.151515
90
0.683571
[ "MIT" ]
SkillsFundingAgency/tl-matching
src/Sfa.Tl.Matching.Web.UnitTests/Controllers/Home/When_HomeController_Maintenance_Is_Loaded_By_Admin_User.cs
2,386
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; namespace Domain { public class Space { [Key] public int CSpaceid { get; set; } public int Linei...
19.325
47
0.556274
[ "MIT" ]
12062021-dynamics365-uta/JoshuaStatenRevature1
P0/Domain/Space.cs
775
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace iTunesAssistantLib { public class ImportTrackNamesWorkflowRunner : IWorkflowRunner { public void Run(IWorkflowRunnerInfo workflowRunnerInfo, ref Status status) { if (workflowRunnerInfo == ...
37.641509
151
0.613033
[ "MIT" ]
jasonracey/iTunesAssistant
iTunesAssistantLib/Workflow/ImportTrackNamesWorkflowRunner.cs
1,997
C#
using System; using System.Collections; using System.Linq; using Autodesk.Revit.DB; namespace RevitLookup.Snoop.CollectorExts { public class FamilyTypeParameterValuesStream : IElementStream { private readonly ArrayList data; private readonly object elem; public FamilyTypeParameterValue...
30.692308
138
0.62406
[ "MIT" ]
BobbyCJones/RevitLookup
CS/Snoop/CollectorExts/FamilyTypeParameterValuesStream.cs
1,197
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 Dnn.Modules.ResourceManager.Components { using System; using System.Collections.Generic; using ...
39.784314
137
0.636471
[ "MIT" ]
Acidburn0zzz/Dnn.Platform
DNN Platform/Modules/ResourceManager/Components/ItemsManager.cs
10,147
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Cache; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.UI.WebControls; using umbraco.cms.businesslogic.web; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Web; using Umbraco.Web.Routin...
35.659091
128
0.654238
[ "MIT" ]
lars-erik/umbraco-defaultdomains
Umbraco.DefaultDomains/DefaultDomainCanonicalHeaders.cs
3,140
C#
using PInvoke.Methods; using PInvoke.Structures; using System; using System.Runtime.InteropServices; namespace PInvoke.Models { /// <inheritdoc /> /// <summary> /// </summary> public class ProcessEx : IDisposable { /// <summary> /// /// </summary> public string App...
29.418605
99
0.518182
[ "Apache-2.0" ]
MFunction96/MFVolumeCtrl
PInvoke/Models/ProcessEx.cs
2,532
C#