content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.IO; public class SettingsController : MonoBehaviour { public Toggle fullscreenToggle; public Dropdown resolutionDrop; public Dropdown textQualityDrop; public Dropdown antialiasingDrop; public Dropdown vSyncDrop; pu...
34.579545
178
0.706868
[ "Unlicense" ]
BritanyEnriquez/Calabozo-Embrujado
Assets/Main menu with parallax FREE/Scripts/SettingsController.cs
3,045
C#
using EventStore.Client; using FluentAssertions; using IntroductionToEventSourcing.OptimisticConcurrency.Tools; using Xunit; namespace IntroductionToEventSourcing.OptimisticConcurrency.Mixed; // EVENTS public record ShoppingCartOpened( Guid ShoppingCartId, Guid ClientId ); public record ProductItemAddedToSho...
33.079137
127
0.661375
[ "MIT" ]
MaciejWolf/EventSourcing.NetCore
Workshops/IntroductionToEventSourcing/Solved/11-OptimisticConcurrency.EventStoreDB/Mixed/OptimisticConcurrencyTests.cs
4,598
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...
30.022222
108
0.592154
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/KeyPairIds.cs
2,702
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Reflection.Emit; using DataDynamics.PageFX.Common.TypeSystem; namespace DataDynamics.PageFX.Core.IL { public static class CIL { #region StackBehaviour internal ...
34.825485
103
0.467308
[ "MIT" ]
GrapeCity/pagefx
source/libs/Core/IL/CIL.cs
12,572
C#
// ============================================================================================================== // Microsoft patterns & practices // CQRS Journey project // ============================================================================================================== // ©2012 Microsoft. All rights re...
55.565217
114
0.56338
[ "Apache-2.0" ]
wayne-o/delete-me
source/Conference/Payments/ReadModel/IPaymentDao.cs
1,281
C#
namespace ComponentFramework { using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; public class ComponentObject { #region Constructors public ComponentObject() { this....
43.163934
331
0.448253
[ "MIT" ]
bhickenbottom/Claw
ComponentFramework/ComponentObject.cs
10,534
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ncqrs.Commanding.CommandExecution.Mapping.Attributes; using Ncqrs.Commanding; namespace Ncqrs.Eventing.Storage.WindowsAzure.Tests.Env { [MapsToAggregateRootMethod(typeof(Note), "ChangeNoteText")] public class ChangeNot...
26.222222
63
0.733051
[ "Apache-2.0" ]
adamcogx/ncqrs
Extensions/src/Ncqrs.Eventing.Storage.WindowsAzure.Tests/Env/ChangeNoteCommand.cs
474
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Reflection.Context.Projection; namespace System.Reflection.Context.Custom { internal sealed class CustomFieldInfo : ProjectingFieldInfo { public CustomF...
32.219512
86
0.647237
[ "MIT" ]
belav/runtime
src/libraries/System.Reflection.Context/src/System/Reflection/Context/Custom/CustomFieldInfo.cs
1,321
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Domain { /// <summary> /// AlipayOpenPublicThirdCustomerServiceModel Data Structure. /// </summary> [Serializable] public class AlipayOpenPublicThirdCustomerServiceModel : AopObject { /// <summary> /// 服务窗商户在渠...
23.421053
70
0.642697
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Domain/AlipayOpenPublicThirdCustomerServiceModel.cs
475
C#
using System.Collections.Generic; using System.IO.Abstractions.TestingHelpers; using System.Runtime.InteropServices; using Microsoft.Extensions.Logging; public class IngestionOrchestratorTests { private readonly DriveWatcher driveWatcherService; private readonly TestDriveAttachedNotifier testDriveAttachedNotif...
46.0625
177
0.717436
[ "MIT" ]
biltongza/CardIngestor
Ingestor.Daemon.Tests/DriveWatcherTests.cs
2,948
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Store.PartnerCenter.PowerShell.Commands { using System.Collections.Generic; using System.Linq; using System.Management.Auto...
37.813559
181
0.621246
[ "MIT" ]
arjjsolutions/Partner-Center-PowerShell
src/PowerShell/Commands/GetPartnerServiceIncident.cs
2,233
C#
using System; using System.Runtime.InteropServices; using OptixCore.Library.Native; namespace OptixCore.Library { /// <summary> /// Defines the Matrix layout used by Optix: Row major or Column major /// </summary> public enum MatrixLayout { ColumnMajor = 0, RowMajor = 1 }; ...
40.59867
162
0.551557
[ "MIT" ]
jonnybasic/tesNet
OptixCore.Library/Acceleration.cs
18,312
C#
/*Write a recursive program for generating and printing all ordered k-element subsets from n-element set (variations Vkn). Example: n=3, k=2, set = {hi, a, b} → (hi hi), (hi a), (hi b), (a hi), (a a), (a b), (b hi), (b a), (b b)*/ namespace Subsets { using System; public class Startup { public co...
25.311111
123
0.447761
[ "MIT" ]
danisio/DataStructuresAndAlgorithms-Homeworks
07.Recursion/05.Subsets/Startup.cs
1,143
C#
using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using GW.Site.Data; using GW.Site.Extensions; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace GW.Site.Pages.Account { p...
34.56383
135
0.574331
[ "MIT" ]
goatwranglers/podcastsite
BlogTemplate/Pages/Account/LoginWith2fa.cshtml.cs
3,249
C#
using System; using Advertise.ServiceLayer.Contracts.Products; using Advertise.ViewModel.Models.Products; using System.Threading.Tasks; using Advertise.DomainClasses.Entities.Products; using Advertise.DataLayer.Context; using AutoMapper; using System.Data.Entity; using System.Linq; using AutoMapper.QueryableExtensions...
30.502959
119
0.628904
[ "Apache-2.0" ]
imangit/Advertise
Advertise/Advertise.ServiceLayer/EFServices/Products/ProductImageService.cs
5,157
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Calendar4e.Models { public class Task { [Key] public Int64 TaskID { get; set; } public String subject { get; set; } public String description { ge...
23.275862
71
0.591111
[ "MIT" ]
pepsm/JS-Practice
calendar4e/Calendar4e/Models/Task.cs
677
C#
/* _BEGIN_TEMPLATE_ { "id": "TRLA_174", "name": [ "铁角鼓手", "Ironhorn Drummer" ], "text": [ "在你的回合时,你的随从的生命值无法被降到1点以下。", "Your minions can't be reduced below 1 Health on your turn." ], "cardClass": "WARRIOR", "type": "MINION", "cost": 5, "rarity": null, "set": "TROLL", "collectible":...
19.724138
68
0.606643
[ "MIT" ]
chi-rei-den/Silverfish
cards/TROLL/TRLA/Sim_TRLA_174.cs
684
C#
namespace OnlineHelpdeskAppUI.Forms { partial class UserForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.378641
138
0.594731
[ "MIT" ]
matin360/OnlineHelpDeskApp
OnlineHelpdeskAppUI/OnlineHelpdeskAppUI/Forms/UserForm.Designer.cs
4,367
C#
using Newtonsoft.Json; using System.Collections.Generic; namespace CM.Payments.Client.Model { /// <summary> /// Details of the charge request. /// </summary> public class ChargeRequest { /// <summary> /// Total amount to be paid for the charge. /// </summary> [JsonP...
25.085106
65
0.532655
[ "MIT" ]
Ryaden/payments-sdk-net
Source/CM.Payments.Client.Shared/Model/ChargeRequest.cs
1,181
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using PipelinedApi.Models; using Tumble.Core; namespace PipelinedApi.Handlers.DublinBikes { public class OrderStationsResponse : IPipelineHandler { private string[] orderIdentifiers = new string[] { "Numbe...
38.62963
137
0.435283
[ "MIT" ]
dazberry/Tumble
samples/PipelinedApi/PipelinedApi/Handlers/DublinBikes/OrderStationsResponse.cs
2,088
C#
#nullable enable namespace Gu.Units { using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; using System.Reflection; /// <summary> /// Provides a unified way of converting types of values to other types, as well as for acces...
35.341772
196
0.571633
[ "MIT" ]
GuOrg/Gu.Units
Gu.Units/WavenumberTypeConverter.generated.cs
2,792
C#
using System; using System.Collections.Generic; using System.Text; namespace EntityLayer { public class Base { public int Id { get; set; } public short Status { get; set; } public int CreatedBy { get; set; } public DateTime CreatedDate { get; set; } public int UpdatedBy...
23.117647
49
0.610687
[ "Apache-2.0" ]
neilvla/ProjectMVC
EntityLayer/Base.cs
395
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Ocr20191230.Models { public class RecognizeVINCodeRequest : TeaModel { [NameInMap("ImageURL")] [Validation(Required=true)] public s...
18.894737
54
0.690808
[ "Apache-2.0" ]
alibabacloud-sdk-swift/alibabacloud-sdk
ocr-20191230/csharp/core/Models/RecognizeVINCodeRequest.cs
359
C#
// // Authors: // Rafael Mizrahi <rafim@mainsoft.com> // Erez Lotan <erezl@mainsoft.com> // Vladimir Krasnov <vladimirk@mainsoft.com> // // // Copyright (c) 2002-2005 Mainsoft Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated...
27.540373
101
0.714028
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/System_Web_UI_WebControls/DataList/DataList_FooterTemplate.aspx.cs
4,434
C#
// Anthony Leland licenses this file to you under the MIT license. namespace Tonytins.Models { /// <summary> /// Basic hero profile contains the type, affilation and server. /// If no info is given, the model uses it's defualt values. /// </summary> public class HeroModel { const string...
36.961538
68
0.604579
[ "MIT" ]
tonytins/tonytins.xyz
src/Tonytins.Models/HeroModel.cs
961
C#
using DotXxlJob.Core; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace ASPNetCoreExecutor { public class Startup { public Startup(IConfiguratio...
33.914894
122
0.663112
[ "MIT" ]
cdpidan/DotXxlJob
samples/ASPNetCoreExecutor/Startup.cs
1,620
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. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; us...
35.185022
119
0.562226
[ "Apache-2.0" ]
06b/AspNetCore
src/Antiforgery/test/DefaultAntiforgeryTokenStoreTest.cs
15,974
C#
using System; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Services; using BTCPayServer.Services.Rates; using Microsoft.Extensions.Hosting; using BTCPayServer.Logging; using System.Runtime.CompilerServi...
40.705263
152
0.578485
[ "MIT" ]
spazzymoto/btcpayserver
BTCPayServer/HostedServices/RatesHostedService.cs
3,869
C#
namespace QA.TelerikAcademy.FrontEnd.Tests.UserSettings.EducationSettings { #region using directives using Core.Constants.Attributes; using Core.Constants.Pages; using Core.Facades; using Microsoft.VisualStudio.TestTools.UnitTesting; using TestingFramework.Core.Base; using TestingFramewo...
39.698113
113
0.729087
[ "MIT" ]
Team-Griffin-SQA-2015/TelerikAcademyCustomTestFramework
TelerikAcademyCustomTestFramework/QA.TelerikAcademy.FrontEnd.Tests/UserSettings/EducationSettings/FacultyNameTests.cs
2,106
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-generated...
41.166667
81
0.626518
[ "Apache-2.0" ]
Tomii0711/ProgGyak
OKJ_Vizsgafeladatok/csudh/csudh/obj/Debug/netcoreapp3.1/csudh.AssemblyInfo.cs
988
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; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; using System....
31.89759
127
0.479635
[ "MIT" ]
chrisaut/corefx
src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/CallInstruction.cs
15,885
C#
namespace Popstation { // Struct to store an ISO index public class IsoIndexLite { public int Offset { get; set; } public int Length { get; set; } } }
18.4
39
0.581522
[ "MIT" ]
KuromeSan/chovy-sign
CHOVY-SIGN/POPS/IsoIndexLite.cs
186
C#
// <auto-generated> // This file is generated by a T4 template. Make changes directly in the .tt file. // </auto-generated> #nullable enable using System; using FluentMvvm.Internals; namespace FluentMvvm { #if TEST internal class BackingFieldsCreationDisabled : IBackingFields #else internal sealed class Backi...
33.096491
82
0.625629
[ "MIT" ]
flinkow/fluentmvvm
fluentmvvm/BackingFieldsCreationDisabled.cs
7,548
C#
using System; using System.Collections.Generic; using Common; namespace Test { internal class Program { private static void Main(string[] args) { var owner = new Owner { Name = "Tim Apple", Businesses = new List<Business> { ...
28.657143
110
0.498504
[ "MIT" ]
Fingann/MasterThesis
Examples/Serialization/UnsecureDeserialisation/Test/Program.cs
1,006
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
52.245283
238
0.776092
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/MediaLive/Properties/AssemblyInfo.cs
2,769
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using DeezerSync.Model; using SoundCloud.Api.Entities; namespace DeezerSync.SoundCloud { public class playlist : Loader { public playlist() { init().Wait(); } /// <summary> /// G...
31.830508
230
0.518104
[ "MIT" ]
xfischer/DeezerSync
DeezerSync/DeezerSync/SoundCloud/Playlist.cs
1,880
C#
using System; using System.IO; using System.Threading.Tasks; using Cosmos.Serialization.Json; using Xunit; namespace Cosmos.Test.Serialization.NewtonsoftTest { public class UnitTestAsync { [Fact] public async Task BytesTest() { var model = CreateNiceModel(); var bytes = awai...
45.706897
115
0.612599
[ "Apache-2.0" ]
alexinea/dotnet-static-pages
tests/Cosmos.Test.Serialization.NewtonsoftTest/UnitTestAsync.cs
5,302
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 ...
21.178082
120
0.653299
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-cdn/Cdn/Model/V20141111/DescribeDomainCCDataRequest.cs
3,092
C#
namespace SphereStudio.UI { partial class StringInputForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
46.86755
163
0.599689
[ "MIT" ]
fatcerberus/sphere-studio
SphereStudioBase/UI/StringInputForm.Designer.cs
7,079
C#
// <copyright file="ParentDirectoryFact.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> namespace FubarDev.FtpServer.ListFormatters.Facts { /// <summary> /// The <c>pdir</c> fact. /// </summary> public class ParentDirectoryFact : T...
26.571429
86
0.603943
[ "MIT" ]
40three/FtpServer
src/FubarDev.FtpServer.Abstractions/ListFormatters/Facts/ParentDirectoryFact.cs
558
C#
using System.Runtime.InteropServices; namespace Vulkan { [StructLayout(LayoutKind.Sequential)] public struct VkPhysicalDeviceSurfaceInfo2KHR { public VkStructureType SType; [NativeTypeName("const void *")] public nuint PNext; [NativeTypeName("VkSurfaceKHR")] public VkSurfaceKHR Su...
22.333333
69
0.713433
[ "BSD-3-Clause" ]
trmcnealy/Vulkan
Vulkan/Structs/VkPhysicalDeviceSurfaceInfo2KHR.cs
335
C#
namespace V3.Objects.Sprite { public sealed class NecromancerSprite : AbstractSpriteCreature { protected override string TextureFile { get; } = "necromancer"; } }
26.142857
71
0.699454
[ "MIT" ]
sopra05/V3
V3/Objects/Sprite/NecromancerSprite.cs
185
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.ComponentModel; using Xunit; namespace System.Drawing.Imaging.Tests { public class BitmapDataTest...
35.820513
90
0.631114
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Drawing.Common/tests/Imaging/BitmapDataTests.cs
4,193
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media.Media3D; using System.Globalization; namespace DXFImportExport { ////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ==================...
36.028664
134
0.452246
[ "Unlicense" ]
bph-tuwien/SIMULTAN_Stand_29_09_2017
EngineTest/Apps/DXFImportExport/DXFEntities.cs
55,306
C#
using hw.UnitTest; using Reni.FeatureTest.Helper; namespace Reni.FeatureTest.Structure { [UnitTest] [SimpleAssignment] [TargetSet(@"(!mutable x: 10 , x := 4) dump_print", "(4, )")] public sealed class NamedSimpleAssignment : CompilerTest {} }
23.909091
65
0.684411
[ "MIT" ]
hahoyer/reni.cs
src/Reni/FeatureTest/Structure/NamedSimpleAssignment.cs
263
C#
/************************************************************************************* Toolkit for WPF Copyright (C) 2007-2018 Ssz.Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license ...
34.56
87
0.559028
[ "MIT" ]
ru-petrovi4/Ssz.Utils
Ssz.Xceed.Wpf.Toolkit/Ssz.Xceed.Wpf.AvalonDock/Layout/ILayoutPreviousContainer.cs
864
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. // // Copyright (c) Jeff Hardy 2010-2012. // using System.Collections; using System.Collections.Generic; usi...
35.541455
135
0.422899
[ "Apache-2.0" ]
AlexSeredenko/ironpython2
Src/IronPython.SQLite/Cursor.cs
21,007
C#
/* * Copyright (c) 2014-Present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using...
37.308917
155
0.571148
[ "MIT" ]
asmagin/Sitecore.Presentation.JavaScript
src/Sitecore.Js.Presentation/Component.cs
11,717
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web; using Azure.Core; using Azure.Core.TestFramework; using Azure.Iden...
53.309774
303
0.666441
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs
35,453
C#
using System; using System.Collections.Immutable; using System.Configuration; using Akka.Actor; using Akka.Cluster.Routing; using Akka.Configuration; using Akka.Configuration.Hocon; using Akka.Routing; using Akka.Util.Internal; namespace Samples.Cluster.ConsistentHashRouting { class Program { private ...
40.983871
153
0.609603
[ "Apache-2.0" ]
HCanber/akka.net
src/examples/Cluster/Routing/Samples.Cluster.ConsistentHashRouting/Program.cs
2,543
C#
using System; using System.Collections.Generic; using System.IO; using System.Xml; using System.Xml.Serialization; namespace ClassLibrary { public class Game { /// <summary> /// Licznik ruchów, inkrementowany przy sprawdzaniu odpowiedzi /// </summary> public int MoveCounter { g...
40.753676
178
0.47889
[ "MIT" ]
P-Sakowski/MasterMind
ClassLibrary/Game.cs
22,370
C#
#region Copyright // Copyright Hitachi Consulting // // 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 applicab...
34.142395
125
0.546066
[ "Apache-2.0" ]
xigadee/Microservice
Src/Xigadee.Platform/Communication/FabricBridge/TcpTlsChannel/Messaging/Header/HeaderBodyMessage.cs
10,554
C#
// Copyright © Neodymium, carmineos and contributors. See LICENSE.md in the repository root for more information. using RageLib.Data; using RageLib.Resources.GTA5.PC.Meta; namespace RageLib.GTA5.ResourceWrappers.PC.Meta.Types { public class MetaFlagsInt32 : IMetaValue { public EnumInfo info; ...
23.030303
114
0.594737
[ "MIT" ]
carmineos/gta-toolkit
RageLib.GTA5/ResourceWrappers/PC/Meta/Types/MetaFlagsInt32.cs
763
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Tippy.Core.Models; using Tippy.Ctrl; namespace Tippy.Pages.Miners { public class GenerateBlockModel : PageModelBase { public GenerateB...
27.134615
94
0.513111
[ "MIT" ]
DavidChild/tippy
src/Tippy/Pages/Miners/GenerateBlock.cshtml.cs
1,411
C#
// ----------------------------------------------------------------- // <copyright file="PlayerInventorySetSlotPacketWriter.cs" company="2Dudes"> // Copyright (c) | Jose L. Nunez de Caceres et al. // https://linkedin.com/in/nunezdecaceres // // All Rights Reserved. // // Licensed under the MIT License. See LICENSE in ...
38.196429
114
0.616643
[ "MIT" ]
Codinablack/fibula-server
src/Fibula.Protocol.V772/PacketWriters/PlayerInventorySetSlotPacketWriter.cs
2,141
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-generated> //--...
42.205479
180
0.6037
[ "MIT" ]
AmilkarDev/puck-core
core/Globalisation/PuckLabels.Designer.cs
3,083
C#
namespace osf { public class DataGridColumnStyle : Component { public System.Windows.Forms.DataGridColumnStyle M_DataGridColumnStyle; public DataGridColumnStyle() { } public DataGridColumnStyle(osf.DataGridColumnStyle p1) { M_DataGridColumnStyle = p...
28.055556
102
0.59934
[ "MPL-2.0" ]
Nivanchenko/OneScriptForms
OneScriptForms/OneScriptForms/DataGridColumnStyle.cs
1,517
C#
using System.Text; using Dealership.Engine; using Dealership.Common.Enums; namespace Dealership.CommandHandler { public class ShowUsersCommandHandler : BaseCommandHandler { private const string HandleableCommandName = "ShowUsers"; private const string YouAreNotAnAdmin = "You are not an admin!"...
28.324324
88
0.578244
[ "MIT" ]
dushka-dragoeva/TelerikSeson2016
Programing C#/Design Patterns/Dealership-AuthorSolution/Dealership/CommandHandler/ShowUsersCommandHandler.cs
1,050
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; using UnityEngine; namespace IlyaGutnikov.LogSaver { public class LogSaver : MonoBehaviour { [Header("Mark true to activate log on awake")] public bool EnableLoggingOnAwake; [Header("Mark true to activ...
27.247788
112
0.519324
[ "MIT" ]
IlyaGutnikov/UnityLogSaver
LogSaver.cs
3,081
C#
// Copyright (C) 2018-2021 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Windows.Forms; using Charites.Windows.Mvc; using Charites.Windows.Samples.SimpleLoginDemo.Presentation.Login; namespace Charites.Wi...
30.482759
93
0.701357
[ "MIT" ]
averrunci/WindowsFormsMvc
Samples/SimpleLoginDemo/SimpleLoginDemo.Presentation/Home/HomeController.cs
886
C#
using Gemini.Framework; using Gemini.Framework.Commands; using SMAStudiovNext.Core; using SMAStudiovNext.Models; using SMAStudiovNext.Modules.Shell.Commands; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SMAStudiovNext.Services; using System.W...
26.244755
212
0.515055
[ "Apache-2.0" ]
icanos/SMAStudio
SMAStudiovNext/Modules/Workspaces/WindowModule/ViewModels/ModuleViewModel.cs
3,755
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Component...
24.982759
71
0.605245
[ "Apache-2.0" ]
TrustPayments/csharp-sdk
src/TrustPayments/Model/SubscriptionChargeState.cs
1,449
C#
using ConsoleGUI; using ConsoleGUI.Input; using Prompton.Steps; using Prompton.Steps.StepResults; using Prompton.UI.Views; namespace Prompton.UI.Listeners; public class WhileListener : StepListener { private readonly WhileView whileView; private readonly WhileResult result; private readonly UIProvider ui;...
38.139535
123
0.467073
[ "MIT" ]
DanBiscotti/Prompton
Prompton/UI/Listeners/StepListeners/WhileListener.cs
3,282
C#
using System; using Windows.UI.ViewManagement; namespace Uno.Devices.Sensors { public interface INativeDualScreenProvider { bool? IsSpanned { get; } } }
14.545455
43
0.75625
[ "Apache-2.0" ]
AnshSSonkhia/uno
src/Uno.UWP/Devices/Sensors/Helpers/INativeDualScreenProvider.cs
162
C#
// // ExpressionList.cs // // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright 2015 Xamarin Inc. All rights reserved. namespace Xamarin.Pmcs.CSharp.Ast { public class ExpressionList : Node { public TokenType Delimiter { get; set; } public override void AcceptVisitor (IAstVisitor visitor) { ...
18.2
58
0.706044
[ "BSD-3-Clause" ]
Acidburn0zzz/xamarin-macios
tools/pmcs/CSharp/Ast/ExpressionList.cs
366
C#
using System; using System.Collections.Generic; using System.Text; namespace SOLID_Principles._4_I { class Developer : ILead { public void AssginTask() { throw new Exception("Developer can't Assign Task"); } public void CreateTask() { throw new ...
18.96
63
0.548523
[ "MIT" ]
Technosaviour/SOLID-principles-.Net
4 I/Developer.cs
476
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Option_i_rolling : MonoBehaviour { public float rotate_s = 1.0f; void Update() { transform.Rotate(0, 0, this.rotate_s); } }
18.538462
46
0.697095
[ "MIT" ]
CD-mon/QAZE-main
Assets/Scripts/Start/Option_i_rolling.cs
241
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Reflection.Emit; using AltV.Net.Native; using HarmonyLib; namespace AltV.Net.Mock2 { public class Mock { public Mock() { //var harmony = H...
42.205357
130
0.626402
[ "MIT" ]
Apokalypser/coreclr-module
api/AltV.Net.Mock2/Mock.cs
4,729
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....
41.763158
128
0.606175
[ "MIT" ]
dush88c/WEBAPI-MVC
SurvayArm.Data/Model/Province.cs
1,587
C#
using System; using System.IO; using System.Collections.Generic; namespace UnityFS.Editor { using UnityEngine; using UnityEditor; public partial class BundleBuilderData { [Serializable] public class BundleSlice { public string name; publi...
31.230159
106
0.458704
[ "MIT" ]
ialex32x/unityfs
Assets/UnityFS/Editor/BundleBuilderData+BundleSlice.cs
4,231
C#
using System; namespace Xamarin.Forms.PlatformConfiguration.iOSSpecific { using FormsElement = Forms.Entry; public static class Entry { public static readonly BindableProperty AdjustsFontSizeToFitWidthProperty = BindableProperty.Create("AdjustsFontSizeToFitWidthEnabled", typeof(bool), typeof(Entry), false...
33.255319
174
0.814459
[ "MIT" ]
nosami/xamlprovider
Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Entry.cs
1,565
C#
using System.Collections.Generic; using System.Net.Http; using SFA.Roatp.Api.Types; using SFA.Roatp.Api.Types.Exceptions; namespace SFA.Roatp.Api.Client { public interface IRoatpClient { /// <summary> /// Get a provider details /// GET /providers/{ukprn} /// </summary> ...
46.893333
111
0.628092
[ "MIT" ]
SkillsFundingAgency/roatp-register
src/SFA.Roatp.Api.Client/IRoatpClient.cs
3,519
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 ...
43.307692
144
0.648609
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Analytics.Admin.V1Alpha/Google.Analytics.Admin.V1Alpha.GeneratedSnippets/AnalyticsAdminServiceClient.ListCustomDimensionsRequestObjectSnippet.g.cs
3,378
C#
namespace Microsoft.Marketplace.SaasKit.Client.DataAccess.Services { using Microsoft.EntityFrameworkCore; using Microsoft.Marketplace.SaasKit.Client.DataAccess.Context; using Microsoft.Marketplace.SaasKit.Client.DataAccess.Contracts; using Microsoft.Marketplace.SaasKit.Client.DataAccess.Entities; u...
35.25
154
0.565381
[ "MIT" ]
ankisho/Microsoft-commercial-marketplace-transactable-SaaS-offer-SDK
src/SaaS.SDK.Client.DataAccess/Services/MeteredDimensionsRepository.cs
4,514
C#
/* * BombBomb * * We make it easy to build relationships using simple videos. * * OpenAPI spec version: 2.0.24005 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
25.935484
98
0.61194
[ "Apache-2.0" ]
bombbomb/bombbomb-csharp-openapi
src/IO.Swagger.Test/Api/ContactsApiTests.cs
2,412
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.805732
1,358
0.582377
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/REPC_MT150007UK05PertinentInformation2.cs
12,813
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...
43.890625
159
0.619438
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Synapse/V20210301/IntegrationRuntime.cs
5,618
C#
using System; namespace Elebris.Library.Units { public class Character{ int startingLevel = 1; public int currentLevel; public event Action onLevelUp; private CharacterResourceSystem characterResources= null; private CharacterGear characterGear = null; ...
33.952381
123
0.69986
[ "MIT" ]
baidenx7/Elebris-Adventures
Pulled Resources/Scripts/Units/Character.cs
713
C#
using System; using System.Collections.Generic; using System.Linq; namespace Humanizer.Localisation.CollectionFormatters { internal class DefaultCollectionFormatter : ICollectionFormatter { protected string DefaultSeparator = ""; public DefaultCollectionFormatter(string defaultSepar...
32.39604
120
0.550428
[ "MIT" ]
0xced/Humanizer
src/Humanizer/Localisation/CollectionFormatters/DefaultCollectionFormatter.cs
3,174
C#
namespace VendorWebClient { using System; using System.Diagnostics; using System.Windows.Forms; using BusinessEntity; public partial class Form1 : Form { public Form1() { InitializeComponent(); } private Stopwatch _timer; priva...
28.78
96
0.556637
[ "Apache-2.0" ]
DavidChristiansen/MassTransit
src/Samples/WebServiceBridge/VendorWebClient/Form1.cs
1,441
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 { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; ...
42.12313
193
0.572354
[ "MIT" ]
StannieV/IoTHubDeviceExplorer
common/src/service/HttpClientHelper.cs
36,607
C#
/* * TreeListView - A listview that can show a tree of objects in a column * * Author: Phillip Piper * Date: 23/09/2008 11:15 AM * * Change log: * 2014-10-08 JPP - Fixed an issue where pre-expanded branches would not initially expand properly * 2014-09-29 JPP - Fixed issue where RefreshObject() on a root ob...
41.045561
130
0.530394
[ "Apache-2.0" ]
lockieluke/VisualStudioCodeLauncher
ObjectListViewDemo/ObjectListView/TreeListView.cs
87,386
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using AutoMapper; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; using Trackable.Common; us...
33.277174
134
0.564429
[ "MIT" ]
Ankeetshkk/Bing-Maps-Fleet-Tracker
Backend/src/Trackable.Repositories/Repositories/DbCompositeRepositoryBase.cs
6,123
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
21.655172
51
0.714968
[ "MIT" ]
AuntYang/Pandora-Box
Pandora-Box/UserControl1.xaml.cs
640
C#
using Microsoft.Extensions.Logging; using System; using System.IO; using System.Text; namespace Hyperspace.Redis.Internal { public class RedisConnectionMultiplexerLogger : TextWriter, ILogger { private readonly ILogger _logger; private readonly StringBuilder _buffer; public RedisConne...
28.487805
133
0.502568
[ "MIT" ]
Hyperspaces/Hyperspace.Redis
src/Hyperspace.Redis/Internal/RedisConnectionMultiplexerLogger.cs
2,338
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.AspNetCore.Components; using Microsoft.AspNetCore.Components.Routing; using Microsoft.AspNetCore.Components.WebView.Services; using Microsoft.Extensions.DependencyInj...
42.0625
121
0.71471
[ "MIT" ]
48355746/AspNetCore
src/Components/WebView/WebView/src/ComponentsWebViewServiceCollectionExtensions.cs
1,346
C#
using System; using System.IO; using System.Linq; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace WeddingConnect.UITests { public class AppInitializer { public static IApp StartApp(Platform platform) { if (platform == Platform.Android) { re...
19.954545
55
0.601367
[ "MIT" ]
rsepulveda210/Wedding-Connect
WeddingConnect/UITests/AppInitializer.cs
441
C#
using System.Collections.Generic; using System.Text.RegularExpressions; using AdiIRCAPIv2.Interfaces; namespace Twitch___AdiIRC { class TwitchRawEventHandlers { /* * Twitch includes irv3 tags in most of its messsages, wand we want to be able to use those * Here is an example ...
41.929348
245
0.534802
[ "MIT" ]
Tzarnal/AdiIRC-Twitch
Twitch @ AdiIRC/Twitch @ AdiIRC/TwitchRawEventHandlers.cs
7,719
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("Int...
40.810811
129
0.770861
[ "MIT" ]
rfid-applied/InterrogatorLib
vs2008/InterrogatorLib.IntegrationTest/Properties/AssemblyInfo.cs
1,513
C#
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Generated using OBeautifulCode.CodeGen.ModelObject (1.0.0.0) // </auto-generated> // -----------------------------------------------------------------------------------------...
45.347826
264
0.619048
[ "MIT" ]
OBeautifulCode/OBeautifulCode.CodeGen
OBeautifulCode.CodeGen.ModelObject.Test/Models/Scripted/Equality/PrivateSet/Misc/ModelEqualityPrivateSetMiscParent.designer.cs
3,131
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EngineeringMath.Calculations.Components.Selectors { /// <summary> /// Allows user to picker from a list of consecutive integers /// </summary> public class IntegerSpinner : Sim...
28.05
155
0.668449
[ "MIT" ]
jfkonecn/Open-Chemical-Engineer-App
Backend/EngineeringMath/Calculations/Components/Selectors/IntegerSpinner.cs
563
C#
namespace BackboneTemplate.Models { using System.ComponentModel.DataAnnotations; public class CreateUser { [Required] [RegularExpression(@"^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$", ErrorMessage = "Invalid email format.")] public string Email { get; set; } ...
32.777778
135
0.605085
[ "MIT" ]
kazimanzurrashid/AspNetMvcBackboneJsSpa
source/Template/Models/CreateUser.cs
592
C#
/* * Copyright (c) 2017-2019 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * http://github.com/piranhacms/piranha * */ using System; using System.Collections.Generic; namespace Piranha.Models { [Serializable] p...
25.77907
85
0.525936
[ "MIT" ]
Bia10/piranha.core
core/Piranha/Models/Media.cs
2,218
C#
using System; using WildFarm.Models; namespace WildFarm.Animals { public class Mouse : Mammal { public Mouse(string name, double weight, string livingRegion) : base(name, weight, livingRegion) { WeightGain = 0.1; } public override void ProduceSound() { ...
21.916667
104
0.557034
[ "MIT" ]
teodortenchev/C-Sharp-Advanced-Coursework
C# OOP Basics/Polymorphism/P3_WildFarm/Animals/Mouse.cs
528
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ChasePlayer : MonoBehaviour { public bool attackInRange = false; public float attackSpeed = 1f; public float movementSpeed = 3f; private bool _isInRange = false; private bool _isAttacking = false; pri...
28.912281
100
0.616505
[ "Apache-2.0" ]
TwinGhosts/LudumDare41
LudumDare41/Assets/Scripts/AI Behaviour/ChasePlayer.cs
1,650
C#
using Newtonsoft.Json; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using WordPressPCL.Interfaces; using WordPressPCL.Models; using WordPressPCL.Utility; namespace WordPressPCL.Client { /// <summary> /// Client cl...
45.962264
210
0.620005
[ "MIT" ]
284247028/WordPressPCL
WordPressPCL/Client/Media.cs
7,310
C#
using System; namespace ReverseArrayOfStrings { class ReverseArrayOfStrings { static void Main(string[] args) { string[] arrStrings = Console.ReadLine().Split(); ReverseStringArray(arrStrings); foreach (var str in arrStrings) { Co...
25.4
66
0.497375
[ "MIT" ]
Zdravko-Kardzhaliyski/Technology-Fundamentals
3.ArraysLab/ArraysLab/ReverseArrayOfStrings/ReverseArrayOfStrings.cs
764
C#
using Android.Content; using Android.Util; using Android.Views; using DialogMessaging; using MvvmCross.Platforms.Android.Binding.Binders; namespace SimpleMenu.Droid.Helper { public class ViewBinder : MvxAndroidViewBinder { #region Public Methods public override void BindView(View view, Context...
23.777778
86
0.643302
[ "Apache-2.0" ]
lewisbennett/simple-menu-net
src/SimpleMenu.Droid/Helper/ViewBinder.cs
644
C#
// Crest Ocean System // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) using UnityEngine; namespace Crest { /// <summary> /// Registers a custom input to the wave shape. Attach this GameObjects that you want to render into the displacmeent textures to affect ...
45.345679
234
0.680915
[ "MIT" ]
Libertus-Lab/crest
crest/Assets/Crest/Crest/Scripts/LodData/RegisterAnimWavesInput.cs
3,675
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; namespace Azure.Messaging.EventGrid.SystemEvents { /// <summary> Schema of the Data property of an EventGridEve...
51.729167
341
0.695127
[ "MIT" ]
bquantump/azure-sdk-for-net
sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/ACSChatThreadCreatedWithUserEventData.cs
2,483
C#