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 file="ActorWithStashSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright...
36.351613
124
0.543704
[ "Apache-2.0" ]
WilliamBZA/akka.net
src/core/Akka.Tests/Actor/Stash/ActorWithStashSpec.cs
11,271
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...
27.171429
81
0.616193
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/CostManagement/V20200601/Inputs/ReportConfigSortingArgs.cs
951
C#
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; using Fossil.AbstractSyntaxTree; namespace Fossil { class NativeFunctionObject : ICallableObject { public NativeFunctionObject(string funcNam...
32.25
96
0.666667
[ "MIT" ]
sakano/Fossil
Fossil/NativeFunctionObject.cs
1,163
C#
// DirectXSharp // // Copyright (C) 2021 Ronald van Manen <rvanmanen@gmail.com> // // 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 without...
41.735849
96
0.685805
[ "MIT" ]
ronaldvanmanen/DirectXSharp
sources/DirectXSharp.Interop/d3d9/D3DVIEWPORT9.cs
2,212
C#
using UnityEngine; using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Threading; using WorldMapStrategyKit.ClipperLib; namespace WorldMapStrategyKit { public partial class WMSK_Editor : MonoBehaviour { /// <summary> /// Adjusts all countries frontiers to m...
26.435897
142
0.650097
[ "CC0-1.0" ]
lelehappy666/Refugees
Refugees/Assets/PlugInPackage/WorldMapStrategyKit/Scripts/MapEditor/Hexify/HexifyCountries.cs
4,124
C#
using System.Collections.ObjectModel; using Cirrious.MvvmCross.ViewModels; namespace StatusBar.Core { public class MessageViewModel : MvxViewModel { private readonly ObservableCollection<IMessageItem> _messages = new ObservableCollection<IMessageItem>(); public ObservableCollection<IMessageIt...
24.9375
113
0.704261
[ "Apache-2.0" ]
lothrop/StatusBar.iOS
StatusBar.Core/MessageViewModel.cs
401
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace PdfImageExtractor { public partial class frmPromotion : PdfImageExtractor.CustomForm { public frmPromotion() { ...
23.06
93
0.599306
[ "MIT" ]
fourDotsSoftware/FreePDFImageExtractor
PdfImageExtractor/frmPromotion.cs
1,155
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Windows; namespace LeroyMerlinClient { [Serializable] public class Program { public string Продавец = ""; public List<Taga> listTables = new List<Taga>(); } public static class...
32.141361
241
0.686431
[ "Apache-2.0" ]
danilinus/LMClient
LeroyMerlinClient/Program.cs
7,304
C#
using Entitas; using FineGameDesign.Utils; using System.Collections.Generic; namespace FineGameDesign.Entitas { public sealed class TriggerReactionSystem : ReactiveSystem<GameEntity> { private readonly GameContext m_Context; public TriggerReactionSystem(Contexts contexts) : base(contexts.game)...
27.882353
90
0.601266
[ "MIT" ]
ethankennerly/digestion-defense
DigestionDefense/Assets/Sources/Logic/Game/TriggerReactionSystem.cs
1,422
C#
// <copyright file="ClickAt.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you u...
41.984848
129
0.670516
[ "Apache-2.0" ]
BlackSmith/selenium
dotnet/src/webdriverbackedselenium/Internal/SeleniumEmulation/ClickAt.cs
2,771
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CustomProject.Common; namespace CustomProject.Entity { [Table(PrimaryColumn = "ShipperID", TableName = "Shippers",IdendityColumn = "ShipperID")] public class Shippers { public ...
23.526316
93
0.691275
[ "MIT" ]
baristutakli/NA-203-Notes
Ders22/CustomProject.Entity/Shippers.cs
449
C#
using System.Collections.Generic; using System.Text; using UnityEngine; using UnityEngine.UI; using VektorLibrary.Utility; namespace VoxelEngine.Utility { /// <summary> /// Utility class for drawing various debug readouts to the game screen. /// </summary> public class DevReadout : MonoBehaviour { ...
37.368794
106
0.565193
[ "MIT" ]
VektorKnight/VoxelEngine
Assets/VoxelEngine/Source/Utility/DevReadout.cs
5,272
C#
using System; using System.Linq; using System.Text; /// <summary> ///项目名称:Diana轻量级开发框架 ///版本:0.0.1版 ///开发团队成员:胡凯雨,张梦丽,艾美珍,易传佳,陈祚送,康文洋,张婷婷,王露,周庆,夏萍萍,陈兰兰 ///模块和代码页功能描述:角色资源关联实体类 ///最后修改时间:2018/1/26 /// </summary> namespace Diana.model { public class role_resource { /// <summary> /// Desc:- ...
19.815789
51
0.487384
[ "MIT" ]
ecjtuseclab/Diana
code/Diana0.01/model/Model/role_resource.cs
937
C#
namespace AAC.ABPDemo.Configuration { public static class AppSettingNames { public const string UiTheme = "App.UiTheme"; } }
18.25
52
0.671233
[ "MIT" ]
Ramos66/ABPDemo
aspnet-core/src/AAC.ABPDemo.Core/Configuration/AppSettingNames.cs
148
C#
namespace ItemSystem.GUI.Interfaces { public interface IView { public void RaiseActivated(); } }
14.571429
36
0.745098
[ "MIT" ]
PerfectlyFineCode/itemsystem
src/ItemSystem/ItemSystem.GUI/Interfaces/IView.cs
104
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Suchmasy.Data.Migrations { public partial class CreateIdentitySchema : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder....
43.072398
122
0.498372
[ "MIT" ]
draganov89/Suchmasy
Suchmasy/Suchmasy/Data/Migrations/00000000000000_CreateIdentitySchema.cs
9,521
C#
using System; namespace ZeldaOracle.Common.Geometry { /// <summary>A static class for advanced game-related mathematical functions and /// calculations.</summary> public static partial class GMath { //----------------------------------------------------------------------------- // Constants //------------...
39.769231
81
0.635719
[ "MIT" ]
trigger-death/ZeldaOracle
ZeldaOracle/GameCommon/Common/Geometry/GMath.Constants.cs
1,553
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
36.5
114
0.62696
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/AWSHealth/Generated/Model/DescribeAffectedEntitiesForOrganizationRequest.cs
5,037
C#
using jQueryApi; using jQueryApi.UI.Widgets; using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Serenity { [Editor, DisplayName("Date/Time")] [Element("<input type=\"text\"/>")] public class DateTimeEditor : Widget<DateT...
31.56391
109
0.418294
[ "MIT" ]
dfaruque/Serenity
Serenity.Script.UI/Editor/DateTimeEditor.cs
8,398
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using essentialMix.Extensions; using Other.Microsoft.MultiLanguage; using JetBrains.Annotations; namespace essentialMix.Helpers { public static class EncodingHelper { static EncodingHelper()...
31.562025
170
0.713564
[ "MIT" ]
asm2025/asm
Standard/essentialMix/Helpers/EncodingHelper.cs
12,469
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace EntityFramework.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Articles", ...
55.6
389
0.529884
[ "MIT" ]
temir-kussainov/ArticleParser
EntityFramework/Migrations/20210516225515_Initial.cs
7,230
C#
using System; using System.Linq; using NUnit.Framework; using EventStore.Core.Data; using EventStore.Projections.Core.Services.Management; using EventStore.Common.Options; using EventStore.Core.Bus; using EventStore.Core.Messages; using EventStore.Core.TransactionLog.LogRecords; using EventStore.Projections.Core.Messa...
37.169811
128
0.708122
[ "Apache-2.0", "CC0-1.0" ]
cuteant/EventStore-DotNetty-Fork
src/EventStore.Projections.Core.Tests/Services/core_coordinator/when_stopping_with_projection_type_all.cs
1,972
C#
// Copyright 2019 Florian Gather <florian.gather@tngtech.com> // Copyright 2019 Paula Ruiz <paularuiz22@gmail.com> // Copyright 2019 Fritz Brandhuber <fritz.brandhuber@tngtech.com> // // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections; using System.Collections.Generic; using ArchUnitNET...
44.034188
120
0.654503
[ "Apache-2.0" ]
DialLuesebrink/ArchUnitNET
ArchUnitNETTests/Domain/Dependencies/Attributes/AttributeTestsBuild.cs
5,152
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.Azure.Devices.Common { using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using...
27.998674
137
0.489839
[ "MIT" ]
17zhangw/azure-iot-sdks
csharp/service/Microsoft.Azure.Devices/Common/ReadOnlyDictionary45.cs
21,111
C#
using System.Web.Mvc; namespace BrockAllen.MembershipReboot.Mvc.Areas.UserAccount { public class UserAccountAreaRegistration : AreaRegistration { public override string AreaName { get { return "UserAccount"; } } public overri...
26.866667
82
0.548387
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AstrixAstrix/automatic-adventurePRo
ANDP.ProvisionCenter.Mvc/Areas/UserAccount/UserAccountAreaRegistration.cs
808
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("06...
37.918919
84
0.744833
[ "MIT" ]
Steffkn/TelerikAcademy
Programming/02. CSharp Part 2/07.Text-Files/06.SortTextFile/Properties/AssemblyInfo.cs
1,406
C#
using System.Collections.Generic; namespace rbkApiModules.Diagnostics.Core { public class FilterOptionListData { public FilterOptionListData() { Versions = new List<string>(); Areas = new List<string>(); Layers = new List<string>(); Domains = new...
35.647059
57
0.554455
[ "MIT" ]
rbasniak/rbk-api-modules
rbkApiModules.Diagnostics.Core/Models/FilterOptionListData.cs
1,214
C#
using System; namespace SuperheroesUniverse.Data.Repositories.Contracts { public interface IUnitOfWork : IDisposable { void Commit(); } }
16
57
0.69375
[ "MIT" ]
pavelhristov/CSharpDatabases
Exam-8Nov2016/01. Code-first/SuperheroesUniverse/SuperheroesUniverse.Data/Repositories/Contracts/IUnitOfWork.cs
162
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Xml.XPath; using System.Text.RegularExpressions; namespace DigitalPlatform.Marc { /// <summary> /// MARC 基本节点 /// </summary> public class MarcNode { /// <summary> ...
26.453475
151
0.454606
[ "Apache-2.0" ]
DigitalPlatform/dp2core
DigitalPlatform.MarcQuery/MarcNode.cs
25,639
C#
namespace BudgetToolsDAL.Models { public class Message { public int ErrorLevel { get; set; } public string MessageText { get; set; } } }
15.272727
47
0.60119
[ "MIT" ]
myokapis/BudgetTools
BudgetToolsDAL/Models/Message.cs
170
C#
using System; using System.Collections.Generic; using JetBrains.Annotations; using VkNet.Model.Attachments; using VkNet.Utils; namespace VkNet.Model.RequestParams { /// <summary> /// Параметры метода wall.addComment /// </summary> [Serializable] public class WallCreateCommentParams { /// <summary> /// Идент...
29.700855
85
0.663309
[ "MIT" ]
Empty322/vk
VkNet/Model/RequestParams/Wall/WallCreateCommentParams.cs
4,582
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 * t...
37.252427
149
0.598645
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.DataMapper.ConsoleApp/Services/DataMapper.cs
7,676
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0xD93B3F5E)] public class STU_D93B3F5E : STU_9C74F0E2 { } }
21.888889
54
0.746193
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_D93B3F5E.cs
197
C#
using System; using Microsoft.Xna.Framework; using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; namespace Nano.Engine.Graphics.Tileset { public class RegularTileset : ITileset { #region member data readonly string m_Name; readonly List<Rectangle> m_Bounds; #endregion #regio...
21.773333
118
0.587875
[ "MIT" ]
SirNanoCat/nano-tile-engine
Nano/Engine/Graphics/Tileset/RegularTileset.cs
1,633
C#
using addon365.Database.Entity.Inventory.Catalog; using addon365.Database.Service.Base; using addon365.IService.pos; using Threenine.Data; namespace addon365.Database.Service.pos { public class CatelogItemService : BaseService<CatalogItem>, ICatelogItemService { public CatelogItemService(IUnit...
24.125
76
0.727979
[ "Apache-2.0" ]
addon365/b1ke-sh0wr00m
src/DotNet/Should be removed/addon365.Database.Service/pos/CatelogItemService.cs
388
C#
using System; using System.IO; using System.Reflection; using System.Windows.Forms; using WriteDown.Themes; using WriteDown.Util; using Newtonsoft.Json; namespace WriteDown { static class Program { [STAThread] static void Main() { Config.loadConfig(); AppDomain.CurrentDomai...
36.558824
113
0.623492
[ "MIT" ]
Lomeli12/WriteDown
WriteDown/Program.cs
1,245
C#
using FRTools.Common; using FRTools.Web.Infrastructure; using FRTools.Web.Models; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Threading.Tasks; using System.Web.Mvc; namespace FRTools.Web.Controllers { [RoutePrefix("scryer")] public class ScryerController : BaseController ...
40.927536
204
0.617564
[ "MIT" ]
Nensec/FRTools
FRTools.Web/Controllers/ScryerController.cs
2,826
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...
25.85
109
0.581721
[ "Apache-2.0" ]
miltador-forks/aws-sdk-net
sdk/src/Services/Lex/Generated/AmazonLexConfig.cs
2,068
C#
namespace WebApiDotNetCore20.Features.WithCache { using Cacheable; using MediatR; using Models; public class CommandHandler : IRequestHandler<Command, Result>, ICacheableRequestHandler { private readonly IResultBuilder resultBuilder; public CommandHandler(IResultBuilder resultBuil...
26.333333
92
0.672694
[ "MIT" ]
neekgreen/Cacheable
samples/MediatR/WebApiDotNetCore20/Features/WithCache/CommandHandler.cs
555
C#
using System; using System.Collections.Generic; namespace WebApplication.Models { public partial class ScheduleInstance { public long ScheduleInstanceId { get; set; } public long? ScheduleMasterId { get; set; } public DateTime? ScheduledDateUtc { get; set; } public DateTimeOffs...
27.533333
68
0.673123
[ "MIT" ]
hboiled/azure-data-services-go-fast-codebase
solution/WebApplication/WebApplication/Models/ScheduleInstance.cs
415
C#
using System; using DCL.Controllers; using DCL.Interface; using DCL.Models; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.Profiling; namespace DCL { public sealed class SceneMetricsCounter : ISceneMetricsCounter { public static c...
31.435435
161
0.584543
[ "Apache-2.0" ]
CarlosPolygonalMind/unity-renderer
unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/SceneMetricsCounter/SceneMetricsCounter.cs
10,468
C#
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- using System; using System.ServiceModel; namespace Microsoft.Samples.ReliableSession { // Define a service contract. ...
26.66
75
0.549887
[ "Apache-2.0" ]
jdm7dv/visual-studio
Samples/NET 4.6/WF_WCF_Samples/WCF/Basic/Binding/Custom/ReliableSession/CS/service/service.cs
1,335
C#
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using Stride.Core.Assets; using Stride.Core; using Stride.Graphics; namespace Stride.Assets { ...
57.514706
159
0.676809
[ "MIT" ]
Aggror/Stride
sources/engine/Stride.Assets/GameSettingsAssetExtensions.cs
3,911
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/Uxtheme.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syste...
37.333333
145
0.65997
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/Uxtheme/TA_TRANSFORMTests.cs
1,346
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SFA.DAS.ProviderCommitments.Web.Models { public interface IDraftApprenticeshipViewModel { long ProviderId { get; } string CohortReference { get; } } }
20.571429
50
0.722222
[ "MIT" ]
SkillsFundingAgency/das-providercommitments
src/SFA.DAS.ProviderCommitments/SFA.DAS.ProviderCommitments.Web/Models/IDraftApprenticeshipViewModel.cs
290
C#
using System; using System.Collections.Generic; using System.Linq; namespace Unleashed { public class Serbian { public static void Main() { } } }
13.142857
33
0.603261
[ "MIT" ]
akaraatanasov/SoftUni
Technologies Fundamentals/Programming Fundamentals/Dictionaries and LINQ - Exercises/Unleashed/Serbian.cs
186
C#
using System; using DNTFrameworkCore.Common; using Microsoft.Extensions.Options; namespace DNTFrameworkCore.Tenancy.Options { /// <summary> /// Dictionary of tenant specific options caches /// </summary> /// <typeparam name="TOptions"></typeparam> internal sealed class TenantOptionsDictiona...
31.068966
111
0.6404
[ "Apache-2.0" ]
rabbal/DNTFrameworkCore
src/DNTFrameworkCore/Tenancy/Options/TenantOptionsDictionary.cs
901
C#
using Application.Enums; using Infrastructure.AuditModels; using Infrastructure.Identity.Models; using WebUI.Abstractions; using Application.Features.Logs.Commands; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using ...
26.823834
104
0.676647
[ "MIT" ]
DurkaTechnologies/AdminPanel
WebUI/Areas/Admin/Controllers/RoleController.cs
5,338
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.O...
27.888889
121
0.663347
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/seldon-operator/dotnet/Kubernetes/Crds/Operators/SeldonOperator/Machinelearning/V1/Outputs/SeldonDeploymentSpecPredictorsComponentSpecsSpecEphemeralContainersStartupProbeHttpGetHttpHeaders.cs
1,004
C#
using MvcContrib.FluentHtml.Elements; namespace MvcContrib.FluentHtml.Behaviors { public interface IMemberBehavior : IBehaviorMarker { void Execute(IMemberElement element); } }
18.3
51
0.808743
[ "Apache-2.0" ]
torkelo/MvcContrib
src/MvcContrib.FluentHtml/Behaviors/IMemberBehavior.cs
183
C#
//------------------------------------------------------------------------------ // Copyright (c) 2014-2016 the original author or authors. All Rights Reserved. // // NOTICE: You are permitted to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. ...
31.956522
82
0.57551
[ "MIT" ]
KieranBond/robotlegs-sharp-framework
src/Robotlegs/Bender/Extensions/EnhancedLogging/ConsoleLoggingExtension.cs
735
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using IdNet6.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims;...
32.757576
162
0.587419
[ "Apache-2.0" ]
simple0x47/IdNet6
src/Storage/src/IdentityServerUser.cs
3,243
C#
using FluentValidation; using System; using System.Collections.Generic; using System.Text; namespace Boxters.Application.Orders.Queries.GetOrders.GetOrderById { public class GetOrderQueryValidator : AbstractValidator<GetOrderQuery> { public GetOrderQueryValidator() { RuleFor(x => x...
22.4375
74
0.699164
[ "MIT" ]
AmazingSuka/two-bros
Two.Application/Orders/Queries/GetOrders/GetOrderById/GetOrderQueryValidator.cs
361
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
57.248335
201
0.663609
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/RAM/Generated/_bcl35/AmazonRAMClient.cs
120,336
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Elevator : MonoBehaviour { [SerializeField] Transform depositLocation; [SerializeField] Deposit elevatorDeposit; [SerializeField] ElevatorMiner elevatorMiner; public Transform DepositLocation => depositLocatio...
29.133333
56
0.791762
[ "MIT" ]
IHunelI/-Prototype-IdleMinerTycoon
IdleClicker/Assets/Scripts/Elevator/Elevator.cs
439
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class EndButton : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
21.961538
69
0.642732
[ "MIT" ]
sagar5534/Ilsa-Journey
Ilsa's Journey/Assets/Scripts/EndButton.cs
573
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.ApplicationInsights.Extensibility; namespace CacheMeIfYouCan.Redis { public sealed class DistributedCacheApplicationInsightsWrapper<TKey, TValue> : DistributedCacheEventsWrapperBase<TKey, TValue> { private read...
44.385027
122
0.675542
[ "MIT" ]
ncomben/CacheMeIfYouCan
src/CacheMeIfYouCan.Redis/DistributedCacheApplicationInsightsWrapper.cs
8,302
C#
// SPDX-License-Identifier: MIT // The content of this file has been developed in the context of the MOSIM research project. // Original author(s): Felix Gaisbauer using MMIStandard; using System; using System.Collections.Generic; namespace MMICoSimulation { /// <summary> /// A container class representing ...
26.394366
92
0.580043
[ "MIT" ]
Daimler/MOSIM_Core
CoSimulation/MMICoSimulation/CoSimulationFrame.cs
1,876
C#
using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace MahApps.Metro.Controls { /// <summary> /// Defines a helper class for selected items binding on co...
38.889655
169
0.497606
[ "MIT" ]
Fleetingold/MahApps.Metro
src/MahApps.Metro/Controls/Helper/MultiSelectorHelper.cs
11,280
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("WnMAiModule")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPr...
25.486486
56
0.71474
[ "MIT" ]
michaelgx2/wnmai
WnMAiModule/Properties/AssemblyInfo.cs
1,284
C#
// *********************************************************************** // Assembly : Noob.Core // Author : Administrator // Created : 2020-04-19 // // Last Modified By : Administrator // Last Modified On : 2020-04-19 // ********************************************************************...
35.941176
101
0.533552
[ "MIT" ]
noobwu/DncZeus
Noob.Core/Uow/IDatabaseApiContainer.cs
1,835
C#
using UnityEngine; using UnityEditor; using System.Collections.Generic; /* * Unity extension to set a custom font. * Set by using the information of fnt file bmfont outputs. * * Install: * Copy to Assets\Editor\ , this script. * * Use: * Custom -> Custom Font Setting -> Chr Rect Set. * * D&D, "Custom Fon...
35.678899
119
0.567884
[ "MIT" ]
buzzler/titan
Assets/Editor/ChrRectSet.cs
7,780
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("02...
38.513514
84
0.748772
[ "MIT" ]
EmilMitev/Telerik-Academy
DSA/Homeworks/02. Linear-Data-Structures/LinearDataStructures/02.ReverseNumbersWithStack/Properties/AssemblyInfo.cs
1,428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZY.Framework.Data.ICommon { /// <summary> /// 数据上下文工厂接口 /// </summary> /// <typeparam name="TContext"></typeparam> public interface IDbContextFactory<TContext> where TConte...
21
71
0.674603
[ "MIT" ]
lovepoco/ZYFW
Code/ZY.Framework.Data.ICommon/IDbContextFactory.cs
398
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder v8.6.4 // // Changes to this file will be lost if the code is regenerated. // </auto-generated> //------------------------------------------------...
43.398305
219
0.732474
[ "MIT" ]
OwainWilliams/multipleDatePicker
multipleDatePicker.Web/App_Data/Models/Person.generated.cs
5,121
C#
namespace JewelleryShop.Web.ViewModels.Products { using Common.Mapping; using Microsoft.AspNetCore.Http; using Services.Products.Models; using System.ComponentModel.DataAnnotations; using static WebConstants; public class ProductFormViewModel : IMapFrom<ProductDetailsServiceModel> { ...
27.65625
76
0.663277
[ "MIT" ]
stefanMinch3v/MiniWebShops
src/JewelleryShop/Web/JewelleryShop.Web/ViewModels/Products/ProductFormViewModel.cs
887
C#
using System; using System.Collections.Generic; using System.Text; using System.Web; namespace Cumulocity.SDK.Client { public class TemplateUrlParser { public static string encode(string value) { try { return HttpUtility.UrlEncode(value, Encoding.UTF8); } catch (Exception e) { throw new ...
23.109091
111
0.681353
[ "MIT" ]
SoftwareAG/cumulocity-sdk-cs
REST-SDK/src/Cumulocity.SDK.Client/TemplateUrlParser.cs
1,273
C#
namespace Machete.Cursors { using System; using Contexts; using Contexts.Collections; public struct EmptyCursor<TInput> : Cursor<TInput> { public bool HasCurrent => false; public TInput Current => throw new InvalidOperationException("The cursor is empty, Current is not val...
27.434783
115
0.600634
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete/Cursors/EmptyCursor.cs
1,264
C#
namespace OpenShiftForVisualStudio.Vsix.Views { using System.Diagnostics.CodeAnalysis; using System.Windows; using System.Windows.Controls; /// <summary> /// Interaction logic for OpenShiftProjectWindowControl. /// </summary> public partial class OpenShiftProjectWindowControl : UserControl...
40.117647
158
0.648094
[ "MIT" ]
gbraad/OpenShift.Vsix
OpenShiftForVisualStudio.Vsix/Views/OpenShiftProjectWindowControl.xaml.cs
1,366
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...
42.111111
145
0.698549
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/winioctl/DEVICE_DATA_SET_SCRUB_EX_OUTPUTTests.cs
1,518
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.CosmosDB.Models { /// <summary> Parameters ...
44.596154
246
0.65373
[ "MIT" ]
AhmedLeithy/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/TableCreateUpdateOptions.cs
2,319
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace DirectoryHash.Tests { internal static class TestUtilities { public static void Run(this TemporaryDirectory directory, params string[] args) { A...
22.166667
87
0.699248
[ "MIT" ]
jasonmalinowski/directoryhash
DirectoryHashTests/TestUtilities.cs
401
C#
// // (C) Copyright 2003-2019 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited war...
35.148492
259
0.522345
[ "MIT" ]
xin1627/RevitSdkSamples
SDK/Samples/NewRoof/CS/RoofsManager/RoofsManager.cs
15,149
C#
using System; namespace Test.Core { public interface IService { } public class Service1 : IService { } public class Service2 : IService { } public class Service3 : IService { } }
13.466667
40
0.653465
[ "MIT" ]
loresoft/KickStart
test/Test.Core/IService.cs
204
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.089552
117
0.67248
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Logic/V20190501/Outputs/IntegrationServiceEnvironmentPropertiesResponse.cs
2,351
C#
using RepoDb.Contexts.Execution; using RepoDb.Exceptions; using RepoDb.Extensions; using RepoDb.Interfaces; using RepoDb.Requests; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace RepoDb { ...
47.305617
196
0.564634
[ "Apache-2.0" ]
yeojdj/RepoDb
RepoDb.Core/RepoDb/Operations/DbConnection/Merge.cs
85,909
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.Diagnostics.ContractsLight; using System.IO; using BuildXL.Native.IO; using BuildXL.Storage.ChangeJournalService; using BuildXL.Storage.ChangeJourna...
45.373333
148
0.538055
[ "MIT" ]
breidikl/BuildXL
Public/Src/Utilities/Storage/JournalAccessorGetter.cs
3,403
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; namespace XamFormsEfficientNetworking.WinPhone { public partial class MainPage : g...
26.96
96
0.724036
[ "MIT" ]
PacktPublishing/Xamarin-Cross-Platform-Mobile-Application-Development
Module 2/Chapter 5/Windows/s04/xamformsefficientnetworking/xamformsefficientnetworking/XamFormsEfficientNetworking.WinPhone/MainPage.xaml.cs
676
C#
using System.Collections.Generic; using ESRI.ArcLogistics.Data; namespace ESRI.ArcLogistics.App.Import { /// <summary> /// Provides access to a collection of data objects with ability to track elements additions. /// </summary> /// <typeparam name="T">The type of data objects in the collection.</typep...
41.526316
97
0.637516
[ "Apache-2.0" ]
Esri/route-planner-csharp
RoutePlanner_DeveloperTools/Source/ArcLogisticsApp/Import/IDataObjectContainer.cs
1,580
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/d2d1.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System; ...
38.538462
145
0.651198
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/d2d1/ID2D1BitmapRenderTargetTests.cs
2,006
C#
//------------------------------------------------------------------------------ // <otomatik üretildi> // Bu kod bir araç tarafından oluşturuldu. // // Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve // kod tekrar üretildi. // </otomatik üretildi> //---------------------------------...
33.518519
101
0.558011
[ "MIT" ]
ebruaktas99/aspnetileyemektarifsitesi
YemekTarifSitesi/YemektTariflerim/YemektTariflerim/KategoriDuzenle.aspx.designer.cs
1,873
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
49.5
215
0.76431
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Analytics.Admin.V1Alpha/Google.Analytics.Admin.V1Alpha.GeneratedSnippets/AnalyticsAdminServiceClient.DeleteDisplayVideo360AdvertiserLinkProposalResourceNamesAsyncSnippet.g.cs
2,079
C#
using System.Collections.Generic; using System.Linq; using QuestStoreNAT.web.Models; using QuestStoreNAT.web.DatabaseLayer; using QuestStoreNAT.web.DatabaseLayer.ConcreteDAO; using QuestStoreNAT.web.ViewModels; namespace QuestStoreNAT.web.Services { public class QuestManagement { private OwnedQuestStu...
35
105
0.664762
[ "MIT" ]
chashafe/QuestStore
QuestStoreNAT/QuestStoreNAT.web/Services/QuestManagement.cs
3,152
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3dumddi.h(3439,5) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _D3DDDICB_ALLOCATE__union_0 { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 96...
46.705882
167
0.724181
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/_D3DDDICB_ALLOCATE__union_0.cs
796
C#
// <auto-generated /> using System; using CarDealer.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace CarDea...
35.4375
125
0.464433
[ "MIT" ]
pirocorp/Databases-Advanced---Entity-Framework
Exercises/06. Extensible Markup Language - XML/CarDealer/Migrations/20211028090310_Initial.Designer.cs
6,806
C#
// =========== // DO NOT EDIT - this file is automatically regenerated. // =========== using System.Collections.Generic; using System; using Improbable.Gdk.Core; using Improbable.Worker.CInterop; namespace Improbable.Restricted { public partial class PlayerClient { public class DiffComponentStorage : ...
37.968553
135
0.572304
[ "MIT" ]
footman136/dino-park
workers/unity/Assets/Generated/Source/improbable/restricted/PlayerClientComponentDiffStorage.cs
6,037
C#
using System; using Ceen.Mvc; namespace Ceen.PaaS.AdminHandlers { /// <summary> /// Marker interface for choosing the queue v1 /// </summary> [Name("admin")] public interface IAdminAPIv1 : API.IAPIv1 { } }
15.733333
50
0.622881
[ "MIT" ]
Peckmore/ceenhttpd
Ceen.PaaS/AdminHandlers/Interface.cs
236
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using MQTTnet.Implementations; using System; using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace MQTTnet.Tests { [TestClass] public class MqttTcpChannel_Tests { [TestMethod] public a...
32.328947
112
0.534799
[ "MIT" ]
765643729/MQTTnet
Tests/MQTTnet.Core.Tests/MqttTcpChannel_Tests.cs
2,459
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/WebServices.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using S...
37.657143
145
0.72003
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/WebServices/WS_XML_INT32_TEXTTests.cs
1,320
C#
using System.Collections.Generic; namespace TestingRestApiDemo { public class DataRepository { public static ResponseModel GetExpectedResponse(string currency, string date) { return currency switch { "GBP" => new ResponseModel { ...
29.880952
85
0.330677
[ "MIT" ]
qa-services/testing-rest-api-demo
TestingRestApiDemo/DataRepository.cs
1,258
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.Data.SqlClient; namespace EmpresaX { public partial class Lista_de_Autores...
32.787879
167
0.50878
[ "MIT" ]
pellerano/EmpresaX
Proyecto/EmpresaX/Lista de Autores.cs
4,330
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Microsoft...
35.737931
117
0.535508
[ "Apache-2.0" ]
AnandEmbold/ironpython3
Src/IronPython/Compiler/Ast/AssignmentStatement.cs
5,182
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x19_c40b-7b40bb33")] public void Method_0019_c40b() { ii(0x19_c40b, 4); enter(0x16, 0); /...
75.763158
101
0.377214
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-0019-c40b.cs
5,758
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution { public enum ExecutionPriority { Normal, Next, } // Some of the fields of this class are not orthogonal, // so it's possible to c...
30.814815
101
0.646635
[ "MIT" ]
CALISOULB/PowerShellEditorServices
src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs
1,666
C#
using System; using System.Collections.Generic; using b2xtranslator.CommonTranslatorLib; using System.Xml; using b2xtranslator.DocFileFormat; using b2xtranslator.OpenXmlLib; namespace b2xtranslator.WordprocessingMLMapping { public class CharacterPropertiesMapping : PropertiesMapping, IMapping<CharacterPr...
41.07489
152
0.469648
[ "BSD-3-Clause" ]
EvolutionJobs/b2xtranslator
Doc/WordprocessingMLMapping/CharacterPropertiesMapping.cs
18,648
C#
using System; using System.Diagnostics; using System.IO; using System.Reflection; using System.Windows; using System.Windows.Navigation; using TRGE.View.Utils; namespace TRGE.View.Windows { /// <summary> /// Interaction logic for AboutWindow.xaml /// </summary> public partial class AboutWindow : Windo...
30.375
102
0.600823
[ "MIT" ]
lahm86/TRGameflowEditor
TRGE.View/Windows/AboutWindow.xaml.cs
2,675
C#
namespace BookstoreApp.Migrations { using BookstoreApp.Data; using BookstoreApp.Models; using BookstoreApp.Models.Accounts; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Data.Entity; usin...
31.953488
162
0.459486
[ "MIT" ]
The-Lethal-Meerkats/BookstoreApp
BookstoreApp.Data/Migrations/Configuration.cs
8,244
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.987805
153
0.57472
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsTypeRequest.cs
2,951
C#
using ObjetoTransferencia2; using System; using System.Linq; using System.Reflection; using System.Windows.Forms; using AcessoBancoDados; using Negocios; namespace Loja_de_calcados.Forms { public partial class pesqItem : Form { public Item itemSelecionado { get; set; } public pe...
33.706349
146
0.496586
[ "MIT" ]
bbeltrame01/Calcados
Loja_de_calcados/Forms/pesqItem.cs
4,249
C#
using Akka.Util.Internal; using Krona.Network.P2P; using Krona.Network.P2P.Payloads; using Krona.Persistence; using Krona.Plugins; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; namespace Krona.Ledger { pu...
41.083019
134
0.602554
[ "MIT" ]
krona-project/krona
krona-core/Ledger/MemoryPool.cs
21,776
C#