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
Mapping Tools/Classes/SystemTools/IOHelper.cs
nekoellie/Mapping_Tools
0
7064218
<reponame>nekoellie/Mapping_Tools using System; using System.IO; using System.Windows.Forms; using Microsoft.WindowsAPICodePack.Dialogs; namespace Mapping_Tools.Classes.SystemTools { public class IOHelper { public static bool SaveMapBackup(string fileToCopy, bool forced=false) { if (!Setti...
Shark/Controllers/BulletControl.cs
kylinator25/AlienRifle
2
7064219
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Shark { public class BulletControl : MonoBehaviour { public Rigidbody body; public void Update() { body.velocity = body.velocity.normalized * 150f; } ...
XExten.ProfileUI/Model/MemoryModel.cs
EmilyEdna/LinqX
6
7064220
using System; using System.Collections.Generic; using System.Text; namespace XExten.ProfileUI.Model { public class MemoryModel { /// <summary> /// 总内存 /// </summary> public string TotalMemory { get; set; } /// <summary> /// 可用内存 /// </summary> pu...
Source/TriviaGoldMine.Client/Views/Login.xaml.cs
svstoichkov/trivia-goldmine
0
7064221
namespace Quiztroller.Views { using System.Windows; using Properties; using ViewModels; public partial class Login { public Login() { this.InitializeComponent(); this.txtEmail.Text = Settings.Default.Email; this.txtPassword.Password = Settings....
BindingCrashCourse/Views/MainWindow.axaml.cs
The12thAvenger/DS3BehaviorToolGUI
0
7064222
<gh_stars>0 using Avalonia; using Avalonia.Controls; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using System; using MessageBox.Avalonia; using System.Xml.Linq; using System.Collections.Generic; using System.Linq; using DS3BehaviorToolGUI.ViewModels; using DS3BehaviorToolGUI.Models; namespace DS3Behavior...
Mindstorms.Core/Enums/CommandType.cs
Mortens4444/LegoMindstromsEV3
0
7064223
namespace Mindstorms.Core.Enums { public class CommandType : EnumLikeObject<CommandType> { public static readonly CommandType DirectCommand = new CommandType(0x00, nameof(DirectCommand)); public static readonly CommandType SystemCommand = new CommandType(0x01, nameof(SystemCommand)); pu...
Assets/FurbEletivaVR/Scripts/Walkpath.cs
VladD96/FurbEletivaVR
0
7064224
<gh_stars>0  using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class Walkpath : MonoBehaviour { public List<Transform> PointsToWalk; public GameObject StreetSign; [Header("Next Waypaths")] public Walkpath LeftWaypath; public Walkpath RightWaypath; public W...
build.cake
agc93/Cake.ServiceOrchestration
0
7064225
#tool "GitVersion.CommandLine" #tool "xunit.runner.console" #addin "Cake.DocFx" #tool "docfx.msbuild" #load "helpers.cake" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument...
src-console/System.Linq.Dynamic.Core.ConsoleTestApp.net40/Program.cs
sspekinc/System.Linq.Dynamic.Core
709
7064227
using System.Collections; using System.Collections.Generic; using System.Linq.Dynamic.Core.Tests.Helpers; using System.Linq.Dynamic.Core.Tests.Helpers.Entities; using System.Linq.Dynamic.Core.Tests.Helpers.Models; using System.Reflection; namespace System.Linq.Dynamic.Core.ConsoleTestApp.net40 { public class Prog...
timeConversion/Program.cs
yurimatosrodrigues/hackerRankExercises
1
7064228
using System.CodeDom.Compiler; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.RegularExpression...
src/Microsoft.Extensions.Logging.Console/IConsoleLoggerSettings.cs
niyouzhu/aspnet-Logging
511
7064229
using System; using Microsoft.Extensions.Primitives; namespace Microsoft.Extensions.Logging.Console { public interface IConsoleLoggerSettings { bool IncludeScopes { get; } IChangeToken ChangeToken { get; } bool TryGetSwitch(string name, out LogLevel level); IConsoleLoggerSet...
Nfh.Editor/Views/SeasonLevelListView.xaml.cs
NfhModding/NfhLevelEditor
2
7064230
<filename>Nfh.Editor/Views/SeasonLevelListView.xaml.cs using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace Nfh.Editor.Views { /// <summary> /// Interaction logic for SeasonLevelListView.xaml /// </summary> public partial class SeasonLevelListView : UserControl ...
src/Horse.Messaging.Data/Configuration/QueueOptionsConfiguration.cs
horse-framework/horse-messaging
15
7064231
using System.Text.Json.Serialization; using Newtonsoft.Json; namespace Horse.Messaging.Data.Configuration { internal class QueueOptionsConfiguration { [JsonProperty("AcknowledgeTimeout")] [JsonPropertyName("AcknowledgeTimeout")] public int AcknowledgeTimeout { get; set; } [Json...
Web/FootballLeagues.Web/Views/Game/Details.cshtml
TeamMachuPicchu/FootballLeagues
0
7064232
<reponame>TeamMachuPicchu/FootballLeagues @model FootballLeagues.Web.Models.GameViewModel <div class="container-fluid"> <div class="row"> <div class="col-sm-5 text-right">@Model.HomeTeam.Name</div> <div class="col-sm-1"></div> <div class="col-sm-1"></div> <div class="col-sm-5">@Mod...
Plugins/IConfigurablePlugin.cs
kriho/haf
0
7064233
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace HAF { public interface IConfigurablePlugin: IPlugin { UserControl View { get; } void LoadConfiguration(ServiceConfiguration configuration); void Sa...
ExtensibleFtp/Commands/QuitCommand.cs
DouglasDwyer/ExtensibleFtp
2
7064234
<filename>ExtensibleFtp/Commands/QuitCommand.cs using System; using System.Collections.Generic; using System.Net; using System.Text; namespace DouglasDwyer.ExtensibleFtp.Commands { public sealed class QuitCommand : FtpCommand { public override string CommandName => "QUIT"; public override voi...
Source/ISHRemote/Trisoft.ISHRemote/Exceptions/TrisoftAutomationException.cs
jlaridon/ISHRemote
16
7064235
<reponame>jlaridon/ISHRemote /* * Copyright (c) 2014 All Rights Reserved by the SDL Group. * * 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...
src/Common/Dolcecuore.Domain/Entities/ConfigurationEntity.cs
NOSUGARFORME/Dolcecuore
0
7064236
<gh_stars>0 namespace Dolcecuore.Domain.Entities; public class ConfigurationEntity : Entity<Guid> { public string Key { get; set; } public string Value { get; set; } }
CraftingGUI.cs
AqlaSolutions/MagicStorage
3
7064237
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Terraria; using Terraria.DataStructures; using Terraria.GameContent.UI.Elements; using Ter...
modules/product/src/test/java/com/opengamma/strata/product/payment/ResolvedBulletPaymentTest.cs
ckarcz/Strata.ConvertedToCSharp
0
7064238
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.product.payment { //JAVA TO C# CONVERTER TODO TASK: This Java 'import static' statement cannot be converted to C#: // import static com.opengamma.strat...
UI/UI.cs
ZimCodes/MonoGameLibrary
0
7064239
<reponame>ZimCodes/MonoGameLibrary using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGameLibrary.Sprite; using System; using System.Collections.Generic; using System.Text; namespace MonoGameLibrary.UI { /// <summary> /// The UI Abstract class /// </summary> public abstra...
YtgProject/Ytg.Scheduler.Comm/Bets/Calculate/BeiJingKuaiLeBa/RenXuanXing/RenXuanSan.cs
heqinghua/lottery-code-qq-814788821-
18
7064240
<filename>YtgProject/Ytg.Scheduler.Comm/Bets/Calculate/BeiJingKuaiLeBa/RenXuanXing/RenXuanSan.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ytg.Scheduler.Comm.Bets.Calculate.BeiJingKuaiLeBa.RenXuanXing { /// <summar...
ProfCalculator/MainPage.xaml.cs
HARUTDOKHOYAN/UWPCalculator
0
7064241
using ProfCalculator.ViewModel; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=...
src/SoftinuxBase.Security/ClaimsPrincipalFactory.cs
SOFTINUX/Base
17
7064242
// Copyright © 2017-2019 SOFTINUX. All rights reserved. // Licensed under the MIT License, Version 2.0. See LICENSE file in the project root for license information. using System.Security.Claims; using System.Threading.Tasks; using ExtCore.Data.Abstractions; using Microsoft.AspNetCore.Identity; using Microsoft.Extens...
src/ePlatform.eBelge.Api.Invoice/Models/Constants/CacheConstants.cs
Quaqmre/eplatform-api-dotnet-client
0
7064243
namespace ePlatform.eBelge.Api.Models.Business.Constants { public class CacheKeyConstants { public const string CurrencyCodeList = "CurrencyCodeList"; public const string TaxTypeCodeList = "TaxTypeCodeList"; public const string TaxExemptionReasonList = "TaxExemptionReasonList"; p...
Runtime/CooldownNode.cs
toastisme/OpenBehaviourTree
0
7064244
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System; using System.Linq; namespace Behaviour{ public class CooldownNode : TimerNode { /** * \class Behaviour.CooldownNode * Represents a cooldown in the BehaviourTree class * The timer runs for Tim...
src/Blockchain.Protocol.Bitcoin/Transaction/TransactionManager.cs
CoinVault/BitcoinNet
1
7064245
// <copyright file="TransactionManager.cs" company="SoftChains"> // Copyright 2016 <NAME> // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, // EITHER EXPRESSED OR IMPLIED, INCLUD...
Pact.Fhir.Core/Services/FhirResourceValidator.cs
PACTCare/Pact.Fhir
6
7064246
namespace Pact.Fhir.Core.Services { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Hl7.Fhir.Model; public static class FhirResourceValidator { public static IEnumerable<ValidationResult> Validate(Resource resource) { return resource.Validate(new Validatio...
Projects/TypeScript_Unity_Puerts_Json/Assets/Gen/UnityEngine_AnimatorOverrideController_Wrap.cs
fanlanweiy/luban_examples
44
7064247
<gh_stars>10-100 using System; namespace PuertsStaticWrap { public static class UnityEngine_AnimatorOverrideController_Wrap { [Puerts.MonoPInvokeCallback(typeof(Puerts.V8ConstructorCallback))] private static IntPtr Constructor(IntPtr isolate, IntPtr info, int paramLen, long data) ...
Organization/Organization.Infrastructure.Data/Helpers/UnitOfWork .cs
mahendrahirpara/Organization-Architecture
0
7064248
<filename>Organization/Organization.Infrastructure.Data/Helpers/UnitOfWork .cs  namespace Organization.Infrastructure.Data.Helpers { using NHibernate; using Organization.Domain.Interfaces; using System; using System.Data; public class UnitOfWork : IUnitOfWork { private readonly ISessionFactory _sess...
SDK.Forms/Scanbot.ImagePicker.Forms.iOS/DependencyManager.cs
doo/scanbot-image-picker-xamarin
0
7064249
 using Xamarin.Forms; namespace Scanbot.ImagePicker.Forms.iOS { public class DependencyManager { public static void Register() { DependencyService.Register<IImagePicker, ImagePicker>(); } } }
src/Petabridge.Tracing.Zipkin/Span.cs
IgorFedchenko/Petabridge.Tracing.Zipkin
40
7064250
<filename>src/Petabridge.Tracing.Zipkin/Span.cs // ----------------------------------------------------------------------- // <copyright file="Span.cs" company="Petabridge, LLC"> // Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> // </copyright> // ----------------------------------------------...
Web/Controllers/ArticleController.cs
lqh-xiaoemo/HaolaoshiApi
0
7064251
<reponame>lqh-xiaoemo/HaolaoshiApi<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Model; using Bll; using Common; using Web.Extension; using Microsoft.AspNetCore.Authorization; namespace...
BinaryTreeNode.cs
xandronus/datastruct
0
7064252
<filename>BinaryTreeNode.cs using System.Linq; namespace Graph { public class BinaryTreeNode<T> : Node<T> { public BinaryTreeNode() : base() { } public BinaryTreeNode(T data) : base(data, null) { } public BinaryTreeNode(T data,...
CrystalKeeper/Gui/PgDatabaseGuiEdit.xaml.cs
JoshuaLamusga/Crystal-Keeper
0
7064253
<filename>CrystalKeeper/Gui/PgDatabaseGuiEdit.xaml.cs using System.Windows.Controls; namespace CrystalKeeper.Gui { /// <summary> /// Interaction logic for PgDatabaseGuiEdit.xaml /// </summary> public partial class PgDatabaseGuiEdit : UserControl { public PgDatabaseGuiEdit() { ...
webapi-odata-testing-example.Data/Services/RaceService.cs
IntelliTect-Samples/webapi-odata-testing-example
5
7064254
<gh_stars>1-10 using System.Linq; using System.Threading.Tasks; using Example.Data.Interfaces; using Example.Data.Models; namespace Example.Data.Services { public class RaceService : DataServiceBase, IRaceService { public IQueryable<Race> FindAll() { return Db.Races.AsQueryable(); ...
Microwave.WebApi/Queries/EventRegistration.cs
Lauchi/EventStoreFacade
1
7064255
<reponame>Lauchi/EventStoreFacade using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Microwave.WebApi.Queries { [Serializable] public class EventRegistration : Dictionary<string, Type> { public EventRegistration() { } protected Eve...
src/dotnet/IntelligentComments.Rider/Model/RdCommentsSettingsModel.Generated.cs
aerooneqq/IntelligentComments
0
7064256
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a RdGen v1.10. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------...
Views/ItemSale/Create.cshtml
DenisWO/Stokin
0
7064257
@model Stokin.Models.ItemSale @{ ViewData["Title"] = "Create"; List<Product> products = ViewBag.Products; //Sale sale = ViewBag.Sale; //Model.Sale = ViewBag.Sale; } <h4>ItemSale</h4> <hr /> <div class="row"> <div class="col-md-4"> <form asp-action="Create"> <div asp-validation-summary="M...
Lazurite/Lazurite.CoreActions/CheckerLogicalOperators/LogicalOperator.cs
noant/Pyrite2
55
7064258
using Lazurite.ActionsDomain.Attributes; namespace Lazurite.CoreActions.CheckerLogicalOperators { public enum LogicalOperator { [HumanFriendlyName("И")] And, [HumanFriendlyName("И НЕ")] AndNot, [HumanFriendlyName("ИЛИ")] Or, [HumanFriendlyName("ИЛИ НЕ")]...
src/Runner/Synapse.Runner.Application/Configuration/ApplicationOptions.cs
manuelstein/synapse
41
7064259
namespace Synapse.Runner.Application.Configuration { /// <summary> /// Represents the options used to configure the Synapse Runner application /// </summary> public class ApplicationOptions { /// <summary> /// Gets/sets the options used to configure the Synapse Runner runtime ...
Assets/Scripts/Tools/HardPointSaver.cs
McShooterz/OpenSpace4x
16
7064260
<filename>Assets/Scripts/Tools/HardPointSaver.cs /***************************************************************************************************************************************** Author: <NAME> Email: <EMAIL> Project: Open Space 4x License: MIT License Notes: **************************************************...
VUModManagerRegistry/Migrations/20210330100921_AddIsPrivateToMod.cs
BF3RM/vumm-registry
1
7064261
using Microsoft.EntityFrameworkCore.Migrations; namespace VUModManagerRegistry.Migrations { public partial class AddIsPrivateToMod : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsPrivate", ...
WebEditor/WebEditor/Models/Verbs.cs
DPS2004/quest
282
7064262
using System; using System.Collections.Generic; using System.Linq; using System.Web; using TextAdventures.Quest; namespace WebEditor.Models { public class Verbs { public int GameId { get; set; } public string Key { get; set; } public IEditorControl EditorControl { get; set;...
OdeToFood/OdeToFood.Data/IRestaurantData.cs
roshannizar/OdeToFood.Core
0
7064263
using OdeToFood.Core; using System; using System.Collections.Generic; namespace OdeToFood.Data { public interface IRestaurantData { IEnumerable<Restaurant> GetAll(); IEnumerable<Restaurant> GetRestaurantByName(string name); Restaurant GetById(int id); Restaurant Update(Restaura...
MigraDocPlusXml/MigraDocXML/DOM/Paragraph.cs
renick/MigraDocPlusXML.Core
0
7064264
<reponame>renick/MigraDocPlusXML.Core<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MigraDocXML.DOM { public class Paragraph : DOMElement { private MigraDoc.DocumentObjectModel.Paragraph _model; public override MigraDoc.DocumentObje...
asp_net_mvc_t03/Views/Users/Index.cshtml
KnJbMfLAgdkwZL/asp_net_mvc_t03
0
7064265
<gh_stars>0 @model System.Collections.Generic.List<asp_net_mvc_t03.Models.User> @{ ViewBag.Title = "Users"; Layout = "_Layout"; } <h2>Users</h2> <div> <button class="btn btn-outline-success toolbarButtons" action="Unblock">🔓 Unblock</button> <button class="btn btn-outline-secondary toolbarButtons" a...
src/SmartHR.NET/Services/CrewCustomFieldTemplatePayload.cs
nogic1008/SmartHR.NET
0
7064266
using System.Collections.Generic; using System.Text.Json.Serialization; using SmartHR.NET.Entities; namespace SmartHR.NET.Services; /// <summary><inheritdoc cref="CrewCustomFieldTemplate" path="/summary/text()"/>APIのリクエストボディ</summary> /// <inheritdoc cref="CrewCustomFieldTemplate" path="/param"/> public record CrewCu...
NET/Examples/MainCDOLowlevel.cs
Clayster/samples
1
7064268
using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using DXMPP; using CDO; namespace ClaysterSamples { public class MainCDO { class TestCDO : IDisposable { Connection Uplink; CDOController CDOUplink; public enum Role { DataStorage, Reader,...
test/DocumentFormat.OpenXml.Tests/TestOffice2016.cs
929496959/Open-XML-SDK
2,667
7064269
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Validation; using System.Linq; using System.Text; using Xunit; using static DocumentFormat.OpenXm...
Mefistofeles.Repositories/TeamRepository.cs
jslonim/SeleniumBettingBot
0
7064270
using Dapper; using Mefistofeles.Repositories.Config; using Repositories.DTO; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mefistofeles.Repositories { public class TeamRepository : RepositoryBase { publ...
UnitTests/ExpectedException/ExpectedExceptionAttributeRemoverTest.cs
rubicon-oss/NUnit2To3SyntaxConverter
0
7064271
#region copyright // // Copyright (c) rubicon IT GmbH // // 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, m...
Assets/Scripts/Core/Game/Char/FlashlightParams.cs
KingVanti/AChildsCourage
0
7064272
using System; using UnityEngine; namespace AChildsCourage.Game.Char { [Serializable] public struct FlashlightParams { [SerializeField] private float maxShineDistance; [SerializeField] private float maxIntensity; [SerializeField] private Range<float> innerRadiusRange; [Ser...
BigML/DataSet/Field/Text.cs
mmerce/bigml-csharp
12
7064273
using System.Collections.Generic; using System.Collections; using Newtonsoft.Json.Linq; namespace BigML { public partial class DataSet { public partial class Field { public abstract partial class Summary { /// <summary> /// Text summaries...
Ugoria.URBD.WebControl/Controllers/UsersController.cs
iremezoff/urbd
0
7064274
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Ugoria.URBD.WebControl.Models; using Ugoria.URBD.WebControl.ViewModels; namespace Ugoria.URBD.WebControl.Controllers { [SecurityAccess(IsAdmin = true)] public class UsersController : Con...
src/Localization/CostaSoftware.AspNetCoreDatabaseLocalizationDemo/Services/ILocalizationService.cs
nunofilipecosta/DotnetCore-Playground
0
7064275
<filename>src/Localization/CostaSoftware.AspNetCoreDatabaseLocalizationDemo/Services/ILocalizationService.cs<gh_stars>0 using CostaSoftware.AspNetCoreDatabaseLocalizationDemo.Data; using CostaSoftware.AspNetCoreDatabaseLocalizationDemo.Models; using System.Linq; namespace CostaSoftware.AspNetCoreDatabaseLocalizationD...
ATMO.mko.Logging/LogHnd/FileLogHandler.cs
mk-prg-net/mk-prg-net.lib
0
7064276
//<unit_header> //---------------------------------------------------------------- // // <NAME>: IT Beratung/Softwareentwicklung // Stuttgart, den 26.4.2011 // // Projekt.......: mko // Name..........: FileLogHnd // Aufgabe/Fkt...: Implementierung eines Log- Handlers zur Ausgabe in einer Datei // ...
workers/unity/Packages/io.improbable.gdk.core/NetworkStats/NetFrameStats.cs
ezat90s/gdk-for-unity
280
7064277
using System.Collections.Generic; using System.Diagnostics; using Improbable.Worker.CInterop; namespace Improbable.Gdk.Core.NetworkStats { /// <summary> /// Represents a single frame's data for either incoming or outgoing network messages. /// </summary> public class NetFrameStats { pub...
Gandalan.IDAS.WebApi.Client/BusinessRoutinen/FarbenWebRoutinen.cs
Saibamen/idas-client-libs
3
7064278
using System.Collections.Generic; using System.Threading.Tasks; using Gandalan.IDAS.Client.Contracts.Contracts; using Gandalan.IDAS.WebApi.Client.Settings; using Gandalan.IDAS.WebApi.DTO; namespace Gandalan.IDAS.WebApi.Client.BusinessRoutinen { public class FarbenWebRoutinen : WebRoutinenBase { public...
ConsultaProdutosWeb/ConsultaProdutosWeb/Controllers/ProductController.cs
FernandoPucci/EstudosAspNetMvc
0
7064279
<filename>ConsultaProdutosWeb/ConsultaProdutosWeb/Controllers/ProductController.cs using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using ConsultaProdutosWeb.Models; namespace ConsultaProdutosWeb.C...
src/Redists/DataPoint.cs
Cybermaxs/Redists
11
7064281
using System; using Redists.Extensions; namespace Redists { /// <summary> /// Basic structure that represent a couple Key-Value /// </summary> public struct DataPoint { /// <summary> /// An Empty DataPoint. /// </summary> public static readonly DataPoin...
Pixmatter/AppForm.cs
evilprince2009/Pixmatter
0
7064282
using System; using System.Drawing; using System.Drawing.Imaging; using MetroFramework.Forms; using System.IO; using System.Windows.Forms; namespace Pixmatter { public partial class AppForm : MetroForm { private string _imagePath; private string _imageFormat; private string _directory;...
Web/OnlineStore.Web/Views/Home/Index.cshtml
yovko93/OnlineStoreProject
0
7064283
<filename>Web/OnlineStore.Web/Views/Home/Index.cshtml @model IndexViewModel @using OnlineStore.Common @{ this.ViewData["Title"] = "Home"; } @{ var products = Model.Products; var firstProduct = products.Any() ? products[0] : null; var secondProduct = products.Count > 1 ? products[1] : null; var thi...
Microsoft.Band.Portable/Microsoft.Band.Portable/Notifications/MessageFlags.cs
cahernanz/MS-Band-SDK
39
7064284
<gh_stars>10-100 namespace Microsoft.Band.Portable.Notifications { /// <summary> /// Represents flags that control how a message is sent to a Band device. /// </summary> public enum MessageFlags { /// <summary> /// Use the default message style. /// </summary> None, ...
Server/src/HETSAPI/Mappings/MappingExtensions.cs
rstens/hets
0
7064285
using System; using System.Collections.Generic; using HETSAPI.Models; using HETSAPI.ViewModels; namespace HETSAPI.Mappings { /// <summary> /// Mapping Extensions used to convert from Models to ViewModels /// </summary> public static class MappingExtensions { /// <summary> /// Conve...
src/20/20494.cs
youngdaLee/Baekjoon
11
7064286
/** * 20494. 스시 * * 작성자: xCrypt0r * 언어: C# 9.0 (.NET) * 사용 메모리: 5,756 KB * 소요 시간: 112 ms * 해결 날짜: 2021년 9월 24일 */ using System; class Program { public static void Main() { var T = int.Parse(Console.ReadLine()); var count = 0; while (T-- > 0) { count += Cons...
GenericServices/Core/EfGenericDtoAsync.cs
mburleigh/GenericServices
224
7064287
<gh_stars>100-1000 #region licence // The MIT License (MIT) // // Filename: EfGenericDtoAsync.cs // Date Created: 2014/06/24 // // Copyright (c) 2014 <NAME> (www.selectiveanalytics.com & www.thereformedprogrammer.net) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this soft...
Core/Jdenticon/Drawing/Rasterization/Edge.cs
topikon-de/jdenticon-net
61
7064288
#region License // Jdenticon-net // https://github.com/dmester/jdenticon-net // Copyright © <NAME> 2016 // // 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...
doNet/DotNet.zy.Utilities/页面辅助类/DataBind.cs
cqkxzyi/ZhangYi.Utilities
1
7064289
<filename>doNet/DotNet.zy.Utilities/页面辅助类/DataBind.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI.WebControls; using System.Data; using System.Web.UI; using System.Data.SqlClient; class DataBind { #region 绑定服务器数据控件 简单绑定DataList /// <summary> /...
CodeNav.Shared/Helpers/DocumentHelper.cs
wazazhang/CodeNav
0
7064290
<gh_stars>0 using CodeNav.Mappers; using CodeNav.Models; using Community.VisualStudio.Toolkit; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.LanguageServices; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.Text.O...
DesignPatterns/Command/Pedido.cs
guiigos/design-patterns
0
7064292
using System; namespace Command { class Pedido { public string cliente { get; private set; } public double valor { get; private set; } public DateTime dataFinalizacao { get; private set; } public Status status { get; private set; } public Pedido(string clien...
Public/Src/FrontEnd/Script/Ast/Declarations/ImportOrExportClause.cs
nayanshah/BuildXL
1
7064293
<reponame>nayanshah/BuildXL // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics.ContractsLight; using BuildXL.Utilities; using LineInfo = TypeScript.Net.Utilities.LineInfo; namespace Buil...
05. Interfaces and Abstraction/06.BirthdayCelebrations/BirthdayCelebrations.cs
mmihaylov82/CSharp-OOP-Basics
0
7064294
using System; using System.Collections.Generic; namespace _06.BirthdayCelebrations { class BirthdayCelebrations { static void Main(string[] args) { List<IBirthdateable> citizensAndPets = new List<IBirthdateable>(); string command; while ((command = Console...
Source/Miruken/Api/Oneway/Oneway.cs
Miruken-DotNet/miruken
6
7064295
<gh_stars>1-10 namespace Miruken.Api.Oneway { using System; public class Oneway : IDecorator { public Oneway() { } public Oneway(object request) { Request = request ?? throw new ArgumentNullException(nameof(request)); } ...
Beat/Assets/Scripts/Movement.cs
jsm3767/Beat
1
7064296
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Movement : MonoBehaviour { public float beatsPerMinute; public float spaceshipSpeed; //vectors for movement public Vector3 direction; public Vector3 acceleration; public Vector3 veloc...
QuartzNetUI/ConsoleApp1/HelloJob.cs
jibp/quartz
1
7064297
using Quartz; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class HelloJob : IJob { static int index = 1; public async Task Execute(IJobExecutionContext context) { // Console.WriteLine(" helloJob inde...
Capstone2 Prac/Assets/Scripts/PlayerMemory.cs
SirBrect/TimeTower
0
7064298
<filename>Capstone2 Prac/Assets/Scripts/PlayerMemory.cs using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "PlayerMemory")] public class PlayerMemory : ScriptableObject { [SerializeField] private Transform respawn; public void SetRespawn(Transform n...
InnovatorAdmin/Controls/ParameterGrid.cs
GCAE/InnovatorAdmin
49
7064299
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace InnovatorAdmin.Controls { public partial class ParameterGrid : UserControl { private L...
Tomato Potato Group/Assets/CardDrawButton.cs
hayoonee/Tomato-Potato-Group
0
7064300
<reponame>hayoonee/Tomato-Potato-Group<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; public class CardDrawButton : NetworkBehaviour { public PlayerManager playerManager; public void OnClick() { NetworkIdentity networkIdentity = NetworkClien...
editor source/SPNATI Character Editor/Controls/EditControls/StageControl.cs
laytonc32/spnati
0
7064301
using Desktop; using Desktop.CommonControls; using Desktop.Skinning; using System; using System.Collections.Generic; using System.Reflection; using System.Windows.Forms; namespace SPNATI_Character_Editor { public partial class StageControl : PropertyEditControl { private bool _filterStagesToTarget; private stri...
InteligobReportes/Recaudaciones/DiarioRecaudacionesFechaExt.cs
jmbarberan/gobman
0
7064302
<filename>InteligobReportes/Recaudaciones/DiarioRecaudacionesFechaExt.cs using System; using System.Linq; namespace Intelligob.Reportes.Recaudaciones { public partial class DiarioRecaudacionesFecha { public const Boolean EsInforme = true; public const int Modulo = 3; public const int...
src/EfCore.UnitOfWork.UnitTests/RepositoryFixture.cs
moattarwork/UnitOfWork
5
7064303
using System.Collections.Generic; using EfCore.UnitOfWork.UnitTests.Entities; namespace EfCore.UnitOfWork.UnitTests { public class RepositoryFixture { private static IEnumerable<Country> TestCountries => new List<Country> { new Country {Id = 1, Name = "A"}, new Country {...
CCM.Tests/Helpers/TestdataGenerator.cs
IrisBroadcast/ccm
8
7064304
<gh_stars>1-10 /* * Copyright (c) 2018 Sveriges Radio AB, Stockholm, Sweden * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
Views/Home/Redirect.cshtml
MPV65/adyen-dotnet-online-payments
0
7064305
<gh_stars>0 @{ ViewData["Title"] = "Redirecting..."; } @* Hidden divs with data passed from the server *@ <div id="clientKey" class="hidden">@ViewBag.ClientKey</div> @* Adyen Component client code *@ <script src="~/js/adyenImplementation.js" asp-append-version="true"></script>
Assets/App/UnityRoyale/Scripts/UI/HealthBar.cs
puerts-tsc/startup
0
7064306
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace UnityRoyale { public class HealthBar : MonoBehaviour { public RectTransform bar; public GameObject wholeWidget; private bool isHidden = true; private flo...
JhipsterBlazor.Test/Pages/Entities/Country/CountryDetailTest.cs
nicolas63/JhipsterBlazor
3
7064308
<filename>JhipsterBlazor.Test/Pages/Entities/Country/CountryDetailTest.cs using System.Threading.Tasks; using AutoFixture; using Blazorise; using Blazorise.Bootstrap; using Blazorise.Icons.FontAwesome; using Bunit; using Bunit.Rendering; using FluentAssertions; using JhipsterBlazor.Models; using JhipsterBlazor.Pages.E...
MvcBasic/Controllers/ResultsController.cs
Tzuhaochen/First_MVC_Commit
0
7064309
<reponame>Tzuhaochen/First_MVC_Commit using MvcBasic.Models; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.IO; using System.Text; using System.Web.Mvc; using System.Net; namespace MvcBasic.Controllers { public class ResultsController : Controll...
WebLab/Resultados/ResultadoView.aspx.cs
saludnqn/laboratorio
0
7064311
<reponame>saludnqn/laboratorio using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebPart...
VenoMpie.Common.Interfaces/MobyGames/SearchResults/APICallBase.cs
VenoMpie/KitchenSink
0
7064312
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VenoMpie.Common.Interfaces.MobyGames.SearchResults { //Useless class now, the error JSON is never returned. Can maybe do something with it later public abstract class APICallBase {...
src/NetBpm/Workflow/Delegation/DelegationService.cs
ephebe/netbpm
9
7064313
<filename>src/NetBpm/Workflow/Delegation/DelegationService.cs using log4net; using NetBpm.Util.Client; using NetBpm.Util.DB; using NetBpm.Util.Xml; using NetBpm.Workflow.Definition; using NetBpm.Workflow.Definition.Impl; using NetBpm.Workflow.Delegation.ClassLoader; using NetBpm.Workflow.Delegation.Impl; using NetBpm....
Assets/Scripts/Events/Utils/Event_106.cs
AestheticalZ/Faithful-SCP-Unity
8
7064314
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Event_106 : Event_Parent { // Start is called before the first frame update public GameObject trigger, spawnHere; bool spawned = false; private void Update() { if (isStarted == true)...
Syntagma/Form1.cs
sillsdev/syntagma
2
7064315
<reponame>sillsdev/syntagma using System; using System.Collections.Generic; using System.Windows.Forms; using System.IO; using System.Diagnostics; using System.Threading; namespace Syntagma { public partial class Form1 : Form { public static bool treeLoaded = false; // Has documentation been read? ...
CSharpSource/Source/api/Social/Models/ProfileSettingsRequest.cs
Shattered-Devs/xbox-live-unity-plugin
97
7064316
<reponame>Shattered-Devs/xbox-live-unity-plugin<filename>CSharpSource/Source/api/Social/Models/ProfileSettingsRequest.cs // Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections.Generic; using...
OnlineWallet.UI/ViewModels/LoginViewModel.cs
webprasanth/online-wallet
1
7064317
<filename>OnlineWallet.UI/ViewModels/LoginViewModel.cs using System.ComponentModel.DataAnnotations; namespace OnlineWallet.UI.ViewModels { public class LoginViewModel { [Required(ErrorMessage = "Email is required.")] [EmailAddress(ErrorMessage = "Invalid email address.")] [DataType(Dat...
Unity/Contes_RVTeam/Assets/Props/Apple/AppleFacePlayer.cs
thomasjl/Contes_RVTeam
0
7064318
using UnityEngine; using Valve.VR.InteractionSystem; public class AppleFacePlayer : MonoBehaviour { Comestible comestible; private void Awake() { comestible = GetComponentInParent<Comestible>(); comestible.Consumed += FacePlayer; } private void FacePlayer() { transform...
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/test/mock/Mocks.cs
luizfbicalho/Camunda.NET
6
7064319
using System.Collections.Generic; /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under t...
C# Web/GamesStore/GamesStore.Models/Category.cs
spiderbait90/Step-By-Step-In-C-Sharp
0
7064320
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace GamesStore.Models { public class Category { public Category() { Games = new List<Game>(); } public string Id { get; set; } publ...
Kudu.Tests/LinuxConsumptionInstanceAdmin/LinuxConsumptionRouteMiddlewareTests.cs
shadbin4012/KuduLite
48
7064321
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Kudu.Services.Infrastructure.Authentication; using Kudu.Services.LinuxConsumptionInstanceAdmin; using Kudu.Contracts.Settings; using Xunit; using Kudu.Ser...
src/Umbraco.Core/PropertyEditors/TinyMcePropertyEditorValueConverter.cs
bamdada/FL-CMS-example
0
7064322
using System; using System.Web; namespace Umbraco.Core.PropertyEditors { /// <summary> /// Value converter for the RTE so that it always returns IHtmlString so that Html.Raw doesn't have to be used. /// </summary> internal class TinyMcePropertyEditorValueConverter : IPropertyEditorValueConverter { pub...
SDev.MLTests/Tools/RandomSequenceTests.cs
sebgur/SDev.ML
0
7064323
<reponame>sebgur/SDev.ML using Microsoft.VisualStudio.TestTools.UnitTesting; using SDev.ML; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SDev.ML.Tests { [TestClass()] public class RandomSequenceTests { [TestMethod()] ...