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
src/Net/BlackTournamentClient.cs
Neovex/BlackTournament
3
7037494
<reponame>Neovex/BlackTournament using System; using System.Net; using System.Collections.Generic; using System.Linq; using Lidgren.Network; using BlackNet; using BlackNet.Client; using BlackTournament.InputMaps; using BlackTournament.Net.Data; using BlackTournament.Properties; namespace BlackTournament.Ne...
QuickStop.Client/Forms/HotelRoomDetailsForm.cs
FDemin/Quick-Stop
0
7037496
<gh_stars>0 using QuickStop.Components.CustomEventArgs; using System; using System.Windows.Forms; namespace QuickStop.Client.Views { public partial class HotelRoomDetailsForm : Form { public HotelRoomDetailsForm() { InitializeComponent(); } private void BookHotelOn...
Utilities/WebDavStatusCode.cs
KAW0/WebDAVSharp.Server
0
7037497
<reponame>KAW0/WebDAVSharp.Server namespace WebDAVSharp.Server.Utilities { /// <summary> /// Contains the values of status codes defined for Http (WebDav). /// </summary> internal enum WebDavStatusCode { /// <summary> /// Equivalent to Http status 207 (WebDav). /// ...
src/DrawIoDotNetPluginsTest/ExpressionExtensionsTests.cs
iminakov/DrawIoDotNetPluginsExamples
8
7037498
<filename>src/DrawIoDotNetPluginsTest/ExpressionExtensionsTests.cs<gh_stars>1-10 using BaseDrawIoPlugin.Extensions; using NUnit.Framework; namespace DrawIoDotNetPluginsTest { [TestFixture] public class ExpressionExtensionsTests { private interface TestContract { void OpenFile();...
Source/Communication/Asynchronous/NATS/CAP.NATSCapOptionsExtension.cs
krzysztofdudek/hex
0
7037499
<filename>Source/Communication/Asynchronous/NATS/CAP.NATSCapOptionsExtension.cs using System; using GS.Hex.Communication.Asynchronous.Core; using GS.Hex.Communication.Asynchronous.Core.Transport; using Microsoft.Extensions.DependencyInjection; namespace GS.Hex.Communication.Asynchronous.NATS { internal sealed cla...
SDK/AppCenterDistribute/Microsoft.AppCenter.Distribute.Android.Bindings/Additions/DeepLinkActivity.cs
onovotny/AppCenter-SDK-DotNet
0
7037500
using Android.Runtime; namespace Microsoft.AppCenter.Distribute { [Preserve] class DeepLinkActivity : Com.Microsoft.Appcenter.Distribute.DeepLinkActivity { /* We don't use that subclass, it's only for preserving the parent Java class when linker is used. */ } }
src/Ngrok.AgentAPI/Tunnel definitions/IpRestriction.cs
Eptagone/Ngrok.AgentAPI
0
7037501
// Copyright (c) 2022 <NAME>. // Licensed under the MIT License, See LICENCE in the project root for license information. using Newtonsoft.Json.Serialization; using Newtonsoft.Json; using System.Collections.Generic; using System.Text.Json.Serialization; using System; using System.Runtime.InteropServices; namespace N...
Source/App/Utility/ViewBagDefaultsAttribute.cs
olegip/Exceptionless
0
7037502
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://w...
src/Tests/Core/ImplementationDetails/Mutation/If_statement_condition.cs
tiggerite/fettle
71
7037503
using Fettle.Core.Internal.Mutators; using Fettle.Core.Internal.RoslynExtensions; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using NUnit.Framework; using System.Linq; namespace Fettle.Tests.Core.ImplementationDetails.Mutation { [TestFixture] class If_statement_c...
Tests/N2/NS2SC1S0/From_NS2SC1S0.cs
florin-rotaru/Statics.Mapper
0
7037504
<reponame>florin-rotaru/Statics.Mapper using Internal; using Models; using Xunit; using Xunit.Abstractions; namespace NS2SC1S0.Tests { [Collection("S_S2SC1S0")] public class From_NS_NS2SC1S0_I0_Members : FromTo_N2_NonStatic_Members<TS2SC1S0_I0_Members?> { public From_NS_NS2SC1S0_I0_Members(ITestOutputHelper console)...
src/Cake.CMake/CMakeRunnerBase.cs
Breakpoint21/Cake.CMake
3
7037505
<filename>src/Cake.CMake/CMakeRunnerBase.cs using System.Collections.Generic; using Cake.Core; using Cake.Core.IO; using Cake.Core.Tooling; namespace Cake.CMake { /// <summary> /// The c make runner base /// </summary> /// <typeparam name="TSettings">The type of the settings.</typeparam> /// <seealso cref="...
Plugins/HierarchyDumper/src/Dumper_GameObject.cs
NullPopPoLab/PluggableVR_Unity
0
7037506
/*! @file @brief HierarchyDumper: GameObject 情報取得 @author NullPopPoLab @sa https://github.com/NullPopPoLab/PluggableVR_Unity */ using System; using System.Collections.Generic; using UnityEngine; namespace HierarchyDumper { //! GameObject 情報取得 public struct Dumper_GameObject { private GameObjec...
src/EnterpriseContactApi/ViewModels/ParttimeJobListVm.cs
appsonsf/FabricEAP
11
7037507
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Text; namespace EnterpriseContact.ViewModels { public class ParttimeJobListVm { //public Guid DepartmentId { get; set; } /// <summary> /// 部门名称 /// </summary> public List<string> DepartmentNa...
MiaServiceDotNetLibrary.Tests/Logging/HttpRequestTests.cs
mia-platform/Mia-service-Net-Library
0
7037508
<reponame>mia-platform/Mia-service-Net-Library<gh_stars>0 using System.Collections.Generic; using System.IO; using System.Text; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using Moq; using Newtonsoft.Json; namespace MiaServiceDotNetLibrary.Tests.Logging { public class MockBody { ...
Inheritance/BookShop/GoldenEditionBook.cs
BoykoNeov/Entity-Framework-SoftUni-Oct2017
0
7037509
namespace BookShop { internal class GoldenEditionBook : Book { public override decimal Price { get { return base.Price; } protected set { base.Price = value * 1.3m; } } publi...
CW2/Library/PackageCache/com.unity.burst@1.6.4/Tests/Runtime/Shared/084-Hint.cs
JZ76/Bad-Mutha-Truckers
2
7037510
using System; using static Unity.Burst.CompilerServices.Hint; namespace Burst.Compiler.IL.Tests { internal class Hint { [TestCompiler(42)] public static unsafe double CheckLikely(int val) { if (Likely(val < 42)) { return Math.Pow(Math.Tan(val), 42...
Modules/HomeModule.cs
Andychochocho/friend-letter
0
7037511
using Nancy; using Letter.Objects; namespace FriendLetter { public class HomeModule : NancyModule { public HomeModule() { Get["/"] = _ => { LetterVariables myLetterVariables = new LetterVariables { Recipient = "Manny", Sender = "Andy", Places = "Greenland"...
Core/Components/Handlers/Watchers/IDirectoryWatcherCollection.cs
SamirBanjanovic/That-Integration-Engine
1
7037512
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace ThatIntegrationEngine.Core.Components { public interface IDirectoryWatcherCollection : IEnumerable<IDirectoryWatcher> , IDisposable { IDirectoryWatcher this[int id] { get; } ...
Chart.Mvc/Chart.Mvc/SimpleChart/PolarArea/PolarAreaOptions.cs
martinobordin/Chart.Mvc
76
7037513
<reponame>martinobordin/Chart.Mvc namespace Chart.Mvc.SimpleChart { /// <summary> /// The polar area options. /// </summary> public class PolarAreaOptions : SimpleChartOptions { /// <summary> /// Gets or sets the scale show label backdrop. /// </summary> public bool?...
SquareRt.Core.Tests/ViewModels/SquareRtViewModelTests.cs
jimbobbennett/SquareRt
0
7037514
<reponame>jimbobbennett/SquareRt<gh_stars>0 using Moq; using NUnit.Framework; using SquareRt.Core.ViewModels; namespace SquareRt.Core.Tests.ViewModels { [TestFixture] public class SquareRtViewModelTests { private Mock<ISquareRtCalculator> calculator; private SquareRtViewModel viewModel; ...
Spectacles.NET.Types/AuditLogs/AuditLogChange/AuditLogChangeBase.cs
dondish/Spectacles.NET
0
7037515
using JsonSubTypes; using Newtonsoft.Json; namespace Spectacles.NET.Types { /// <summary> /// Base Class for AuditLogChanges /// </summary> [JsonConverter(typeof(JsonSubtypes), "Key")] [JsonSubtypes.KnownSubType(typeof(AuditLogStringChange), "name")] [JsonSubtypes.KnownSubType(typeof(AuditLogStringChange), "icon...
src/Statix/Deploy/MockUploader.cs
swharden/Statix
1
7037516
using System; using System.Collections.Generic; using System.Text; namespace Statix.Deploy { public class MockUploader : UploaderBase { public MockUploader() { Console.WriteLine("Mock Uploader: Connected"); } protected override void RemoteCreate(TrackedFile file) ...
sdk/identity/Azure.Identity/src/KnownAuthorityHosts.cs
jessicl-ms/azure-sdk-for-net
1
7037517
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace Azure.Identity { /// <summary> /// Defines fields exposing the well known authority hosts for the Azure Public Cloud and sovereign clouds. /// </summary> public static class KnownAu...
src/LiveCharts.Core/Themes/Testing.cs
adospace/Live-Charts
0
7037518
#region License // The MIT License (MIT) // // Copyright (c) 2016 <NAME> & LiveCharts contributors // // 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 wi...
SignalR_UnitTestingSupportCommon/IHubContextSupport/Internal/UnitTestingSupportForIHubContextCommon.cs
NightAngell/SignalR_UnitTestingSupport
18
7037519
<reponame>NightAngell/SignalR_UnitTestingSupport using System; using System.Collections.Generic; using System.Text; using SignalR_UnitTestingSupportCommon.Internal; namespace SignalR_UnitTestingSupportCommon.IHubContextSupport.Internal { /// <summary> /// Internal class which provide common features for IHubC...
CodexMicroORM.WPFDemo/Person.cs
moigarm/CodexMicroORM
33
7037520
<reponame>moigarm/CodexMicroORM //------------------------------------------------------------------------------ // <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 overwri...
cc.inspoy.framework.ui/BaseView.cs
inspoy/Instech
4
7037521
<reponame>inspoy/Instech // == Inspoy Technology == // Assembly: Instech.Framework.Ui // FileName: BaseView.cs // Created on 2018/05/01 by inspoy // All rights reserved. using System; using System.Collections.Generic; using Instech.Framework.Common; using Instech.Framework.Utils; using UnityEngine; namespace Instech....
Views/PDF/Redaction.cshtml
ESA-Security-Group/ej2-aspnetmvc-samples
0
7037522
@section ControlsSection{ <div class="control-section"> @{ using (Html.BeginForm("Redaction", "Pdf", FormMethod.Post, new { enctype = "multipart/form-data" })) { <div class="tablediv" style="font-size:14px"> Click the button to view a PDF document generated b...
test/Infrastructure.Tests/Infrastructure/Options_Test.cs
engilas/AspNetCore-Infrastructure
0
7037523
<reponame>engilas/AspNetCore-Infrastructure using System; using Infrastructure.Configuration; using Infrastructure.Exceptions; using Xunit; namespace Infrastructure.Tests.Infrastructure { public class Options_Test { private class Options : OptionsBase { public override void Validat...
Project/Assets/Scripts/Game/Player/PlayerController.cs
csantos92/TFG-Videojuego
0
7037524
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerController : MonoBehaviour { public static bool playerCreated; private const string AXIS_H = "Horizontal", AXIS_V = "Vertical", ATT = "Attacking"; public Vector2 lastMovement, currentMov...
ButorRevolutionWebAPI/src/backend/factory/IFPS.Factory.Application/ValidationDto/Users/UserUpdateDtoValidator.cs
encosoftware/ifps
0
7037525
<filename>ButorRevolutionWebAPI/src/backend/factory/IFPS.Factory.Application/ValidationDto/Users/UserUpdateDtoValidator.cs using FluentValidation; using IFPS.Factory.Application.Dto; namespace IFPS.Factory.Application.ValidationDto { public class UserUpdateDtoValidator : AbstractValidator<UserUpdateDto> { ...
NSysWeb/src/Core/Application/Features/Asentamientos/Queries/AsentamientosXParametros/AsentamientoParametros.cs
NSysX/NSysWeb
0
7037526
<gh_stars>0 using Application.Parametros; namespace Application.Features.Asentamientos.Queries.AsentamientosXParametros { public class AsentamientoParametros : PaginacionDePeticion { public string Nombre { get; set; } public int CodigoPostal { get; set; } } }
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GStruct4.cs
hdefucom/HDF
1
7037527
using System.Runtime.InteropServices; namespace DCSoftDotfuscate { [ComVisible(false)] public struct GStruct4 { public int int_0; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 255)] public byte[] byte_0; } }
src/ServiceManagement/HDInsight/Microsoft.WindowsAzure.Management.Configuration/Data/AzureHDInsightClusterConfiguration.cs
cwickham3/azure-sdk-for-net
1
7037528
<gh_stars>1-10 // 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 COD...
WhiteCore/Services/DataService/Connectors/Local/LocalMuteListConnector.cs
emperorstarfinder/WhiteCore-Dev-1
24
7037529
/* * Copyright (c) Contributors, http://whitecore-sim.org/, http://aurora-sim.org * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistri...
src/Scorpio.Domain/Scorpio/Domain/Entities/AggregateRoot.cs
wzd24/Scorpio
1
7037530
<reponame>wzd24/Scorpio using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace Scorpio.Domain.Entities { /// <summary> /// /// </summary> public abstract class AggregateRoot : Entity, IAggregateRoot { private readonly Collectio...
src/DotnetSpider/Network/InternetDetector/VpsInternetDetector.cs
c7ming/DotnetSpider
2
7037531
using System.Net; using System.Net.Sockets; namespace DotnetSpider.Network.InternetDetector { /// <summary> /// 自建VPS 可能有多根线路, 其中几根是用于稳定远程, 另几根是IP拨号, 所以不能用PING baidu.com这种形式判断是否拨号成功. /// </summary> public class VpsInternetDetector : InternetDetectorBase { private readonly int _networkCount; /// <summary> ...
Botcraft/Database/Entities/Giphy.cs
MrSpyretos/Botcraft
0
7037532
<reponame>MrSpyretos/Botcraft using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Botcraft.Database.Entities { public partial class Giphy { [Key] public long Id { get; set; } public string ServerName { get; set; } ...
Windows8 - IncrementalLoading/IncrementalLoading/Code/IPagedSource.cs
acaceresssit/Blog
29
7037533
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IncrementalLoading { public interface IPagedSource<R,K> { Task<IPagedResponse<K>> GetPage(string query, int pageIndex, int pageSize); } }
ISO2PSX/ISO2PSX.cs
Aedhen/CrashEdit
60
7037534
<filename>ISO2PSX/ISO2PSX.cs using System; using System.ComponentModel; using System.IO; internal static class BitConv { public static int FromInt32(byte[] str, int offset) { if (str == null) throw new ArgumentNullException("str"); if (offset < 0) throw new ArgumentOutO...
EventReminder.BackgroundTasks/Services/PersonalEventNotificationsProducer.cs
thelanmi/event-reminder
13
7037535
<reponame>thelanmi/event-reminder using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using EventReminder.Application.Core.Abstractions.Common; using EventReminder.Application.Core.Abstractions.Data; using EventReminder.Domain.Core.Primitives.Result; using EventRe...
src/GraphQL.SystemTextJson/ObjectDictionaryConverter.cs
zcsizmadia/graphql-dotnet
5,380
7037536
<gh_stars>1000+ using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; namespace GraphQL.SystemTextJson { /// <summary> /// A custom JsonConverter for reading a dictionary of objects of their real underlying type. /// Doesn't support write. /// </s...
Assets/App/01.Pong/Scripts/PongBall/PongBallView.cs
srndpty/TinyGameCollections
0
7037537
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TinyGameCollections { /// <summary> /// PongBallのViewクラス /// </summary> [DisallowMultipleComponent] public class PongBallView : MonoBehaviour ,IView { /// <summary> /// 初期化処理 /// </summary> public void Initialize() ...
samples/tutorial/Basic-01-ControlsViews/ControlsViews/ControlsViews/ControlsViews/Xaml/PageControlsViewsSimple.xaml.cs
moljac/Samples.Xamarin.Forms
6
7037538
using System; using System.Collections.Generic; using Xamarin.Forms; namespace ControlsViews.Pages.Xaml { public partial class PageControlsViewsSimple : ContentPage { public PageControlsViewsSimple () { InitializeComponent (); } // HACK: needed for iOS which has no back button private void buttonBa...
src/Brunet/Connections/LinkException.cs
sporkmonger/brunet
1
7037539
/* This program is part of BruNet, a library for the creation of efficient overlay networks. Copyright (C) 2005 University of California 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 re...
Libro/Converters/NullConverter.cs
awooo-ph/libro
2
7037540
<filename>Libro/Converters/NullConverter.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace Libro.Converters { class NullConverter : ConverterBase { public string NullValue { get; set; } p...
src/Intercom/Exceptions/JsonConverterException.cs
netspark/intercom-dotnet
63
7037541
<reponame>netspark/intercom-dotnet using System; namespace Intercom.Exceptions { public class JsonConverterException : IntercomException { public String Json { set; get; } public String SerializationType { set; get; } public JsonConverterException(String message) :base(me...
Assets/Plugins/Sirenix/Odin Validator/Editor/Scripts/Profiles/ValidationCollectionProfileAsset.cs
dotlive/Odin-Inspector-Chinese-Tutorial
51
7037542
//----------------------------------------------------------------------- // <copyright file="ValidationCollectionProfileAsset.cs" company="Sirenix IVS"> // Copyright (c) Sirenix IVS. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Sirenix.OdinV...
VendorOrderTracker/Views/Vendors/Index.cshtml
TSiu88/VenderOrderTracker
0
7037543
<reponame>TSiu88/VenderOrderTracker<gh_stars>0 @{ Layout = "_Layout"; } @using VendorOrders.Models <div class="header"> <h1>All Vendors</h1> </div> <div class="content"> @if(@Vendor.GetAll().Count == 0) { <h3 class="empty">No Vendors added!</h3> } else { <ol> @foreach (Vendor vendor in Model...
nUpdate.UpdateInstaller/UI/Popups/Popup.cs
andmattia/nUpdate
0
7037544
// Author: <NAME> (Trade/ProgTrade) 2016 using System; using System.Drawing; using System.Windows.Forms; namespace nUpdate.UpdateInstaller.UI.Popups { public class Popup { /// <summary> /// Shows a new popup-window. /// </summary> /// <param name="popupIcon">The icons of t...
Assets/CautiousHero/Scripts/Scriptable/Relics/BaseRelic.cs
wzzwzz687510/CautiousHero
0
7037545
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Wing.RPGSystem { [CreateAssetMenu(fileName = "Relic", menuName = "Wing/Scriptable Relics/BaseRelic", order = 50)] public class BaseRelic : ScriptableObject { [Header("Basic Parameters")] ...
Shared/Chompies.Shared/Vec.cs
Malcolmnixon/Chompies
0
7037546
using System; using Newtonsoft.Json; namespace Chompies.Shared { /// <summary> /// Vector structure /// </summary> public struct Vec { /// <summary> /// Constructor /// </summary> /// <param name="x">X coordinate</param> /// <param name="y">Y coordinate</par...
src/AspNetCore.Unobtrusive.Ajax/AjaxExtensions.cs
mjebrahimi/AspNetCore.Unobtrusive.Ajax
35
7037547
using AspNetCore.Unobtrusive.Ajax; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Routing; using System.Collections.Generic; using System.Globalization; namespace Microsoft.AspNetCore.Mvc.Rendering { /// <summary> /// Represents support for AJAX within an ASP.NET Core application. /// </summa...
sdk/dotnet/ApiGateway/Outputs/UsagePlanThrottleSettings.cs
alexbowers/pulumi-aws
260
7037548
// *** 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...
Gibbo.Library/Classes/Game Objects/Sprite.cs
Whitebeard86/Gibbo2D
14
7037549
#region Copyrights /* Gibbo2D - Copyright - 2013 Gibbo2D Team Founders - <NAME> <<EMAIL>> and <NAME> <<EMAIL>> 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 witho...
Ghapi/Models/Utilities/CSVUtil.cs
zeikomi552/Ghapi
0
7037550
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ghapi.Models.Utilities { public class CSVUtil { public static string EscapeText(string text) { int number = 0; if (!s...
Module2/DSA/Tasks/Cooking/Cooking/Program.cs
NevenaNikolova/TelerikAcademyAlpha2018
0
7037551
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Globalization; namespace Problem_3_Cooking { public class Program { public static Dictionary<string, KeyValuePair<decimal, string>> recipe = new Dictionary<string, KeyValuePair<decimal,...
src/Orc.LicenseManager.Server.Website/Controllers/LicenseController.cs
vkx86/Orc.LicenseManager
90
7037552
<reponame>vkx86/Orc.LicenseManager // -------------------------------------------------------------------------------------------------------------------- // <copyright file="LicenseController.cs" company="WildGums"> // Copyright (c) 2008 - 2014 WildGums. All rights reserved. // </copyright> // ---------------------...
src/Magicodes.ExporterAndImporter.Core/Models/ImportImageTo.cs
Nongzhsh/Magicodes.IE
1,472
7037553
namespace Magicodes.ExporterAndImporter.Core.Models { /// <summary> /// 图片导入类型 /// </summary> public enum ImportImageTo { /// <summary> /// 导入到临时目录 /// </summary> TempFolder, /// <summary> /// 导入为base64格式 /// </summary> Ba...
IITAcademicAutomationSystem/Areas/One/Views/Course/Delete.cshtml
JobayerAhmmed/IITAcademicAutomationSystem
0
7037554
<gh_stars>0 @model IITAcademicAutomationSystem.Areas.One.Models.CourseDetailsViewModel @{ ViewBag.Title = "Delete Course"; } <section class="content-header"> <h1> @Html.DisplayFor(model => model.CourseCode) - @Html.DisplayFor(model => model.CourseTitle) </h1> <ol class="breadcrumb"> <...
OpenXmlPowerTools/Comparer/WmlComparer.Private.Fields.cs
DanielBailey1001001/Open-Xml-PowerTools
0
7037555
using System; using System.Xml.Linq; namespace OpenXmlPowerTools { public static partial class WmlComparer { #pragma warning disable 414 private static readonly bool False = false; private static readonly bool True = true; private static readonly bool SaveIntermediateFilesForDebugging ...
AT.StoreNet.Data/ADO/Repository/UsuarioRepositoryADO.cs
ademirt/ASP-Net.AT_Store
0
7037556
<filename>AT.StoreNet.Data/ADO/Repository/UsuarioRepositoryADO.cs<gh_stars>0 using AT.StoreNet.Domain.Contracts.Repositories; using AT.StoreNet.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; namespace AT.StoreNet.Data.ADO.Repository { public class UsuarioRepositoryADO : IUsuar...
src/SubmissionEvaluation.Contracts/Data/EvaluationParameters.cs
itdesigners/challenges
14
7037557
<filename>src/SubmissionEvaluation.Contracts/Data/EvaluationParameters.cs using System; using System.Collections.Generic; using System.Linq; namespace SubmissionEvaluation.Contracts.Data { public class EvaluationParameters { public bool IsPassed { get { ...
Plugins/AM_DTASpectraFileGen_PlugIn/ConcatToolWrapper.cs
PNNL-Comp-Mass-Spec/DMS-Analysis-Manager
2
7037559
<reponame>PNNL-Comp-Mass-Spec/DMS-Analysis-Manager //********************************************************************************************************* // Written by <NAME> for the US Department of Energy // Pacific Northwest National Laboratory, Richland, WA // Copyright 2005, Battelle Memorial Institute //...
samples/snippets/csharp/VS_Snippets_CLR/conceptual.types.viewinfo/cs/source5.cs
BaruaSourav/docs
3,294
7037560
<reponame>BaruaSourav/docs<gh_stars>1000+ // <snippet5> // This program lists all the public constructors // of the System.String class. using System; using System.Reflection; class OtherSnippets { public static void Main() { SnippetA(); SnippetB(); } public static void SnippetA() ...
src/AspNetCore/src/App.Metrics.AspNetCore.Endpoints/Builder/MetricsApplicationBuilderExtensions.cs
JerrettDavis/AppMetrics
1,700
7037561
<reponame>JerrettDavis/AppMetrics // <copyright file="MetricsApplicationBuilderExtensions.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System; using System.Collections.Generic; using App.Metrics; using App.Metrics.AspNetCore; using App.M...
NGit.Test/NGit.Util/RawParseUtils_ParsePersonIdentTest.cs
PKRoma/ngit
96
7037562
<filename>NGit.Test/NGit.Util/RawParseUtils_ParsePersonIdentTest.cs /* This code is derived from jgit (http://eclipse.org/jgit). Copyright owners are documented in jgit's IP log. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies th...
source/Common/ScriptCollectionItem.cs
chriskapffer/Sol2E
0
7037563
using System; namespace Sol2E.Common { /// <summary> /// Acts more or less as an interface, but wanted to restrict accessibility of setter /// </summary> [Serializable] public abstract class ScriptCollectionItem { // holds the id of a ScriptCollection component publi...
ULO/tests/GSA.UnliquidatedObligations.Web.Tests/Mocks/ApplicationUserManagerMock.cs
gaybro8777/FM-ULO
1
7037564
using GSA.UnliquidatedObligations.Web.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; namespace GSA.UnliquidatedObligations.Web.Tests.Mocks { internal class ApplicationUserManagerMock { public ApplicationUserManager SetupApplicationUserManagerMock(IUserStore<ApplicationU...
Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dTiledSpriteEditor.cs
hazdvl/mathnificat
2
7037565
<filename>Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dTiledSpriteEditor.cs using UnityEditor; using UnityEngine; using System.Collections.Generic; [CanEditMultipleObjects] [CustomEditor(typeof(tk2dTiledSprite))] class tk2dTiledSpriteEditor : tk2dSpriteEditor { tk2dTiledSprite[] targetTiledSprites = new tk2dTiledSprite[0]...
Budget_Tracker/Services/Interfaces/IGoalService.cs
PWSZ-Budget-Tracker/api
0
7037566
using Budget_Tracker.Requests; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace Budget_Tracker.Services.Interfaces { public interface IGoalService { public Task<IActionResult> GetAll(); public Task<IActionResult> Add(AddGoalRequest request); public Task<IActionRe...
src/Examples/DocScan/DocScanExample/Controllers/HomeController.cs
getyoti/yoti-dotnet-sdk
6
7037567
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using DocScanExample.Models; using Microsoft.AspNetCore.Mvc; using Yoti.Auth; using Yoti.Auth.DocScan; using Yoti.Auth.DocScan.Session.Create; using Yoti.Auth.DocScan.Session.Create.Check; using Yoti.Auth....
Assets/Scripts/GameManager.cs
Xwilarg/ZeroHourGameJam
0
7037568
using UnityEngine; public class GameManager : MonoBehaviour { private Direction _currDir = Direction.None; private AudioSource _audio; [SerializeField] private AudioClip[] _gravityClips; [SerializeField] private GameObject _victory; public bool DidGameEnded { set; get; } = false; pu...
SourceCode/Source/EnterpriseLibrary/ExceptionHandling/Tests/WCF.Configuration.Design/ExceptionHandlingWCFConfigurationDesignManagerFixture.cs
ckalvin-hub/Sheng.Winform.IDE
227
7037569
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.Configuration.Design; using Microsoft.Practices.EnterpriseLib...
sample/SharpImGui/ImGuiStyle.cs
ousttrue/SharpImGui
0
7037570
// // generated cpptypeinfo-0.2.0 using System; using System.Runtime.InteropServices; using System.Numerics; namespace SharpImGui { // imgui.h:1356 public struct ImGuiStyle { // offsetof: 0 public float Alpha; // offsetof: 4 public Vector2 WindowPadding;...
Server/Startup.cs
NestorHub/Server
0
7037571
using System.Linq; using System.Net; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpOverrides; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Rewrite; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Nest...
src/eth.Telegram.BotApi.Objects/PhotoSize.cs
etherealko/StasyanBot
0
7037572
using Newtonsoft.Json; namespace eth.Telegram.BotApi.Objects { /// <summary> /// This object represents one size of a photo or a file / sticker thumbnail. /// </summary> public class PhotoSize { /// <summary> /// Unique identifier for this file /// </summary> ...
JotunnLib/Managers/InputManager.cs
Mixone-FinallyHere/Jotunn
0
7037573
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using Jotunn.Configs; namespace Jotunn.Managers { /// <summary> /// Manager for handling custom inputs registered by mods. /// </summary> public class InputManager : IManager { private static InputMana...
GraphLayout/Samples/EdgeDirectionTest/Form1.cs
bog1978/automatic-graph-layout
0
7037574
<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Microsoft.Msagl.Drawing; using Microsoft.Msagl.GraphViewerGdi; using Microsoft.Msagl.Co...
Source/TimeSeries.Modules/PersistentTimeSeries.cs
RaaLabs/TimeSeries
0
7037575
<reponame>RaaLabs/TimeSeries using RaaLabs.TimeSeries; using System.Threading.Tasks; namespace TimeSeries.Modules { class PersistentTimeSeries<T> { public async Task Add(DataPoint<T> dataPoint) { await Task.CompletedTask; } } }
src/Tests/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/ComputeBlazorFilesToCompressTest.cs
0x53A/sdk
1,671
7037576
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using System.IO; using FluentAssertions; using Microsoft.AspNetCore.Razor.Tasks; using Micros...
test/EPPlus.Core.Extensions.Tests/ExcelAddressExtensions_Tests.cs
eraydin/EpPlus.Core.Extensions
73
7037577
<gh_stars>10-100 using FluentAssertions; using OfficeOpenXml; using Xunit; namespace EPPlus.Core.Extensions.Tests { public class ExcelAddressExtensionsTests : TestBase { [Fact] public void Should_given_address_range_be_empty_with_header_row() { //-------------------------...
StrangeIoC/examples/Assets/scripts/signalsproject/signal/StartSignal.cs
bardic/strangeioc
1,421
7037578
<filename>StrangeIoC/examples/Assets/scripts/signalsproject/signal/StartSignal.cs /// A Signal for Starting the Context using System; using strange.extensions.signal.impl; namespace strange.examples.signals { public class StartSignal : Signal { } }
TeamPvPAnalyzer/PvPPlayer.cs
TerrarianSurvival/TeamPointPvPAnalyzer
0
7037579
<filename>TeamPvPAnalyzer/PvPPlayer.cs namespace TeamPvPAnalyzer { using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows.Media; using TeamPvPAnalyzer.Enums; using TeamPvPAnalyzer.Events; /// <summary> /// プレイヤークラス /...
src/GeoNRage.App/Components/Container.razor.cs
k94ll13nn3/GeoNRage
0
7037580
using Microsoft.AspNetCore.Components; namespace GeoNRage.App.Components; public partial class Container { [Parameter] public bool Condition { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } [Parameter] public RenderFragment? ElseContent { get; set; } }
src/Api/SaCodeWhite.Api/Models/EmergencyDepartment/DepartureLast1HrDto.cs
dmariogatto/sacodewhite
0
7037581
using Newtonsoft.Json; namespace SaCodeWhite.Api.Models.EmergencyDepartment { public class DepartureLast1HrDto : BaseDto { [JsonProperty("DEP_TYPE")] public string Type { get; set; } [JsonProperty("TOTAL")] public string Total { get; set; } } }
src/NativeFontsInterOp/NativeFontImpl/NativeFonts.cs
PaintLab/PixelFarm.External
0
7037582
//MIT, 2014-2018, WinterDev //----------------------------------- //use FreeType and HarfBuzz wrapper //native dll lib //plan?: port them to C# :) //----------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.IO; namespac...
CShark/EfectosLuces/Luz.cs
salometredici/2019_1C_K3051_CShark
0
7037583
<filename>CShark/EfectosLuces/Luz.cs using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using TGC.Core.Geometry; using TGC.Core.Mathematica; namespace CShark.EfectosLuces { public class Luz { public Color Color; ...
src/Spacetime/Helpers/HtmlOffset.cs
spacetimedotnet/spacetime
3
7037584
<reponame>spacetimedotnet/spacetime namespace Spacetime.Helpers { public class HtmlOffset { public double Top { get; set; } public double Left { get; set; } } }
Summer.Batch.CoreTests/Ebcdic/EbcdicTests.cs
Andrey-Ostapenko/SummerBatch
29
7037585
<reponame>Andrey-Ostapenko/SummerBatch // // Copyright 2015 Blu Age Corporation - Plano, Texas // // 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.apach...
Exercises Defining Classes/Problem14CatLady/Siamese.cs
danieldamianov/C-OOP-Basics
1
7037587
using System; using System.Collections.Generic; using System.Text; public class Siamese : Cat { public int EarSize { get; set; } public Siamese(string breed, string name, int earSize) { this.Breed = breed; this.Name = name; this.EarSize = earSize; } public override string...
Code/Service/MDM.UnitTest.Sample/Data/EF/PartyDetailsRepositoryFixture.cs
RWE-Nexus/EnergyTrading-MDM-Sample
1
7037588
namespace EnergyTrading.MDM.Test.Data.EF { using NUnit.Framework; using EnergyTrading.MDM; [TestFixture] public class PartyDetailsRepositoryFixture : DbSetRepositoryFixture<PartyDetails> { protected override PartyDetails Default() { var entity = base.Default(); ...
TimeCollapse/TimeCollapse.View/Animation.cs
angst-storm/bestgame
1
7037589
namespace TimeCollapse.View { public enum Animation { StayRight = 10, StayLeft = 2, WalkRight = 14, WalkLeft = 6, JumpRight = 8, JumpLeft = 0 } }
OnLine/OnLine/Pages/NoteDetails.aspx.designer.cs
shibathethinker/ChimeraCRM
19
7037590
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
framework/windows-workflow-foundation/scenario/ActivityLibrary/SendMail/CS/SendMail/SendMail.cs
joseocampo/samples
2,197
7037591
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.Activities; using System.Collections.Generic; using System.Collection...
Xpand/Xpand.ExpressApp.Modules/WizardUI.Win/Templates/WizardDetailViewForm.designer.cs
ebptwllc/eXpand
131
7037592
<gh_stars>100-1000 // <autogenerated /> using System.Windows.Forms; using DevExpress.XtraEditors; using DevExpress.XtraEditors.Controls; namespace Xpand.ExpressApp.WizardUI.Win.Templates { partial class WizardDetailViewForm { /// <summary> /// Required designer variable. /// </summary> ...
Programming_C#/ProgCSharp4eSourceR5/Chapter 9/UsingForEach/UsingForEach/UsingForEach.cs
CornerZhang/Learning_CSharp
0
7037593
#region Using directives using System; using System.Collections.Generic; using System.Text; #endregion namespace UsingForEach { namespace Programming_CSharp { // a simple class to store in the array public class Employee { // a simple class to store in the array public Emp...
BehaviorDesigner/Runtime/Tasks/Unity/Math/RandomBool.cs
SinsofSloth/RF5-global-metadata
1
7037594
<filename>BehaviorDesigner/Runtime/Tasks/Unity/Math/RandomBool.cs [TaskCategoryAttribute] // RVA: 0x152BC0 Offset: 0x152CC1 VA: 0x152BC0 [TaskDescriptionAttribute] // RVA: 0x152BC0 Offset: 0x152CC1 VA: 0x152BC0 public class RandomBool : Action // TypeDefIndex: 11252 { // Fields [TooltipAttribute] // RVA: 0x18E800 Off...
src/Arke.Sitecore.ComputedSearch/Models/VisualCrawlerFieldMap.cs
martinrayenglish/Sitecore-Computed-Search
2
7037595
using System.Collections.Generic; namespace Arke.Sitecore.ComputedSearch.Models { public class VisualCrawlerFieldMap { public string ScopeItemId { get; set; } public bool AllowNoPresentation { get; set; } public string TemplateFieldNames { get; set; } public List<VisualCrawlerF...
Day6/Day6.cs
ckaczor/Advent2019
0
7037596
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; namespace Advent { public static class Day6 { private static readonly Dictionary<string, MapObject> Orbits = new Dictionary<string, MapObject> { ["COM"] = new MapObject { Name = "COM" } }; ...