content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary>Control joint rotation</summary> public class JointController : MonoBehaviour { public Transform mirroredJoint; // Start is called before the first frame update void Start() { } // Update is c...
28.594595
81
0.640832
[ "MIT" ]
Daimler/MOSIM_Tools
SkeletonTesting/Assets/Scripts/JointController/JointController.cs
1,060
C#
// // RecoverWalletEntryViewModel.cs // // Copyright (c) 2019 HODL Wallet // // 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 /...
29.671795
113
0.591255
[ "MIT" ]
hodlwallet/hodlwallet
HodlWallet/Core/ViewModels/RecoverViewModel.cs
5,788
C#
/*---------------------------------------------------------------- Copyright (C) 2019 Senparc 文件名:GetCallBackIpResult.cs 文件功能描述:获取微信服务器的ip段的JSON返回格式 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 ----------------------------------------------------------------*/ ...
22.043478
67
0.485207
[ "Apache-2.0" ]
370041597/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/JsonResult/GetCallBackIpResult.cs
597
C#
namespace ASong { partial class InputOffsetDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
44.049645
164
0.586057
[ "MIT" ]
Lostelle/AdvancedSong
old/ASong/InputOffsetDialog.Designer.cs
6,213
C#
using DustMother.App.Pages; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Prim...
27.3125
95
0.736842
[ "MIT" ]
agc93/dust-mother
app/DustMother.App/ConquestDetailsPage.xaml.cs
876
C#
 namespace SINoCOLO { partial class WindowFlashForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
38.934211
165
0.591078
[ "MIT" ]
MgAl2O4/SINoCOLO
SINoCOLO/WindowFlashForm.Designer.cs
2,961
C#
using System.Collections.Generic; using StarkPlatform.Compiler.Host.Mef; using Roslyn.Utilities; namespace StarkPlatform.Compiler.Completion.Providers { internal sealed class CompletionProviderMetadata : OrderableLanguageMetadata { public string[] Roles { get; } public CompletionProviderMetad...
28.842105
80
0.673358
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Features/Completion/CompletionProviderMetadata.cs
550
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace StudentDetails.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Coll...
25.952381
80
0.678899
[ "MIT" ]
Mathavana/CRUD_WebAPI2_Knockout.js
StudentDetails/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
545
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...
40.804688
190
0.644649
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/Internal/MarshallTransformations/ListMultipartUploadsResponseUnmarshaller.cs
5,223
C#
using System; namespace Open_Lab_02._06 { public class Calculator { public bool Divisible(int number) { return number % 100 == 0; } } }
13.357143
41
0.529412
[ "MIT" ]
MrQuatroo/Open-Lab-02.06
Open-Lab-02.06/Calculator.cs
189
C#
using RestWithASPNET5Udemy.Data.VO; using RestWithASPNET5Udemy.Model; namespace RestWithASPNET5Udemy.Repository { public interface IUserRepository { User ValidateCredentials(UserVO user); User ValidateCredentials(string userName); bool RevokeToken(string username); User Refres...
21.9375
50
0.729345
[ "Apache-2.0" ]
hanielsouza/RestWithASP-NET5
01_RestWithASPNET5_ScaffoldViaVS/RestWithASPNET5Udemy/RestWithASPNET5Udemy/Repository/IUserRepository.cs
353
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 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
31.910256
160
0.589795
[ "MIT" ]
graemefoster/azure-libraries-for-net
src/ResourceManagement/ResourceManager/Generated/Models/Plan.cs
2,489
C#
using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities; using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TaskRunnerExtens...
29.545455
100
0.78359
[ "Apache-2.0" ]
IonKiwi/TaskRunnerExtension
TaskRunnerExtension/OutputFormatting/CustomClassifierProvider.cs
977
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ExporterWeb { public class WebApiApplication : System.Web.HttpApplication { protected void Application_St...
27.583333
70
0.712991
[ "Apache-2.0" ]
ignatandrei/Exporter
Exporter/ExporterWeb/Global.asax.cs
664
C#
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Globalization; using System.IO; using System.Reflection; using System.Text; namespace fastJSON { internal class JSONSerializer { private readonly StringBuilder _output = new StringBuilder(); ...
21.02459
91
0.545224
[ "MIT" ]
rogeralsing/linq-to-sqlxml
Source/fastJSON/JsonSerializer.cs
5,132
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using AutoMapper.QueryableExtensions.Impl; namespace AutoMapper.QueryableExtensions { /// <summary> /// Queryable extensions for AutoMapper /// </summary> public static class Extensions { /// <...
60.512821
217
0.685876
[ "MIT" ]
DaleCam/AutoMapper
src/AutoMapper/QueryableExtensions/Extensions.cs
7,080
C#
using System; using System.Configuration; using System.Net.Mail; namespace trout.messagequeue.config { /// <summary> /// Trout Configuration taken from configuration file /// </summary> public sealed class TroutConfiguration : ConfigurationSection, IMailMessageSenderConfig, IFileSystemAttachmentHandle...
33.08046
127
0.56984
[ "Apache-2.0" ]
kmc059000/trout.messagequeue
src/trout.messagequeue/trout.messagequeue/config/TroutConfiguration.cs
2,880
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace Revo.Extensions.Notifications.Channels.Buffering { public interface IBufferedNotificationChannel { Task SendNotificationsAsync(IReadOnlyCollection<INotification> notifications); } }
25.272727
86
0.794964
[ "MIT" ]
Zev-OwitGlobal/Revo
Extensions/Revo.Extensions.Notifications/Channels/Buffering/IBufferedNotificationChannel.cs
280
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...
32.956522
94
0.682718
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Media/V20180330Preview/Outputs/CbcsDrmConfigurationResponse.cs
1,516
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class WindowManager : Singleton<WindowManager> { private Dictionary<ApplicationSO, List<Window>> openWindowsGrouped = new Dictionary<ApplicationSO, List<Window>>(); private List<Window> openWindowsAll = ...
21.754237
117
0.686404
[ "MIT" ]
fshh/GMTK-Game-Jam-2020
Assets/Scripts/Desktop/WindowManager.cs
2,569
C#
using System; using System.Collections.Generic; using XposeCraft.Game.Actors; namespace XposeCraft.Game.Helpers { abstract class ActorHelper<ForActorType> where ForActorType : IActor { public delegate void ForEachAction<ActorType>(ActorType unit); private static readonly object ForEachLock = new obje...
21.866667
70
0.676829
[ "Apache-2.0" ]
scscgit/XposeCraft-API-Test
XposeCraft API Test/Game/Helpers/ActorHelper.cs
658
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace HelloWebApp.Pages; public class IndexModel : PageModel { private readonly ILogger<IndexModel> _logger; public IndexModel(ILogger<IndexModel> logger) { _logger = logger; } public void OnGet...
17.15
50
0.655977
[ "Apache-2.0" ]
elton/dotnet-core-study
HelloWebApp/Pages/Index.cshtml.cs
345
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Amazon; using Amazon.EC2; using Amazon.EC2.Model; using Amazon.IdentityManagement; using Amazon.IdentityManagement.Model; using Amazon.Runtime; namespace ...
36.234973
152
0.544262
[ "MIT" ]
AlexanderFroemmgen/maci
AwsSetupTool/Program.cs
6,633
C#
using System; namespace Sashimi.Terraform { enum TerraformTemplateFormat { Json, Hcl } }
11.7
32
0.598291
[ "Apache-2.0" ]
OctopusDeploy/Sashimi.Terraform
source/Sashimi/TerraformTemplateFormat.cs
117
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using UnitEngine.Events; namespace UnitEngineUI.Events { /// <summary> /// Представление события от кнопки /// </summary> ...
30.791667
94
0.595399
[ "MIT" ]
twesd/editor
UnitEngineUI/Events/ControlEventControlButton.cs
3,165
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DittoConverter.cs" company="Umbrella Inc, Our Umbraco and other contributors"> // Copyright Umbrella Inc, Our Umbraco and other contributors // </copyright> // -----------------...
42.694737
133
0.564596
[ "MIT" ]
BarryFogarty/umbraco-ditto
src/Our.Umbraco.Ditto/ComponentModel/TypeConverters/DittoConverter.cs
4,058
C#
using System; using System.Linq; using System.Threading.Tasks; using Abstractions; using Abstractions.Navigation; using DataObjects; using DataObjects.DTOS; using EDCORE.Helpers; using EDCORE.ViewModel.Property.Interfaces; namespace EDCORE.ViewModel.Property.PropertyInfos { public class DrainageRatesModel : Prop...
31.240602
152
0.542238
[ "MIT" ]
GeorgeThackrayWT/GraphQLSample
ED/EDCORE/ViewModel/Property/PropertyInfos/Complex/DrainageRatesModel.cs
4,157
C#
using ItemFramework; public class ItemCoal : Item, IBurnable { public ItemCoal() { Name = "Coal"; StackSize = 64; } public int BurnTime { get { return 120; } } }
10.166667
39
0.612022
[ "CC0-1.0" ]
TheLogan/ItemFramework
Assets/Prototyping/Items and recipes/ItemCoal.cs
185
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using Encoder = System.Drawing.Imaging.Encoder; namespace WindowsFormsApp2 { public par...
34.518182
163
0.556755
[ "Apache-2.0" ]
mqt635/RookieControls
WindowsFormsApp2/Form1.cs
4,031
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Different_Integers_Size { class Program { static void Main(string[] args) { string number = Console.ReadLine(); //sbyte < byte < short < ushort...
27.486842
107
0.467688
[ "MIT" ]
Koceto/SoftUni
Old Code/Programming Fundamentals/Data Types and Variables - Exercises/Different Integers Size/Different Integers Size/Program.cs
2,091
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 k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collect...
42.979381
326
0.600624
[ "MIT" ]
pdeligia/nekara-artifact
TSVD/kubernetes-client/src/KubernetesClient/generated/Models/V1APIResource.cs
8,338
C#
namespace PCGPS { partial class xAuthForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
42.842105
107
0.574412
[ "MIT" ]
kazenif/ImacocoNow_Taxi
xAuthForm.Designer.cs
5,708
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PointInRectangle { class PointInRectangle { static void Main(string[] args) { var x1 = double.Parse(Console.ReadLine()); var y1 = double.Parse(C...
25.806452
58
0.515
[ "MIT" ]
AlexanderPetrovv/Programming-Basics-December-2016
ComplexConditionalStatements/PointInRectangle/PointInRectangle.cs
802
C#
namespace MegaDiffView { internal class BlockInfo { public static BlockInfo Parse(string rawInfo) { var blockInfo = new BlockInfo(); var rawBlockInfos = rawInfo.Split(' '); var (leftRaw, rightRaw) = (rawBlockInfos[0], rawBlockInfos[1]); (blockInfo.LeftStartLineNumber, blockInfo.Left...
26.578947
89
0.634653
[ "MIT" ]
chad-smith/MegaDiffView
BlockInfo.cs
1,012
C#
// <auto-generated /> namespace BankSystem.Data.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial cla...
26.833333
89
0.613665
[ "MIT" ]
HristianPavlov/MoneyWorld
BankSystem/BankSystem.Data/Migrations/201803151354418_second.Designer.cs
805
C#
using UnityEngine; namespace RPG.Core { public class ActionScheduler : MonoBehaviour { IAction currentAction; public void StartAction(IAction action) { if (currentAction == action) return; if (currentAction != null) { curr...
20.08
48
0.503984
[ "MIT" ]
Crni88/Homar
Assets/Scripts/ActionScheduler.cs
502
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using NBitcoin; using Stratis.Bitcoin.Features.Consensus; using Stratis.Bitcoin.Features.Consensus.CoinViews; using Stratis.Bitcoin.Features.MemoryPool.Interfaces; using Stratis.Bitcoin.Utilities; ...
41.488789
130
0.608625
[ "MIT" ]
RedstonePlatform/Redstone
src/Stratis.Bitcoin.Features.MemoryPool/MemPoolCoinView.cs
9,254
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(2168)] [Attributes(9)] public class DcsVlTlBrdi13 { [ElementsCount(30)] [ElementType("uint16")] ...
19.52381
44
0.597561
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/DcsVlTlBrdi13I.cs
410
C#
using System; using UnityEngine; public class Resourcewar_buff_configDataList : BaseVoList { [SerializeField] public Resourcewar_buff_configDataVo[] list; public override void Destroy() { this.list = new Resourcewar_buff_configDataVo[0]; } }
17.928571
57
0.788845
[ "MIT" ]
moto2002/tianzi_src2
src/Resourcewar_buff_configDataList.cs
251
C#
namespace DISCOSweb_Sdk.Models.ResponseModels.Entities; public record Country: DiscosModelBase { }
16.833333
55
0.831683
[ "Unlicense" ]
hughesjs/DISOSweb-sdk
src/DISCOSweb-Sdk/DISCOSweb-Sdk/Models/ResponseModels/Entities/Country.cs
101
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...
26.2875
108
0.589634
[ "Apache-2.0" ]
dwainew/aws-sdk-net
sdk/src/Services/Greengrass/Generated/AmazonGreengrassConfig.cs
2,103
C#
#region Licence /* The MIT License (MIT) Copyright © 2020 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limit...
55.756477
162
0.666853
[ "MIT" ]
skatersezo/Brighter
src/Paramore.Brighter.MessagingGateway.AWSSQS/SqsSubscription.cs
10,772
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Approve.RuleCenter; using Approve.EntityBase; using ProjectData; public partial class JSDW_appmain_aIndex : System.Web.UI.Page { RCenter rc = new RCenter(); protecte...
33.129032
122
0.55258
[ "MIT" ]
coojee2012/pm3
SurveyDesign/JSDW/ApplyXZYJS/AppMain/aIndex.aspx.cs
2,056
C#
namespace Taskhog.Data; public class WeatherForecastService { private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; public Task<WeatherForecast[]> GetForecastAsync(DateTime startDate) ...
31.9
107
0.606583
[ "MIT" ]
bitobrian/Bitobrian.Todos.AzDevops
src/Data/WeatherForecastService.cs
638
C#
using System.Collections.Generic; namespace XCT.BaseLib.API.Bithumb.Trade { /// <summary> /// 시장가 구매 /// </summary> public class TradeMarketData { /// <summary> /// 체결 번호 /// </summary> public long cont_id { get; set; } ...
17.8
63
0.377207
[ "MIT" ]
520hacker/bithumb.csharp
src/bithumb.api.s16/api/trading/tradeMarket.cs
1,338
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; namespace OpenSkieTransactionServer { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { bool x = TransactionGl...
17.857143
48
0.664
[ "MIT" ]
d3x0r/xperdex
OpenSkiePOS/OpenSkieTransactionServer/Program.cs
377
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
31.292899
287
0.467335
[ "MIT" ]
seowleng/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/DocumentAuditEntityListing.cs
10,577
C#
using System; using System.Collections.Generic; using NBitcoin; using NBitcoin.JsonConverters; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace LightningLibrary.Utilities { public static class Helpers { public static void ChangeColor(ConsoleColor color) { Conso...
33.403226
85
0.63351
[ "Apache-2.0" ]
cybervoid/LightningVoid
LightningStrike/LightningLibrary/Utilities/Helpers.cs
2,073
C#
// Stephen Toub using System; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace SourcePreview { [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("b824b49d-22ac-4161-ac8a-9916e8fa3f7f")] interface IInitializeWithStream { vo...
20.833333
57
0.746667
[ "MIT" ]
rcsteiner/WindowsSourcePreviewer
COMInterop/IInitializeWithStream.cs
375
C#
//------------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2018 Tasharen Entertainment Inc //------------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// Inspector class used to edit UIWidge...
26.654032
129
0.648846
[ "MIT" ]
Enanyy/LuaGame-slua
Assets/NGUI/Scripts/Editor/UIWidgetInspector.cs
33,052
C#
using Core.Utilities.Results; using Entities.Concrete; using Entities.DTOs; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; namespace Business.Abstract { public interface IRentalService { IResult Add(Rental rental); IResult Delete(Rental rental...
31.888889
69
0.713124
[ "MIT" ]
rabianur412/ReCapProject
Business/Abstract/IRentalService.cs
863
C#
using System; using System.Collections.Generic; using System.Text; namespace P03_SalesDatabase.Data.Models { public class Store { public Store() { Sales = new List<Sale>(); } public int StoreId { get; set; } public string Name { get; set; } public I...
19.210526
52
0.575342
[ "MIT" ]
ewgeni-dinew/04.Databases_Advanced-Entity_Framework
06.Code First/P03,P04,P05_SalesDatabase/P03_SalesDatabase/Data/Models/Store.cs
367
C#
using UnityEngine; using UnityEngine.Events; namespace UE.Events { [AddComponentMenu("Unity Enhanced/Events/Transform Event Listener", 1)] public class TransformEventListener : ParameterEventListener<Transform, TransformEvent> { [SerializeField] [Tooltip("Event to register with.")] ...
33.55
91
0.716841
[ "MIT" ]
hendrik-schulte/UnityEnhanced
Events/Parameter/Transform/TransformEventListener.cs
673
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 "license" fi...
36.096154
161
0.629995
[ "Apache-2.0" ]
atpyatt/aws-sdk-net
sdk/src/Services/Appflow/Generated/Model/Internal/MarshallTransformations/SourceFlowConfigUnmarshaller.cs
3,754
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.28877
210
0.605806
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20181101/DdosCustomPolicy.cs
8,095
C#
namespace TV.Model { public enum Priority { Hi, Normal, Low } }
11.111111
24
0.45
[ "MIT" ]
jruncik/Tiskarna
TV.Model/Priority.cs
102
C#
using Service.EducationProgress.Grpc.Models; using Service.ServiceBus.Models; using Service.UserReward.Models; namespace Service.UserReward.Services { public interface IAchievementRewardService { void CheckByProgress(SetProgressInfoServiceBusModel model, EducationProgressTaskDataGrpcModel[] educationProgress, Ach...
35.133333
151
0.857685
[ "MIT" ]
MyJetEducation/Service.UserReward
src/Service.UserReward/Services/IAchievementRewardService.cs
529
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("Or...
38.243243
84
0.746996
[ "MIT" ]
mahendrahirpara/Organization-Architecture
Organization/Organization.Services/Properties/AssemblyInfo.cs
1,418
C#
public enum HDRBloomMode // TypeDefIndex: 6001 { // Fields public int value__; // 0x0 public const HDRBloomMode Auto = 0; public const HDRBloomMode On = 1; public const HDRBloomMode Off = 2; }
19.9
46
0.723618
[ "MIT" ]
SinsofSloth/RF5-global-metadata
UnityStandardAssets/ImageEffects/HDRBloomMode.cs
199
C#
using UnityEngine; namespace CommonUtils.SkeletonViewer { /// <summary> /// Put this component in a SkinnedMeshRenderer to draw its skeleton as gizmos. /// </summary> [AddComponentMenu("Mesh/Skeleton View")] public class SkeletonView : MonoBehaviour { // based on http://answers.unity.com/comments/714888/view.htm...
37.833333
107
0.737445
[ "MIT" ]
edcasillas/unity-common-utils
Runtime/Scripts/SkeletonViewer/SkeletonView.cs
1,137
C#
using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using FluentAssertions; using NUnit.Framework; namespace Coinbase.Tests.OAuthTests { public class TokenTests : OAuthServerTest { [Test] public async Task auto_refresh_token() { //si...
29.725275
120
0.627726
[ "MIT" ]
NF-Repo/Coinbase
Source/Coinbase.Tests/OAuthTests/TokenTests.cs
2,707
C#
using System; using System.Collections.Generic; using System.Text; using Android.OS; using Android.Runtime; using Android.Text; using Android.Views; using Android.Views.InputMethods; using Java.Lang; using Uno.Extensions; using Uno.UI.DataBinding; using static System.Math; namespace Windows.UI.Xaml.Controls { public...
40.385057
162
0.745837
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/UI/Xaml/Controls/TextBox/TextBox.Overrides.Android.cs
7,029
C#
using System; using System.Threading; using Xunit; namespace Magento.RestApi.IntegrationTests { public class ProductWebsiteTests : BaseFixture { private string _validSku = "100000"; [Fact] public void WhenAssigningWebsiteToProductShouldBeAssigned() { // Arrange ...
31.318182
99
0.590711
[ "MIT" ]
Trendays/Magento-RestApi
Magento.RestApi.IntegrationTests/ProductWebsiteTests.cs
4,136
C#
using System; using System.Collections.Generic; namespace Game.GameGUI { class GameWindow : Window { private TextBlock TitleTextBlock; private List<Button> allButtons = new List<Button>(); private int CurrentSelection = 0; public GameWindow() : base(0, 0, 120, 30, '%') ...
22.844444
151
0.479572
[ "MIT" ]
RasaBaniulyte/cSharpCoursePractice
ClassPracticeGame/Game/View/GameWindow.cs
2,058
C#
using System.Net; namespace NETAPI.Utilities { public class NetworkChecker { public bool HasInternet() { try { using (var client = new WebClient()) using (client.OpenRead("http://google.com/generate_204")) { return true; ...
20.65
75
0.443099
[ "MIT" ]
abnegate/dotnet-netapi
NETAPI/Utilities/NetworkChecker.cs
415
C#
using System.Web; using System.Web.Mvc; namespace XamarinAzure.Backend { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.5
80
0.663004
[ "MIT" ]
onfriday/exemplo-xamarin-azure
XamarinAzureSolution/XamarinAzure.Backend/App_Start/FilterConfig.cs
275
C#
// borrowed shamelessly and enhanced from Bag of Tricks https://www.nexusmods.com/pathfinderkingmaker/mods/26, which is under the MIT License using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace ModKit { // https://docs.un...
35.021277
142
0.578068
[ "MIT" ]
6d306e73746572/ToyBox
ModKit/UI/RichText.cs
3,294
C#
// Problem 3. Circle Perimeter and Area // Write a program that reads the radius r of a circle and prints its perimeter and area formatted // with 2 digits after the decimal point. using System; using System.Globalization; using System.Threading; class CirclePerimeterAndArea { static void Main() { Th...
34.117647
99
0.668966
[ "MIT" ]
GAlex7/TA
01. CSharpPart1/4. Console In and Out/P03-CirclePerimeterAndArea/CirclePerimeterAndArea.cs
582
C#
using System.Reactive; using ReactiveUI; namespace SpaceHaven_Save_Editor.ViewModels { public class CloneCharacterPromptViewModel : ViewModelBase { public CloneCharacterPromptViewModel() { Continue = ReactiveCommand.Create(() => CharacterName); } public ReactiveCom...
28.0625
79
0.672606
[ "MIT" ]
nuttycream/SH-Save-Editor
SpaceHaven Save Editor/ViewModels/CloneCharacterPromptViewModel.cs
451
C#
using System.Threading; using System.Threading.Tasks; namespace Knapcode.ExplorePackages { public class SemaphoreSlimThrottle : IThrottle { private readonly SemaphoreSlim _semaphoreSlim; public SemaphoreSlimThrottle(SemaphoreSlim semaphoreSlim) { _semaphoreSlim = semaphore...
20.5
65
0.611632
[ "MIT" ]
loic-sharma/ExplorePackages
src/ExplorePackages.Logic/Network/SemaphoreSlimThrottle.cs
535
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace NetCoreConf.Pages { [ResponseCache(Duration = 0, Location = ...
27.129032
89
0.65874
[ "MIT" ]
rfcm83/NetCoreConf
Pages/Error.cshtml.cs
841
C#
// <auto-generated> // Code generated by LUISGen C:\Users\lamil\source\repos\CAISolutions\EnterpriseBotSample\EnterpriseBotSample\DeploymentScripts\msbotClone\152.luis -cs Luis.Dispatch -o C:\Users\lamil\source\repos\CAISolutions\EnterpriseBotSample\EnterpriseBotSample\DeploymentScripts\..\Dialogs\Shared\Resources // ...
32.21875
295
0.590689
[ "MIT" ]
ClintFrancis/AI
templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Dialogs/Shared/Resources/Dispatch.cs
2,064
C#
using System.Reflection; 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("Crdt.Tests")] [assembly: AssemblyDescripti...
37.472222
84
0.742031
[ "MIT" ]
Amazebytes/CRDT
src/Crdt.Tests/Properties/AssemblyInfo.cs
1,352
C#
using System.Reflection; namespace MvcNetCoreApp { public static class ApplicationInformation { static ApplicationInformation() { var assemblyName = Assembly.GetExecutingAssembly().GetName(); Name = assemblyName.Name; Version = assemblyName.Version; ...
22.210526
73
0.616114
[ "MIT" ]
luboid/open-telemetry-tests
src/MvcNetCoreApp/ApplicationInformation.cs
424
C#
using Assets.UnityFoundation.Code.Common; using System; using System.Collections.Generic; using UnityEngine; namespace Assets.UnityFoundation.UI.Menus.MultiplayerLobbyMenu { public class LobbyMenuManager : Singleton<LobbyMenuManager> { [SerializeField] protected LandingPanel landingPanel; [Seri...
30.873016
80
0.648843
[ "Apache-2.0" ]
BrunoBiluca/UnityFoundation
UI/Menus/MultiplayerLobbyMenu/LobbyMenuManager.cs
1,945
C#
// <copyright file="WindowFake.cs" company="KinsonDigital"> // Copyright (c) KinsonDigital. All rights reserved. // </copyright> namespace VelaptorTests.Fakes { using Velaptor.UI; /// <summary> /// Used for the purpose of testing the abstract <see cref="Window"/> class. /// </summary> public clas...
31.115385
97
0.608158
[ "MIT" ]
KinsonDigital/Velaptor
Testing/VelaptorTests/Fakes/WindowFake.cs
811
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace eCommerce.Orders.Core.Objects.DbTypes { public class OrderDetailEntity { [Key] ...
29.266667
105
0.66287
[ "Apache-2.0" ]
wepea93/PICA.eCommerce
src/Services/eCommerce.Orders.Api/eCommerce.Orders.Core/Objects/DbTypes/OrderDetailEntity.cs
880
C#
// <copyright file="ISeleniumDriver.cs"> // Copyright © 2018 Rami Abughazaleh. All rights reserved. // </copyright> namespace SpecBind.Selenium.Drivers { using Configuration; using TechTalk.SpecFlow; /// <summary> /// Selenium Driver /// </summary> public interface ISeleniumDriver { ...
37.964286
106
0.619473
[ "MIT" ]
icnocop/specbind
src/SpecBind.Selenium/Drivers/ISeleniumDriver.cs
2,129
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V 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.Runtime.Serialization; namespace Nest { public inte...
33.595745
121
0.725776
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/XPack/Graph/Explore/Request/Hop.cs
1,579
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Text; using System.Xml; using Microsoft.Build.Framework; using Microsoft.Build.BuildEngine.Shared; namesp...
29.721591
107
0.559931
[ "MIT" ]
3F/msbuild
src/Deprecated/Engine/Engine/TaskExecutionContext.cs
5,231
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.Diagnostics; using System.Reflection; using System.Refl...
46.88465
222
0.58332
[ "MIT" ]
loic-sharma/runtime
src/coreclr/src/tools/aot/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs
103,240
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // 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...
35.032833
125
0.670183
[ "MIT" ]
shimonmagal/ILSpy
ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs
37,358
C#
using Nest; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using FastCommerce.Entities.Entities; using FastCommerce.DAL; using System.Linq; using Microsoft.EntityFrameworkCore; using FastCommerce.Business.ElasticSearch.Abstract; using FastCommerce.Busi...
44.603175
156
0.536833
[ "Apache-2.0" ]
orhankarabak/FastCommerce
FastCommerce.Business/ProductManager/Concrete/ProductManager.cs
5,625
C#
using Collectively.Common.Types; namespace Collectively.Common.Caching { public interface IRedisDatabaseFactory { Maybe<RedisDatabase> GetDatabase(int id = -1); } }
20.555556
54
0.718919
[ "MIT" ]
noordwind/Collectively.Common
src/Collectively.Common/Caching/IRedisDatabaseFactory.cs
185
C#
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
34.910256
89
0.647448
[ "MIT" ]
StrongAndyZhang/dotnetmq
src/MDSCommonLib/Communication/Channels/ICommunicationChannel.cs
2,725
C#
using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.Utilities; using System; namespace Ryujinx.HLE.HOS.Services.Arp { class ApplicationLaunchProperty { public long TitleId; public int Version; public byte BaseGameStorageId; public byte UpdateGameStorageId; public short...
34.255814
117
0.563476
[ "MIT" ]
Danik2343/Ryujinx
Ryujinx.HLE/HOS/Services/Arp/ApplicationLaunchProperty.cs
1,475
C#
using System; namespace JX.Application.DTOs { /// <summary> /// 数据库表:FlowProcess 的DTO类. /// </summary> public partial class FlowProcessDTO { #region Properties private System.Int32 _processID = 0; /// <summary> /// 步骤ID (主键) /// </summary> public System.Int32 ProcessID { get {return _processID;}...
21.267442
57
0.652816
[ "Apache-2.0" ]
lixiong24/IPS2.1
CodeSmith/output/DTOs/FlowProcessDTO.cs
1,949
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace Spoj.Solver.UnitTests.Solutions._7___Immortal { [TestClass] public sealed class HORRIBLE_v2Tests : SolutionTestsBase { public override string SolutionSource => Solver.Solutions.HORRIBLE_v2; pub...
18.705882
78
0.650943
[ "MIT" ]
davghouse/Daves.SpojSpace
Spoj.Solver.UnitTests/Solutions/7 - Immortal/HORRIBLE_v2Tests.cs
638
C#
using AgentFramework.Core.Models.Payments; namespace AgentFramework.Payments.SovrinToken { public class SovrinPaymentAccountConfiguration : AddressOptions { /// <summary> /// Gets or sets the address seed. /// </summary> /// <value>The address seed.</value> public strin...
25.428571
67
0.640449
[ "Apache-2.0" ]
BillBaird/aries-framework-dotnet
src/AgentFramework.Payments.SovrinToken/SovrinPaymentAccountConfiguration.cs
358
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("Qui...
37.837838
84
0.747857
[ "MIT" ]
StendProg/QuickPlot
dev/v0.1/QuickPlot.OpenGL/Properties/AssemblyInfo.cs
1,403
C#
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; namespace DotNetFramework.CAP.Diagnostics { public class BrokerConsumeErrorEventData : BrokerConsumeEndEventData, IErrorEventData { ...
38.55
112
0.721141
[ "MIT" ]
AssassinJay/DotNetFramework.CAP
src/DotNetFramework.CAP/DotNetFramework.CAP/Diagnostics/EventData.Broker.ConsumeError.cs
773
C#
using System; namespace Persistence { public class Invited { public string Status {set;get;} } }
11.8
39
0.618644
[ "MIT" ]
MikeLake1999/EventProject
Persistence/PersistenceInvited.cs
118
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RailNation { public enum EngineType { UNDEFINED = 0, #region Era 1 Swallow = 110100, Raven = 110200, Rhinoceros = 110300, Donkey = 110400, ...
26.685714
33
0.425589
[ "Apache-2.0" ]
zmij/RailNation
cs/RailNation/EngineType.cs
1,870
C#
using Eaf.Domain.Entities; namespace Eaf.Tests.Domain.Entities { public class Worker : Entity { public string Name { get; set; } } }
17.111111
40
0.636364
[ "MIT" ]
afonsoft/EAF
test/Eaf.Tests/Domain/Entities/Worker.cs
156
C#
using System.ComponentModel.DataAnnotations; namespace LuduStack.Infra.CrossCutting.Identity.Models.ManageViewModels { public class SetPasswordViewModel { [Required] [StringLength(100, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)] [D...
37.15
125
0.666218
[ "MIT" ]
DJJones66/ludustack-code
LuduStack.Infra.CrossCutting.Identity/Models/ManageViewModels/SetPasswordViewModel.cs
745
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace AppBoilerplate.Migrations { public partial class Upgraded_To_Abp_v222 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsDeleted", ...
28.083333
71
0.599407
[ "MIT" ]
marcoslevy/AppBoilerplate
aspnet-core/src/AppBoilerplate.EntityFrameworkCore/Migrations/20170804083601_Upgraded_To_Abp_v2.2.2.cs
676
C#
using System.Collections.Generic; using NFluent; using Xunit; namespace DefaultEcs.Test { public sealed class EntitySetBuilderTest { #region Tests [Fact] public void Build_Should_return_EntitySet_with_all_Entity() { using (World world = new World(4)) us...
31.211297
126
0.468798
[ "MIT" ]
smolen89/DefaultEcs
source/DefaultEcs.Test/EntitySetBuilderTest.cs
14,921
C#
// ----------------------------------------------------------------------- // <copyright file="TaskTagsController.cs" company="Nodine Legal, LLC"> // Licensed to Nodine Legal, LLC under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regar...
37.4125
101
0.607417
[ "Apache-2.0" ]
NodineLegal/OpenLawOffice
OpenLawOffice.WebClient/Controllers/TaskTagsController.cs
5,988
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.Pssg.Css.Interfaces.DynamicsAutorest { using Microsoft.Rest; using Models; using Newtonsoft.Json; us...
44.187198
524
0.558094
[ "Apache-2.0" ]
GeorgeWalker/pssg-psd-csa
interfaces/Dynamics-Autorest/Invoices.cs
36,587
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> //--...
34.806452
151
0.586654
[ "MIT" ]
Woobly-Shnufflepops/Year1Quarter2
MatthewPowers_Automotive/MatthewPowers_Automotive/Properties/Settings.Designer.cs
1,081
C#