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) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. namespace Axle.Settings { using Lykke.SettingsReader.Attributes; public class ConnectionStrings { [AmqpCheck] public string RabbitMq { get; set; } } }
21.357143
66
0.64214
[ "MIT-0" ]
LykkeBusiness/axle
src/Axle/Settings/ConnectionStrings.cs
301
C#
 using System; using System.Reflection; using Unity.Interception.Interceptors; using Unity.Interception.PolicyInjection; using Unity.Interception.PolicyInjection.Pipeline; using Unity.Interception.Utilities; namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.VirtualMethodInterception { internal clas...
37.714286
321
0.708333
[ "Apache-2.0" ]
ENikS/interception
tests/VirtualMethodInterception/WireupHelper.cs
1,850
C#
#pragma checksum "..\..\UserControlWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9C713D1215141C174F5949B35D55C684244DFF2F949846DC0B0BD1436F263071" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Versi...
39.935065
156
0.679675
[ "MIT" ]
mamannon/WPF_and_AvalonDock
PropertyChanged with DependencyProperty/PropertyChanged3/PropertyChangedTest3/obj/Debug/UserControlWindow.g.cs
3,077
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Win32.SafeHandles; using System; using System.IO; using System.Threading.Tasks; using Xunit; namespace System.IO.Tests { [ActiveIssue("https://github.com/dotnet/...
32.842857
145
0.594606
[ "MIT" ]
333fred/runtime
src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs
2,299
C#
using System; namespace Standard; internal enum KDC { FREQUENT = 1, RECENT }
8.8
19
0.659091
[ "MIT" ]
Muzsor/HandyControl
src/Shared/Microsoft.Windows.Shell/Standard/KDC.cs
90
C#
using System.Collections.Generic; using System.Linq; using Zutatensuppe.D2Reader.Models; namespace Zutatensuppe.D2Reader { public static class QuestFactory { static readonly IReadOnlyDictionary<QuestId, QuestDetails> Quests = new Dictionary<QuestId, QuestDetails>() { { QuestId.Anda...
44.386861
115
0.344927
[ "MIT" ]
DiabloRun/DiabloInterface
src/D2Reader/QuestFactory.cs
12,162
C#
//----------------------------------------------------------------------- // <copyright file="ORMultiValueDictionary.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copy...
43.563107
196
0.621351
[ "Apache-2.0" ]
Bogdan-Rotund/akka.net
src/contrib/cluster/Akka.DistributedData/ORMultiValueDictionary.cs
17,950
C#
// ReSharper disable All using System.Collections.Generic; using System.Dynamic; using System.Net; using System.Net.Http; using System.Web.Http; using MixERP.Net.Api.Framework; using MixERP.Net.ApplicationState.Cache; using MixERP.Net.Common.Extensions; using MixERP.Net.EntityParser; using MixERP.Net.Framework; using N...
39.068802
259
0.552513
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/Web API/Localization/ResourceController.cs
32,935
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.MachineLearning.Models { /// <summary> N-Cross validations value. </summary> public partial class NCrossValidations { /// <summary...
30.172414
93
0.653714
[ "MIT" ]
sampa-msft/azure-sdk-for-net
sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/Models/NCrossValidations.cs
875
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events; using System; using System.Data.Common; using System.Linq; using System.Threading.Tasks; namespace Microsoft.eShopOnContainers.BuildingBlocks.IntegrationEventLogEF...
41.692308
152
0.710332
[ "MIT" ]
danibaptista/MicroserviceWithGraphQL
MicroserviceTemplate/BuildingBlocks/EventBus/IntegrationEventLogEF/Services/IntegrationEventLogService.cs
2,170
C#
using System; using System.Linq; using Sitecore.LogAnalyzer.Attributes; using Sitecore.MemoryDiagnostics; using Sitecore.MemoryDiagnostics.Models.FallBack.AspNetRelated; using Sitecore.MemoryDiagnostics.Models.InternalProcessing; using Sitecore.LogAnalyzer.MemoryDiagnostics.Connector.ClrObjToLogEntryTransformations.In...
39.3625
124
0.620514
[ "Apache-2.0" ]
mitikov/Sitecore.LogAnalyzer.MemoryDiagnostics
src/Sitecore.LogAnalyzer.MemoryDiagnostics.RunningRequests/AddRequestInfoToParentText.cs
3,151
C#
namespace MyServer.Web.Services { using System.Threading.Tasks; public interface IEmailSender { Task SendEmailAsync(string email, string subject, string message); } }
21.333333
74
0.703125
[ "MIT" ]
atanas-georgiev/MyServer
src/Web/MyServer.Web/Services/IEmailSender.cs
194
C#
global using NetDimension.NanUI; global using NetDimension.NanUI.HostWindow;
38.5
43
0.857143
[ "MIT" ]
XuanchenLin/NanUI-0.9-Examples
src/HostWindowFeatures/GlobalUsings.cs
79
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using BnGClub.Data; using BnGClub.Models; using Microsoft.Extensions.Configuration; using BnGClub.Utilities; n...
33.935484
144
0.522542
[ "Apache-2.0" ]
WiseNoobCrusher/BnGApplication
BnGClub/BnGClub/Controllers/UsersProfileController.cs
7,366
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
37.239884
104
0.574544
[ "MIT" ]
PayalDodeja/Industrial-IoT
modules/src/Microsoft.Azure.IIoT.Modules.OpcUa.Twin/tests/Fixtures/TwinModuleFixture.cs
12,885
C#
using System; using Abp.Application.Services.Dto; using Abp.AutoMapper; using NorthLion.Zero.Authorization.Users; namespace NorthLion.Zero.Users.Dto { [AutoMapFrom(typeof(User))] public class UserListDto : EntityDto<long> { public string Name { get; set; } public string Surname { get; set;...
23.241379
52
0.639466
[ "MIT" ]
CodefyMX/NorthLionAbpZeroNetCore
aspnet-core/src/NorthLion.Zero.Application/Users/Dto/UserListDto.cs
674
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dxvahd.h(459,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _DXVAHD_STREAM_STATE_FILTER_DATA { public bool Enable; public int ...
24.142857
83
0.683432
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/_DXVAHD_STREAM_STATE_FILTER_DATA.cs
340
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("Te...
38.297297
84
0.748765
[ "MIT" ]
ajn96/TessyRegisterConverter
Properties/AssemblyInfo.cs
1,420
C#
/* * File: Synchronizable.cs * * Author: Akira Sugiura (urasandesu@gmail.com) * * * Copyright (c) 2017 Akira Sugiura * * This software is MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
39.988889
152
0.620172
[ "MIT" ]
urasandesu/Enkidu
Urasandesu.Enkidu/Synchronizable.cs
7,200
C#
// Generated class v2.13.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Javascript.Host.Svg { public partial class SVGFEFuncBElement : NHtmlUnit.Javascript.Host.Svg.SVGElement { s...
31.363636
139
0.716908
[ "Apache-2.0" ]
timorzadir/NHtmlUnit
app/NHtmlUnit/Generated/Javascript/Host/Svg/SVGFEFuncBElement.cs
1,035
C#
using Aurora.Profiles.Generic.GSI.Nodes; using Aurora.Profiles.StardewValley.GSI.Nodes; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aurora.Profiles.StardewValley.GSI { public class GameState_Star...
37.1
86
0.683738
[ "MIT" ]
ADoesGit/Aurora
Project-Aurora/Project-Aurora/Profiles/Stardew Valley/GSI/GameState_StardewValley.cs
1,084
C#
using System; namespace PnP.Core.Model.SharePoint { /// <summary> /// Public interface to define a SPAppLicenseManager object /// </summary> [ConcreteType(typeof(SPAppLicenseManager))] public interface ISPAppLicenseManager : IDataModel<ISPAppLicenseManager>, IDataModelGet<ISPAppLicenseManager>, IDa...
24.391304
149
0.666667
[ "MIT" ]
DonKirkham/pnpcore
src/generated/SP/Public/ISPAppLicenseManager.cs
561
C#
using System; using System.Collections.Generic; using System.Linq; namespace Orders { class Program { static void Main(string[] args) { var dict = new Dictionary<string,Product>(); while (true) { string[] input = Console.ReadLine...
22.430769
94
0.41358
[ "MIT" ]
VladimirDikovski/C-Fundamentals-May-2019
Associative Arrays - Exercise/Orders/Orders/Program.cs
1,460
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MenuAudioManager : MonoBehaviour { private AudioSource source; [SerializeField] private string introBGMusic; void Awake() { source = this.GetComponent<AudioSource>(); } public void PlayIntroMusic() { PlayMusic(R...
18.962963
66
0.726563
[ "MIT" ]
michelsara/GameDevelopment
SlimeTime/Assets/Scripts/MenuAudioManager.cs
512
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Roslynator.Testing.CSharp; using Xunit; namespace Roslynator.CSharp.Refactorings.Tests { public class RR0175WrapLinesInRe...
19.238434
156
0.595634
[ "Apache-2.0" ]
ProphetLamb-Organistion/Roslynator
src/Tests/Refactorings.Tests/RR0175WrapLinesInRegionTests.cs
5,408
C#
using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace tsorcRevamp.Projectiles.Enemy.Okiku { public class AntiMatterBlast : ModProjectile { public override void SetDefaults() { projectile.width = 55; projectile.height = 55; ...
36.906977
180
0.587902
[ "MIT" ]
RecursiveCollapse/tsorcRevamp
Projectiles/Enemy/Okiku/AntiMatterBlast.cs
1,589
C#
using PandaSharp.Bamboo.Rest.Contract; using PandaSharp.Bamboo.Services.Build.Contract; using PandaSharp.Bamboo.Services.Build.Request.Base; using PandaSharp.Bamboo.Services.Build.Response; using PandaSharp.Bamboo.Services.Common.Aspect; using RestSharp; namespace PandaSharp.Bamboo.Services.Build.Request { interna...
33.46875
127
0.716153
[ "MIT" ]
soerendd/PandaSharp
PandaSharp.Bamboo/Services/Build/Request/GetCommentsOfBuildRequest.cs
1,071
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Windows.Forms; using System.ComponentModel; namespace DictControls.Controls { public class SplitView : SplitContainer { #region Variables /// <summary> /// Required designer variable. ...
27.833333
123
0.585444
[ "Apache-2.0" ]
soeminnminn/EngMyanDictionary-WIN
EngMyanDict/Controls/SplitView.cs
2,173
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...
33.666667
77
0.750275
[ "MIT" ]
UlyssesWu/XamarinPosed
Xamarin.Posed.Demo/Properties/AssemblyInfo.cs
912
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PawPadIO.Hub.Domain.Data; namespace PawPadIO.Hub.Domain.Migrations { [DbContext(typeof(H...
30.065217
75
0.547361
[ "MIT" ]
PawPadIO/Hub
src/PawPadIO.Hub.Domain/Migrations/20201212032947_Init.Designer.cs
1,385
C#
// ----------------------------------------------------------------------------------- // // GRABCASTER LTD CONFIDENTIAL // ___________________________ // // Copyright © 2013 - 2016 GrabCaster Ltd. All rights reserved. // This work is registered with the UK Copyright Service: Registration No:284701085 // // // NOT...
38.847458
87
0.693281
[ "MIT" ]
debiaggi/GrabCaster
Events/EventHubEvent/Properties/AssemblyInfo.cs
2,296
C#
using Domain; using Repository.Interfaces.Base; using System.Collections.Generic; namespace Repository.Interfaces { public interface IWishRepository : IRepository<Wish> { void InsertWish(Wish wish); List<Wish> GetWishesPerCustomer(int custid); List<Wish> GetWishesPerSpot(int spotid);...
22.181818
68
0.704918
[ "MIT" ]
Thijapones/MTG4Us
MTG4Us/Repository/Interfaces/IWishRepository.cs
490
C#
#region License // Copyright (c) 2009, ClearCanvas 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: // // * Redistributions of source code must retain the above copyright not...
41.983333
100
0.698293
[ "Apache-2.0" ]
econmed/ImageServer20
Common/ClassNameExtensionFilter.cs
2,521
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Xaml.Interactions.UnitTests { using System; using System.Diagnostics; using System.Windows.Controls; using Microsoft.VisualStudio....
39.059829
177
0.626039
[ "MIT" ]
Bhaskers-Blu-Org2/XamlBehaviorsWpf
Test/UnitTests/ActionTest.cs
4,572
C#
using System.Linq; using BenchmarkDotNet.Running; using BenchmarkMockNet.Benchmarks; namespace BenchmarkMockNet { public static class Program { private static readonly BenchmarkSwitcher Runner = new(new[] { typeof(Construction), typeof(Callback), typeof(EmptyMethod), typeof(EmptyReturn), typeof(Re...
18.75
62
0.693333
[ "MIT" ]
JasonBock/BenchmarkMockNet
BenchmarkMockNet/Program.cs
525
C#
using System.Collections.Generic; using System.Runtime.CompilerServices; using FastMember; [assembly: InternalsVisibleTo("desee.Tests")] namespace desee.EntityObjects { public class TypeMemberIndex : SortedDictionary<string, Member> { } }
20.076923
67
0.747126
[ "MIT" ]
rvegajr/desee
Src/desee.EntityObjects/Classes/TypeMemberIndex.cs
261
C#
namespace RedCorners.Forms.GoogleMaps { public enum MapType { Street, Satellite, Hybrid, Terrain, None } }
15.363636
39
0.491124
[ "MIT" ]
saeedafshari/RedCorners.Forms.GoogleMaps
RedCorners.Forms.GoogleMaps/RedCorners.Forms.GoogleMaps.Shared/MapType.cs
171
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
35.488636
91
0.544669
[ "Unlicense" ]
bonrix/AndroidAppStore
Bonrix App Store/Admin/Master.Master.designer.cs
3,125
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities; using Unity.Profiling; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Teleport { [RequireComponent(typeof(ParabolaPhysicalLineDataProvider))] [AddComponentMenu("Scripts/MRTK...
37.431193
186
0.627696
[ "MIT" ]
AdsyArena/ARbot
Assets/MRTK/SDK/Features/UX/Scripts/Pointers/ParabolicTeleportPointer.cs
4,082
C#
/* package main import "fmt" const Pi = 3.14 func main() { const World = "世界" fmt.Println("Hello", World) fmt.Println("Happy", Pi, "Day") const Truth = true fmt.Println("Go rules?", Truth) } */ #region source using fmt = go.fmt_package; static class main_package { // Conversion will need t...
21.763158
81
0.64208
[ "MIT" ]
GridProtectionAlliance/go2cs
src/Examples/Manual Tour of Go Conversions/basics/constants/main_package.cs
837
C#
namespace QuizHut.Services.Data.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using QuizHut.Data.Models; using QuizHut.Services.Categories; ...
42.312081
123
0.616623
[ "MIT" ]
miraDask/QuizHut
QuizHut/Tests/QuizHut.Services.Data.Tests/CategoriesServiceTests.cs
12,611
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace NewHost.Areas.HelpPage.ModelDescriptions { public class EnumTypeModelDescription : ModelDescription { public EnumTypeModelDescription() { Values = new Collection<EnumValueDescription>(); } ...
26.733333
76
0.705736
[ "MIT" ]
Nongzhsh/WexFlow
NewHost/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs
401
C#
using System; using System.IO; namespace SaveScumAgent.DirectoryWatcher { public interface IDirectoryWatcher : IDisposable { bool Enabled { get; set; } event EventHandler<DirectoryWatcherEventArgs> DirectoryChangeDetected; event EventHandler<ErrorEventArgs> DirectoryWatchError; } }
26.666667
78
0.740625
[ "MIT" ]
SaveScum/SaveScumAgent
SaveScumAgent.DirectoryWatcher/IDirectoryWatcher.cs
322
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.AspNetCo...
32.654321
109
0.638941
[ "MIT" ]
flyingoverclouds/ServiceFabricPubSub
src/ServiceFabricPubSub/Admin/Startup.cs
2,647
C#
using System; using System.Reflection; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using MelonLoader; namespace HouseLights { class HouseLightsUtils { internal static object InvokePrivMethod(object inst, string name, params object[] arguments) { ...
30.783784
111
0.543898
[ "MIT" ]
ttr/tld-house-lights
src/HouseLightsUtils.cs
2,280
C#
using Abp.AspNetCore.Mvc.Controllers; using Abp.IdentityFramework; using Microsoft.AspNetCore.Identity; namespace IdentityServervNextDemo.Controllers { public abstract class IdentityServervNextDemoControllerBase: AbpController { protected IdentityServervNextDemoControllerBase() { Lo...
28.15
90
0.738899
[ "MIT" ]
OzBob/aspnetboilerplate-samples
IdentityServervNextDemo/aspnet-core/src/IdentityServervNextDemo.Web.Core/Controllers/IdentityServervNextDemoControllerBase.cs
563
C#
using System; using System.Threading.Tasks; using ClusterClient.Chaos.Common; using Vostok.Clusterclient.Core.Model; using Vostok.Clusterclient.Core.Modules; namespace ClusterClient.Chaos.Latency { internal class LatencyModule : IRequestModule { private readonly Func<TimeSpan> latencyProvider; ...
41.511628
148
0.663305
[ "MIT" ]
shumantt/ClusterClient.Chaos
ClusterClient.Chaos/Latency/LatencyModule.cs
1,785
C#
using System.Collections.Generic; using System.Linq; using System.Text.Json; namespace ChunkedDataTransfer { internal class PackageCreator { private readonly int _chunkSize; internal PackageCreator(int chunkSize) { this._chunkSize = chunkSize; } internal ...
31.929412
111
0.593589
[ "MIT" ]
Johnnyborov/QRCopyPaste
Lib/ChunkedDataTransfer/Sender/PackageCreator.cs
2,716
C#
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
42.105556
160
0.638673
[ "MIT" ]
RufusJWB/azure-activedirectory-identitymodel-extensions-for-dotnet
src/Microsoft.IdentityModel.Tokens/SupportedAlgorithms.cs
15,158
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code++. Version 5.2.97.0. www.xsd2code.com // </auto-generated> // ------------------------------------------------------------------------------ #pragma warning disable namespace MsProjectMapp...
28.222222
88
0.640748
[ "MIT" ]
dodbrian/Sandbox
MsProjectMapper/Domain/ProjectTaskFixedCostAccrual.cs
1,016
C#
using Microsoft.Graph; using Office365Groups.Library.Helpers; using Office365Groups.Library.Models; using OfficeDevPnP.Core.Entities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; usi...
35.487315
192
0.597391
[ "Apache-2.0" ]
UNINETT/spfx-uninett-webparts
other_components/Office365Groups.Library/OfficeGroupUtility.cs
33,573
C#
#pragma warning disable CS0626 // Method, operator, or accessor is marked external and has no attributes on it #pragma warning disable CS0649 using System; using System.Collections.Generic; using System.IO; using System.Linq; using Ionic.Crc; using Ionic.Zip; using Mod.Courier; using Mod.Courier.Module; using MonoMod...
47.19084
262
0.600129
[ "MIT" ]
Brokemia/Courier
Assembly-CSharp.Courier.mm/Patches/DialogManager.cs
6,184
C#
 // Monster.cs // Copyright (c) 2014+ by Michael Penner. All rights reserved. using System; using System.Diagnostics; using System.Text; using Eamon; using Eamon.Framework; using Eamon.Game.Attributes; using Eamon.Game.Extensions; using Enums = Eamon.Framework.Primitive.Enums; using static StrongholdOf...
20.248175
88
0.59553
[ "MIT" ]
TheRealEamonCS/Eamon-CS
Adventures/StrongholdOfKahrDur/Game/Monster.cs
2,776
C#
/*A marketing company wants to keep record of its employees. Each record would have the following characteristics: First name Last name Age (0...100) Gender (m or f) Personal ID number (e.g. 8306112507) Unique employee number (27560000…27569999) Declare the variables needed to keep the information for a single employ...
27.625
115
0.650452
[ "MIT" ]
AYankova/CSharp
HomeworkPrimitiveDataTypesAndValuables/10.EmployeeData/EmployeeData.cs
888
C#
/// Copyright (c) Pomelo Foundation. All rights reserved. // Licensed under the MIT. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Linq.Expressions; using EFCore.MySql.Query.Expressions.Internal; using JetBrains.Annotations; using Microsoft.Entity...
38.924731
113
0.582873
[ "MIT" ]
boxburner/Pomelo.EntityFrameworkCore.MySql
src/EFCore.MySql/Query/Sql/Internal/MySqlQuerySqlGenerator.cs
7,240
C#
using UnityEngine; using GOAP_S.Planning; public class FindBarrelAction_GS : Action_GS { public float time = 1.0f; private float timer = 0.0f; public override ACTION_RESULT ActionUpdate() { timer += Time.deltaTime; if (timer > time) { RecollectorBehaviour agent_beh...
29.944444
126
0.605751
[ "MIT" ]
ferranmartinvila/Unity-GOAP_S
Unity_Project/Assets/ExampleScripts/Actions/FindBarrelAction_GS.cs
1,080
C#
/* --------------------------- * SharePoint Manager 2010 v2 * Created by Carsten Keutmann * --------------------------- */ using System; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using SPM2.Framework; namespace SPM2.SharePoint.Model { [Title(PropertyName="DisplayName")] [Icon(Small...
21.909091
69
0.684647
[ "MIT" ]
keutmann/SPM
Libraries/SPM2.SharePoint/Model/Custom/ApplicationRegistryServiceProxyNode.cs
482
C#
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license/ * * Unless required ...
34.492958
96
0.566626
[ "SHL-0.51" ]
hj-na-park/Tizen.CircularUI
test/WearableUIGallery/WearableUIGallery/TC/TCInformationPopup.xaml.cs
7,349
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regener...
36.190476
172
0.626316
[ "MIT" ]
Azure/azure-powershell-common
src/ResourceManager/Version2016_09_01/Generated/Models/SubscriptionPolicies.cs
2,280
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Imager { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Appli...
21.727273
65
0.596234
[ "MIT" ]
leonschrijvers/Imager
Source/Imager/Program.cs
480
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("Epam.Task.7.1.User...
39.162162
99
0.760524
[ "MIT" ]
TimofeyRudometkin/XT-2018Q4
Epam.Task7/Epam.Task.7.1.Users.DAL/Properties/AssemblyInfo.cs
2,029
C#
using System; namespace TileDraw { [Flags] public enum Neighbour { None = 0, Left = 1, Top = 2, Right = 4, Bottom = 8, LeftTop = Left | Top, RightTop = Right | Top, LeftBottom = Left | Bottom, RightBottom = Right | Bottom } }
16.631579
36
0.477848
[ "MIT" ]
vassald2/Games2
Assets/TileDraw/Scripts/Util/Enums.cs
318
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Spice.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
41.643519
1,853
0.64458
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMimport.cs
8,995
C#
using System; namespace LeetCode.LeetAgain { public class ArrayPairSumSln : ISolution { public int ArrayPairSum(int[] nums) { //1. sort //2. sum odd index item Array.Sort(nums); int result = 0; for (int i = 0; i < nums.Length; i += 2)...
24.90625
69
0.41468
[ "MIT" ]
YouenZeng/LeetCode
LeetCode/LeetAgain/ArrayPairSumSln.cs
1,596
C#
// Access failure exception class. // Copyright (C) 2009-2010 Lex Li // // 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 us...
37.425287
136
0.641892
[ "MIT" ]
7amza123/azu
SharpSnmpLib/Pipeline/AccessFailureException.cs
3,258
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Owin; using WebForm.Models; namespace WebForm....
35.710938
101
0.583898
[ "MIT" ]
edsonaraujo1/WebForm
WebForm/WebForm/Account/Manage.aspx.cs
4,573
C#
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member namespace ConoHaNet.Services.Compute { using Newtonsoft.Json; using OpenStack.ObjectModel; using System; public class BackupService : ExtensibleJsonObject { [JsonProperty("id")] public string ...
31.709302
102
0.649065
[ "MIT" ]
crowdy/OpenStack-ConoHa
ConoHaNet.portable-net45/ConoHa/Services/Compute/BackupService.cs
2,729
C#
#if UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN #define UNITY_PLATFORM_SUPPORTS_LINEAR #elif UNITY_IOS || UNITY_ANDROID #if UNITY_5_5_OR_NEWER || (UNITY_5 && !UNITY_5_0 && !UNITY_5_1 && !UNITY_5_2 && !UNITY_5_3 && !UNITY_5_4) #define UNITY_PLATFORM_SUPPORTS_LINEAR #endif #endif #if UNITY_5_4_OR_NE...
26.636569
164
0.663305
[ "Apache-2.0" ]
takemurakimio/missing-part-1
Assets/AVProVideo/Scripts/Components/ApplyToMaterial.cs
11,800
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...
35.114286
114
0.59642
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerRegistry/V20190601Preview/Inputs/EncodedTaskRunRequestArgs.cs
3,687
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/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
36.227273
145
0.705144
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/DOMFocusEventTests.cs
1,596
C#
// // complete.cs: Expression that are used for completion suggestions. // // Author: // Miguel de Icaza (miguel@ximian.com) // Marek Safar (marek.safar@gmail.com) // // Copyright 2001, 2002, 2003 Ximian, Inc. // Copyright 2003-2009 Novell, Inc. // Copyright 2011 Xamarin Inc // // Completion* classes derive from Ex...
27.396135
152
0.700406
[ "Apache-2.0" ]
OpenPSS/psm-mono
mcs/mcs/complete.cs
5,671
C#
using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Neleus.DependencyInjection.Extensions.Tests { [TestClass] public class ServiceByNameFactoryTests { private ServiceCollection _container; [TestInit...
35.885906
112
0.576959
[ "MIT" ]
kevmoens/DependencyInjection.Extensions
Neleus.DependencyInjection.Extensions.Tests/ServiceByNameFactoryTests.cs
5,347
C#
using System.Windows.Controls; namespace StarryEyes.Views.WindowParts.Primitives { /// <summary> /// UsersList.xaml の相互作用ロジック /// </summary> public partial class UsersList : UserControl { public UsersList() { InitializeComponent(); } } }
19.933333
49
0.598662
[ "MIT" ]
karno/StarryEyes
StarryEyes/Views/WindowParts/Primitives/UsersList.xaml.cs
319
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Windows.Forms; using ICSharpCode.Core; using ICSharpCode.SharpDevelop; namespace ICSharpCode.Xaml...
30.961538
122
0.775155
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/BackendBindings/XamlBinding/XamlBinding/PowerToys/Commands/RemoveUnnecessaryAttributesCommand.cs
807
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0xBD8713E8)] public class STU_BD8713E8 : STU_15043B61 { [STUFieldAttribute(0x82165976, ReaderType = typeof(InlineInstanceFieldReader))] public STU_8823ADCD m_82165976; ...
32.571429
89
0.747807
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_BD8713E8.cs
456
C#
namespace HelpFileMarkdownBuilder.Tests.Assembly1 { /// <summary> /// Public enumeration /// </summary> public enum PublicEnumeration { /// <summary> /// Public enumeration field 1 /// </summary> PublicEnumerationField1, /// <summary> /// Public enum...
21
50
0.561404
[ "MIT" ]
BastienPerdriau/HelpFileMarkdownBuilder
Tests/HelpFileMarkdownBuilder.Tests.Assembly1/PublicEnumeration.cs
401
C#
/* * OpenDoc_API-文档访问 * * API to access AnyShare 如有任何疑问,可到开发者社区提问:https://developers.aishu.cn # Authentication - 调用需要鉴权的API,必须将token放在HTTP header中:\"Authorization: Bearer ACCESS_TOKEN\" - 对于GET请求,除了将token放在HTTP header中,也可以将token放在URL query string中:\"tokenid=ACCESS_TOKEN\" * * The version of the OpenAPI do...
35.253012
257
0.560492
[ "MIT" ]
ArtyDinosaur404/AnyShareSDK
AnyShareSDK/Model/SearchSearchResResponse.cs
6,210
C#
using APS_6.Domain.Entities; using APS_6.Domain.Interfaces.Services; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace APS.Client.PropertyForms { public partial class frmConsultProperty : Form { private IRuralPropertyService _propertyService; ...
36.396226
110
0.618455
[ "MIT" ]
FelipeAlves99/APS_6_Semestre
src/APS.Client/PropertyForms/frmConsultProperty.cs
1,931
C#
// Copyright (c) Amer Koleci and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. using System; using System.IO; using SharpGen.Runtime; using SharpGen.Runtime.Win32; using Vortice.Win32; namespace Vortice.WIC { public partial class IWICImagingFact...
42.096916
176
0.623064
[ "MIT" ]
DanielElam/Vortice.Windows
src/Vortice.Direct2D1/WIC/IWICImagingFactory.cs
9,556
C#
using AutoMapper; using ManagerCV.Authorization.Users; namespace ManagerCV.Users.Dto { public class UserMapProfile : Profile { public UserMapProfile() { CreateMap<UserDto, User>(); CreateMap<UserDto, User>() .ForMember(x => x.Roles, opt => opt.Ignore()) ...
27.3
90
0.564103
[ "MIT" ]
trinhtri/tin_dung
aspnet-core/src/ManagerCV.Application/Users/Dto/UserMapProfile.cs
548
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Abp.Application.Services.Dto; using Abp.AspNetCore.Mvc.Authorization; using ModularTodoApp.Authorization; using ModularTodoApp.Controllers; using ModularTodoApp.Users; using ModularTodoApp.Web.Models.Users; using ModularTodoApp.Users.Dto; namespace M...
32.270833
154
0.640413
[ "MIT" ]
aspnetboilerplate/modular-todo-app
src/ModularTodoApp.Web.Mvc/Controllers/UsersController.cs
1,551
C#
namespace TeaTime.Slack.Commands { using System.Threading.Tasks; using CommandRouter.Attributes; using CommandRouter.Results; using Common.Abstractions; using Common.Features.RoomItemGroups.Commands; using Common.Features.RoomItemGroups.Queries; using MediatR; using Models.Responses; ...
35
140
0.643516
[ "MIT" ]
MrSmoke/TeaTime
src/TeaTime.Slack/Commands/GroupsCommand.cs
2,277
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
35.193548
152
0.563703
[ "Apache-2.0" ]
fearedbliss/Cactus-Core
Cactus/Properties/Settings.Designer.cs
1,093
C#
using System; using System.Diagnostics; using System.Drawing; using System.Runtime.InteropServices; using System.Threading; using System.Windows.Forms; using Boxd.Domain.Box; using Boxd.Domain.Box.Host; using Boxd.Domain.Box.Host.State; namespace Boxd.Windows.Adapter.Host.WinForms { public partial class Win32BoxHo...
37.814286
112
0.501322
[ "MIT" ]
armunro/boxd
src/Boxd.Windows/Adapter/Host/WinForms/Win32BoxHost.cs
5,294
C#
using System.Linq; using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Mvc; using Microsoft.Framework.DependencyInjection; namespace security { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddAu...
38.576271
113
0.54833
[ "Apache-2.0" ]
wmeints/aspnet-demo
security/Startup.cs
2,276
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Reflection; using System.Text; using System.Threading.Tasks; using SyZero.Client; namespace SyZero.Feign { public class FeignProxyBuilder : IFeignProxyBuilder { ...
43.190217
186
0.580722
[ "Apache-2.0" ]
winter-2022/SYZERO
src/SyZero.Core/SyZero.Feign/FeignProxyBuilder.cs
8,425
C#
namespace MassTransit.SimpleInjectorIntegration.ScopeProviders { using Scoping; using SimpleInjector; static class InternalScopeExtensions { public static void UpdateScope(this Scope scope, ConsumeContext context) { scope.Container.GetInstance<ScopedConsumeContextProvider>(...
24.066667
92
0.709141
[ "ECL-2.0", "Apache-2.0" ]
AhmedKhalil777/MassTransit
src/Containers/MassTransit.SimpleInjectorIntegration/ScopeProviders/InternalScopeExtensions.cs
361
C#
using System; using System.Collections.Specialized; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; using System.Linq; using System.Web; using System.Security.Cryptography; namespace Sage_One_Authorisation_Client { public class SageOneWebRequest { public enum Me...
33.266393
132
0.555008
[ "MIT" ]
aareschluchtje/SageOneDemo
Sage One Authorisation Client/SageOneWebRequest.cs
8,119
C#
using System; using System.Diagnostics; namespace WebOptimizer.AngularTemplateCache { internal static class Guard { [DebuggerHidden] internal static void ArgumentIsNotNull(object value, string argument) { if (value == null) { throw new ArgumentNu...
19.789474
77
0.585106
[ "MIT" ]
kdcllc/WebOptimizer.AngularTemplateCache
src/Guard.cs
378
C#
using JsonApiDotNetCore.Data; using JsonApiDotNetCore.Internal.Contracts; using JsonApiDotNetCore.Models.Annotation; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace JsonApiDotNetCore.Internal { /// <summary> /// Responsible for populating the RelationshipAttribute I...
37.652174
111
0.626251
[ "MIT" ]
bjornharrtell/JsonApiDotNetCore
src/JsonApiDotNetCore/Internal/InverseRelationships.cs
2,598
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
28.284404
142
0.692832
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-domain/Domain/Model/V20180129/QueryRegistrantProfileRealNameVerificationInfoRequest.cs
3,083
C#
using Insurance.Web.Client; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization.Infrastructure; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.H...
33.396226
140
0.634463
[ "Unlicense" ]
Kemma87/gap
Insurance.Web/Insurance.Web/Authorization/RoleHandler.cs
1,772
C#
// // Copyright (c) 2022 karamem0 // // This software is released under the MIT License. // // https://github.com/karamem0/sp-client-core/blob/main/LICENSE // using Karamem0.SharePoint.PowerShell.Models.V1; using Karamem0.SharePoint.PowerShell.Runtime.Commands; using Karamem0.SharePoint.PowerShell.Services.V...
35.122222
124
0.556469
[ "MIT" ]
karamem0/SPClientCore
source/Karamem0.SPClientCore/Commands/GetRecycleBinItemCommand.cs
3,161
C#
using CWBFightClub.Models.Interfaces; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace CWBFightClub.Models { public class DatabaseAdministration { /// <summary> /...
27.548387
60
0.622951
[ "MIT" ]
GreyIceWater/CWBFightClub
CWBFightClub/CWBFightClub/Models/DatabaseAdministration.cs
856
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /card/paycell/set 接口的请求。</para> /// </summary> public class CardPayCellSetRequest : WechatApiRequest, IMapResponse<CardPayCellSetRequest, CardPayCellSetResponse> { /// <summary> /// 获取或设置卡券模板编号。 ...
33
118
0.616601
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardPayCellSetRequest.cs
829
C#
using Microsoft.Extensions.DependencyInjection; using ZwiftSteero.Application.Abstractions; using ZwiftSteero.Ble; using ZwiftSteero.Ble.Emulator; namespace ZwiftSteero.Application { public static class ServiceConfiguration { public static IServiceCollection AddApplicationServices(this IServiceCollect...
31.047619
98
0.72546
[ "MIT" ]
ttotty/ZwiftSteeroApi
src/ZwiftSteero.Application/ConfigureExtensions.cs
652
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CAINpcTaggedWanderParams : CA...
34.2
136
0.748538
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAINpcTaggedWanderParams.cs
855
C#
using System; using System.Collections.Generic; namespace ServiceStack.Text { public static class JsonExtensions { public static T JsonTo<T>(this Dictionary<string, string> map, string key) { return Get<T>(map, key); } public static T Get<T>(this Dictionary<string, string> map, string key) ...
24.955056
109
0.688429
[ "BSD-3-Clause" ]
scopely/ServiceStack.Text
src/ServiceStack.Text/JsonObject.cs
2,221
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
30.018182
129
0.629316
[ "BSD-3-Clause" ]
x-xing/Quantlib-SWIG
CSharp/csharp/Futures.cs
1,651
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; namespace Micr...
44.458333
126
0.796626
[ "Apache-2.0" ]
Sliptory/roslyn
src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.cs
1,069
C#