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
// <auto-generated/> // Contents of: hl7.fhir.r5.core version: 4.4.0 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using Hl7.Fhir.Introspection; using Hl7.Fhir.Serialization; using Hl7.Fhir.Specification; using Hl7.Fhir.Utility; using Hl7.Fhir.Validation; /* ...
33.597701
119
0.716387
[ "MIT" ]
Vermonster/fhir-codegen
generated/CSharpFirely1_R5/Generated/PositiveInt.cs
2,923
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("ada...
37.277778
84
0.749627
[ "Apache-2.0" ]
kaevans/adal-angular-mvc
adalMVC/Properties/AssemblyInfo.cs
1,345
C#
// Copyright (c) 2014-2015 Robert Rouhani <robert.rouhani@gmail.com> and other contributors (see CONTRIBUTORS file). // Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE using System; using NUnit.Framework; using SharpNav; using SharpNav.Geometry; #if MONOGAME using Vector3 ...
23
116
0.660573
[ "MIT" ]
AngelKyriako/SharpNav
Source/SharpNav.Tests/Geometry/IntersectionTests.cs
2,024
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace PuntoDeVenta { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Configuración y servicios de API web // Rutas de API web ...
23.64
62
0.580372
[ "MIT" ]
DesarrolloProsis/PuntoDeVenta
PuntoDeVenta/App_Start/WebApiConfig.cs
594
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; using Xamarin.Forms.Xaml; // TODO #12 : add XamlCompilation attribute [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace Calculator { public class App : Application { public ...
20.128205
59
0.57707
[ "MIT" ]
Loryleen/Xamarin-University
Xamarin.Forms/XAM130-XAML/Exercise1/Calculator/Calculator/App.cs
787
C#
using System; namespace Lykke.Service.OperationsCache.Client { public class OperationsCacheServiceClientSettings { public string ServiceUrl {get; set;} } }
19.777778
54
0.719101
[ "MIT" ]
LykkeCity/Lykke.Service.OperationsCache
client/Lykke.Service.OperationsCache.Client/OperationsCacheServiceClientSettings.cs
178
C#
using AReport.Support.Entity; using AReport.Support.Interface; using System.Collections.ObjectModel; using AReport.DAL.Reader; using AReport.DAL.Writer; using System; namespace AReport.DAL.Data { public class UsuarioData : ICollectionRead<Usuario>, ICollectionWrite<Usuario> { public Collect...
27.396226
91
0.62741
[ "MIT" ]
aamartin2k/AReporte
ARDAL/Data/UsuarioData.cs
1,454
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using MyXamarinApp.Models; using MyXamarinApp.Views; using MyXamarinApp.ViewModels; namespace MyXamarinApp.Views { // Lea...
26.927273
90
0.64551
[ "MIT" ]
CNILearn/xamarinworkshopoct2019
day2/MyXamarinApp/MyXamarinApp/MyXamarinApp/Views/ItemsPage.xaml.cs
1,483
C#
namespace Atata.Tests { using _ = DragAndDropPage; [Url("DragAndDrop.html")] public class DragAndDropPage : Page<_> { [FindById] public ItemsControl<DragItem, _> DropContainer { get; private set; } [FindById] public ItemsControl<DragItem, _> DragItems { get; ...
24.714286
77
0.583815
[ "Apache-2.0" ]
Artemyj/atata
src/Atata.Tests/Components/DragAndDropPage.cs
521
C#
namespace TcecEvaluationBot.ConsoleUI.Services { using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Sockets; using System.Text; using System.Threading; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using TcecEvaluati...
36.315789
123
0.673188
[ "MIT" ]
NikolayIT/TcecEvaluationBot
src/TcecEvaluationBot.ConsoleUI/Services/Models/ChessPosDb/DatabaseImportStats.cs
1,382
C#
namespace Grasews.Infra.Data.EF.SqlServer.Contexts { using System; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; public partial class Model1 : DbContext { public Model1() : base("name=Model1") { } pu...
39.9375
82
0.552556
[ "MIT" ]
mlcalache/grasews
Grasews.Infra.Data.EF.SqlServer/Contexts/Model1.cs
7,668
C#
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ // ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // -----------...
36.735849
106
0.60452
[ "Apache-2.0" ]
FrankyBoy/elasticsearch-net
src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Sql.cs
2,393
C#
namespace ml_abp { static class Utils { public static float QuadraticEaseOut(float p_value) { return (1f - UnityEngine.Mathf.Pow(1f - p_value, 2f)); } // VRChat related static VRC.UI.Elements.QuickMenu ms_quickMenu = null; public static VRC.Player Ge...
44.086957
173
0.623603
[ "MIT" ]
Natedog1423/ml_mods
ml_abp/Utils.cs
3,044
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace InterviewWebApplication { public partial class SiteMaster : MasterPage { protected void Page_Load(object sender, EventArgs e) { } } ...
18.882353
60
0.70405
[ "MIT" ]
lhesnadeemshaikh/InterviewWebAppDotNet
InterviewWebApplication/InterviewWebApplication/Site.Master.cs
323
C#
using System.Collections.Generic; namespace ScriptTester { public class CrawledURL { public string Url { get; set; } public bool IsChecked { get; set; } public List<string> FoundKeywords { get; private set; } public CrawledURL(string url, bool isChecked) { ...
27
85
0.527233
[ "MIT" ]
dommyrock/ScaperSelenium
ScriptTester/ScriptTester/CrawledURL.cs
920
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("Sn...
37.594595
84
0.744069
[ "MIT" ]
SALTx/SnakeGame
SnakeGame/Properties/AssemblyInfo.cs
1,394
C#
using System; using System.Collections.Generic; using UnityEngine; namespace Drags { public class ConnectionChecker : MonoBehaviour { //[SerializeField] private GameObject[] cylinders; [SerializeField] private GameObject cube; [SerializeField] private DragLimiter dragLimiter; ...
26.697248
119
0.527491
[ "Unlicense" ]
ProjectS2O2O/Spring-Climber
Assets/Scripts/Drags/ConnectionChecker.cs
2,912
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// AntMerchantExpandItemOpenDeleteModel Data Structure. /// </summary> public class AntMerchantExpandItemOpenDeleteModel : AlipayObject { /// <summary> /// 商品ID /// </summary> ...
23.882353
68
0.625616
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/AntMerchantExpandItemOpenDeleteModel.cs
412
C#
namespace Pulstar.Web.Models.AccountViewModels { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; public class ResetPasswordViewModel { [Required] [EmailAddress] public stri...
30.678571
125
0.644936
[ "MIT" ]
Domin1k/Pulstar
src/Pulstar.Web/Models/AccountViewModels/ResetPasswordViewModel.cs
861
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"); yo...
36.217391
139
0.653061
[ "Apache-2.0" ]
Gyeongin/incubator-reef
lang/cs/Org.Apache.REEF.Common/Tasks/TaskMessage.cs
2,501
C#
/* This file is part of PacketDotNet PacketDotNet 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 3 of the License, or (at your option) any later version. PacketDotNet is distributed in the...
27.805556
75
0.709291
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
LibSource/PacketDotNet/SessionPacket.cs
1,001
C#
namespace ApexSharpDemo.ApexCode { using Apex; using Apex.ApexSharp; using Apex.ApexSharp.ApexAttributes; using Apex.ApexSharp.Extensions; using Apex.System; using SObjects; [WithSharing] public class Collections { public List<string> StringList = new List<string>{"one", "tw...
29.969231
117
0.514374
[ "MIT" ]
apexsharp/apexparser
ApexSharp.ApexParser.Tests/ApexRoundtrip/Collections_CSharp.cs
1,948
C#
 namespace Catstagram.Server.Controllers { using Microsoft.AspNetCore.Mvc; [ApiController] [Route("api/[controller]")] public abstract class ApiBaseController : ControllerBase { } }
17.333333
60
0.692308
[ "MIT" ]
RivaIvanova/Catstagram
Catstagram.Server/Catstagram.Server/Controllers/ApiBaseController.cs
210
C#
using System; namespace _2231 { class Program { static void Main(string[] args) { int num = int.Parse(Console.ReadLine()); int sum; int part; for (int i = 1; i < num; i++) { sum = i; part = i; ...
20.484848
52
0.301775
[ "MIT" ]
VontineDev/repos
CSharp/2231/Program.cs
678
C#
using System; using Xunit; namespace BeckonedPath.Testing.Library { public class UnitTest1 { [Fact] public void Test1() { } } }
11.6
38
0.545977
[ "MIT" ]
bezp/playRepo
test/BeckonedPath.Testing.Library/UnitTest1.cs
174
C#
using CuraManager.Models; namespace CuraManager.Services; public interface ICachingService { MetadataCache LoadCache(string printsPath); void UpdateCache(MetadataCache cache); }
18.9
47
0.798942
[ "MIT" ]
MaSch0212/cura-manager
src/CuraManager/Services/_Interfaces/ICachingService.cs
191
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("u2...
37.918919
84
0.744833
[ "MIT" ]
baffled/bookstore
clients/u2_books_cs_u2toolkit/u2_books.shared/Properties/AssemblyInfo.cs
1,406
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.Collections.Generic...
35.211712
123
0.481643
[ "MIT" ]
benjamin-bader/corefx
src/System.Data.SqlClient/src/System/Data/SqlClient/TdsParserSessionPool.cs
7,817
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Threading; using System.Windows.Data; using System.Windows.Threading; using ACT.UltraScouter.Common; using ACT.UltraScouter.Config; using ACT.UltraScouter.Models; ...
30.660448
127
0.461239
[ "BSD-3-Clause" ]
Noisyfox/ACT.Hojoring
source/ACT.UltraScouter/ACT.UltraScouter.Core/ViewModels/TacticalRadarViewModel.cs
8,279
C#
using System; class PrintCompanyInformation { static void Main() { Console.Write("Company name: "); string companyName = Console.ReadLine(); Console.Write("Company address: "); string companyAddress = Console.ReadLine(); Console.Write("Company Phone: "); ulong c...
44.96875
107
0.599722
[ "MIT" ]
beBoss/SoftUni
SoftUni-CSharp/Console Input Output Homework/2. Print Company Information/PrintCompanyInformation.cs
1,441
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CameraController : MonoBehaviour { public Camera headViewCam; public GameObject target; public Button actionerSwapCam; private Camera topViewCam; // Start is called before the fir...
21.578947
82
0.676829
[ "MIT" ]
gilcoder/AI4U
serverside/unityversion/baseline/ext/EmoBoy/Scripts/CameraController.cs
822
C#
using System; using System.Diagnostics.CodeAnalysis; using Armature; using Armature.Core; using Armature.Core.Sdk; using FluentAssertions; using NUnit.Framework; namespace Tests.Functional { public class AutowiringTest { [Test] public void should_inject_registered_values() { const string expecte...
25.061224
128
0.588762
[ "Apache-2.0" ]
Ed-ward/Armature
tests/Tests/src/Functional/AutowiringTest.cs
4,914
C#
using System; using System.IO; using PRISM.Logging; using PRISM; namespace DeconTools.Backend.Utilities.IqLogger { public static class IqLogger { static IqLogger() { Log = new FileLogger { LogLevel = BaseLogger.LogLevels.INFO }; ...
31.628099
123
0.536713
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/DeconTools
DeconTools.Backend/Utilities/IqLogger/IqLogger.cs
3,827
C#
namespace SharedModel.Payloads.Requests { public record CreateGroupDtoRequest(string GroupName, string? Description); }
25
79
0.808
[ "MIT" ]
returner/asp-net-core-jwt-identity
SharedModel/Payloads/Requests/CreateGroupDtoRequest.cs
127
C#
using AutoMapper; using EPlast.BLL.DTO; using EPlast.BLL.DTO.UserProfiles; using EPlast.BLL.Interfaces.AzureStorage; using EPlast.BLL.Interfaces.UserProfiles; using EPlast.BLL.Services.Interfaces; using EPlast.BLL.Services.UserProfiles; using EPlast.DataAccess.Entities; using EPlast.DataAccess.Repositories; using Micr...
45.67907
235
0.576112
[ "MIT" ]
gatalyak/EPlast
EPlast/EPlast.XUnitTest/Services/UserArea/UserServiceTests.cs
9,946
C#
using System; using System.IO; namespace KugelmatikLibrary.Protocol { public struct PacketStepper : IPacket { public PacketType Type { get { return PacketType.Stepper; } } public StepperPosition Position; public ushort Height; public byte WaitTime; ...
25
84
0.56
[ "MIT" ]
henrik1235/Kugelmatik
KugelmatikLibrary/Protocol/PacketStepper.cs
1,127
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using UnityEngine; namespace Unity.Entities.Tests { class ComponentDataWrapper_UnitTests { static bool IsSubclassOfOpenGenericType(Type type, Type genericType) { if (...
38.295775
112
0.58367
[ "MIT" ]
1978mountain/UnityMMO
Packages/com.unity.entities/Unity.Entities.Hybrid.Tests/ComponentDataWrapper_UnitTests.cs
2,721
C#
namespace LearningSystem.Web.Controllers { using LearningSystem.Data.Models; using LearningSystem.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; [Authorize] public class UsersControl...
26.611111
81
0.618998
[ "MIT" ]
ivanrk/Learning-System
LearningSystem.Web/Controllers/UsersController.cs
960
C#
using System; using System.Linq; using Common.Commands; using Common.Constants; using Common.Extensions; using Common.Interfaces; using Common.Interfaces.Handlers; using Common.Structs; namespace Beta_3592.Handlers { public class CharHandler : ICharHandler { public void HandleCharCreate(ref IPacketRea...
37.296296
150
0.569265
[ "MIT" ]
Ghaster/AIO-Sandbox
Plugins/Beta_3592/Handlers/CharHandler.cs
8,058
C#
using RateIt.Model; using RateIt.Repositories.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RateIt.Repositories.Repositories { public class UserRatingsRepository : BaseRepository, IRepository<UserRating> { pub...
24.659574
87
0.627265
[ "MIT" ]
morality-admin/morality.network
Back end Prototype/RateIt.Repositories/Repositories/UserRatingsRepository.cs
1,161
C#
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNetCore.Components.Web; using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using System.Timers; namespace Blazor...
31.936404
130
0.521115
[ "MIT" ]
foundation29org/Dx29.Web
src/Dx29.Web.UI/Components/Typeahead/BlazoredTypeahead.razor.cs
14,563
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.Metadata; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Http.HttpResults; /// <...
36.111111
132
0.70022
[ "MIT" ]
Akarachudra/kontur-aspnetcore-fork
src/Http/Http.Results/src/OkOfT.cs
2,275
C#
using System; using System.IO; using ClickHouse.Ado.Impl.Data; using K4os.Compression.LZ4; using K4os.Compression.LZ4.Streams; namespace ClickHouse.Ado.Impl.Compress { internal class Lz4Compressor : HashingCompressor { private static readonly byte[] Header = {0x82}; private readonly bool _useHc; ...
38.366667
115
0.612511
[ "MIT" ]
ili/ClickHouse-Net
ClickHouse.Ado/Impl/Compress/Lz4Compressor.cs
2,304
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace AutoRest.Core.Extensibility { /// <summary> /// In-memory representat...
40.65625
143
0.68947
[ "MIT" ]
DiogenesPolanco/autorest
src/core/AutoRest.Core/Extensibility/AutoRestConfiguration.cs
1,303
C#
/* * Swaggy Jenkins * * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.T...
41.169811
619
0.547281
[ "MIT" ]
cliffano/jenkins-api-clients-generator
clients/csharp/generated/src/Org.OpenAPITools/Model/BranchImpl.cs
13,092
C#
using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using PoESkillTree.Utils; using PoESkillTree.Localization; using PoESkillTree.Model; using PoESkillTree.Model.Serialization; namespace PoESkillTree.ViewModels.Builds { /// <summary> /// Used to validate build names and to de...
38.888889
119
0.575195
[ "MIT" ]
BlazesRus/PoESkillTree
WPFSKillTree/ViewModels/Builds/BuildValidator.cs
7,505
C#
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.StateMachine)] [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] [Tooltip("Set the value of an Integer Variable in another FSM.")] publ...
22.785714
78
0.603224
[ "Apache-2.0" ]
Drestat/ARfun
ARfun/Assets/PlayMaker/Actions/SetFsmInt.cs
2,233
C#
using System; using System.Diagnostics; using System.Resources; using System.Windows; using System.Windows.Markup; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using AudioPlay.WinPhone.Resources; namespace AudioPlay.WinPhone { public partial class App : Application {...
33.741071
115
0.73538
[ "MIT" ]
Samples-Playgrounds/Samples.Xamarin.Forms
samples/tutorial/Expert-01-PlatformSpecific/DependencyService/Audio/AudioPlayer/AudioPlayer.WinPhone/App.xaml.cs
7,560
C#
using System; namespace Chap02.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
17.083333
70
0.658537
[ "MIT" ]
wagnerhsu/Mastering-Bootstrap-4-Second-Edition
MyCode/02/Chap02/Models/ErrorViewModel.cs
205
C#
using System; using System.Collections; using System.Collections.Generic; using Legacy.Core.Api; using Legacy.Core.Entities.Items; using Legacy.Core.PartyManagement; using Legacy.Core.StaticData; using Legacy.Core.StaticData.Items; using Legacy.Game.MMGUI; using UnityEngine; using Object = System.Object; namespace Le...
29.966825
111
0.71833
[ "MIT" ]
Albeoris/MMXLegacy
Legacy.Game/Game/Cheats/CheatsItems.cs
6,325
C#
using ARKBreedingStats.Library; using ARKBreedingStats.species; using ARKBreedingStats.values; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace ARKBreedingStats.oldLibraryFormat { /// <summary> /// This class provides methods to convert old file-formats ...
44.227891
253
0.537568
[ "MIT" ]
Leyrix/ARKStatsExtractor
ARKBreedingStats/oldLibraryFormat/FormatConverter.cs
13,005
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; namespace Abp.VueDemo.Authentication.JwtBearer { public static class JwtTokenMiddleware { public static IApplicationBuilder UseJwtTokenMiddleware(this IApplicationBuilder...
31.703704
149
0.568925
[ "MIT" ]
freeradius-xx/Abp.VueDemo
aspnet-core/src/Abp.VueDemo.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs
858
C#
using FluentAssertions; using FluentAssertions.Common; using Microsoft.Reactive.Testing; using System; using System.Collections.Immutable; using System.Reactive; using System.Reactive.Linq; using Xunit; using static Microsoft.Reactive.Testing.ReactiveTest; using static Rx.Test.ImmutableDictionaryExtensions; namespace...
40.41791
106
0.518833
[ "MIT" ]
johannesegger/Rx-WPF-Sample
Rx.Test/LunchTest.cs
2,710
C#
#pragma checksum "/home/daniel/Projects/AccountManager/AccountManager/Views/Home/NewAccount.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8eda10a35b0096539d443a17f631f01f342de095" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeo...
79.009662
350
0.75775
[ "MIT" ]
moorthidaniel/Account-Manager
obj/Debug/net5.0/Razor/Views/Home/NewAccount.cshtml.g.cs
16,355
C#
using NUnit.Framework; using System; using akarnokd.reactive_extensions; namespace akarnokd.reactive_extensions_test.single { [TestFixture] public class SingleDoTest { [Test] public void OnSuccess_Basic() { var count = 0; SingleSource.Just(1) ...
25.653021
85
0.43503
[ "Apache-2.0" ]
akarnokd/reactive-extensions
reactive-extensions-test/single/SingleDoTest.cs
13,162
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...
33.75
114
0.657037
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/StorageGateway/Generated/Model/Internal/MarshallTransformations/NFSFileShareDefaultsMarshaller.cs
2,700
C#
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using DFC.Integration.AVFeed.Data.Interfaces; using Newtonsoft.Json; namespace DFC.Integration.AVFeed.Repository.Sitefinity { public class SitefinityODataContext<T> : IOdataContext<T> where T : cla...
41.910526
204
0.59136
[ "MIT" ]
SkillsFundingAgency/dfc-integration-faa
DFC.Integration.AVFeed/DFC.Integration.AVFeed.Repository.Sitefinity/Base/SitefinityODataContext.cs
7,965
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
44.8125
189
0.601116
[ "Apache-2.0" ]
SNBnani/Xian
Enterprise/Authentication/Hibernate/SR.Designer.cs
2,870
C#
/* MIT License Copyright (c) 2016 JetBrains http://www.jetbrains.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, copy, mo...
39.173709
120
0.708054
[ "MIT" ]
zerotwooneone/GameScreen
GameScreen/Properties/Annotations.cs
41,722
C#
using System; namespace Android.App { sealed partial class ServiceAttribute : Attribute, Java.Interop.IJniNameProviderAttribute { public string Name {get; set;} } }
25.625
92
0.639024
[ "MIT" ]
Wivra/java.interop
tests/Java.Interop.Tools.JavaCallableWrappers-Tests/Android.App/ServiceAttribute.cs
205
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; namespace Microsoft.MixedReality.Toolkit.Examples.Demos.EyeTracking { /// <summa...
40.019084
142
0.544015
[ "MIT" ]
AdamMitchell-ms/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.Examples/Demos/EyeTracking/General/Scripts/Utils/Utils.cs
10,487
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Moq; using NuGet.Ser...
41.519214
212
0.548249
[ "Apache-2.0" ]
Acidburn0zzz/NuGetGallery
tests/NuGetGallery.Facts/Services/UserServiceFacts.cs
95,081
C#
//----------------------------------------------------------------------- // <copyright file="ObjectFactoryTests.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Always make sure to cleanup after each test </summary> //---...
39.668919
122
0.697837
[ "MIT" ]
BaHXeLiSiHg/csla
Source/Csla.test/ObjectFactory/ObjectFactoryTests.cs
11,744
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.603448
83
0.627606
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Bmvpc/V20180625/Models/DescribeSubnetByDeviceResponse.cs
1,849
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.013699
135
0.53136
[ "MIT" ]
nmusco/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/QueueConversationEventTopicJourneyAction.cs
4,528
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> //---...
46.793103
176
0.622697
[ "MIT" ]
stbndev/chambapp
chambaap/chambaap/obj/Release/netstandard2.0/Views/InterviewsPage.xaml.g.cs
1,357
C#
// // Copyright (c) Microsoft and contributors. 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 // // Unless requi...
32.352941
86
0.660909
[ "Apache-2.0" ]
ailn/azure-sdk-for-net
src/ResourceManagement/SiteRecovery/SiteRecoveryManagement/Generated/Models/RecoveryServicesProviderListResponse.cs
2,200
C#
using System; using System.Collections; /// <summary> /// Sign(System.Decimal) /// </summary> public class MathSign1 { public static int Main(string[] args) { MathSign1 test = new MathSign1(); TestLibrary.TestFramework.BeginTestCase("Testing System.Math.Sign(System.Decimal)..."); if (...
27.456311
128
0.526167
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/math/mathsign1.cs
5,656
C#
using OpenQA.Selenium; using PossumLabs.Specflow.Core.Logging; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; namespace PossumLabs.Specflow.Selenium.Selectors { public class WebElementSourceLog { public WebElementSourceLog() ...
27.549296
94
0.513804
[ "MIT" ]
BasHamer/PossumLabs.Specflow.Selenium
PossumLabs.Specflow.Selenium/Selectors/WebElementSourceLog.cs
1,958
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Threading.Tasks; using ImpromptuInterface; namespace NullObject { public class Null<T> : DynamicObject where T : class { public override bool TryInvokeMember(InvokeMemberBinder bind...
25.222222
105
0.562775
[ "MIT" ]
BetterYan/DesignPatternPractice
Behavioral Patterns/NullObject/3.Dynamic.cs
910
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (https://www.specflow.org/). // SpecFlow Version:3.5.0.0 // SpecFlow Generator Version:3.5.0.0 // // Changes to this file may cause incorrect behavior and w...
44.838095
260
0.628292
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives
src/SFA.DAS.EmployerIncentives.Api.AcceptanceTests/Features/LegalEntityCreated.feature.cs
9,418
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...
32.090909
139
0.776204
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementNotStatementStatementAndStatementStatementAndStatementStatementXssMatchStatementFieldToMatchBody.cs
706
C#
using System.Collections.ObjectModel; namespace JohnCena.Mset.Data.ThreeD { internal struct ThreeDModel { public string ModelName { get; set; } public int VertexCount { get; set; } public int FaceCount { get; set; } public ReadOnlyCollection<ThreeDVertex> Vertices { get; set...
40.4
92
0.69802
[ "Apache-2.0" ]
PlumberTaskForce/MSET-Decompiler
JohnCena.MSet/Data/ThreeD/ThreeDModel.cs
1,012
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace RawInput.Touchpad { internal static class TouchpadHelper { #region Win32 [DllImport("User32", SetLastError = true)] private static ...
26.035343
189
0.675717
[ "MIT" ]
emoacht/RawInput.Touchpad
Source/RawInput.Touchpad/TouchpadHelper.cs
12,525
C#
/* Copyright 2013-present MongoDB 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 wri...
28.490909
86
0.630504
[ "MIT" ]
13294029724/ET
Server/ThirdParty/MongoDBDriver/MongoDB.Driver.Core/Core/Events/ServerClosingEvent.cs
1,567
C#
using System.Web.Mvc; using System.Web.Routing; namespace AzureSqlDatabaseStressTestTool { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "D...
30.884615
102
0.559153
[ "MIT" ]
kiyoaki/AzurePerformanceTesting
FromWebsites/App_Start/RouteConfig.cs
805
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...
31.632353
113
0.662018
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Route53Resolver/Generated/Model/Internal/MarshallTransformations/TagMarshaller.cs
2,151
C#
using System.Collections.Generic; using System.Linq; using IDSR.CondorReader.Core.ns11.DomainModels; namespace IDSR.CondorReader.Core.ns11.ReportRows { public class MonthlyPurchasesReceivingRow { public MonthlyPurchasesReceivingRow(IGrouping<long, CdrReceivingLine> grp) { Receiving...
28.727273
82
0.642405
[ "MIT" ]
peterson1/indie-ds-readers
IDSR.CondorReader.Core.ns11/ReportRows/MonthlyPurchasesReceivingRow.cs
634
C#
/* Copyright 2009-2021 Intel 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 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
38.695652
204
0.64794
[ "Apache-2.0" ]
SPEMoorthy/MeshCentralRouter
KVMStats.cs
2,672
C#
// Copyright (c) Microsoft Corporation. All rights reserved. #region Using directives using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Permissions; #endregion // General Information about an assembly is controlled through the...
34.615385
99
0.771111
[ "Apache-2.0" ]
jdm7dv/visual-studio
Samples/NET 4.6/WF_WCF_Samples/WCF/Basic/Contract/Service/Asynchronous/CS/client/Properties/AssemblyInfo.cs
1,352
C#
using Gtk; using NLog; using SlimeSimulation.Controller.WindowController.Templates; using SlimeSimulation.View.WindowComponent.SimulationControlComponent; namespace SlimeSimulation.View.Factories { class SimulationAdaptionPhaseControlBoxFactory : ISimulationControlBoxFactory { private static readonly L...
37.578947
158
0.792717
[ "Apache-2.0" ]
willb611/SlimeSimulation
SlimeSimulation/View/Factories/SimulationAdaptionPhaseControlBoxFactory.cs
714
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; using AdaptiveExpressions.Propertie...
45.744094
198
0.581547
[ "MIT" ]
Remy-Pf/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive.Testing/TestScript.cs
23,240
C#
using UnityEngine; using System.Collections; using System.Reflection; using System; /// <summary> /// 反射工具类 /// 作者:笨木头 www.benmutou.com /// 使用本代码时,请保留作者信息 /// </summary> public class ReflectUtil { /// <summary> /// 给属性赋值 /// </summary> /// <typeparam name="T">对象类型</typeparam> /// <param name="val...
29.735294
145
0.615232
[ "MIT" ]
musicvs/MutCSVLoaderForUnity
Assets/Scripts/CSVLoader/ReflectUtil.cs
1,179
C#
using System; namespace Lab_30_MVC_Core.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.363636
70
0.676056
[ "MIT" ]
rbrownsparta/SpartaLabs
New_Labs/Lab_30_MVC_Core/Models/ErrorViewModel.cs
213
C#
using System; namespace Harmony.Sdk.Reactive { public class AbstractObservable<TType> : IObservable<TType> { Func<IObserver<TType>, IDisposable> _subscriber; public AbstractObservable(Func<IObserver<TType>, IDisposable> subscriber) { if (subscriber == null) ...
22
81
0.616883
[ "MIT" ]
mumusan/harmony
Harmony/Reactive/AbstractObservable.cs
616
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public int health = 3; public float speed; public float jumpForce; public GameObject bow; public Transform firePoint; private bool isJumping; private bool doubleJump; ...
24.990431
123
0.529581
[ "MIT" ]
ErickLima13/Game-Plataforma
GamePlataforma/Assets/Scripts/Player.cs
5,242
C#
// <copyright file="AssemblyInfo.cs" company="Microsoft Open Technologies, Inc."> // Copyright 2011-2013 Microsoft Open Technologies, Inc. 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 c...
40.815789
84
0.760799
[ "Apache-2.0" ]
15901213541/-OAuth2.0
tests/Katana.Performance.ReferenceApp.Tests/Properties/AssemblyInfo.cs
1,551
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> //--...
39.518519
151
0.582006
[ "MIT" ]
21pages/WPF-Samples
PerMonitorDPI/ImageScaling/Properties/Settings.Designer.cs
1,069
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 ...
20.15493
63
0.661775
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-quickbi-public/Quickbi_public/Model/V20200808/AuthorizeMenuResponse.cs
1,431
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-generate...
47.034843
164
0.632639
[ "MIT" ]
ctudoudou/OutlookAddIn4DontCloseMe
DontClose/ThisAddIn.Designer.cs
13,501
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; namespace FishSpinDays.Data.Migrations ...
35.080508
125
0.487378
[ "MIT" ]
hrimar/MyFirstOwnWebProject-FishSpinDays
FishSpinDays/FishSpinDays.Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
8,279
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace GISShare.Controls.Plugin.WinForm { public partial class UIViewForm : Form { public UIViewForm(GISShare.Controls.WinForm.WFNew.V...
25
89
0.644848
[ "MIT" ]
gisshare2015/GISShare.Controls.WinForm
GISShare.Controls.Plugin.WinForm/ChildForm/UIViewForm.cs
827
C#
using UnityEngine; using System.Collections; public class ExitOnEscape : MonoBehaviour { void Update () { if(Input.GetKeyUp(KeyCode.Escape)) Application.Quit(); // TODO: "Are you sure?" } }
17.25
51
0.681159
[ "Unlicense" ]
kaefergeneral/ZeldaVR
ZeldaVR/Assets/Immersio/General/ExitOnEscape.cs
207
C#
using MediatR; using Microsoft.Extensions.DependencyInjection; namespace Project.Application.Configuration.Commands { public static class Dependencies { public static IServiceCollection RegisterRequestHandlers( this IServiceCollection services) { return services.AddMedi...
24.933333
70
0.708556
[ "MIT" ]
henrygustavo/cqrs-api
Project.Application/Configuration/Commands/Dependencies.cs
376
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DroneBlades : MonoBehaviour { public GameObject BladeOne, BladeTwo, BladeThree, BladeFour; public int RotationsPerMinute = 200; private void Update() { if (Drone.instance != null) { ...
36.92
129
0.51571
[ "MIT" ]
pertinate/ParcEx
ParcEx/Assets/Scripts/Drone control/DroneBlades.cs
4,617
C#
/* * MIT License - Copyright(c) 2020 Sean Moss * This file is subject to the terms and conditions of the MIT License, the text of which can be found in the 'LICENSE' * file at the root of this repository, or online at <https://opensource.org/licenses/MIT>. */ /// This file was generated by VVKGen. Edits to ...
119.305263
302
0.828072
[ "MIT" ]
LibVega/VVK
VVK/Generated/StaticFunctionTable.cs
124,676
C#
namespace PlanEatSave.Utils { public class LoggingEvents { public const int ACCOUNT_REGISTER = 1000; public const int ACCOUNT_LOGIN = 1001; public const int PANTRY_ADD_ITEM = 2000; public const int PANTRY_EDIT_ITEM = 2001; public const int PANTRY_RETRIEVE_ITEM = 2002; ...
42
68
0.699546
[ "MIT" ]
AlinCiocan/FoodPlan-Prototype
Utils/LoggingEvents.cs
882
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TimeUpgrade : UpgradeBase { private IntSO maxModules; public TimeUpgrade(string upgradeName, int level, int maxlevel, IntSO maxModules) : base(upgradeName, level, maxlevel) { this.maxModules = maxModules; ...
21.45
122
0.685315
[ "MIT" ]
Delunado/Keeping-IT-Alive-LudumDare46
Source/Assets/Scripts/Upgrades/TimeUpgrade.cs
431
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.Buffers; using System.Diagnostics; using System.IO.Pipelines; using System.Threading.Tasks.Sources; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.In...
35.09029
226
0.61404
[ "MIT" ]
Aezura/aspnetcore
src/Servers/Kestrel/Core/src/Internal/Http2/Http2OutputProducer.cs
20,598
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Xunit; using Shouldly; namespace MhLabs.AwsSignedHttpClient.Tests { public interface IBingService ...
23.888889
97
0.795349
[ "MIT" ]
mhlabs/MhLabs.AwsSignedHttpClient
MhLabs.AwsSignedHttpClient.Tests/LoggingTests/IBingService.cs
430
C#