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; using UnityEngine; using System.Collections; using PubNubMessaging.Core; namespace PubNubMessaging.Tests { public class TestCoroutineRunIntegerationPHBError: MonoBehaviour { public IEnumerator Start () { CommonIntergrationTests common = new CommonIntergrationTests ();...
36.666667
107
0.669421
[ "Unlicense" ]
MatthewValverde/android-ar-simple
Assets/PubNub/PubnubIntegrationTests/TestCoroutineRunIntegerationPHBError.cs
1,212
C#
namespace Zu.ChromeDevTools.BackgroundService { using System; using System.Threading; using System.Threading.Tasks; /// <summary> /// Represents an adapter for the BackgroundService domain to simplify the command interface. /// </summary> public class BackgroundServiceAdapter { ...
50.388889
250
0.706174
[ "Apache-2.0" ]
DoctorDump/AsyncChromeDriver
ChromeDevToolsClient/BackgroundService/BackgroundServiceAdapter.cs
3,628
C#
// SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from Sensor.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; #pragma warning disable 0108, 0219, 0414, 1...
36.6
145
0.734062
[ "BSD-3-Clause" ]
gregoa/raritan-pdu-json-rpc-sdk
pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/JsonRpc/sensors/Sensor_4_0_0/TypeSpecChangedEvent_ValObjCodec.cs
1,647
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FxController : MonoBehaviour { public int idPool = -1; public float timeLife = 2; ParticleSystem fx; void Awake() { fx = GetComponent<ParticleSystem>(); } void OnEnable() { Sta...
18.862069
50
0.61426
[ "MIT" ]
FlamperDM/AbstractGame
Assets/MY ASSETS/Scripts/FxController.cs
549
C#
namespace VSCC.Roll20.Macros.Logic { using System; using System.Collections.Generic; using System.IO; using System.Windows.Documents; using VSCC.Roll20.Macros.Basic; public class MacroConditionGreaterN : MacroAction { private readonly MacroAction[] _backend = new MacroAction[2]; ...
38.245614
184
0.653211
[ "MIT" ]
skyloutyr/VSCC
VSCC/Roll20/Macros/Logic/Math/MacroConditionGreaterN.cs
2,182
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...
31.216216
106
0.744589
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/WorkLink/Generated/Model/DisassociateWebsiteCertificateAuthorityResponse.cs
1,155
C#
using Ordering.Domain.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ordering.Domain.Entities { public class Order: EntityBase { public string UserName { get; set; } public decimal TotalPrice { get; set; } ...
28.6875
48
0.619826
[ "MIT" ]
DimdungPasang/Microservices
src/Services/Ordering/Ordering.Domain/Entities/Order.cs
920
C#
using Model = ToHModels; using Entity = ToHDL.Entities; namespace ToHDL { /// <summary> /// To parse entities from DB to models used in BL and vice versa /// </summary> public interface IMapper { Model.Hero ParseHero(Entity.Hero hero); Entity.Hero ParseHero(Model.Hero hero); ...
29.0625
71
0.683871
[ "MIT" ]
210215-USF-NET/ConnorAgnone-code
2-sql/TourOfHeroes/ToHDL/IMapper.cs
465
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Raw; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Custom.Sec { internal c...
31.519231
103
0.523032
[ "Apache-2.0" ]
Cl0udG0d/Asteroid
Assets/Import/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/custom/sec/SecP160R1FieldElement.cs
6,556
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // Created by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV) 2020 - 2020. All rights reserved. (https://github.com/Wagnerp/Krypton-Toolkit...
37.471698
164
0.519537
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core
Source/Truncated Namespaces/Source/Krypton Components/Krypton.Toolkit/Controls Visuals/VisualShadowBase.cs
9,932
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V251.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V251.Segment{ ///<summary> /// Represents an HL7 OM2 message segment. /// This segment has the following fields:<ol> ///<li>OM2-1: Sequence Number ...
37.64554
141
0.656357
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V251/Segment/OM2.cs
16,037
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using commercetools.Sdk.Domain.Errors; using Type = System.Type; namespace commercetools.Sdk.Serialization { internal class ErrorConverter : JsonConverterDecoratorTypeRetrieverBase<Error> { public overri...
29.684211
115
0.748227
[ "Apache-2.0" ]
commercetools/commercetools-dotnet-core-sdk
commercetools.Sdk/commercetools.Sdk.Serialization/JsonConverters/ErrorConverter.cs
566
C#
using Xunit; using Chapter4; using static Chapter4.Utilities; using cb = Chapter4.Q4_4CheckBalanced<int>; using cbTweak = Chapter4.Q4_4CheckBalancedTweak<int>; namespace Tests.Chapter4 { public class Q4_4 { [FactAttribute] private void checkBalancedTest() { TreeBinaryNode<i...
33.2
105
0.623494
[ "MIT" ]
LuigiAndrea/ctci
test/chapter4/Q4.4-check-balanced-test.cs
1,328
C#
#region License // Copyright (c) 2019 Ewout van der Linden // https://github.com/IonKiwi/Json/blob/master/LICENSE #endregion using System; using System.Collections.Generic; using System.Text; namespace IonKiwi.Json.MetaData { public interface IJsonCustomMemberTypeProvider { Type? ProvideMemberType(string member);...
21.733333
54
0.782209
[ "Apache-2.0" ]
IonKiwi/Json
IonKiwi.Json/MetaData/IJsonCustomMemberTypeProvider.cs
328
C#
namespace CoEvent.Data.Interfaces { public interface ISubscriptionService : IUpdatableService<Models.Subscription> { /// <summary> /// Get the subscription for the specified 'id'. /// Validates whether the current user is authorized to view the subscription. /// </summary> ...
31
86
0.617512
[ "MIT" ]
FosolSolutions/coevent.api
libs/Data/Interfaces/ISubscriptionService.cs
436
C#
// <copyright file="ITableNameConvention.cs" company="Berkeleybross"> // Copyright (c) Berkeleybross. All rights reserved. // </copyright> namespace PeregrineDb.Schema { using System; /// <summary> /// Defines how to get the table name from a specific type. /// </summary> public interface ITableNa...
30.428571
87
0.638498
[ "MIT" ]
berkeleybross/Dapper.MicroCRUD
src/PeregrineDb/Schema/ITableNameConvention.cs
639
C#
namespace Edelstein.Protocol.Gameplay.Users.Inventories.Modify { public enum BodyPart : short { Hair = 0, Cap = 1, FaceAcc = 2, EyeAcc = 3, EarAcc = 4, Clothes = 5, Pants = 6, Shoes = 7, Gloves = 8, Cape = 9, Shield = 10, ...
21.912088
63
0.495486
[ "MIT" ]
R3DIANCE/Edelstein
src/protocol/Edelstein.Protocol.Gameplay/Users/Inventories/Modify/BodyPart.cs
1,996
C#
#region Copyright (c) 2006-2014 nHydrate.org, All Rights Reserved // -------------------------------------------------------------------------- * // NHYDRATE.ORG * // Copyright (c) 2006-2014 All Rights reserved * // ...
51.197917
132
0.545066
[ "MIT" ]
giannik/nHydrate
Source/nHydrate.Generator.EFDAL/Generators/EFSSDL/SSDLGenerator.cs
4,915
C#
using ProjectServices.Application.Interfaces.Serialization.Serializers; using FluentValidation; using FluentValidation.Validators; namespace ProjectServices.Application.Validators.Extensions { public static class ValidatorExtensions { public static IRuleBuilderOptions<T, string> MustBeJson<T>(this IRu...
35.285714
165
0.757085
[ "MIT" ]
NguyenDuyCuong/projectservices
src/Application/Validators/Extensions/ValidatorExtensions.cs
496
C#
using System.Runtime.Serialization; namespace DiabloSharp.DataTransferObjects { [DataContract] internal class EraProfileDto { [DataMember(Name = "eraId")] public long Id { get; set; } [DataMember(Name = "paragonLevel")] public long ParagonLevel { get; set; } [DataM...
27.461538
54
0.628852
[ "MIT" ]
leardev/DiabloSharp
src/DiabloSharp/DataTransferObjects/EraProfileDto.cs
714
C#
using System.Threading.Tasks; using NServiceBus; public class Startup : IWantToRunWhenEndpointStartsAndStops { public Task Start(IMessageSession session) { var myMessage = new MyMessage(); return session.SendLocal(myMessage); } public Task Stop(IMessageSession session) ...
21.882353
47
0.66129
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
samples/logging/hostcustom/Host_7/Sample/Startup.cs
356
C#
using System; namespace NetFrameworkBasicApplication.Areas.HelpPage.ModelDescriptions { /// <summary> /// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets....
30.526316
136
0.675862
[ "Apache-2.0" ]
Faithlife/newrelic-dotnet-agent
tests/Agent/PlatformTests/Applications/NetFrameworkBasicApplication/NetFrameworkBasicApplication/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
580
C#
//------------------------------------------------------------------------------ // <auto-generated> // 由 MSBuild WriteCodeFragment 类生成。 // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.Assembl...
50.117647
94
0.653756
[ "MIT" ]
NMSAzulX/RoslynPerfomanceTest
RoslynPerfomance/RoslynTest/bin/Release/netcoreapp2.0/5e843403-338f-46ff-a09c-da4a56c7ea9a/obj/Release/netcoreapp2.0/BenchmarkDotNet.Autogenerated.AssemblyInfo.cs
862
C#
namespace asshcii.game { public class GameState { } }
8.375
26
0.597015
[ "MIT" ]
projektir/asshcii
game/GameState.cs
67
C#
namespace InterfaceAndPolymorphism { public class Message { } }
12.666667
35
0.671053
[ "MIT" ]
tuvshinot/csharp
csharp/InterfaceAndPolymorphism/Message.cs
78
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...
25.8875
105
0.584259
[ "Apache-2.0" ]
atpyatt/aws-sdk-net
sdk/src/Services/Kinesis/Generated/AmazonKinesisConfig.cs
2,071
C#
/* HashLib4CSharp Library Copyright (c) 2020 Ugochukwu Mmaduekwe GitHub Profile URL <https://github.com/Xor-el> Distributed under the MIT software license, see the accompanying LICENSE file or visit http://www.opensource.org/licenses/mit-license.php. Acknowledgements: This library was sponsored by Sphere 10 Software ...
42.556962
117
0.581499
[ "MIT" ]
Xor-el/HashLib4CSharp
HashLib4CSharp/src/Crypto/Grindahl256.cs
10,086
C#
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.Experimental.UIElements; [RequireComponent(typeof(Ball))] public class DragLaunch : MonoBehaviour { private Ball _ball; private Vector3 _startPosition; private Vector3 _endPosition; priv...
26.964912
88
0.611581
[ "MIT" ]
MartinZikmund/UnityDeveloper2DCourse
BowlerMaster/Assets/Scripts/DragLaunch.cs
1,539
C#
using System.Collections.Generic; using System.Threading.Tasks; using static CVApp.ViewModels.Language.LanguageViewModels; namespace CVApp.Common.Services.Contracts { public interface ILanguageService { Task<int> SaveFormData(LanguageInputViewModel model, string userName); Task<LanguageEditVi...
28
78
0.758929
[ "MIT" ]
EvaSRGitHub/CV-asp.net-mvc
src/CVApp.Common/CVApp.Common/Services/Contracts/ILanguageService.cs
562
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 Microsoft.WindowsAzure.Storage.Table; #if PUBLICSTORAGE namespace Microsoft.Azure.WebJobs.Storage.Table #else namespace Microsoft.Azure.WebJobs.Ho...
36.263158
102
0.626512
[ "MIT" ]
Azure-App-Service/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Storage/Table/IStorageTableOperation.cs
2,069
C#
using DotNetNuke.Entities.Users; using DotNetNuke.Security.Permissions; using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using Vanjaro.Common.Engines.UIEngine.AngularBootstrap; using Vanjaro.Common.Entities.Apps; namespace Vanjaro.UXManager.Extensions.Menu.LogoAndTitle.Factorie...
30.704348
251
0.526763
[ "MIT" ]
Bradinz/Vanjaro.Platform
DesktopModules/Vanjaro/UXManager/Extensions/Menu/LogoAndTitle/Factories/AppFactory.cs
3,533
C#
namespace Jellyfish.Network; public class KeyPair { public string Address { get; init; } = string.Empty; public string PrivateKey { get; init; } = string.Empty; }
21.625
59
0.693642
[ "MIT" ]
defichaininfo/Jellyfish.NET
Jellyfish.NET/Network/KeyPair.cs
175
C#
// <copyright file="PasswordControlTestsChrome.cs" company="Automate The Planet Ltd."> // Copyright 2020 Automate The Planet Ltd. // 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....
42.995595
157
0.704201
[ "Apache-2.0" ]
alexandrejulien/BELLATRIX
tests/Bellatrix.Web.Tests/Controls/Password/PasswordControlTestsChrome.cs
9,762
C#
using Foundation; using Prism; using Prism.Ioc; using UIKit; namespace APIMVVM.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // application events from iOS. ...
31.641026
98
0.666937
[ "MIT" ]
openorbt/treinamento-xamarinforms
MVVM/APIMVVM/APIMVVM.iOS/AppDelegate.cs
1,236
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using DotnetSpider.Common; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Events; namespace DotnetSpider { /// <summary> /// 启动任务工具 /// </summary> ...
26.846154
103
0.672571
[ "MIT" ]
Meng-Ye/DotnetSpider
src/DotnetSpider/Startup.cs
7,790
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Windows.Forms; using Microsoft.Win32; namespace WinDynamicDesktop { class DesktopHelper { public static string GetCurrentDirectory() {...
30.236364
101
0.603728
[ "MIT" ]
GitArpe/WinDynamicDesktop
src/DesktopHelper.cs
1,665
C#
/** * Copyright 2013 Canada Health Infoway, 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...
36.37931
83
0.709953
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/EntericCoatedTablet.cs
1,055
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; using Newtonsoft.Json; using Xunit; using Xunit.Sdk; using System.Threading.Tasks;...
37.872449
173
0.581571
[ "MIT" ]
AzureMentor/runtime
src/libraries/System.Text.Json/tests/Serialization/Null.ReadTests.cs
7,423
C#
using Windows.UI.Xaml.Controls; namespace XamarinMVVM.UWP.Views { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); ...
20.9375
81
0.591045
[ "MIT" ]
qmatteoq/XamarinSamples
Shared/XamarinMVVM/XamarinMVVM.UWP/Views/MainPage.xaml.cs
337
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using Microsoft.DotNet.ImageBuilder.Models.Image; namespace Micros...
30.302326
71
0.572525
[ "MIT" ]
MichaelSimons/docker-tools
src/Microsoft.DotNet.ImageBuilder/tests/Helpers/ImageInfoHelper.cs
1,305
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace WebApp.Shared { public class TestTypes { public TestTypes() { this.AllHeadings = new[] { "Lighthouse Performance", "404 page", "Lighthouse SEO", "Lighthouse Best Practices", "W3C HTML", "W3C CSS", "Lighthouse PWA", "...
31.954545
266
0.611664
[ "MIT" ]
krompaco/webperf-leaderboard
src/WebApp/Shared/TestTypes.cs
703
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using Microsoft.Coyote.IO; namespace Microsoft.Coyote.Utilities { internal sealed class CommandLineOptions { /// <summary> ...
52.951407
200
0.542456
[ "MIT" ]
Bhaskers-Blu-Org2/coyote
Tools/Coyote/Utilities/CommandLineOptions.cs
20,706
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...
33.186441
102
0.645557
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Automation/V20170515Preview/Inputs/LinuxPropertiesArgs.cs
1,958
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 ...
26.209302
63
0.71606
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-foas/Foas/Model/V20181111/CommitJobResponse.cs
1,127
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 DotNetNuke.Entities.Tabs.TabVersions.Exceptions { using System; /// <summary> /// Except...
40.756757
114
0.644562
[ "MIT" ]
Acidburn0zzz/Dnn.Platform
DNN Platform/Library/Entities/Tabs/TabVersions/Exceptions/DnnTabVersionException.cs
1,510
C#
using MagicalLifeAPI.Components.Generic.Renderable; using MagicalLifeAPI.Components.Resource; using MagicalLifeAPI.Sound; using MagicalLifeAPI.Visual.Rendering.AbstractVisuals; using MagicalLifeAPI.World.Base; using MagicalLifeAPI.World.Items; using ProtoBuf; using System.Collections.Generic; namespace MagicalLifeAPI...
29.962963
89
0.62979
[ "MIT" ]
ockenyberg/MagicalLife
MagicalLifeAPIStandard/World/Resources/OakTree.cs
1,620
C#
// ReSharper disable All namespace OpenTl.Schema.Updates { using System; using System.Collections; using OpenTl.Schema; public interface IDifferenceCommon : IObject { } }
12.933333
48
0.701031
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/Updates/Difference/IDifferenceCommon.cs
196
C#
using System; namespace ShinySwitch { public class Switch { public static TypeSwitchStatement<TSubject> On<TSubject>(TSubject subject) => new TypeSwitchStatement<TSubject>(subject, new SwitchResult<bool>()); public static SystemTypeSwitchStatement On(Type subject) => new SystemTypeSwitchStatem...
57.913043
219
0.756006
[ "MIT" ]
asgerhallas/ShinySwitch
ShinySwitch/Switch.cs
1,334
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace NbaStore.App.Infrastructure.Validations { public class SizeValidationAttirubte : ValidationAttribute { public override bool IsValid(object value) ...
23.321429
83
0.539051
[ "MIT" ]
YordanYordanov97/Softuni
Nba Store/NbaStore.App/Infrastructure/Validations/SizeValidation.cs
655
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Razor.TagHelpers; using Mozlite.Extensions.Security.Permissions; using System.Collections.Generic; using System.Linq; namespace Mozlite.Mvc.AdminMenus.TagHelpers { /// <summ...
37.445946
140
0.550704
[ "Apache-2.0" ]
Mozlite/Docs
src/Mozlite.Mvc/AdminMenus/TagHelpers/AdminMenuTagHelper.cs
5,848
C#
using OnlineQuizClasses; using OnlineQuizClasses.QuizManagement; using Rotativa; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web.Mvc; namespace OnLineQuizApplication.Controllers { public class AdminController : Controller { // GET: Admin public A...
26.409091
67
0.564544
[ "Apache-2.0" ]
ArslanAmeer/eQuiizz
OnLineQuizApplication/Controllers/AdminController.cs
1,164
C#
// // Encog(tm) Core v3.1 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2012 Heaton Research, 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 // // htt...
33.639098
88
0.587394
[ "BSD-3-Clause" ]
mpcoombes/MaterialPredictor
encog-core-cs/ML/Genetic/Genome/GenomeComparator.cs
4,474
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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,...
44.210526
201
0.609864
[ "MIT" ]
BclEx/BclEx-Abstract
src/System.Abstract/Abstract+ServiceLocator/ServiceLocatorManager.cs
5,880
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MyGUIPlugin; using Engine.Editing; using Engine; namespace Anomalous.GuiFramework.Editor { class PropertiesFormUInt16 : ConstrainableFormComponent { private UInt16NumericEdit num; private b...
31.344828
118
0.607261
[ "MIT" ]
AnomalousMedical/Engine
GuiFramework.Editor/GUI/PropertiesForm/PropertiesFormUInt16.cs
1,820
C#
using System.ComponentModel; using System.Runtime.Serialization; namespace CloudinaryDotNet.Actions { public enum ArchiveCallMode { /// <summary> /// Indicates to return the generated archive file /// </summary> [EnumMember(Value = "download")] Download, /// <s...
28.25
151
0.626549
[ "MIT" ]
ShaharrHorn/CloudinaryChallenge
Shared/Actions/ArchiveCallMode.cs
567
C#
using System.Collections.Generic; namespace Landmarks.Models { public class Region { public Region() { this.Landmarks = new HashSet<Landmark>(); } public int Id { get; set; } public string Name { get; set; } public double Area { get; set; } ...
18.652174
60
0.55711
[ "MIT" ]
stefkavasileva/Project
Landmarks/Landmarks.Models/Region.cs
431
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AzureServiceTags.WebApp.Services; using AzureServiceTags.WebApp.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace AzureServiceTags.WebApp...
42.764706
175
0.610385
[ "MIT" ]
jelledruyts/AzureServiceTags
AzureServiceTags.WebApp/Pages/ServiceTag.cshtml.cs
2,908
C#
using AnnoSavegameViewer.Serialization.Core; using System; using System.Windows; using System.Windows.Controls; namespace ClassCreator { public class TreeNodeItemTemplateSelector : DataTemplateSelector { #region Public Methods public override DataTemplate SelectTemplate(object item, DependencyObject cont...
28.129032
90
0.682339
[ "MIT" ]
Veraatversus/AnnoSavegameViewer
src/ClassCreator/TreeNodeItemTemplateSelector.cs
874
C#
using MediatR; using Microsoft.EntityFrameworkCore; using ModelWrapper.Extensions.FullSearch; using BAYSOFT.Core.Domain.Interfaces.Infrastructures.Data.Contexts; using System.Threading; using System.Threading.Tasks; namespace BAYSOFT.Core.Application.StockWallet.Grades.Queries.GetGradesByFilter { public class GetG...
37.033333
133
0.70297
[ "MIT" ]
BAYSOFT-001/baysoft-stockwallet
src/BAYSOFT.Core.Application/StockWallet/Grades/Queries/GetGradesByFilter/GetGradesByFilterQueryHandler.cs
1,111
C#
using System.Threading; using System.Threading.Tasks; using DLCS.Repository.Caching; using IIIF.Presentation; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Orchestrator.Features.Manifests.Requests; ...
48.641026
121
0.681603
[ "MIT" ]
dlcs/protagonist
Orchestrator/Features/Manifests/NamedQueryController.cs
3,796
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("Fs...
37.216216
84
0.741467
[ "MIT" ]
mind0n/hive
History/JsLib/1.0-branch/Fs/Properties/AssemblyInfo.cs
1,380
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using AcceptApi.Areas.Api.Models; using AcceptApi.Areas.Api.Models.Core; using AcceptApi.Areas.Api.Models.Filters; using AcceptApi.Areas.Api.Models.Core; namespace AcceptApi.Areas.Api.Controllers { [CrossSit...
31.574074
87
0.61349
[ "Apache-2.0" ]
accept-project/accept-api
AcceptApi/Areas/Api/Controllers/GrammarController.cs
1,707
C#
#pragma checksum "C:\Users\46791749865\Desktop\web-mvc\EX3_HAMBURGUERIA\Views\Pedido\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "237076d6457084bbeb45772587f55e5173ac3d39" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof...
69.267361
361
0.673618
[ "MIT" ]
Scapin-Raul/web-mvc
EX3_HAMBURGUERIA/obj/Debug/netcoreapp2.1/Razor/Views/Pedido/Index.g.cshtml.cs
19,951
C#
using System; using UnityEngine; using UnityEngine.XR.ARSubsystems; using UnityEngine.Rendering; using Object = UnityEngine.Object; namespace UnityEngine.XR.ARFoundation { /// <summary> /// Container that pairs a <see cref="Unity.XR.ARSubsystems.XRTextureDescriptor"/> that wraps a native texture /// objec...
40.758755
205
0.54969
[ "MIT" ]
JLuisRojas/HinduAR
unity/ArPruebas/Library/PackageCache/com.unity.xr.arfoundation@4.0.12/Runtime/AR/ARTextureInfo.cs
10,475
C#
using System; using LibGit2Sharp.Core; using LibGit2Sharp.Handlers; namespace LibGit2Sharp { /// <summary> /// Options to define clone behaviour /// </summary> public sealed class CloneOptions : IConvertableToGitCheckoutOpts, ICredentialsProvider { /// <summary> /// Creates default...
29.408451
90
0.594828
[ "MIT" ]
gitextensions/libgit2sharp
LibGit2Sharp/CloneOptions.cs
2,090
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System.Diagnostics; namespace AutoLot.Web.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] [IgnoreAntiforgeryToken] public class ErrorModel : Page...
25.655172
88
0.665323
[ "BSD-3-Clause", "MIT" ]
RomitMehta/presentations
DOTNETCORE/ASP.NETCore/v5.0/AutoLot50/AutoLot.Web/Pages/Error.cshtml.cs
744
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; using Smidge.Models; namespace Smidge { public class RequestHelper : IRequestHelper { private readonly IWebsite...
36.302817
128
0.54452
[ "MIT" ]
craigs100/Smidge
src/Smidge/RequestHelper.cs
5,155
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Accounting; using Accounting.Core.Cards; using Accounting.Core.Purchases; using Accounting.Report.Purchases; using Accounting.Core.Definitions; using...
36.445378
154
0.5773
[ "MIT" ]
cschen1205/myob-accounting-plugin
Inventorist/SyntechRpt/WinForms/Purchases/FrmPurchaseQuote.cs
17,348
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
42.93662
404
0.621125
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride/Graphics/SamplerStateDescription.cs
6,097
C#
using System; using System.IO; using System.Text; using Newtonsoft.Json; using Xyperico.Agres.DocumentStore; namespace Xyperico.Agres.JsonNet { public class JsonNetDocumentSerializer : IDocumentSerializer { JsonSerializer Serializer = new JsonSerializer(); public void Serialize(Stream s, ...
23.702703
83
0.630559
[ "MIT" ]
JornWildt/Xyperico
Xyperico.Agres/Xyperico.Agres.JsonNet/JsonNetDocumentSerializer.cs
879
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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...
40.373913
145
0.642688
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Codecs.Http2/Http2FrameCodecBuilder.cs
4,645
C#
namespace NosSmooth.Extensions.Events { public class GMJoinedMap { } }
14
39
0.571429
[ "MIT" ]
Rutherther/NosSmooth
Core/NosSmooth.Extensions/Events/GMJoinedMap.cs
100
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Drawing; using System.Linq; using System.Text.RegularExpressions; using System.Xml; using Newtonsoft.Json.Linq; using umbraco.cms.businesslogic.Files; using Umbraco.Core; using Umbraco.Core.Configuration;...
44.977578
155
0.541974
[ "MIT" ]
ma1f/Umbraco-CMS
src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
10,030
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
31.203593
117
0.557091
[ "MIT" ]
SarensDev/squidex
tests/Squidex.Domain.Apps.Entities.Tests/Rules/Guards/GuardRuleTests.cs
5,214
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...
25.689189
81
0.552867
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20181101/Outputs/GatewayRouteResponse.cs
1,901
C#
using System.ComponentModel.DataAnnotations; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.ChangeTracking; using SystemDbContext = Microsoft.EntityFrameworkCore.DbContext; namespace essentialMix.Core.Data.Entity; public abstract class DbContext : SystemDbContex...
25.765957
141
0.763832
[ "MIT" ]
asm2025/essentailMix.Core
essentialMix.Core.Data.Entity/DbContext.cs
1,213
C#
using System; using OpenTK; namespace Sharp { public struct Ray { public Vector3 origin; public Vector3 direction; public Ray(Vector3 orig, Vector3 dir){ origin = orig; direction = dir; } } }
11.833333
40
0.676056
[ "MIT" ]
BreyerW/Sharp.Engine
Sharp/Ray.cs
215
C#
using System.Runtime.Serialization; namespace StarwebSharp.Entities { public enum ShippingMethodModelValidForCountries { [EnumMember(Value = @"all")] All = 0, [EnumMember(Value = @"EU")] EU = 1, [EnumMember(Value = @"non-EU")] NonEU = 2, [EnumMember(Value = @"selected")] Sel...
22.705882
55
0.595855
[ "MIT" ]
PrimePenguin/PrimePenguin.StarwebSharp
StarwebSharp/Entities/ShippingMethodModelValidForCountries.cs
388
C#
// Jeebs Rapid Application Development // Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013 using System; namespace Jx.Config { /// <summary> /// Configuration Schema Validation Failed /// </summary> public class ConfigurationSchemaValidationFailedException : Exception { /// <summary> /// Cr...
26.375
113
0.695498
[ "MIT" ]
bencgreen/jeebs
src/Jeebs.Config/Exceptions/ConfigurationSchemaValidationFailedException.cs
846
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DefenderButton : MonoBehaviour { [SerializeField] Defenders defenderPrefab; private void Start() { LabelButtonWithCost(); } private void LabelButtonWithCo...
24.697674
87
0.616761
[ "MIT" ]
NanthawatKTY/Mosquitoes-Slayer
Assets/Scripts/Defenders/DefenderButton.cs
1,064
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 "li...
39.208333
193
0.623167
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/GuardDuty/Generated/Model/Internal/MarshallTransformations/ListFindingsResponseUnmarshaller.cs
4,705
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
29
74
0.669371
[ "MIT" ]
bloudraak/autorest
Samples/1d-common-settings/base/folder/AzureClient/Models/AccountType.cs
986
C#
using System.Collections; using System.Linq; using System.IO; using System.Collections.Generic; using UnityEngine; using UnityEditor.VFX; using UnityEngine.VFX; using UnityEditor; using UnityEditor.VFX.UI; using UnityEditor.ProjectWindowCallback; using UnityObject = UnityEngine.Object; using UnityEditor.Build; using U...
37.023923
143
0.630137
[ "MIT" ]
KoroBli/LifeOn
LifeOn/Library/PackageCache/com.unity.visualeffectgraph@8.2.0/Editor/VFXAssetEditorUtility.cs
7,738
C#
namespace Sla.Repository.Enities { /// <summary> /// Class QueryFoo. /// </summary> public class QueryFoo { /// <summary> /// Gets or sets the identifier. /// </summary> public int Id { get; set; } /// <summary> /// Gets or sets the key. /// ...
21
40
0.47619
[ "MIT" ]
raychiutw/software-layered-architecture-pattern-smaple
src/Sla.Repository/Enities/QueryFoo.cs
380
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EnterpriseMessagingGateway.Services.Interfaces.Dto { public class DocumentTypeCreateDto { public string Name { get; set; } public string Description { get; set; } ...
26.631579
92
0.701581
[ "MIT" ]
zdonev/enterprise-messaging-gateway
src/Services.Interfaces/Dto/DocumentTypeCreateDto.cs
508
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. #nullable disable using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Dr...
33.396357
155
0.509376
[ "MIT" ]
AndreRRR/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2PropertyDescriptor.cs
53,169
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BossPhaseBigFireballs : BossPhase { public GameObject BigFireBallPrefab; [SerializeField] float TimeBetweenFireballs = 1f; [SerializeField] Transform shootingPivot; bool canShoot = false; public override ...
22.227273
118
0.620995
[ "MIT" ]
ProjectMansionManiac/MansionMadness
Assets/Scripts/BossPhaseBigFireballs.cs
1,469
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace JamLib.Algorithms.Sorting.ExchangeSorts.Tests { [TestClass()] public class StoogeSortTests { [TestMethod()] public void StoogeSortTest() { int[] actual = new in...
36.807692
97
0.532393
[ "MIT" ]
joshimoo/JamLib
JamLibTests/Algorithms/Sorting/ExchangeSorts/StoogeSortTests.cs
1,916
C#
// <auto-generated> // 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 // re...
34.086207
195
0.62519
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/CustomDomainResource.cs
1,977
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Oranikle.Studio.Controls { public interface IDropdownDisplayer { object GetDisplay(object value); object GetDisplayOrNull(object value); } }
15.882353
46
0.718519
[ "Apache-2.0" ]
parvbhullar/Windows-UI-Component-Framework
Oranikle.DesignBase/Interface/IDropdownDisplayer.cs
272
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebClient { public partial class About : Page { protected void Page_Load(object sender, EventArgs e) { } } }
17.411765
60
0.679054
[ "MIT" ]
ayanshaikh18/Smart-Contact-Manager-WebAPI
SmartContactManager/WebClient/About.aspx.cs
298
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Demo.Site { public class Program { ...
26.555556
71
0.619247
[ "MIT" ]
cwiederspan/appsvc-github-actions
src/Demo.Site/Program.cs
717
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static pa...
35
95
0.692063
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms.Primitives/src/Interop/UiaCore/Interop.ITableProvider.cs
947
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace AvePoint.Migration.Api.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; u...
36
282
0.591406
[ "MIT" ]
AvePoint/FLY-Migration
WebAPI/CSharp/FLY 4.5/FLY/Models/GoogleDrivePlanSettingsModel.cs
4,212
C#
// *********************************************************************** // Copyright (c) Charlie Poole and TestCentric GUI contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using System; using System.Collect...
38.716814
206
0.629486
[ "MIT" ]
jurczakk/testcentric-gui
src/tests/test-utilities/Fakes/ExtensionService.cs
4,375
C#
/* _BEGIN_TEMPLATE_ { "id": "GBL_008e", "name": [ "法力值消耗-4", "Cost - 4" ], "text": [ "法力值消耗减少(4)点。", "Costs (4) less." ], "CardClass": "NEUTRAL", "type": "ENCHANTMENT", "cost": null, "rarity": null, "set": "CORE", "collectible": null, "dbfId": 53197 } _END_TEMPLATE_ */ namespac...
13.857143
36
0.536082
[ "MIT" ]
chi-rei-den/Silverfish
cards/CORE/GBL/Sim_GBL_008e.cs
420
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.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; internal static partial class...
32.5
75
0.755769
[ "MIT" ]
ArtemTatarinov/winforms
src/System.Windows.Forms.Primitives/src/Interop/Ole32/Interop.OleSetClipboard.cs
522
C#
using System.Collections.Generic; using Toe.SPIRV.Spv; namespace Toe.SPIRV.Instructions { public partial class OpReadClockKHR: InstructionWithId { public OpReadClockKHR() { } public override Op OpCode { get { return Op.OpReadClockKHR; } } /// <summary> ...
33.088235
88
0.578963
[ "MIT" ]
gleblebedev/Toe.SPIRV
src/Toe.SPIRV/Instructions/OpReadClockKHR.cs
3,375
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
36.953125
157
0.585116
[ "BSD-3-Clause" ]
MarketingInternetOnlines/Krypton-NET-5.480
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Layout/ViewLayoutRibbonQATMini.cs
11,828
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Comp...
69.015244
263
0.671445
[ "MIT" ]
KurnakovMaksim/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/RestorePointCollectionsRestOperations.cs
45,274
C#