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; namespace CodeGenerator.Application.DTOs.Employee { /// <summary> /// 工作人员 - 录入 /// </summary> public class EmployeeInputDto { /// <summary> /// 所属部门主键 /// </summary> public long DepartmentId { get; set; } /// <summary> /// 账号 /// </summary> public string Account { get...
21.181818
52
0.55833
[ "MIT" ]
ileego/CodeGenerator
src/CodeGenerator.Application/DTOs/Employee/EmployeeInputDto.cs
2,779
C#
using Org.BouncyCastle.Utilities.Encoders; using Securo.GlobalPlatform.Commands; using Securo.GlobalPlatform.Interfaces; using Securo.GlobalPlatform.Model; using Securo.GlobalPlatform.SecureMessaging; using System; namespace Securo.GlobalPlatform { public class CardManager : ICardManager { private sta...
45.888889
143
0.648737
[ "MIT" ]
dimatteo31/securo-gp
src/Securo.GlobaPlatform/CardManager.cs
5,784
C#
//////////////////////////////////////////////////////////////////////////////// // // clipboard-top-down-dib // // This software is provided under the MIT License: // Copyright (C) 2019 Nicholas Hayes // // See LICENSE.md in the project root for more information. // /////////////////////////////////////////////////...
31.157895
145
0.526745
[ "MIT" ]
0xC0000054/clipboard-top-down-dib
Form1.cs
3,554
C#
using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using NSubstitute; using Sfa.Tl.ResultsAndCertification.Common.Helpers; using Sfa.Tl.ResultsAndCertification.Web.ViewModel.ProviderAddress; using System.Collections.Generic; using Xunit; namespace Sfa.Tl.ResultsAndCertif...
40.727273
123
0.687128
[ "MIT" ]
SkillsFundingAgency/tl-result-and-certification
src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/ProviderAddressTests/AddAddressSelectGet/When_NoCache_Found.cs
2,690
C#
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using Microsoft.SqlServer.Management.SqlParser.SqlCodeDom; using SqlMemoryDb.Exceptions; using SqlMemoryDb.Helpers; using SqlMemoryDb.SelectData; using SqlParser; namespace SqlMemo...
40.718045
173
0.55812
[ "MIT" ]
avheerwaarde/SqlMemoryDb
SqlParser/RawData.cs
10,833
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.46789
92
0.604973
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20180601/Outputs/ApplicationGatewayRedirectConfigurationResponse.cs
3,539
C#
using SpocR.DataContext.Attributes; namespace SpocR.DataContext.Models { public class Column { [SqlFieldName("name")] public string Name { get; set; } [SqlFieldName("is_nullable")] public bool IsNullable { get; set; } [SqlFieldName("system_type_name")] public s...
23.157895
47
0.611364
[ "MIT" ]
nuetzliches/spocr
src/DataContext/Models/Column.cs
440
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("Co...
38.135135
84
0.747697
[ "MIT" ]
indrapadmaja/VSGitSession
ConsoleApplication1/ConsoleApplication1/Properties/AssemblyInfo.cs
1,414
C#
using Cosmos.Logging.Exceptions.Configurations; using Cosmos.Logging.Extensions.Exceptions.Destructurers; namespace Cosmos.Logging { /// <summary> /// Extensions for destructurer /// </summary> public static class DestructurerExtensions { /// <summary> /// Use MySql /// </summar...
31.052632
80
0.632203
[ "Apache-2.0" ]
CosmosLoops/Cosmos
src/Cosmos.Logging.Extensions.MySql/Cosmos/Logging/DestructurerExtensions.cs
590
C#
using System; using Com.QueoFlow.Peanuts.Net.Core.Domain.Dto; using Com.QueoFlow.Peanuts.Net.Core.Domain.Users; using Com.QueoFlow.Peanuts.Net.Core.Infrastructure.Checks; using Com.QueoFlow.Peanuts.Net.Core.Persistence.NHibernate; namespace Com.QueoFlow.Peanuts.Net.Core.Domain.Peanuts { /// <summary> /// ...
34.65625
168
0.623084
[ "MIT" ]
queoGmbH/peanuts
Peanuts.Net.Core/src/Domain/Peanuts/PeanutParticipation.cs
4,442
C#
using Microsoft.OpenApi.Models; namespace OrderService { /// <summary> /// Parameter without body. /// </summary> public class NonBodyParameter : OpenApiParameter { /// <summary> /// Default. /// </summary> public object Default { get; set; } } }
20.266667
52
0.5625
[ "MIT" ]
Burgyn/MMLib.SwaggerForOcelot
demo/OrderService/NonBodyParameter.cs
306
C#
using System; using System.IO; using Newtonsoft.Json; using OlibUI.Sample.Structures; namespace OlibUI.Sample { public static class FileSettings { public static Settings LoadSettings() => JsonConvert.DeserializeObject<Settings>(File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + "settings.json"))...
33.266667
167
0.765531
[ "MIT" ]
Onebeld/OlibUI
src/OlibUI.Sample/FileSettings.cs
501
C#
using System; using System.Collections.Generic; using System.Text; namespace demo { public class TestApi { public string Url { get; set; } = ""; } }
15
46
0.594444
[ "MIT" ]
dpzsoft/dotnet-core-dpz2-json
demo/TestApi.cs
182
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.multimedia.xnnmini.model.create /// </summary> public class AlipayMultimediaXnnminiModelCreateRequest : IAlipayRequest<AlipayMultimedia...
23.081301
119
0.551955
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayMultimediaXnnminiModelCreateRequest.cs
2,855
C#
using droid.Editor.Windows; using droid.Runtime.Prototyping.Actuators; using droid.Runtime.ScriptableObjects; using UnityEngine; #if UNITY_EDITOR using droid.Runtime.Prototyping.Actors; using UnityEditor; namespace droid.Editor.ScriptableObjects { /// <summary> /// /// </summary> public static class CreatePl...
33.666667
104
0.5967
[ "Apache-2.0" ]
sintefneodroid/droid
Editor/ScriptableObjects/PlayerMotions.cs
3,032
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose Pty Ltd" file="ViewResult.cs"> // Copyright (c) 2003-2021 Aspose Pty Ltd // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obt...
39.569444
119
0.581257
[ "MIT" ]
groupdocs-viewer-cloud/groupdocs-viewer-cloud-dotnet
src/GroupDocs.Viewer.Cloud.Sdk/Model/ViewResult.cs
2,849
C#
using UnityEngine; using System.Collections; using UnityEditor; namespace Retro.Grid { [CustomEditor(typeof(Line))] public class LineInspector : Editor { private static bool _bMoveStart; private static bool _bMoveEnd; public override void OnInspectorG...
20.761905
46
0.573394
[ "MIT" ]
RetroZelda/retrolib-unity
RetroLib-Unity/Assets/Scripts/RetroLib/RetroGrid/Editor/LineInspector.cs
438
C#
/* Copyright (c) 2018, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
28.612308
108
0.702441
[ "BSD-2-Clause" ]
MrnB/MatterControl
MatterControlLib/DesignTools/Operations/ScaleObject3D.cs
9,301
C#
namespace commercetools.Sdk.Linq.Discount { public interface IDiscountPredicateExpressionVisitor : IPredicateExpressionVisitor { } }
24.166667
86
0.786207
[ "Apache-2.0" ]
commercetools/commercetools-dotnet-core-sdk
commercetools.Sdk/commercetools.Sdk.Linq/Discount/IDiscountPredicateExpressionVisitor.cs
147
C#
using Machine.Specifications; namespace Dolittle.Queries.Validation.Specs.for_QueryArgumentValidationResult { public class when_asking_for_success_on_result_without_any_broken_rules : given.a_query_argument_validation_result_without_any_broken_rules { static bool success; Because of = () => s...
30.642857
143
0.7669
[ "MIT" ]
dolittle-einar/Runtime
Specifications/Queries.Validation/for_QueryArgumentValidationResult/when_asking_for_success_on_result_without_any_broken_rules.cs
431
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Hoppy_GroundControl : MonoBehaviour { public float movementSpeed = 1; public float resetPosition_x; public bool moving = false; Vector3 startPos; // Start is called before the first frame update void S...
24.074074
84
0.66
[ "MIT" ]
JinguMastery/My-Unity-Project-OSMCity
Assets/Noedify/Demos/HoppyGame/Scripts/Hoppy_GroundControl.cs
652
C#
using System; using MixERP.Net.FrontEnd.Base; namespace MixERP.Net.Core.Modules.BackOffice.Policy { public partial class DefaultEntityAccess : MixERPUserControl { public override void OnControlLoad(object sender, EventArgs e) { } } }
22.583333
70
0.697417
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/BackOffice/Policy/DefaultEntityAccess.ascx.cs
273
C#
using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; using PortingAssistant.Client.Model; using PortingAssistant.Client.PortingProjectFile; namespace PortingAssistant.Client.Porting { public class PortingHandler : IPortingHandler { private readonly ILogger _logger; ...
44.073171
128
0.696735
[ "Apache-2.0" ]
eduherminio/porting-assistant-dotnet-client
src/PortingAssistant.Client.Porting/PortingHandler.cs
1,809
C#
using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using System.Text.Encodings.Web; using System.Threading.Tasks; namespace Fluid.Ast { public class WhenStatement : TagStatement { private readonly List<Expression> _options; public WhenStatement(List<Expr...
29.840909
124
0.597867
[ "MIT" ]
tgrandgent/fluid
Fluid/Ast/WhenStatement.cs
1,315
C#
/* MIT LICENSE Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, ...
44.487713
510
0.541366
[ "MIT" ]
Daiwv/ExchangeSharp
ExchangeSharp/API/Exchanges/Binance/ExchangeBinanceAPI.cs
47,070
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services // // Microsoft Cognitive Services (formerly Project Oxford) GitHub: // https://github.com/Microsoft/Cognitive-Common-Wind...
36.925325
206
0.616724
[ "MIT" ]
Bhaskers-Blu-Org2/Cognitive-EventKnowledge-Windows
Cognitive-Common-Windows/SampleUserControlLibrary/VideoResultControl.xaml.cs
11,375
C#
using System; using UnityEngine; public class BitUtil { public static UInt32 ReadBits(UInt32 input, ref Byte startBit, Byte numBits) { UInt32 num = (UInt32) Mathf.Pow(2f, (Single) numBits) - 1u; UInt32 result = input >> (Int32) startBit & num; startBit = (Byte) (startBit + numBits); return result; } publ...
23.2
77
0.663793
[ "MIT" ]
Albeoris/Memoria
Assembly-CSharp/Global/BitUtil.cs
466
C#
using System; namespace JsxbinToJsx.JsxbinDecoding { public interface IReferenceDecoder { double JsxbinVersion { get; } Tuple<string, bool> Decode(INode node); } }
17.636364
47
0.664948
[ "MIT" ]
rikuayanokozy/jsxbin-to-jsx-converter
JsxbinToJsx/JsxbinDecoding/IReferenceDecoder.cs
196
C#
//////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Daniel Kollmann // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided that the following conditions are met: // /...
37.989402
291
0.557429
[ "BSD-3-Clause" ]
TonnyQ/behaviac
tools/designer/BehaviacDesignerBase/Nodes/Node.cs
50,184
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using ShoelessJoeWebApi.DataAccess.Data...
37.386926
125
0.459997
[ "MIT" ]
TClaypool00/ShoelessJoeApiV2
ShoelessJoeWebApi.DataAccess/Migrations/20210518213528_AddedSite.Designer.cs
21,163
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.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.HttpRepl.Commands; using Microsoft.HttpRepl.Fake...
39.711538
111
0.646247
[ "Apache-2.0" ]
Tadimsky/HttpRepl
src/Microsoft.HttpRepl.Tests/Commands/OptionsCommandTests.cs
4,130
C#
using System.IO; using System.Threading.Tasks; namespace CrossImageHandling { public interface IImageHandlingService { Task<Stream> PickImageFromGalleryAsync(); int[] GetImageSizeFromStream(byte[] streamData); byte[] GetImagePixelsFromStream(byte[] streamData); byte[] GetImageS...
35.866667
100
0.72119
[ "MIT" ]
Jannik0/Xamarin.CrossImageHandling
CrossImageHandling/CrossImageHandling/IImageHandlingService.cs
540
C#
using System; using System.Linq.Expressions; namespace FlexLabs.EntityFrameworkCore.Upsert { /// <summary> /// A class that represents a known type of expression /// </summary> public class KnownExpressions { /// <summary> /// Initialises a new instance of the class /// </s...
33
116
0.594455
[ "MIT" ]
LonghronShen/FlexLabs.Upsert
src/FlexLabs.EntityFrameworkCore.Upsert/KnownExpressions.cs
1,553
C#
using BinaryGo.Binary.Deserialize; using BinaryGo.Interfaces; using BinaryGo.IO; using BinaryGo.Json; using System; namespace BinaryGo.Runtime.Variables.Nullables { /// <summary> /// Date and time serializer and deserializer /// </summary> public class DateTimeNullableVariable : BaseVariable, ISeriali...
34.5
103
0.58642
[ "MIT" ]
Ali-YousefiTelori/BinaryGo
Engine/BinaryGo/Runtime/Variables/Nullables/DateTimeNullableVariable.cs
3,728
C#
// this class generates OnSerialize/OnDeserialize for SyncListStructs using Mono.Cecil; using Mono.Cecil.Cil; namespace Mirror.Weaver { static class SyncListStructProcessor { public static void Process(TypeDefinition td) { // find item type GenericInstanceType gt = (Gene...
42.212121
177
0.568701
[ "MIT" ]
Alkanov/Mirror
Mirror/Weaver/Processors/SyncListStructProcessor.cs
6,965
C#
using System.Collections.Generic; using System.Web.Routing; using DynamicMVC.UI.DynamicMVC.ViewModels.DynamicPropertyViewModels; namespace DynamicMVC.UI.DynamicMVC.ViewModels { public class DynamicIndexItemViewModel { public DynamicIndexItemViewModel() { DynamicPropertyIndexViewMode...
33.25
95
0.692982
[ "Apache-2.0" ]
PrecisionWebTechnologies/DynamicMVC
DynamicMVC.UI/DynamicMVC/ViewModels/DynamicIndexItemViewModel.cs
798
C#
using System; namespace OurUmbraco.MarketPlace.Interfaces { public interface IVendor { IMember Member { get; set; } string VendorCompanyName { get; set; } string VendorDescription { get; set; } IMediaFile VendorLogo { get; set; } string VendorUrl { get; set; } s...
31.964286
53
0.582123
[ "MIT" ]
AaronSadlerUK/OurUmbraco
OurUmbraco/MarketPlace/Interfaces/IVendor.cs
897
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace QuicDataServer.Models { public class RpsTestPublishResult : IAuthorizable { public string? MachineName { get; set; } [Required] ...
29.393939
78
0.609278
[ "MIT" ]
CH-ND-N/msquic
src/perf/dbserver/Models/RpsTestPublishResult .cs
972
C#
namespace Ryujinx.HLE.HOS.Services.Bgct { [Service("bgtc:sc")] class IStateControlService : IpcService { public IStateControlService(ServiceCtx context) { } } }
23.125
59
0.675676
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.HLE/HOS/Services/Bgtc/IStateControlService.cs
187
C#
// Copyright 2008-2010 Portland State University, Conservation Biology Institute // Authors: Brendan C. Ward, Robert M. Scheller using Landis.Utilities; using Landis.Core; using Landis.SpatialModeling; using System.Collections.Generic; namespace Landis.Extension.Output.CohortStats { /// <summary> /// A p...
44.527397
165
0.445854
[ "Apache-2.0" ]
mshukuno/Extension-Output-Cohort-Statistics
src/InputParametersParser.cs
13,002
C#
using System.Collections.Generic; using System.Text; using CssUI.CSS.Serialization; using CssUI.DOM; namespace CssUI.CSS.Media { public class MediaCondition : IMediaCondition, ICssSerializeable {/* https://www.w3.org/TR/mediaqueries-4/#media-condition */ #region Properites private readonly Li...
26.222222
91
0.474576
[ "MIT" ]
dsisco11/CssUI
CssUI/CSS/Media/MediaCondition.cs
2,362
C#
using System; using System.Reflection; namespace SimpleExpressionEvaluator.Utilities { public class FieldMemberAccessor : IMemberAccessor { private readonly FieldInfo _field; public FieldMemberAccessor(FieldInfo field) { _field = field; } public object Get...
19.451613
54
0.568823
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Expressions/SimpleExpressionEvaluator/Utilities/FieldMemberAccessor.cs
605
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; namespace BeardedManStudios.Forge.Networking.Unity.Lobby { public class LobbyPlayerItem : MonoBehaviour { public Color[] TeamColors; public Color[] AvatarColors; public GameObject KickButton; public Image AvatarBG; public Text AvatarID; ...
22.752137
81
0.69985
[ "MIT" ]
AzeeSoft/Forge-Networking-Test
Assets/Bearded Man Studios Inc/Modules/LobbySystem/LobbyPlayerItem.cs
2,664
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Agent.Sdk; using Agent.Sdk.Knob; using Microsoft.VisualStudio.Services.Agent.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading; using S...
45.289009
249
0.614117
[ "MIT" ]
82amp/azure-pipelines-agent
src/Agent.Worker/Build/GitCommandManager.cs
33,378
C#
using AdministrationGateway.Services; using Grpc.Core; using HostingHelpers; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdministrationGateway.Controllers { [...
26.411765
75
0.707127
[ "MIT" ]
Abdulrhman5/StreetOfThings
src/Gateways/AdministrationGateway/Controllers/ObjectCommentController.cs
900
C#
using CompanyName.ProjectName.DataDictionaryManagement.DataDictionaries.Aggregates; using Microsoft.EntityFrameworkCore; using Volo.Abp.Data; using Volo.Abp.EntityFrameworkCore; namespace CompanyName.ProjectName.DataDictionaryManagement.EntityFrameworkCore { [ConnectionStringName(DataDictionaryManagementDbPropert...
37.9375
85
0.777595
[ "MIT" ]
shuangbaojun/abp-vnext-pro
aspnet-core/modules/DataDictionaryManagement/src/CompanyName.ProjectName.DataDictionaryManagement.EntityFrameworkCore/EntityFrameworkCore/IDataDictionaryManagementDbContext.cs
609
C#
using System.Diagnostics.CodeAnalysis; static class GitRepoDirectoryFinder { public static string Find() { if (TryFind(out var rootDirectory)) { return rootDirectory; } throw new Exception("Could not find root git directory"); } public static...
25.611111
74
0.515184
[ "MIT" ]
SimonCropp/PackageUpdate
src/Tests/GitRepoDirectoryFinder.cs
924
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> //--...
38.819444
185
0.605367
[ "MIT" ]
Woobly-Shnufflepops/Year-2-Quarter-1
MidTermReviewPowers/MidTermReviewPowers/Properties/Resources.Designer.cs
2,797
C#
/* * Copyright 2021 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 ...
38.545455
141
0.692925
[ "Apache-2.0" ]
BearerPipelineTest/dotnet-docs-samples
media/transcoder/api/Transcoder.Samples.Tests/CreateJobWithSetNumberImagesSpritesheetTests.cs
2,120
C#
using UnityEngine; using System.Collections; public class DeactivateAfterSeconds : MonoBehaviour { [SerializeField] private float _waitSeconds; [SerializeField] private bool _useTimeScale = false; void OnEnable() { StartCoroutine(DeactiavteRoutine()); } private IEnumerator DeactiavteRoutine() { if (_use...
20.083333
57
0.775934
[ "MIT" ]
Sweaty-Chair/SC-Essentials
Assets/SweatyChair/Essentials/Helpers/DeactivateAfterSeconds.cs
484
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Threading.Tasks; using System.Collections.ObjectModel; using Observatory.UI.Models; using ReactiveUI; using System.Reactive.Linq; using Observatory.Framework; namespace Observatory.UI.ViewModels { ...
22.979167
73
0.598368
[ "MIT" ]
Xjph/ObservatoryCore
ObservatoryCore/UI/ViewModels/BasicUIViewModel.cs
1,105
C#
using ExifInfo.Models; using System; using System.Collections.Generic; using Windows.ApplicationModel.DataTransfer; using Windows.Services.Store; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Input; // The User Control item template i...
37.270968
139
0.592176
[ "MIT" ]
hupo376787/WindowsTemplateStudio---Master-Detail-View-bug
ExifInfo/Controls/PurchaseControl.xaml.cs
5,875
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace Xamarin.Forms.RadialMenu.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use...
23.619048
91
0.639113
[ "MIT" ]
arqueror/Xamarin.Forms-RadialMenu
Xamarin.Forms.RadialMenu/Xamarin.Forms.RadialMenu.iOS/Main.cs
498
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; namespace Microsoft.AspNetCore.Http.Result; internal sealed class AcceptedResult : ObjectResult { /// <summary> /// Initializes a new instance of the <see cre...
32.362319
113
0.642185
[ "MIT" ]
AndrewTriesToCode/aspnetcore
src/Http/Http.Results/src/AcceptedResult.cs
2,233
C#
using System.Text.RegularExpressions; using System; namespace SearchSharp.ViewModels { public class RegexWindowViewModel : ViewModel { private string _regexString; private bool _multiLine; private bool _singleLine; private bool _settingInput; private string _...
28.22449
168
0.474813
[ "MIT" ]
peterhorsley/searchsharp
ViewModels/RegexWindowViewModel.cs
4,151
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Covid_19.Models { public class map { public string countrycode { get; set; } public string country { get; set; } public string latitude { get; set; } public string longitu...
25.7
47
0.610895
[ "MIT" ]
engolos/Covid-19
Covid-19/Models/map.cs
516
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("Fi...
38.305556
84
0.752719
[ "MIT" ]
f115/FinalBackEndProjectTask
FinalBackEndProjectTask/Properties/AssemblyInfo.cs
1,382
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Nop.Core; using Nop.Core.Caching; using Nop.Core.Domain.Catalog; using Nop.Core.Domain.Customers; using Nop.Core.Domain.Discounts; using Nop.Data; using Nop.Services.Customers; using Nop.Services.Discounts; using Nop...
44.238335
186
0.612183
[ "CC0-1.0" ]
peterthomet/BioPuur
nopCommerce 4.4/src/Libraries/Nop.Services/Catalog/CategoryService.cs
35,083
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class hitboxDestroyer : MonoBehaviour { float lifetime = 0.1f; blindEnemyController blindGuardCon; public bool playerHit = false; // Start is called before the first frame update void Start() { GameOb...
23.155556
72
0.56334
[ "MIT" ]
TobyAtkinson/Team8GameProject
SteamPunkStealth/Assets/hitboxDestroyer.cs
1,044
C#
using CSM.API.Commands; using ProtoBuf; namespace CSM.BaseGame.Commands.Data.Events { /// <summary> /// Called when the ticket price of an event was changed. /// </summary> /// Sent by: /// - EventHandler [ProtoContract] public class EventSetTicketPriceCommand : CommandBase { ...
23.592593
65
0.546311
[ "MIT" ]
DominicMaas/Tango
src/basegame/Commands/Data/Events/EventSetTicketPriceCommand.cs
637
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.202381
181
0.642582
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/SimpleDB/Generated/Model/NumberDomainAttributesExceededException.cs
3,377
C#
// <auto-generated /> namespace PhotoMSK.Data.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class...
26.866667
90
0.614144
[ "MIT" ]
MarkusMokler/photomsmsk-by
PhotoMSK/Core/PhotoMSK.Data/Migrations/201508111848356_DateFix.Designer.cs
806
C#
using System; namespace Hillinworks.TiledImage.Imaging { partial struct TileIndex { public struct LOD { public static explicit operator TileIndex(LOD index) { return new TileIndex(index.Column, index.Row); } public int Row { get;...
27.517241
78
0.451754
[ "MIT" ]
hillinworks/TiledImageView
Hillinworks.TiledImage.Core/Imaging/TileIndex.LOD.cs
1,598
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.AwsN...
26.391304
81
0.693575
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/EC2/Inputs/InstanceElasticGpuSpecificationArgs.cs
607
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("Go...
37.916667
84
0.750183
[ "MIT" ]
Bradinz/Vanjaro.Platform
DesktopModules/Vanjaro/UXManager/Extensions/Menu/GoogleTagManager/Properties/AssemblyInfo.cs
1,368
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("Wi...
38.405405
84
0.749472
[ "MIT" ]
aaronuhmgmailcom/Financel
PDFView(32bit Office) v2/PDFView(32bit Office) v2/PDFView(32bit Office) v2/WindowsFormsApplication1/Properties/AssemblyInfo.cs
1,424
C#
namespace MiniUML.Plugins.UmlClassDiagram.Controls.ViewModel.Shape { using System; using System.Collections.Generic; using System.Globalization; using System.Xml; using MiniUML.Model.ViewModels; using MiniUML.Model.ViewModels.Shapes; using MiniUML.Plugins.UmlClassDiagram.Controls.ViewModel.Shape.Base; ...
29.955556
144
0.581108
[ "MIT" ]
Dirkster99/Edi
MiniUML/Plugins/src/MiniUML.Plugins.UmlClassDiagram/Controls/ViewModel/Shape/UmlUseCaseShapeViewModel.cs
4,046
C#
/* Copyright 2012-2020 Marco De Salvo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
34.938053
191
0.548632
[ "Apache-2.0" ]
BME-MIT-IET/iet-hf2021-create-a-new-team
RDFSharp/Model/Validation/Abstractions/Constraints/RDFHasValueConstraint.cs
3,950
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.2125
101
0.58846
[ "Apache-2.0" ]
InsiteVR/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/AmazonSimpleWorkflowConfig.cs
2,097
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Text; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Threading; using ARKBreedingStats.Library; using ARKBreedingStats.Properties; using ARKBreedingStats...
46.837288
241
0.535717
[ "MIT" ]
JaymeiF/ARKStatsExtractor
ARKBreedingStats/BreedingPlan.cs
55,270
C#
using System; using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Catan.Proxy; using CatanService; using Microsoft.AspNetCore.Mvc.Testing; using Xunit; using Xunit.Abstractions; namespace ServiceTests { public class DevCardTests { private readonly ITestOutputHelper out...
38.135359
108
0.489967
[ "MIT" ]
joelong01/CatanService
ServiceTests/DevCardTests.cs
13,807
C#
/* Copyright 2018 Digimarc, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
33.557895
116
0.547679
[ "Apache-2.0" ]
abowergroup/whalerator
lib/Whalerator/Content/LayerExtractor.cs
3,190
C#
using UnityEngine; public class ErrorSolution : MonoBehaviour { void Update () { Debug.Log(transform.childCount); if (transform.childCount >= 12 && !Input.GetKey(KeyCode.Mouse0)) { Destroy(transform.GetChild(11).gameObject); } } }
21.846154
72
0.609155
[ "Apache-2.0" ]
SrtaEnne/ProKid
Assets/Scripts/Interface/ErrorSolution.cs
286
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.Rds20140815.Models { public class DescribeSQLCollectorRetentionResponse : TeaModel { [NameInMap("RequestId")] [Validation(Required=true)] ...
21.521739
67
0.676768
[ "Apache-2.0" ]
atptro/alibabacloud-sdk
rds-20140815/csharp/core/Models/DescribeSQLCollectorRetentionResponse.cs
495
C#
using System; using System.Runtime.CompilerServices; using System.Windows.Markup; namespace ConsoleApp2 { public class Coins { public int minReplacement(int[] A) { //Two possible choices //A first element is 1 or first element is 0 var x1 = ...
27.552632
69
0.430755
[ "MIT" ]
jennyraj/react
Coins.cs
1,049
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
85
0.657109
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Kusto/V20191109/Outputs/DatabaseStatisticsResponse.cs
837
C#
using Catalog.Api.Data; using Catalog.Api.Entities; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Catalog.Api.Repositories { public class ProductRepository : IProductRepository { private readonly ICat...
32.440476
112
0.52
[ "MIT" ]
Amitpnk/Microservice-Architecture-ASP.NET-Core
src/Services/Catalog/Catalog.Api/Repositories/ProductRepository.cs
2,727
C#
using SeqcosFilterTools.Trim; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Bio; namespace FilterTools.Tests { /// <summary> ///This is a test class for TrimByQualityTest and is intended ///to contain all TrimByQualityTest Unit Tests ///</summary> [...
29.154762
102
0.536954
[ "Apache-2.0" ]
kcha/seqcos
Seqcos/Tests/SeqcosFilterTools.Tests/Trim/TrimByQualityTest.cs
2,451
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CTS.Core.Domain.Attr; namespace CTS.W._150901.Models.Domain.Object.Client.Page { public class PageObject { [OutputText] public string LocaleCd { get; set; } [OutputText] pub...
24.434783
57
0.594306
[ "Apache-2.0" ]
ctsoftvn/cts-w-1509-01
Src/CTS.W.150901/CTS.W.150901.Models/Domain/Object/Client/Page/PageObject.cs
564
C#
public class Test { public static int Main() { return 0; } }
10.25
28
0.5
[ "MIT" ]
openmailbox/RustExamples
test/Test.cs
84
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 ...
16.227586
63
0.60051
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cdrs/CDRS/Model/V20201101/ListDeviceGenderStatisticsResponse.cs
2,353
C#
using System.Data; using System.Text; using System.Collections.Generic; using System.Collections.Specialized; using PCAxis.Sql.DbConfig; namespace PCAxis.Sql.QueryLib_24 { public partial class MetaQuery { /// <summary> /// Returns the default valueset or an empty string for no default. ...
41.633929
143
0.612481
[ "Apache-2.0" ]
I3S-ESSnet/PxWeb
PCAxis.Sql/QueryLib_24/MetaQuery_SubTableVariable.cs
4,663
C#
// <copyright file="ProxyJsonConverter.cs" company="WebDriver Committers"> // Copyright 2007-2011 WebDriver committers // Copyright 2007-2011 Google Inc. // Portions copyright 2011 Software Freedom Conservancy // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
41.247863
125
0.562785
[ "Apache-2.0" ]
saucelabs/Selenium2
dotnet/src/WebDriver/Remote/JsonConverters/ProxyJsonConverter.cs
4,828
C#
using System; using System.Globalization; using HotChocolate.Utilities.Properties; namespace HotChocolate.Utilities; public class ServiceFactory : IServiceProvider { private static readonly IServiceProvider _empty = new EmptyServiceProvider(); public IServiceProvider? Services { get; set; } public obje...
25.947368
83
0.615619
[ "MIT" ]
ChilliCream/prometheus
src/HotChocolate/Utilities/src/Utilities/ServiceFactory.cs
988
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.DocAsCode.AzureMarkdownRewriters { using System.Text.RegularExpressions; using Microsoft.DocAsCode.MarkdownLite; public class AzureMi...
37.058824
171
0.672222
[ "MIT" ]
928PJY/docfx
src/Microsoft.DocAsCode.AzureMarkdownRewriters/AzureBlockRules/AzureMigrationVideoBlockRule.cs
1,262
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; using Microsoft.Xunit.Performance; namespace Functions { public static partial class MathTests { // Tests Math.Asin(double) over 5000 iterations for th...
29.433962
105
0.532051
[ "MIT" ]
belav/runtime
src/tests/JIT/Performance/CodeQuality/Math/Functions/Double/AsinDouble.cs
1,560
C#
using NUnit.Framework; using Unity.Entities; namespace pl.breams.SimpleDOTSUndo.Systems { public class SystemTestBase<T> where T:SystemBase { protected World _TestWord; protected EntityManager _EntityManager; protected T _System; [SetUp] public void SetUp() { ...
25.825
68
0.585673
[ "MIT" ]
micz84/SimpleDOTSUndu
Tests/Editor/Systems/SystemTestBase.cs
1,033
C#
using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using OrchardCore.Environment.Shell; using SeedCore.Data.Migrations; namespace SeedCore.Data { public class ModuleDbContext : DbContext, IDbContext { readonly IEnumerable<object> _entityConfigurations; re...
30.719298
117
0.628784
[ "MIT" ]
fyl080801/SeedCore
SeedCore/SeedCore.Data/ModuleDbContext.cs
1,753
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
39.793651
213
0.593139
[ "Apache-2.0" ]
3ai-co/Lean
Brokerages/InteractiveBrokers/Client/OrderStatusEventArgs.cs
5,014
C#
// // IHttpRequestInterceptor.cs // // Author: // David Kopack <d@trusona.com> // // Copyright (c) 2018 Trusona, Inc. using System; using System.Net.Http; namespace TrusonaSDK.HTTP.Client.Interceptor { public interface IHttpInterceptor { void InterceptRequest(HttpRequestMessage message, ICredentialProvid...
22.4
96
0.765625
[ "Apache-2.0" ]
trusona/trusona-server-sdk-dotnet
TrusonaSDK.HTTP/Client/Interceptor/IHttpInterceptor.cs
448
C#
namespace Be.Vlaanderen.Basisregisters.Testing.Infrastructure.Events { using System; using System.Collections.Generic; using System.Linq; using Xunit; using EventHandling; using FluentAssertions; using System.Reflection; using System.Runtime.CompilerServices; using AggregateSource; ...
35.858974
162
0.555417
[ "MIT" ]
CumpsD/infrastructure-tests
src/Be.Vlaanderen.Basisregisters.Testing.Infrastructure.Events/InfrastructureEventsTests.cs
5,594
C#
using FluentAssertions; using LazyEntityGraph.Core; using LazyEntityGraph.Core.Constraints; using AutoFixture; using System.Linq; using Xunit; using LazyEntityGraph.TestUtils; namespace LazyEntityGraph.Tests.Integration { public class ManyToManyConstraintTest { [Fact] public void AddsItemToGene...
29.128571
127
0.556155
[ "MIT" ]
dbroudy/LazyEntityGraph
src/LazyEntityGraph.Tests/Integration/ManyToManyConstraintTest.cs
2,039
C#
using Grynwald.MdDocs.ApiReference.Configuration; using Grynwald.MdDocs.ApiReference.Templates; using Grynwald.MdDocs.Common.Configuration; using Grynwald.MdDocs.Common.Templates; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Xunit; namespace Grynwald.MdDocs.CommandLineHel...
37.390244
111
0.723418
[ "MIT" ]
ap0llo/mddocs
src/MdDocs.ApiReference.Test/Templates/ApiReferenceTemplateProviderTest.cs
1,535
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2020 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using System; namespace GameFramew...
30.5625
97
0.543286
[ "MIT" ]
297496732/GameFramework
GameFramework/WebRequest/IWebRequestAgentHelper.cs
1,682
C#
using System.Linq; using UnityEditor; using UnityEngine; [CustomEditor(typeof(NavigationNodeComponent))] [CanEditMultipleObjects] public class NavigationNodeEditor : Editor { SerializedProperty nodeType; SerializedProperty nextNodes; SerializedProperty lookList; SerializedProperty enableNavigation...
35.75
130
0.65342
[ "MIT" ]
iimcz/ipw-firmware
Assets/Editor/NavigationNodeEditor.cs
5,863
C#
using System; using System.Collections.Generic; using UnityEngine; using Entitas.Unity; using Entitas.VisualDebugging.Unity; using Lockstep.Game.Interfaces; public interface IEventListener { void RegisterListeners(GameEntity entity); void UnregisterListeners(); } public interface IComp...
29.852941
99
0.636946
[ "MIT" ]
654306663/UnityLockstep
Unity/Assets/Scripts/UnityServices.cs
2,032
C#
using System; using static Vanara.PInvoke.AdvApi32; namespace Vanara.PInvoke.Tests { public partial class EvnTraceTests { public class ProviderInfo { public const ulong DefaultKeywords = 0; public const TRACE_LEVEL DefaultLevel = (TRACE_LEVEL)0xFF; // Match any level // Match all event...
22.935484
99
0.675105
[ "MIT" ]
AndreGleichner/Vanara
UnitTests/PInvoke/Security/AdvApi32/ProviderInfo.cs
713
C#
namespace ClientClassLibrary { public class SomeThing { public string Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } } }
18.545455
45
0.588235
[ "MIT" ]
StefH/PactExample
ClientClassLibrary/SomeThing.cs
206
C#
using TreniniDotNet.Common.UseCases.Boundaries.Outputs.Ports; using TreniniDotNet.Domain.Collecting.Collections; namespace TreniniDotNet.Application.Collecting.Collections.RemoveItemFromCollection { public interface IRemoveItemFromCollectionOutputPort : IStandardOutputPort<RemoveItemFromCollectionOutput> { ...
36.615385
110
0.827731
[ "MIT" ]
CarloMicieli/TreniniDotNet
Src/Application/Collecting/Collections/RemoveItemFromCollection/IRemoveItemFromCollectionOutputPort.cs
478
C#
// Licensed under MIT No Attribution, see LICENSE file at the root. // Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet. using System; using System.Collections.Generic; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Con...
38.744755
191
0.623861
[ "MIT-feh" ]
lipchev/UnitsNet
UnitsNet.Serialization.JsonNet.Tests/UnitsNetBaseJsonConverterTest.cs
11,083
C#