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 Quras.Core; using Quras.Network; using Quras.Wallets; using System; using System.IO; using System.Linq; namespace Quras.Consensus { internal class ConsensusWithPolicy : ConsensusService { private static string log_dictionary; private static readonly object LOG_LOCK = new object(); ...
31.955882
183
0.534284
[ "MIT" ]
quras-official/quras-blockchain-csharp
Quras-cli/Consensus/ConsensusWithPolicy.cs
2,175
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using OdeToFood.Models; namespace OdeToFood.Controllers { public class ReviewsController : Controller { // // GET: /Reviews/ public ActionResult Index() { ...
21.782609
77
0.391218
[ "Apache-2.0" ]
mrwizard82d1/bawan-mvc4
OdeToFood/Controllers/ReviewsController.cs
3,008
C#
using Microsoft.Extensions.Configuration; using Nethereum.Microsoft.Configuration.Utils; namespace Nethereum.BlockchainStore.CosmosCore.Bootstrap { public static class ConfigurationExtensions { public static void SetCosmosAccessKey(this IConfigurationRoot appConfig, string cosmosAccessKey) { ...
33.285714
108
0.717597
[ "MIT" ]
Dave-Whiffin/Nethereum.BlockchainStorage
src/Nethereum.BlockchainStore.CosmosCore/Bootstrap/ConfigurationExtensions.cs
1,167
C#
/* * 2010 Sizing Servers Lab, affiliated with IT bachelor degree NMCT * University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en) * * Author(s): * Dieter Vandroemme */ using System; using System.Windows.Forms; namespace vApus.Util { /// <summary...
34.153846
109
0.628378
[ "MIT" ]
sizingservers/vApus
vApus.Util/Dialogs/ScheduleDialog.cs
1,334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Ptolemy { static class ArrayExtensions { public static double[] ScalarProduct(this double[] array, double scalar) { ...
29.306122
83
0.466342
[ "MIT" ]
Alex-Tremayne/Ptolemy
Ptolemy/Ptolemy/ArrayExtensions.cs
4,310
C#
using CodingChallenge.Models; using Microsoft.Extensions.Caching.Memory; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CodingChallenge.Services { public class ConfigService : IConfigService { private IMemoryCache _cache; public Conf...
24.953846
64
0.488903
[ "Unlicense" ]
AndrzejSiedy/CodingChallenge
Services/ConfigService.cs
1,624
C#
using UnityEngine; using UnityEngine.UI; namespace Engine.EGUI { /// <summary> /// Класс-шина для всплывающих сообщений/подсказок /// </summary> [ExecuteInEditMode] [RequireComponent(typeof(RectTransform))] [RequireComponent(typeof(VerticalLayoutGroup))] [RequireComponent(typeof(ContentSizeFitter))] public a...
20.071713
97
0.656411
[ "MIT" ]
vpcoder/7d1n
Assets/Packs/UnityAPI/sdon/Components/EGUI/UIHintMessage/Base/UIHintMessage.cs
5,794
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00022214", true, 0xE1FF)] [Attributes(9)] public class LteB24RxCalChan { [ElementsCount...
21.52381
60
0.612832
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/LteB24RxCalChanI.cs
452
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.Comol.Modules.EduPath.Domain { [Serializable] public class dtoActivityUser : IRuleElement { public long Id { get; set; } public Int64 UserCompletion { get; set; } public short Displ...
22.561404
93
0.630638
[ "MIT" ]
EdutechSRL/Adevico
3-Business/3-Modules/lm.Comol.Modules.EduPath/Domain/DTO/dtoActivityUser.cs
1,288
C#
using HexUN.Events; using UnityEngine; using UnityEngine.Events; namespace HexUN.UXUI { [System.Serializable] public class SSwipeDataUnityEventListener : UnityEvent<SSwipeData> { } [AddComponentMenu("HexUN/UX/Mobile/Events/SSwipeDataEventListener")] public class SSwipeDataEventListener : ScriptableO...
25.5625
130
0.789731
[ "MIT" ]
hexthedev/HexUN-UXUI
Runtime/Scripts/Mobile/SSwipeData.event/SSwipeDataEventListener.cs
409
C#
using System; using System.Diagnostics.Contracts; using DKW.OwnTracks.Client.Messages; using Marten; using Serilog; using uPLibrary.Networking.M2Mqtt; using uPLibrary.Networking.M2Mqtt.Messages; namespace DKW.OwnTracks.Client { public class Service : IDisposable { private readonly IDocumentStore _documentStore; ...
28.311828
116
0.700342
[ "MIT" ]
dougkwilson/DKW.OwnTracks.Client
DKW.OwnTracks.Client/Service.cs
2,635
C#
// Copyright (c) 2018 Alachisoft // // 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 ...
28.170455
96
0.557886
[ "Apache-2.0" ]
abayaz61/NCache
Src/NCCommon/Threading/ThrottlingManager.cs
2,481
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
36.069149
157
0.497714
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-NET-5.470
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Layout/ViewLayoutStack.cs
6,784
C#
using UnityEngine; using UnityEngine.UI; //make sure to add this using System.Collections; public static class Utility { public static void ShowCG(CanvasGroup cg) { cg.alpha = 1; cg.blocksRaycasts = true; cg.interactable = true; } public static void HideCG(Canvas...
20.818182
46
0.59607
[ "MIT" ]
kevin8667/The-Room-of-Alchemist
Assets/Scripts/DialogSystem/Utility.cs
458
C#
namespace BuckarooSdk.Services.Giftcards.HuisTuinGiftcard { public class HuisTuinGiftcardRefundResponse { } }
12.777778
57
0.817391
[ "MIT" ]
buckaroo-it/BuckarooSdk_DotNet
BuckarooSdk/Services/Giftcards/HuisTuinGiftcard/HuisTuinGiftcardRefundResponse.cs
115
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PersonViewModelWithModel.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // ---------------------...
32.148148
181
0.52477
[ "MIT" ]
gautamsi/Catel
src/Catel.Test/Catel.Test.NET40/Extensions/FluentValidation/ViewModels/PersonViewModelWithModel.cs
1,738
C#
using System.Collections.Generic; using CompResultPair = System.Tuple<Kelson.CSharp.Extensions.ComparableExtensions.Comparator<int>, bool>; using NUnit.Framework; namespace Kelson.CSharp.Extensions.Tests { [TestFixture] public class ComparableExtensionsTests { [Test] public void IsBetween_...
44.746667
149
0.506704
[ "MIT" ]
KelsonBall/KelsonBall.CSharp.Extensions
Kelson.CSharp.Extentions/Kelson.CSharp.Extensions.Tests/ComparableExtensionsTests.cs
6,714
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Xml; namespace SlnToCsv { class Program { static void Main(string[] args) { var fileEnding = "packages.config"; Console.ForegroundColor...
34.435294
116
0.522378
[ "MIT" ]
GixarIV/SlnToCsv
Source/Program.cs
5,854
C#
using System; using System.Web; using System.Configuration; using Neo4jClient; using Ninject.Modules; using Ninject.Activation; namespace PracticalNeo4j_DotNet.App_Start.Modules { public class Neo4jModule : NinjectModule { /// <summary>Loads the module into the kernel.</summary> public overrid...
27.285714
106
0.668848
[ "Apache-2.0" ]
dynamicdeploy/networkx
practical-neo4j-apress/practicalneo4j-dotnet-master/PracticalNeo4j-DotNet/App_Start/Modules/Neo4jModule.cs
766
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.477273
92
0.672632
[ "Apache-2.0" ]
Darkfaker/tencentcloud-sdk-dotnet
TencentCloud/Vpc/V20170312/Models/ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse.cs
1,421
C#
using System; namespace JetBrains.ReSharper.Plugins.FSharp.TypeProviders.Host { internal static class Program { public static void Main(string[] args) { AppDomain.CurrentDomain.AssemblyResolve += RiderPluginAssemblyResolver.Resolve; MainInternal(args); } private static void MainIntern...
20.892857
85
0.644444
[ "Apache-2.0" ]
JetBrains/fsharp-support
ReSharper.FSharp/src/FSharp.TypeProviders.Host/src/Program.cs
587
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
32.692308
106
0.516235
[ "MIT" ]
3quanfeng/azure-powershell
src/ResourceGraph/ResourceGraph.Autorest/generated/runtime/Serialization/SerializationOptions.cs
2,063
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReactiveUI.Routing.Core.Tests.Presentation { public class TestViewModel { } }
16.769231
52
0.761468
[ "MIT" ]
KallynGowdy/ReactiveUI.Routing
src/ReactiveUI.Routing.Core.Tests/Presentation/TestViewModel.cs
220
C#
/* Copyright (c) 2008-2012 by the President and Fellows of Harvard College. All rights reserved. Profiles Research Networking Software was developed under the supervision of Griffin M Weber, MD, PhD., and Harvard Catalyst: The Harvard Clinical and Translational Science Center, with support from the ...
45.626761
233
0.638987
[ "BSD-3-Clause" ]
CTSIatUCSF/ProfilesRNS
Website/SourceCode/Profiles/Profiles/ORNG/Modules/EditPersonalGadget/EditPersonalGadget.ascx.cs
6,481
C#
using System; using System.Collections.Generic; using System.Text; namespace SASEBO_Measure_Lecroy.CipherModule { //================================================================ CipherInterface public interface IBlockCipher { void open(); void close(); void setKey(byte[] key, i...
23.714286
86
0.528112
[ "MIT" ]
gs1989/AcquisitionProject
SASEBO_Measure_Lecroy/CipherModule/IBlockCipher.cs
500
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using Newtonsoft.Json; using Refit; namespace Cake.BrowserStack.Services { internal class JsonPart : ByteArrayPart { public JsonPart(string fileName, object value) : base(Serialize(value), fileName, "application/...
23.73913
109
0.663004
[ "MIT" ]
cake-contrib/Cake.BrowserStack
src/Cake.BrowserStack/Services/JsonPart.cs
548
C#
using System; using System.Collections.Generic; using System.Linq; using ProjectV.Models.Data; using SteamWebApiLib.Models.AppDetails; namespace ProjectV.SteamService.Mappers { public sealed class DataMapperSteamGame : IDataMapper<SteamApp, SteamGameInfo> { public DataMapperSteamGame() { ...
32.35
95
0.63524
[ "Apache-2.0" ]
Vasar007/FilmsEvaluator
ProjectV/Libraries/ExternalServices/ProjectV.SteamService/Mappers/DataMapperSteamGame.cs
1,296
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace ProjetoModeloDDD.MVC.Atributos { public static class T4Helpers { public static bool IsRequired(string viewDataTypeName, string propertyName) { ...
28.461538
139
0.640541
[ "MIT" ]
LeonardoVanelli/Gest-oSpaca
PrismaWEB.MVC/Helpers/Atributos/T4Helpers.cs
742
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using AddressLabelUtilityCli.Arguments; namespace AddressLabelUtilityCli.Helper { internal static class ArgumentHelper { private static readonly IReadOnlyCollection<Type> _argumentTypes = Assembly.GetExecutingA...
33.4
106
0.615436
[ "Apache-2.0" ]
koktoh/address-label-utility
address-label-utility-cli/Helper/ArgumentHelper.cs
1,505
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. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
40.47619
476
0.654412
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/Network/Management.Network/Generated/Models/ExpressRouteServiceProvider.cs
3,400
C#
/* INFINITY CODE 2013-2016 */ /* http://www.infinity-code.com */ using System; using UnityEngine; /// <summary> /// Instance of Billboard marker. /// </summary> [AddComponentMenu("")] public class OnlineMapsMarkerBillboard : OnlineMapsMarkerInstanceBase { /// <summary> /// Indicates whether to d...
28.627907
128
0.643379
[ "CC0-1.0" ]
VisualSweden/Mixed
Assets/Infinity Code/Online maps/Scripts/Markers/OnlineMapsMarkerBillboard.cs
2,464
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using SoftFx.FxCalendar.Database; using SoftFx.FxCalendar.Models; namespace SoftFx.FxCalendar.Storage { public abstract class BaseStorage<TModel, TEntity> : IStorage<TModel, TEntity> where TModel : INews, IModel<TEntity> w...
32
118
0.573358
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SoftFx/TTAlgo
src/csharp/lib/SoftFx.FxCalendar/Storage/BaseStorage.cs
3,778
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace Analogy.LogViewer.RSSReader.Core { [Serializable] public class RSSFeed : AbstractRSSFeed { #region Ctor public RSSFeed(st...
37.62987
175
0.44918
[ "MIT" ]
Analogy-LogViewer/Analogy.LogViewer.RSSReader
Analogy.LogViewer.RSSReader/Core/RSSFeed.cs
5,797
C#
class Motorcycle : Vehicle { public Motorcycle(int horsePowers, double fuel) : base(horsePowers, fuel) { } }
20
77
0.675
[ "MIT" ]
kaykayehnn/Uni
oop/2021-04-26/Vehicles/Motorcycle.cs
120
C#
using _InputTest.Entity.Scripts.Input.Monobehaviours.Commands; using UnityEngine; using UnityEngine.InputSystem; namespace _InputTest.Entity.Scripts.Input.Monobehaviours { public class CharacterInput : MonoBehaviour, IInteractInput, IMoveInput, IRotationInput, ISkillInput, IAttackInput { [Header("Inpu...
31.441558
118
0.597893
[ "MIT" ]
Kodeman010/Input-System-Strategy-Pattern
Version 2 - Attack System/Assets/_InputTest/Entity/Scripts/Input/Monobehaviours/CharacterInput.cs
4,844
C#
using System; using UnityEngine; public class KochSnowflakePattern : MonoBehaviour { public int numGenerations; public float forward; public int turn; public float startX; public float startY; public double startHeading; public float step; Vector3 pos; private RenderQueue word; ...
27.224
84
0.493682
[ "MIT" ]
anamendes23/KochSnowflake
Assets/Scripts/KochSnowflakePattern.cs
3,403
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 namespace Dnn.PersonaBar.SiteSettings.Services.Dto { using Newtonsoft.Json; public class UpdateOtherS...
29.16
72
0.673525
[ "MIT" ]
Andy9999/Dnn.Platform
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/DTO/SiteSettings/UpdateOtherSettingsRequest.cs
731
C#
using Shinden.API; using Shinden.Models.Initializers; namespace Shinden.Models.Entities { public class Relation : IRelation { public Relation(InitRelation Init) { Id = Init.Id; Title = Init.Title; StaffId = Init.StaffId; Language = Init.Language;...
30.804878
57
0.598575
[ "MIT" ]
MrZnake/Shinden.NET
src/Models/Entities/Relation.cs
1,265
C#
using System; namespace Main { class Program { static void Main(string[] args) { for(int i=1;i<20;i++){ if(i%15==0){ Console.WriteLine("FIZZ BUZZ"); }else if(i%3==0){ Console.WriteLine("FIZZ"); }...
22.173913
52
0.370588
[ "MIT" ]
Kadoshita/OnedayOnelanguage
C-Sharp/FizzBuzz.cs
510
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using System.IO; using Microsoft.WindowsAzure.Storage.Blob; // Namespace for Blob storage types // namespace AzureUpload.Runner { public class AzureBlobUpload { private sta...
22.263889
144
0.659389
[ "MIT" ]
snitkjaer/AzureUpload
AzureUploadLib/AzureBlobUpload.cs
1,609
C#
using System; using Apizr.Requesting; namespace Apizr.Mapping { /// <summary> /// Tells Apizr to auto register an <see cref="IApizrManager{ICrudApi}"/> for the referenced api entity /// and mapped to this decorated model entity (works only with IServiceCollection extensions registration) /// </summary...
52.757576
309
0.705342
[ "Apache-2.0" ]
Respawnsive/Apizr
Apizr/Apizr/Mapping/MappedCrudEntityAttribute.cs
1,743
C#
using System; using FluentAssertions; using Newtonsoft.Json; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Server.Messages; using Serializer = OmniSharp.Extensions....
31.035714
100
0.728423
[ "MIT" ]
Bia10/csharp-language-server-protocol
test/Lsp.Tests/Messages/UnknownErrorCodeTests.cs
869
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace OpenDart.Models { [XmlRoot("result")] public class ResAlotMatterResult { [XmlElement("status")] public string status { get; set; } // 에러 및 정보 코드 (※메시지 설명 참조) [XmlElement("message")] ...
33.736842
84
0.469579
[ "MIT" ]
heenf22/OpenDart
OpenDart/ResAlotMatterResult.cs
1,362
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
40.178571
93
0.764889
[ "MIT" ]
felixier/dotnet-windows
GUI_Tests/WebBrowserComponentTest/WebBrowserComponentWPF/Properties/AssemblyInfo.cs
2,253
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Azure.WebJobs.Script....
31.247059
123
0.622364
[ "Apache-2.0", "MIT" ]
AnatoliB/azure-functions-host
test/WebJobs.Script.Tests/HttpMiddleware/DefaultMiddlewarePipelineTests.cs
2,658
C#
namespace Cryptofolio.Infrastructure.Entities { /// <summary> /// Models a transaction of type "Transfer". /// </summary> public class TransferTransaction : Transaction { /// <summary> /// The source. /// </summary> public string Source { get; set; } /// <sum...
22.842105
50
0.536866
[ "MIT" ]
fperronnet/cryptofolio
src/Cryptofolio.Infrastructure/Entities/TransferTransaction.cs
434
C#
/******************************************************************************* * Copyright 2012-2019 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...
47.1475
281
0.585768
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/Connect/Basic/Get-CONNHoursOfOperationList-Cmdlet.cs
18,859
C#
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hclSceneDataSetupMeshSection : hkReferencedObject { public override uint Signature { get => 180466600; } public hclSceneDataSetupMesh m_setupMesh; public hkxMeshSe...
32.025
78
0.60968
[ "MIT" ]
SyllabusGames/DSMapStudio
HKX2/Autogen/hclSceneDataSetupMeshSection.cs
1,281
C#
using UnityEngine; using com.spacepuppy.Utils; namespace com.spacepuppy.Tween.Curves { [CustomMemberCurve(typeof(Vector2))] public class Vector2MemberCurve : MemberCurve, ISupportRedirectToMemberCurve { #region Fields private Vector2 _start; private Vector2 _end; privat...
26.891156
161
0.494561
[ "Unlicense" ]
dipique/spacepuppy-unity-framework-3.0
SPTween/Tween/Curves/Vector2MemberCurve.cs
3,955
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; namespace Tailwind.Traders.WebBff.Infrastructure { public class HttpClientAuthorizationDelegatingHandler ...
33
133
0.699301
[ "MIT" ]
NileshGule/TailwindTraders-Backend
Source/ApiGWs/Tailwind.Traders.WebBff/Infrastructure/HttpClientAuthorizationDelegatingHandler.cs
1,289
C#
using System; using System.Collections; using System.Collections.Generic; namespace DataProject4_Graphs { internal class Algorithms { private int minDistance(int[] dist, bool[] sptSet,int MAX) { int min = Int16.MaxValue, min_index=0; for (int v = 0; v < MAX; v++) ...
36
146
0.411897
[ "BSD-3-Clause" ]
tolgahanakgun/School-Projects
Data Structures/Project 4A - [C#]/Social Network/DS_Project4/Algorithms.cs
3,596
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; using tests.Clipping; using tests.FontTest; using tests.Extensions; using Box2D.TestBed; namespace tests { public class TestController : CCLayer { const int MENU_ITEM_Z_ORDER = 10000; static...
36.724215
134
0.53764
[ "MIT" ]
mhbsti/CocosSharp
tests/tests/classes/controller.cs
16,379
C#
// +build android // package android -- go2cs converted at 2020 October 09 05:45:46 UTC // import "cmd/go/internal/imports/testdata/android" ==> using android = go.cmd.go.@internal.imports.testdata.android_package // Original source: C:\Go\src\cmd\go\internal\imports\testdata\android\e.go using _e_ = go.e_package; ...
40.375
125
0.739938
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/go/internal/imports/testdata/android/e.cs
323
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Com.Nostra13.Universalimageloader.Core; using Windows.UI.Xaml.Media; namespace $ext_safeprojectname$...
24.386364
77
0.771668
[ "Apache-2.0" ]
ATHULBABYKURIAN/uno
src/SolutionTemplate/UnoSolutionTemplate/Droid/Main.cs
1,073
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.261 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
43.515625
178
0.612567
[ "MIT" ]
mind0n/hive
History/Samples/Winform/platform/Winform.Startup/Properties/Resources.Designer.cs
2,787
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace Blazui.Admin { [Resources] public enum AdminResources { [Description("更新角色")] UpdateRole, [Description("删除角色")] DeleteRole, [Description("更新用户")] Upda...
16.583333
33
0.569514
[ "MIT" ]
188867052/Element-Blazor
src/Admin/Admin/AdminResources.cs
663
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 ...
22.947368
66
0.69419
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-vpc/Vpc/Model/V20160428/AddIPv6TranslatorAclListEntryResponse.cs
1,308
C#
using Unity.Entities; namespace ArcCore.Gameplay.Components { public struct ArcColorID : ISharedComponentData { /// <summary> /// The colorId of this arc /// </summary> public int id; public ArcColorID(int id) { this.id = id; } } }
17.444444
51
0.531847
[ "MIT" ]
0thElement/ArcCore
Assets/Scripts/Gameplay/Components/Instance/ArcColorID.cs
314
C#
using ObjCRuntime; namespace Toggl.iOS.Intents { [Native] public enum ContinueTimerIntentResponseCode : long { Unspecified = 0, Ready, ContinueInApp, InProgress, Success, Failure, FailureRequiringAppLaunch, FailureNoApiToken = 100, SuccessWithEntryDescription } [Native] public enum ShowReportI...
15.782178
61
0.729611
[ "BSD-3-Clause" ]
moljac/mobileapp
Toggl.iOS.IntentBinding/StructsAndEnums.cs
1,594
C#
using System.Collections.Generic; namespace Engine { public class Quest { public int ID { get; set; } public string Name { get; set; } public string Description { get; set; } public List<QuestCompletionItem> QuestCompletionItems { get; set; } public int RewardExperiencePoints { get; set; } public int Re...
28.058824
99
0.68239
[ "MIT" ]
Kingsmai/bug-fac-bugventure
Engine/Quest.cs
996
C#
// ------------------------------------------------------------------------------ // <copyright file="CodeNamespaceCollection.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ------------------------------------------------------------------------------ ...
46.324503
177
0.549964
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/compmod/system/codedom/codenamespacecollection.cs
6,995
C#
// Copyright (c) Microsoft. 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.IO; using System.Linq; using StarkPlatform.CodeAnalysis.CommandLine; namespace StarkPlatform.CodeAnalysis.Stark.CommandLine { ...
43.814815
161
0.733728
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/Compilers/Shared/Skc.cs
1,185
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Media; using WBrush = Microsoft.UI.Xaml.Media.Brush; using WVisualStateManager = Microsoft.UI.Xaml.VisualStateManager; using WVisualStateGroup = Microsoft.UI.Xaml.VisualS...
31.696113
244
0.73456
[ "MIT" ]
gilnicki/maui-linux
src/Compatibility/Core/src/Windows/StepperControl.cs
8,970
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using Microsoft.Extensions.Logging; using Microsoft.Quantum.Qir.Runtime.Tools.Driver; #nullable enable namespace ...
42.77193
123
0.668581
[ "MIT" ]
matuhinal/qsharp-runtime
src/Qir/Tools/Executable/QirFullStateExecutable.cs
2,440
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using beaverNet.POS.WebApp.Models; namespace beaverNet.POS.WebApp.Controllers { public class HomeController : Controller ...
24.710526
112
0.643237
[ "MIT" ]
JulioMelchorPinto/beaverNet.POS
beaverNet.POS.WebApp/Controllers/HomeController.cs
941
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics.CodeAnalysis; namespace Microsoft.VisualStudio.ProjectSystem { [ExcludeFromCodeCoverage] [SuppressMessage("Style", "IDE0016...
31.769231
161
0.757869
[ "Apache-2.0" ]
M-Lipin/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Rules/ResolvedProjectReference.cs
415
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Windows.Forms; using ASCompletion.Completion; using ASCompletion.Context; using ASCompletion.Model; using CodeRefactor.Commands; using CodeRefact...
47.365651
167
0.576788
[ "MIT" ]
R32/flashdevelop
External/Plugins/CodeRefactor/PluginMain.cs
33,477
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 Microsoft.EntityFrameworkCore.ChangeTracking; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore....
42.347594
166
0.664225
[ "Apache-2.0" ]
EricStG/efcore
test/EFCore.InMemory.FunctionalTests/GraphUpdates/ProxyGraphUpdatesInMemoryTest.cs
7,921
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using Gear.Domain.AppEntities; using Gear.Domain.Infrastructure; using Gear.Domain.PmEntities.Enums; using MediatR; using Microsoft.EntityFrameworkCore; namespace Gear.ProjectManagement.Manager.Domain.Projects.Queries.GetProjectMembers { pub...
37.930233
131
0.653587
[ "MIT" ]
indrivo/bizon360_pm
IndrivoPM/Gear.ProjectManagement.Application/Domain/Projects/Queries/GetProjectMembers/GetProjectMembersQueryHandler.cs
1,633
C#
namespace Tokens.Operators { /// <summary> /// Defines an operation that can be performed on a token /// </summary> public interface ITokenOperator { /// <summary> /// Performs the operation on the specified value. /// </summary> /// <param name="function"></param> ...
29.5
69
0.572505
[ "MIT" ]
BerndK/tokenizer
Tokenizer/Operators/ITokenOperator.cs
533
C#
// This file is provided under The MIT License as part of Steamworks.NET. // Copyright (c) 2013-2015 Riley Labrecque // Please see the included LICENSE.txt for additional information. // This file is automatically generated. // Changes to this file will be reverted when you update Steamworks.NET namespace Steamworks ...
34.5
89
0.657971
[ "MIT" ]
KingBranBran/Time-Signatures
Assets/Editor/Steamworks.NET/autogen/isteamvideo.cs
1,035
C#
using IM.Lib.Descriptor.LocalPatternDescriptor.NeighborTopo; using IM.Lib.Descriptor.LocalPatternDescriptor.LocalPatternImage; // Reference: // D. Kim, J. Jung, T. T. Nguyen, D. Kim, M. Kim, K. H. Kwon, J. W. Jeon, "An FPGA-based Parallel Hardware Architecture for Real-time Eye Detection," // J. Semico...
40.185185
150
0.651613
[ "MIT" ]
ntthuy11/ImageDescriptorsExtraction_CSharp
LocalPatternDescriptor/LocalPattern/ModifiedLocalPattern/ModifiedLBP.cs
1,087
C#
using System; using Alipay.AopSdk.Domain; using System.Collections.Generic; using Alipay.AopSdk.Response; namespace Alipay.AopSdk.Request { /// <summary> /// AOP API: alipay.data.dataservice.userlevel.zrank.get /// </summary> public class AlipayDataDataserviceUserlevelZrankGetRequest : IAopRequest<Alip...
24.954545
124
0.622222
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Request/AlipayDataDataserviceUserlevelZrankGetRequest.cs
2,863
C#
using System; using System.Net; using System.Security.Cryptography.X509Certificates; using RestSharp; using certdognet.model; using CredentialManagement; using System.Collections.Generic; namespace certdognet { public class Certdog { public static String CERTDOGCREDS = "CERTDOGCREDS"; #region ...
46.479452
217
0.616932
[ "BSD-2-Clause" ]
krestfield/certdog-dotnet-client
Certdog.cs
13,574
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing; using Abp.MultiTenancy; using Abp.Timing; namespace Abp.Authorization.Users { /// <summary> /// Used to save a login attempt of a user. ...
32.05102
101
0.592486
[ "MIT" ]
12321/aspnetboilerplate
src/Abp.Zero.Common/Authorization/Users/UserLoginAttempt.cs
3,143
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ocidl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
37.211538
145
0.638243
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/ocidl/IEnumOleUndoUnitsTests.cs
1,937
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
37.082353
211
0.629124
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Compute/Outputs/WindowsVirtualMachineScaleSetDataDisk.cs
3,152
C#
#region License // ================================================================================================= // Copyright 2018 DataArt, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // ...
37.432432
100
0.574007
[ "Apache-2.0" ]
DamirAinullin/Atlas
core/Configuration/DataArt.Atlas.Configuration/IConfigurationClient.cs
1,385
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using Newtonsoft.Json; namespace reCAPTCHA.AspNetCore { public class RecaptchaSe...
39.907895
168
0.659083
[ "MIT" ]
BionStt/reCAPTCHA.AspNetCore
reCAPTCHA.AspNetCore/RecaptchaService.cs
3,035
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Podler.Responses { public class AddComicResponse : IResponse { public bool IsSuccess { get; } public string Message { get; } public AddComicResponse(bool isSuccess, string messag...
20.85
63
0.633094
[ "MIT" ]
icegabriel/podler
src/Podler/Responses/AddComicResponse.cs
419
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...
47.818182
88
0.63346
[ "MIT" ]
BogdanDimov/HQC-2-HW
Topics/05. Development-Tools/demos/CodeGenerator.Example/Entities.Context.cs
2,632
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210 { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; /// <summary>E2A Network Mapping fabric specific settings.</summary> public partial class VmmToAzureNetworkMappingSettings : Microsoft.Azure.Po...
67.581818
490
0.764595
[ "MIT" ]
AverageDesigner/azure-powershell
src/Migrate/generated/api/Models/Api20210210/VmmToAzureNetworkMappingSettings.cs
3,663
C#
//namespace Web.Middleware //{ // using System; // using Microsoft.AspNetCore.Mvc; // using Microsoft.AspNetCore.Mvc.Filters; // using Microsoft.AspNetCore.Mvc.ModelBinding; // using Microsoft.AspNetCore.Mvc.ViewFeatures; // public class CustomExceptionFilter : ExceptionFilterAttribute // { // public override void O...
27.622642
99
0.663934
[ "MIT" ]
bMedarski/BettingWebApp
Web/Middleware/CustomExceptionFilter.cs
1,466
C#
using Assets.scripts; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameController : MonoBehaviour { private const int NUM_COLS = 4; private const int NUM_ROWS = 4; public GameObject plugPrefab; public GameObject callPanelPrefab; public GameObject commandPanel; ...
31.491304
126
0.595886
[ "MIT" ]
saaqibz/SmoothOperator
Assets/scripts/GameController.cs
7,245
C#
using System.Runtime.Serialization; namespace Signicat.Express.Notification { public enum DeliveryLogging { [EnumMember(Value = "never")] Never = 0, [EnumMember(Value = "failed")] Failed = 1, [EnumMember(Value = "always")] Always = 2 } }
19.75
39
0.550633
[ "Apache-2.0" ]
Signereno/idfy-sdk-net
src/Signicat.Express.SDK/Services/Notification/Entities/DeliveryLogging.cs
316
C#
using System; using System.Runtime.CompilerServices; using StirlingLabs.Utilities; namespace BigBuffers { public sealed class UnsafeByteSpanManager : ByteBufferManager { private byte[] _buffer; private unsafe void* _spanPtr; private nuint _spanSize; private bool _isFixedSize; internal unsafe U...
26.985507
94
0.664876
[ "Apache-2.0" ]
StirlingLabs/BigBuffers
net/BigBuffers.Runtime/UnsafeByteSpanManager.cs
1,862
C#
using System; using System.Collections.Generic; using System.Text; using RAGE; using System.Threading.Tasks; namespace main_client.Player.Character { /*class Vehicule : Events.Script { public Vehicule() { /*Events.Add("OpenDoor", openDoor); //Events.Add...
48.805405
741
0.576254
[ "MIT" ]
Stolym/RAGEMP
Server/server-files/server-files/client_workspace/main_client/Player/Character/Vehicule.cs
9,031
C#
using NUnit.Framework; using Wikiled.Text.Analysis.Dictionary; namespace Wikiled.Text.Analysis.Tests.Dictionary { [TestFixture] public class BasicEnglishDictionaryTests { [Test] public void Test() { var instance = new BasicEnglishDictionary(); var data = ins...
25.95
58
0.618497
[ "MIT" ]
AndMu/Wikiled.Text.Analysis
src/Wikiled.Text.Analysis.Tests/Dictionary/BasicEnglishDictionaryTests.cs
521
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PackageBuilder.Models { public class CodePackage { public string Code { get; set; } public byte[] OutputBinary { get; set; } } }
17.8
48
0.677903
[ "MIT" ]
tenor/CSharpAWSLambdaFunctions
src/PackageBuilder/Models/CodePackage.cs
269
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Cofoundry.Domain.Data; using Microsoft.AspNetCore.Identity; namespace Cofoundry.Domain.Internal { /// <summary> /// Shared user authentication methods /// </summary> public class UserAuthenticationHe...
33.77551
148
0.67855
[ "MIT" ]
aTiKhan/cofoundry
src/Cofoundry.Domain/Domain/Users/Helpers/UserAuthenticationHelper.cs
1,657
C#
// Copyright 2021-2022 The SeedV Lab. // // 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 ...
36.289855
93
0.702276
[ "Apache-2.0" ]
SeedV/SeedLang
csharp/tests/SeedLang.Tests/Visualization/VisualizerCenterTests.cs
5,008
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("WP...
38.027778
84
0.751644
[ "MIT" ]
AKJ1/Code4Bulgaria
Frontend/libs/phone-gap/windows-phone/wp8/framework/Properties/AssemblyInfo.cs
1,371
C#
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenHardwareMonitor; using OpenHardwareMonitor.Hardware; namespace Echo { public class SystemMonitor { public static SystemMonitor Instance = new SystemMonitor(); priva...
28.980952
522
0.469602
[ "Apache-2.0" ]
edwin-jones/Echo
Echo/SystemMonitor.cs
6,088
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Net; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace MijnSauna.Backend.Api { [ExcludeFromCodeCoverage] public class Program { public static void Main(string[] args) { var certifi...
40.925
126
0.565669
[ "Unlicense" ]
Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020
mijnsauna/MijnSauna.Backend.Api/Program.cs
1,639
C#
// // Copyright (c) Seal Report, Eric Pfirsch (sealreport@gmail.com), http://www.sealreport.org. // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0.. // using System; using System.Collections.Gen...
48.329491
350
0.527082
[ "Apache-2.0" ]
2644783865/Seal-Report
Projects/SealLibrary/Helpers/TreeViewEditorHelper.cs
50,313
C#
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using MirrorSharp.Testing; using Newtonsoft.Json.Linq; using Xunit; using Xunit.Abstractions; using SharpLab.Server.Common; using SharpLab.Tests.Internal; namespace SharpLab.Tests { public class DecompilationTe...
50.251337
175
0.655848
[ "BSD-2-Clause" ]
Youssef1313/SharpLab
source/NetFramework/Tests/DecompilationTests.cs
9,397
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using Microsoft.Maui.Controls.Internals; namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.GalleryPages.CollectionViewGalleries.GroupingGalleries { [Preserve(AllMembers = true)] class Team : List<Member> { public Team(string nam...
21.084112
117
0.600842
[ "MIT" ]
10088/maui
src/Compatibility/ControlGallery/src/Core/GalleryPages/CollectionViewGalleries/GroupingGalleries/ViewModel.cs
4,514
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" ]
vesko24/MyRepository-VZ
ListSortNumbers/ListSortNumbers/Properties/AssemblyInfo.cs
1,414
C#
using System.Web.Mvc; namespace DevOpsPortal { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
21.416667
81
0.622568
[ "MIT" ]
alexhaynes32/DevOpsPortal
DevOpsPortal/App_Start/FilterConfig.cs
259
C#
using System.Runtime.CompilerServices; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace NHSCovidPassVerifier.Views.Elements { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MenuItem : Grid { public MenuItem() { Initial...
30.833333
119
0.621622
[ "MIT" ]
0x00null/covid-pass-verifier
NHSCovidPassVerifier/Views/Elements/MenuItem.xaml.cs
1,482
C#