max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
EnoCore/Configuration/Configuration.cs
enowars/EnoEngine
7
7025634
namespace EnoCore.Configuration { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using EnoCore.Models; us...
src/UI/HR.LeaveManagement.Mvc/Views/LeaveRequests/Details.cshtml
deyantodorov/Clean-Architecture-ASP.NET-Core-5
0
7025635
<reponame>deyantodorov/Clean-Architecture-ASP.NET-Core-5<filename>src/UI/HR.LeaveManagement.Mvc/Views/LeaveRequests/Details.cshtml<gh_stars>0 @model HR.LeaveManagement.Mvc.Models.LeaveRequest.LeaveRequestVm @{ ViewData["Title"] = "Details"; string className; string headingText; if (Model.Approved == n...
Assets/Scripts/TransformComponent.cs
uppnrise/Tutor_UnityC-
1
7025636
<reponame>uppnrise/Tutor_UnityC- using System.Collections; using System.Collections.Generic; using UnityEngine; public class TransformComponent : MonoBehaviour { Vector3 tempPos; // Start is called before the first frame update void Start() { tempPos = transform.position; tempPos.x +=...
Endowments/Endowments.Infrastructure/Storage/FileSystemManager.cs
etammam/endowments
0
7025638
<reponame>etammam/endowments using System.IO; using System.Threading.Tasks; using Endowments.Crosscut.Interfaces; using Microsoft.AspNetCore.Http; namespace Endowments.Infrastructure.Storage { public class FileSystemManager : IStorage { private const string Root = "wwwroot"; private const stri...
Xwt.WPF/Xwt.WPFBackend/WidgetBackend.cs
thiagoabreu/xwt
3
7025639
// // WidgetBackend.cs // // Authors: // <NAME> <<EMAIL>> // <NAME> <<EMAIL>> // // Copyright (c) 2011 <NAME> // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwa...
Pepperdash Core/Pepperdash Core/XSigUtility/Serialization/XSigSerializationException.cs
ciasia/PepperDashCore
29
7025641
using System; namespace PepperDash.Core.Intersystem.Serialization { public class XSigSerializationException : Exception { public XSigSerializationException() { } public XSigSerializationException(string message) : base(message) { } public XSigSerializationException(string message, Excep...
SolastaTestMod/Viewers/Viewers/SampleModMenu2.cs
hooper-m/SolastaTestMod
0
7025642
//using UnityModManagerNet; //using ModKit; //namespace SolastaTestMod.Menus.Viewers //{ // public class SampleModMenu2 : IMenuSelectablePage // { // public string Name => "Sample Menu 2"; // public int Priority => 1; // public void OnGUI(UnityModManager.ModEntry modEntry) // { // ...
AwesomeEventGrid/Infrastructure/ManagedStateFilterAttribute.cs
faniereynders/AwesomeEventGrid
4
7025643
using AwesomeEventGrid.Abstractions; using AwesomeEventGrid.Abstractions.Models; using AwesomeEventGrid.Entities; using Hangfire.Common; using Hangfire.States; using System.Collections.Generic; namespace AwesomeEventGrid.Infrastructure { public class ManagedStateFilterAttribute : JobFilterAttribute, IElectStateFi...
Web/ForumNet.Web.ViewModels/Posts/PostsListingViewModel.cs
kalintsenkov/ForumNet
17
7025644
<gh_stars>10-100 namespace ForumNet.Web.ViewModels.Posts { using System.Collections.Generic; public class PostsListingViewModel { public int Id { get; set; } public string Title { get; set; } public int Likes { get; set; } public int RepliesCount { get; set; } p...
Src/numl/Math/Functions/Function.cs
sethjuarez/numl
370
7025646
// file: Math\Functions\Function.cs // // summary: Implements the function class using System.Linq; using numl.Math.LinearAlgebra; namespace numl.Math.Functions { /// <summary>A function.</summary> public abstract class Function : IFunction { /// <summary>Exps.</summary> /// <pa...
Test/UncertainMeasurementSampleTests.cs
dcwuser/metanumerics
78
7025647
using System; using TestClassAttribute = Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute; using TestMethodAttribute = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute; using ExpectedExceptionAttribute = Microsoft.VisualStudio.TestTools.UnitTesting.ExpectedExceptionAttribute; using Asse...
Src/Melville.Pdf.LowLevel/Visitors/RecursiveDescentVisitor.cs
DrJohnMelville/Pdf
0
7025648
using Melville.Pdf.LowLevel.Model.Objects; namespace Melville.Pdf.LowLevel.Visitors; public abstract class RecursiveDescentVisitor<T>: ILowLevelVisitor<T> { protected virtual T VisitAny(PdfObject item) => default!; protected virtual T VisitNumber(PdfNumber item) => VisitAny(item); protected virtual T Vi...
Multiplayer/Utilities/JSON Models/Player Status.cs
TotiVM/GDM-Windows
3,920
7025649
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Multiplayer.Utilities.JSON_Models { public class lc { public Dictionary<int, level> levels = new Dictionary<int, level>(); } public class level { public int...
ErenPinaz.Common/Services/Settings/JsonSettingsService.cs
erenpinaz/Blogfolio
3
7025650
using System; using System.IO; using System.Web; using Newtonsoft.Json; namespace ErenPinaz.Common.Services.Settings { /// <summary> /// Json IO implementation of <see cref="ISettingsService" /> /// </summary> public class JsonSettingsService : ISettingsService { public string SettingsFile...
src/Maikebing.Data.Taos/TaosCommand.cs
rennner/Maikebing.EntityFrameworkCore.Taos
0
7025651
// Copyright (c) maikebing 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.ComponentModel; using System.Data; using System.Data.Common; using System.Diagnostics; using System.Linq; usin...
Source/OxyPlot.Xamarin.Mac/ConverterExtensions.cs
johnmbaughman/oxyplot-xamarin
1
7025652
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ConverterExtensions.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Provides extension methods that converts between MonoTouch...
src/CSHTML5.Runtime/Windows.UI.Xaml.Controls/DataGridHyperlinkColumn.cs
iso8859/CSHTML5
0
7025653
<reponame>iso8859/CSHTML5<filename>src/CSHTML5.Runtime/Windows.UI.Xaml.Controls/DataGridHyperlinkColumn.cs  /*=================================================================================== * * Copyright (c) Userware/OpenSilver.net * * This file is part of the OpenSilver Runtime (https://opensilver.net...
examples/AdManager/CSharp/v202102/CreativeService/CreateCustomCreative.cs
googleads/googleads-dotnet-lib
115
7025654
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
source/Nuke.Common/EnvironmentInfo.Parameters.cs
tyb-dev/nuke
1,520
7025655
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.Utilities; using Nuke...
src/Vk.Api.Schema/Parameters/Message/IMessageCreateChatParameters.cs
extremecodetv/Vk.Api.Schema
4
7025656
<filename>src/Vk.Api.Schema/Parameters/Message/IMessageCreateChatParameters.cs using System.Collections.Generic; namespace Vk.Api.Schema.Parameters.Message { /// <summary> /// Интерфейс для представления параметров запроса для messages.createChat <para/> /// Документация: <see href="https://vk.com/dev/mes...
NBug/Core/UI/WinForms/Full.cs
akrisiun/NBug
0
7025657
<gh_stars>0 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="Full.cs" company="NBug Project"> // Copyright (c) 2011 - 2013 <NAME>. Licensed under MIT license. // </copyright> // <copyright file="Full.cs" company="Git Exten...
thirtparty/veldrid/Veldrid/Vk/VkCommandList.cs
TeamStriked/striked3d
1
7025658
<reponame>TeamStriked/striked3d using System; using static Veldrid.Vk.VulkanUtil; using System.Diagnostics; using System.Collections.Generic; using System.Collections.Concurrent; using System.Text; namespace Veldrid.Vk { internal unsafe class VkCommandList : CommandList { private readonly VkGraphicsDe...
Assets/DOTweenUIAnimation/Script/FadeInAnimation.cs
MagicalMontra/Narrative
0
7025659
<reponame>MagicalMontra/Narrative using DG.Tweening; using UnityEngine; namespace Gamespace.UI { public class FadeInAnimation : UIAnimation { [SerializeField] private CanvasGroup[] _highlighters; public override void In(Sequence sequence) { for (int i = 0; i < _highlighter...
src/EdFi.Admin.LearningStandards.Tests/Utilities/TestCaseHelper.cs
saa14/Ed-Fi-LearningStandards-Client
0
7025660
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System.IO; using NUnit.Framework; namespace...
src/Orchard.Cms.Web/Modules/Orchard.Demo/Services/TestDependency.cs
TrustMan/TOSoB
0
7025661
<gh_stars>0 using Orchard.DependencyInjection; using Orchard.Environment.Shell; namespace Orchard.Demo.Services { public interface ITestDependency { string SayHi(string line); } public class ClassFoo : ITestDependency { private readonly ShellSettings _shellSettings; public...
src/Bitbucket.Net/Core/Projects/BitbucketClient.cs
royblit/Bitbucket.Net
0
7025662
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Bitbucket.Net.Common; using Bitbucket.Net.Common.Models; using Bitbucket.Net.Models.Core.Admin; using Bitbucket.Net.Models.Core.Projects; using Bitbucket.Net.Models.Core.Tasks; using Bitbucket.Ne...
Src/AutoNSubstituteUnitTest/SubstituteRequestHandlerTest.cs
riezebosch/AutoFixture
2,320
7025664
using System; using System.Reflection; using AutoFixture.Kernel; using NSubstitute; using Xunit; namespace AutoFixture.AutoNSubstitute.UnitTest { public class SubstituteRequestHandlerTest { [Fact] public void ClassImplementsISpecimenBuilderToServeAsFixtureCustomization() { ...
NickZPS/Views/Checkout/History.cshtml
wwwhackcom/ASP.NET-MVC-Website
1
7025665
<gh_stars>1-10 @model IEnumerable<NickZPS.Models.Order> @{ ViewBag.Title = "History"; Layout = "~/Views/Shared/_Layout.cshtml"; } <br/> <h2>Order History</h2> <table style="width:100%"> <tr> <th> OrderDate </th> <th> Total </th> ...
src/TurnerSoftware.DinoDNS/ConnectionType.cs
TurnerSoftware/DinoDNS
28
7025666
namespace TurnerSoftware.DinoDNS; public enum ConnectionType { /// <summary> /// A UDP-only connection. /// </summary> Udp, /// <summary> /// A TCP-only connection. /// </summary> Tcp, /// <summary> /// A UDP connection that falls back to TCP when the message is truncated. /// </summary> UdpWithTcpFallbac...
ODataToolkit.Tests/RandomDataGenerators.cs
GCAE/ODataToolkit
11
7025667
<gh_stars>10-100 namespace ODataToolkit.Tests { using System; public static class RandomDataGenerators { private static readonly Random Random = new Random(); public static string String() { return Guid.NewGuid().ToString(); } public static int Int(int...
WebApi/v3/ODataEFBatchSample/ODataEFBatchSample/Controllers/HomeController.cs
nickgaudreau/ODataSamples
1
7025668
<reponame>nickgaudreau/ODataSamples<filename>WebApi/v3/ODataEFBatchSample/ODataEFBatchSample/Controllers/HomeController.cs using System.Web.Mvc; namespace ODataEFBatchSample.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home...
WixWPFWizardBA/Views/Pages/BootstrapperUpdateCheckPage/BootstrapperUpdateCheckPageView.xaml.cs
eway-crm/WixWPFWizardBA
29
7025669
// // Copyright (c) <NAME> and <NAME>. All rights reserved. // Licensed under the MIT License. See LICENSE file in the solution root for full license information. // namespace WixWPFWizardBA.Views.Pages.BootstrapperUpdateCheckPage { using System.Windows.Controls; /// <summary> /// Interaction lo...
Regulus.Serialization/EnumDescriber.cs
jiowchern/Regulus
15
7025670
using System; namespace Regulus.Serialization { public class EnumDescriber<T> : EnumDescriber { public EnumDescriber() : base(typeof(T)) { } } public class EnumDescriber : ITypeDescriber { private readonly Type _Type; private readonly object _Default; ...
Assets/MediaPipe/SDK/Scripts/Gpu/GlContext.cs
spaskhalov/MediaPipeUnityPlugin
0
7025671
<gh_stars>0 using System; using MpGlContext = System.IntPtr; namespace Mediapipe { public class GlContext : ResourceHandle { private bool _disposed = false; public GlContext(MpGlContext ptr, bool isOwner = true) : base(ptr, isOwner) {} protected override void Dispose(bool disposing) { if (_disp...
src/Helpers/PropertyValuePair.cs
TimHanewich/TimHanewich.Cds
0
7025672
<gh_stars>0 using System; namespace TimHanewich.Cds.Helpers { public class PropertyValuePair { public string Property {get; set;} public string Value {get; set;} //Lookup related public bool IsLookup {get; set;} public string LookupEntitySetter {get; set;} } }
Promaster.Primitives/PropertyFiltering/Ast/EmptyExpr.cs
promaster-sdk/primitives-cs
0
7025673
<reponame>promaster-sdk/primitives-cs namespace Promaster.Primitives.PropertyFiltering.Ast { public class EmptyExpr : Expr { public override void Accept(IFilterVisitor filterVisitor) { filterVisitor.Visit(this); } } }
CrossMod/Rendering/Shapes/Capsule.cs
Jerr-z/please
0
7025674
<gh_stars>0 using OpenTK; using OpenTK.Graphics.OpenGL; using SFGenericModel; using SFGenericModel.VertexAttributes; using SFGraphics.GLObjects.Shaders; using SFShapes; using System; using System.Collections.Generic; namespace CrossMod.Rendering.Shapes { public class Capsule : GenericMesh<Vector4> { p...
PushNotification/Models/PersonInformation.cs
sumuongit/signalr-sql-dependency-push-notification
4
7025675
//------------------------------------------------------------------------------ // <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....
src/Quartz/Xml/ValidationException.cs
Leftyx/quartznet
1
7025676
<reponame>Leftyx/quartznet<filename>src/Quartz/Xml/ValidationException.cs #region License /* * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the Li...
src/approval-reviews/StartPageResolver.cs
baier/advanced-reviews
0
7025678
<reponame>baier/advanced-reviews using System; using System.Collections.Generic; using System.Linq; using EPiServer; using EPiServer.Core; using EPiServer.Web; using EPiServer.Web.Routing; namespace AdvancedApprovalReviews { public class StartPageUrlResolver { private readonly UrlResolver _urlResolver;...
Locana/Controls/EvSlider.xaml.cs
jeremygraziano/locanat1
0
7025679
<reponame>jeremygraziano/locanat1 using Kazyx.RemoteApi.Camera; using System; using System.Collections.Generic; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Media; // The User Control item template is documented at http://go.microsoft.com/fwlink/?Link...
samples/snippets/csharp/VS_Snippets_Winforms/WinForms.Control.Resize/CS/form1.cs
hamarb123/dotnet-api-docs
421
7025680
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace ResizeEvent { public class Form1 : System.Windows.Forms.Form { private System.ComponentModel.Container components = null; public Form1() { Init...
src/csharp/Grpc.Core.Tests/SanityTest.cs
duanwujie/grpc-hacking
9
7025681
#region Copyright notice and license // Copyright 2015, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyrig...
Assets/Script/MonsterKayu Script/MonsterAttack.cs
RobyRAX/Project_Keraton
0
7025682
<filename>Assets/Script/MonsterKayu Script/MonsterAttack.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class MonsterAttack : MonoBehaviour { public Transform attackPoint; public float attackRadius; public int damage; public GameObject player; //bool playe...
ironpython2/Src/DLR/Src/Microsoft.Dynamic/Utils/HybridReferenceDictionary.cs
shuice/IronPython_UWP
2
7025683
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace AnyP...
class/System.Windows/System.Windows/DataObject.cs
MiftahurRidho/tugas
87
7025684
<reponame>MiftahurRidho/tugas // // DataObject.cs // // Contact: // <NAME> (<EMAIL>) // // Copyright 2010 Novell, Inc. // // 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 rest...
dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/ActorLogInfo.cs
NKStupid/dropbox-sdk-dotnet
0
7025685
// <auto-generated> // Auto-generated by StoneAPI, do not modify. // </auto-generated> namespace Dropbox.Api.TeamLog { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>The entity who p...
osu.Game.Tests/Rulesets/TestSceneRulesetSkinProvidingContainer.cs
peppy/osu-new
1
7025686
<gh_stars>1-10 // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; usi...
src/Kaponata.iOS/DiagnosticsRelay/DiagnosticsRelayRequest.cs
kaponata-io/kaponata
10
7025687
<gh_stars>1-10 // <copyright file="DiagnosticsRelayRequest.cs" company="Quamotion bv"> // Copyright (c) Quamotion bv. All rights reserved. // </copyright> using Claunia.PropertyList; using Kaponata.iOS.PropertyLists; namespace Kaponata.iOS.DiagnosticsRelay { /// <summary> /// Represents a request sent to the...
tests/V8/Services/DetailedDemographicServiceClientTest.g.cs
friedenberg/google-ads-dotnet
0
7025688
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
MVCProje/Views/Musteri/YeniMusteri.cshtml
YasinBulut/MVC-Urun-Takip-Sistemi
0
7025689
<gh_stars>0 @model MVCProje.Models.Entity.Tbl_Musteriler @{ ViewBag.Title = "YeniMusteri"; Layout = "~/Views/Shared/_MainLayout.cshtml"; } <form method="post" class="form-group"> <div> <label>Müşeteri Ad</label> @Html.TextBoxFor(m => m.MUSTERIAD, new { @class = "form-control" }) @...
UsaEpay/Communication/AddPaymentMethodRequest.cs
VirtoCommerce/vc-module-UsaEpay
3
7025690
<reponame>VirtoCommerce/vc-module-UsaEpay<gh_stars>1-10 using System; using System.Runtime.Serialization; namespace UsaEpay.Communication { [DataContract] public class AddPaymentMethodRequest { [DataMember] public Guid ApplicationId { get; set; } [DataMember] public string...
server/Vwm.RTree/MathUtils.cs
tousekjan/fit-ctu-vwm-rtree
0
7025691
using Newtonsoft.Json; using System; using System.Linq; using static System.Math; namespace Vwm.RTree { public static class MathUtils { public static double Distance(Point p1, Point p2) { double acc = 0; for (int i = 0; i < Constants._Dimensions; i++) { acc += Pow(p1.Coords[i] - ...
source/SpectrumEngine.Emu/Z80/Z80Cpu-Helpers.cs
Dotneteer/spectrum-dotnet-engine
0
7025692
using System.Runtime.CompilerServices; namespace SpectrumEngine.Emu; /// <summary> /// This class implements the emulation of the Z80 CPU. /// </summary> /// <remarks> /// This partition contains miscellaneous helpers for instruction execution. /// </remarks> public partial class Z80Cpu { /// <summary> /// R...
Source/Microsoft.Teams.Apps.FAQPlusPlus.Common/Models/ShareFeedbackCardPayload.cs
CeXworkplace/TEA-Cartoon
89
7025693
// <copyright file="ShareFeedbackCardPayload.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace Microsoft.Teams.Apps.FAQPlusPlus.Common.Models { /// <summary> /// This model class is responsible to model user activity with bot- /// asking a question or prov...
test/Plus.AspNetCore.MultiTenancy.Tests/Plus/AspNetCore/App/AppModule.cs
Meowv/meowv.core
12
7025694
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Plus.AspNetCore.MultiTenancy; using Plus.AspNetCore.TestBase; using Plus.Json; using Plus.Modularity; using Plus.MultiTenancy; using System.Collections.Generic; namespace Plus.AspNetCore.App { ...
Assets/Game/Game Modes/Common/Audio/ThunderScript.cs
FellowshipOfTheGame/Hexes-of-Mortvell
0
7025695
<reponame>FellowshipOfTheGame/Hexes-of-Mortvell<filename>Assets/Game/Game Modes/Common/Audio/ThunderScript.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class ThunderScript : MonoBehaviour { public int maxState; private int state; public void play(){ stat...
Simple.MailServer/Dns/Response.cs
bbqchickenrobot/simple.mailserver
82
7025696
#region // // Bdev.Net.Dns by <NAME>, Big Developments Ltd. Please send all bugs/enhancements to // <EMAIL> This file and the code contained within is freeware and may be // distributed and edited without restriction. // // refactored by <NAME> #endregion using System; namespace Bdev.Net.Dns { /// <summary> ...
test/Serilog.Sinks.Syslog.Tests/CertificateProviders/CertificateProviderTests.cs
tobiasschittkowski/serilog-sinks-syslog
38
7025697
// Copyright 2018 Ionx Solutions (https://www.ionxsolutions.com) // Ionx Solutions licenses this file to you under the Apache License, // Version 2.0. You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 using System; using Xunit; using Shouldly; using static Serilog.Sinks.Syslog.Tests...
src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.Sockets/StreamSocketListener.cs
AlexTrepanier/Uno
2
7025698
<filename>src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.Sockets/StreamSocketListener.cs #pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Networking.Sockets { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented...
src/Humanizer.Tests.Shared/BitFieldEnumUnderTest.cs
totpero/Humanizer
1
7025699
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Humanizer.Tests { [Flags] public enum BitFieldEnumUnderTest : int { [Display(Descript...
Laixer.Identity.Dapper/DependencyInjection/IdentityBuilderExtensions.cs
Laixer/Laixer.Identity.Dapper
0
7025700
using Laixer.Identity.Dapper; using Laixer.Identity.Dapper.Store; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Reflection; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Contains extension methods to <see cre...
Attest.Fake.Moq/ConstraintFactory.cs
JTOne123/Attest
4
7025701
using System; using System.Linq.Expressions; using Attest.Fake.Core; namespace Attest.Fake.Moq { /// <summary> /// Represents a factory for creating argument constraints /// </summary> /// <seealso cref="Attest.Fake.Core.IConstraintFactory" /> public class ConstraintFactory : IConstraintFactory ...
BreakWordle.Business/Base/Constants.cs
jtbell-dev/break-wordle
0
7025702
using System; using System.Collections.Generic; using System.Text; namespace BreakWordle.Business { public static class Constants { public const string WORD_FILES_FOLDERNAME = "WordFiles"; } }
TEModels/Products/TEProductPreparation.cs
TraceabilityInternet/TraceabilityDriver
2
7025703
<gh_stars>1-10 using TraceabilityEngine.Util.StaticData; using TraceabilityEngine.Interfaces.Models.Products; using TraceabilityEngine.StaticData; using System; using System.Collections.Generic; using System.Text; namespace TraceabilityEngine.Models.Products { public class TEProductPreparation : ITEProductPrepara...
src/KubernetesClient/generated/Models/V1PodDNSConfig.cs
Frassle/csharp
2
7025704
<gh_stars>1-10 // <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace k8s.Models { using Newtonsoft.Json; using System.Collections; using System.Collecti...
SymbolFilterServer/ArgumentsParser.cs
MattKotsenas/SymbolFilterServer
2
7025705
using System.Collections.Generic; using System.CommandLine; using System.Linq; namespace SymbolFilterServer { public class ArgumentsParser { public Arguments Parse(string[] args) { var port = 8080; IReadOnlyList<string> symbols = new List<string>(); Argument...
Ginger/GingerRuntime/Menus/CodeProcessorMenu.cs
Ginger-Automation/Ginger
87
7025706
<gh_stars>10-100 #region License /* Copyright © 2014-2021 European Support Limited 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 ap...
ConcreteJungle/ConcreteJungle/Patches/TurnDirectorPatches.cs
BattletechModders/ConcreteJungle
1
7025707
<filename>ConcreteJungle/ConcreteJungle/Patches/TurnDirectorPatches.cs using BattleTech; using ConcreteJungle.Helper; using Harmony; using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace ConcreteJungle.Patches { [HarmonyPatch(typeof(TurnDirector), "IncrementActiveTurnAct...
Assets/Dependencies/Atomata/Apparatus/Runtime/Scripts/Container/AApparatusContainer.cs
atomata/VClassroom_Proto_VSolar_ApparatusUPackageDevelopment
0
7025708
<reponame>atomata/VClassroom_Proto_VSolar_ApparatusUPackageDevelopment using System.Collections.Generic; using System.Linq; using System.Text; using Atomata.Apparatus.Runtime.Scripts.Interfaces; using HexCS.Core; using UnityEngine; using HexUN.Framework.Debugging; namespace Atomata.VSolar.Apparatus.Example { /// <...
Tech Module/Programming Fundamentals/LabsAndExercises/17.DictionariesLambdaAndLINQExercises/p09.01.LegendaryFarming/LegendaryFarming.cs
vesy53/SoftUni
0
7025709
using System; using System.Linq; using System.Collections.Generic; class LegendaryFarming { static void Main(string[] args) { var keyMaterials = new Dictionary<string, int>(); var junkMaterials = new Dictionary<string, int>(); bool isTrue = true; string obtained = string.Empty;...
NBi.UI.Genbi/Command/FindCommand.cs
TheAutomatingMrLynch/NBi
0
7025710
using NBi.UI.Genbi.Presenter; using NBi.UI.Genbi.View.TestSuiteGenerator; namespace NBi.UI.Genbi.Command { class FindCommand : CommandBase { private readonly FindAndReplacePresenter presenter; private readonly NbiTextEditor editor; public FindCommand(FindAndReplacePresenter presenter, N...
RomanNumeralsTest.cs
fluency-in/csharp-roman-numerals
0
7025711
<gh_stars>0 using NUnit.Framework; [TestFixture] public class RomanNumeralsTest { [TestCase(0, ExpectedResult = "")] [TestCase(1, ExpectedResult = "I", Ignore = "Remove to run test case")] [TestCase(2, ExpectedResult = "II", Ignore = "Remove to run test case")] [TestCase(3, ExpectedResult = "III", Igno...
src/Sharpened/Org/Apache/Http/Entity/Mime/MultipartEntity.cs
elevine/couchbase-lite-net
0
7025712
<filename>src/Sharpened/Org/Apache/Http/Entity/Mime/MultipartEntity.cs<gh_stars>0 // // MultipartEntity.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2014 Xamarin Inc // Copyright (c) 2014 .NET Foundation // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this softw...
Chapter24/MvvmEnforcement/MvvmEnforcement/MvvmEnforcement/LittleViewModel.cs
mduberstein/xamarin-forms-book-samples
0
7025713
<reponame>mduberstein/xamarin-forms-book-samples using System; using System.Collections.Generic; using System.ComponentModel; namespace MvvmEnforcement { public class LittleViewModel : INotifyPropertyChanged { string name, email; string[] languages = { "C#", "F#", "Objective C", "Swift", "Java"...
webScraper/HTMLAgitilyPack_Framework/ListConverter.cs
jfdoyle3/webScraper.dotNet
0
7025714
<filename>webScraper/HTMLAgitilyPack_Framework/ListConverter.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.IO; using System.Data.SqlClient; using System.Threading.Tasks; using HtmlAgilityPack; using Selenium; namespace WebScraper { public c...
src/Presentation/WebApp/Pages/Mission/Details.cshtml
olo42/SAROM_V2
0
7025715
@page @model com.github.olo42.ROM.Presentation.WebApp.Pages.Mission.DetailsModel @{ ViewData["Title"] = "Details"; } <h1>Details</h1> <div> <h4>Mission</h4> <hr /> <dl class="row"> <dt class="col-sm-2"> @Html.DisplayNameFor(model => model.ViewModel.Objective) </dt> ...
SByteDev.Xamarin.iOS.BSImagePicker/Structs.cs
SByteDev/Net.Xamarin.iOS.BSImagePicker
1
7025716
<filename>SByteDev.Xamarin.iOS.BSImagePicker/Structs.cs using System; using ObjCRuntime; namespace SByteDev.Xamarin.iOS.BSImagePicker { [Native] public enum SelectionStyle : long { Checked = 0, Numbered = 1 } }
FluentSql/SqlGenerators/Query.cs
ernestoherrera/FluentSql
7
7025718
<reponame>ernestoherrera/FluentSql using Dapper; using FluentSql.Mappers; using FluentSql.SqlGenerators.Contracts; using FluentSql.Support; using FluentSql.Support.Helpers; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Linq.Expressions; namespace FluentSq...
BettingGame.UserManagement.Core/Features/UserProfile/UpdateUserProfileCommand.cs
msallin/BettingGame
1
7025719
<reponame>msallin/BettingGame using System.ComponentModel.DataAnnotations; using Silverback.Messaging.Messages; namespace BettingGame.UserManagement.Core.Features.UserProfile { public class UpdateUserProfileCommand : ICommand { [Required] [MaxLength(100)] public string Email...
StoryEditor/ConsultNoteControl.cs
bobeaton/OneStoryEditor
1
7025720
<gh_stars>1-10 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace OneStoryProjectEditor { public partial class ConsultNoteControl : ResizableControl { internal const ...
_no_namespace/SimpleAnimationPlayable.StateManagement.cs
SinsofSloth/RF5-global-metadata
1
7025721
[DefaultMemberAttribute] // RVA: 0x141220 Offset: 0x141321 VA: 0x141220 private class SimpleAnimationPlayable.StateManagement // TypeDefIndex: 5935 { // Fields private List<SimpleAnimationPlayable.StateInfo> m_States; // 0x10 private int m_Count; // 0x18 // Properties public int Count { get; } public SimpleAnima...
src/Compatibility/Core/src/Tizen/Renderers/ScrollViewRenderer.cs
myroot/maui
0
7025722
<reponame>myroot/maui using System; using System.ComponentModel; using ElmSharp; using Microsoft.Maui.Controls.Platform; using Microsoft.Maui.Controls.Compatibility.Platform.Tizen.Native; using Microsoft.Maui.Essentials; using EContainer = ElmSharp.Container; using ERect = ElmSharp.Rect; using NBox = Microsoft.Maui.Con...
BurnSoft.Testing.Web.Selenium/IEActions.cs
burnsoftnet/BurnSoft.Testing.Web.Selenium
0
7025723
<gh_stars>0 using System; using System.Collections.Generic; using System.Diagnostics; using BurnSoft.Testing.Web.Selenium.interfaces; using BurnSoft.Testing.Web.Selenium.Types; using OpenQA.Selenium; using OpenQA.Selenium.IE; // ReSharper disable InconsistentNaming // ReSharper disable UnusedMember.Global namespace B...
Tinder.Net/Objects/TinderResponse.cs
li223/Tinder.Net
1
7025724
<filename>Tinder.Net/Objects/TinderResponse.cs using Newtonsoft.Json; namespace Tinder.Net.Objects { /// <summary> /// Tinder Response Object /// </summary> /// <typeparam name="T">Data Type for the Data Property</typeparam> public sealed class TinderResponse<T> { /// <summary> ...
WebApplication/Admin/Views/PageHandlers/GlossaryTerms/Detail.aspx.cs
MacdonaldRobinson/FlexDotnetCMS
48
7025725
<filename>WebApplication/Admin/Views/PageHandlers/GlossaryTerms/Detail.aspx.cs<gh_stars>10-100 using FrameworkLibrary; using System; namespace WebApplication.Admin.Views.PageHandlers.GlossaryTerms { public partial class Detail : AdminBasePage { private GlossaryTerm selectedItem = null; protec...
Tests/Main Tests/ExcelTests/Test02.cs
DominikPalo/NetOffice
544
7025726
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using Tests.Core; using Core = NetOffice; using Office = NetOffice.OfficeApi; using Excel = NetOffice.ExcelApi; using NetOffice.ExcelApi.Enums; namespace ExcelTestsCSharp { public class Test02 : ITestPackage { #r...
CodeConverter.Web/Pages/Shared/_Layout.cshtml
fabienDaou/CodeConverter
0
7025727
<filename>CodeConverter.Web/Pages/Shared/_Layout.cshtml @using System.Diagnostics @using System.Reflection @using ICSharpCode.CodeConverter @using Microsoft.AspNetCore.Http @using Microsoft.Extensions.Caching.Memory @inject IMemoryCache memCache <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> ...
Prefabs and scripts/Game Manager Scripts/Power up/PowerUpAnimation.cs
BA-Huz/CS-476-Project
1
7025728
<filename>Prefabs and scripts/Game Manager Scripts/Power up/PowerUpAnimation.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class PowerUpAnimation : MonoBehaviour { public Sprite sprite1; public Sprite sprite2; SpriteRenderer spriteRenderer; int cou...
src/HttpMessageSigning.Tests/Verification/AspNetCore/RequestSignatureVerifierTests.cs
blacktemplar/HttpMessageSigning
0
7025729
<reponame>blacktemplar/HttpMessageSigning using System; using System.Security.Claims; using System.Security.Cryptography; using System.Threading.Tasks; using FakeItEasy; using FluentAssertions; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Xunit; namespace Dalion.HttpMessageSigning.Verific...
Digipost.Signature.Api.Client.Core.Tests/Utilities/CompareObjects/Difference.cs
karpis/signature-api-client-dotnet
5
7025730
namespace Digipost.Signature.Api.Client.Core.Tests.Utilities.CompareObjects { internal class Difference : IDifference { public string WhatIsCompared { get; set; } public object ExpectedValue { get; set; } public string ActualValue { get; set; } public string PropertyName { ge...
SmartBlocks/Entities/Particles/Portal.cs
CopperPenguin96/SmartBlocks
1
7025731
using MinecraftTypes; namespace SmartBlocks.Entities.Particles; public class Portal : Particle { public override VarInt Id => 45; public override Identifier Name => "portal"; }
Blog/obj/Release/Package/PackageTmp/Views/Blog/Create.cshtml
ImanberdiA/Blog-For-Internal-Using
0
7025732
@model Blog.Models.Post @{ ViewBag.Title = "CreatePost"; } <h2>Создание поста</h2> @using (Html.BeginForm("Create", "Blog", FormMethod.Post)) { <div class="form-group"> <label>Название</label> @Html.TextBoxFor(x => x.Title, new { @class = "form-control" }) </div> <div class="form-gro...
book/petrol-pump/c#/PetrolPump/STextField.cs
clinuxrulz/sodium
697
7025733
<reponame>clinuxrulz/sodium using System.Threading.Tasks; using System.Windows.Controls; using Sodium.Frp; namespace PetrolPump { public class STextField : TextBox { public STextField(string initialText) { base.Text = initialText; CellSink<string> text = Cell.CreateSink...
JobBrowser/JobBrowser/jobschedule.cs
TheWhiteEagle/Dryad
242
7025734
<reponame>TheWhiteEagle/Dryad /* Copyright (c) Microsoft Corporation 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 THIS CO...
Assets/Scripts/UnknownSoldier.cs
Doubled144/The-Wanderer
1
7025735
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UnknownSoldier : MonoBehaviour { Vector3 initialPosition; //HealthBar objects public GameObject gameObj; ProgressBar Health; //Stats public float speed = 5.0f; public float jumpAmount = 25; pu...
MeasurementsCore/MeasurementsUnitTests/ForceUnitTests.cs
jasdefer/MeasurementsCore
3
7025736
<filename>MeasurementsCore/MeasurementsUnitTests/ForceUnitTests.cs using Measurements; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MeasurementsUnitTests { [TestClass] public class ForceUnitTests { [TestMethod] public void Constructor() { var force = ne...
src/RedisWebServices.ServiceInterface/SortedSet/SortedSetContainsItemService.cs
RedisLabs/ServiceStack.RedisWebServices
1
7025737
<gh_stars>1-10 using RedisWebServices.ServiceModel.Operations.SortedSet; namespace RedisWebServices.ServiceInterface.SortedSet { public class SortedSetContainsItemService : RedisServiceBase<SortedSetContainsItem> { protected override object Run(SortedSetContainsItem request) { return new SortedSetContainsIt...
Xamarin.Forms.Core.UnitTests/StyleSheets/StyleParserTests.cs
bakerhillpins/Xamarin.Forms
2
7025738
<gh_stars>1-10 using System.IO; using NUnit.Framework; namespace Xamarin.Forms.StyleSheets.UnitTests { [TestFixture] public class StyleParserTests { [TestCase("font-size: 10", 1)] [TestCase("font-size: 10;", 1)] [TestCase("font-size: 10 background-color: blue", 0)] [TestCase("font-size: 10; background-colo...
Product/Zentity.Web.UI.ToolKit/ResourceControls/CategoryHierarchy.cs
jdm7dv/Zenity
1
7025740
// ******************************************************* // // Copyright (C) Microsoft. All rights reserved. // // ******************************************************* using System; using Syst...