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 |
|---|---|---|---|---|
MZcms.Web.Framework/BaseControllers/Web/BaseMemberController.cs | MiZoneRom/MiZoneAdminManager | 3 | 7052897 | using MZcms.Core.Helper;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace MZcms.Web.Framework
{
/// <summary>
/// 商城前台基础控制器类
/// </summary>
public abstract class BaseMemberController : BaseWebController
{
protected override void Initialize(RequestContext requestC... |
Src/ShogunLib.CommandLine.OldSamples/ExeAsCommand/Program.cs | iivchenko/ShogunLib.CommandLine | 0 | 7052898 | <reponame>iivchenko/ShogunLib.CommandLine
// <copyright company="XATA">
// Copyright (c) 2017, All Right Reserved
// </copyright>
// <author><NAME></author>
// <email><EMAIL></email>
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using ShogunLib.CommandLi... |
ADYC.API.Auth/Migrations/Configuration.cs | jose2a/ADYC | 0 | 7052899 | <reponame>jose2a/ADYC
namespace ADYC.API.Auth.Migrations
{
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration ... |
Project/Test.NetCore/BaseClassTest.cs | Codeer-Software/LambdicSql | 24 | 7052900 | <gh_stars>10-100
using LambdicSql;
using LambdicSql.BuilderServices;
using LambdicSql.ConverterServices;
using LambdicSql.ConverterServices.SymbolConverters;
using Xunit;
namespace Test.NetCore
{
public class BaseClassTest
{
class A
{
public int Id { get; set; }
}
c... |
01-CSharp-Part1/04-Console-Input-Output/02-Print-Company-Information/PrintCompanyInformation.cs | petar-p/TelerikAcademy | 0 | 7052901 | <filename>01-CSharp-Part1/04-Console-Input-Output/02-Print-Company-Information/PrintCompanyInformation.cs
using System;
class PrintCompanyInformation
{
static void Main()
{
/*
* Problem 2: Print Company Information
*
* - A company has name, address, phone number, fax numb... |
Agents/Xamarin.Interactive/Telemetry/Models/OperatingSystem.cs | mono/workbooks | 0 | 7052902 | <reponame>mono/workbooks
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Xamarin.Interactive.Telemetry.Models
{
sealed class OperatingSystem : ITelemetryEvent
{
public Guid OperatingS... |
DualAuthCoreExample/Startup.cs | martinto/DualAuthCoreExample | 0 | 7052903 | <filename>DualAuthCoreExample/Startup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using DualAuthCoreExample.Data;
using Microsoft.AspNetCore.Mvc;
using Microsoft... |
Controllers/CreditDebitController.cs | xinmyname/SWPCCBilling2 | 0 | 7052905 | using System;
using SWPCCBilling2.Infrastructure;
using SWPCCBilling2.Completions;
using SWPCCBilling2.Models;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SWPCCBilling2.Controllers
{
public class CreditDebitController : Controller
{
priva... |
Chameleon.Core/Templates/ContentItemTemplateSelector.cs | BaseflowIT/Chameleon | 82 | 7052906 | <reponame>BaseflowIT/Chameleon
using MediaManager;
using MediaManager.Library;
using Xamarin.Forms;
namespace Chameleon.Core.Templates
{
public class ContentItemTemplateSelector : DataTemplateSelector
{
IMediaManager MediaManager => CrossMediaManager.Current;
public DataTemplate CurrentMediaI... |
Src/Notion.Client/Models/Blocks/BreadcrumbBlock.cs | Titaye/notion-sdk-net | 55 | 7052907 | using Newtonsoft.Json;
namespace Notion.Client
{
public class BreadcrumbBlock : Block, IColumnChildrenBlock, INonColumnBlock
{
public override BlockType Type => BlockType.Breadcrumb;
[JsonProperty("breadcrumb")]
public Data Breadcrumb { get; set; }
public class Data
{... |
source/DefaultEcs.Analyzer.Test/Analyzers/EntitySystemAnalyzerTest.cs | Doraku/DefaultEcs.Analyzer | 6 | 7052908 | using Microsoft.CodeAnalysis.Diagnostics;
using TestHelper;
using Xunit;
namespace DefaultEcs.Analyzer.Analyzers
{
public class EntitySystemAnalyzerTest : DiagnosticVerifier
{
#region Tests
[Fact]
public void Should_not_report_When_ok() => VerifyCSharpDiagnostic(
@"
using DefaultEcs;
... |
src/Proto.Actor/MessageHeader.cs | dpavsrtrl/protoactor-dotnet | 1 | 7052909 | <reponame>dpavsrtrl/protoactor-dotnet
// -----------------------------------------------------------------------
// <copyright file="MessageHeader.cs" company="Asynkron HB">
// Copyright (C) 2015-2018 Asynkron HB All rights reserved
// </copyright>
// ---------------------------------------------------------... |
Breve/BreveProperty.cs | BryanApellanes/bam.net.shared | 0 | 7052910 | <filename>Breve/BreveProperty.cs
/*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bam.Net.Breve
{
public class BreveProperty
{
public BreveProperty(string ownerClassName, string propertyName, s... |
src/Api/EmployeeManagement.Application/Services/IEmployeeService.cs | gopi222/DDDWithAspNetCore | 0 | 7052911 | using AspNetCore.ServiceRegistration.Dynamic.Interfaces;
using EmployeeManagement.Application.Dtos.EmployeeDtos;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace EmployeeManagement.Application.Services
{
public interface IEmployeeService : IScopedService
{
Task<List<EmployeeDe... |
LineageServer/Server/Model/Instance/L1HousekeeperInstance.cs | TaiwanSpring/L1CSharpTW | 0 | 7052912 | <gh_stars>0
using LineageServer.Interfaces;
using LineageServer.Server.DataTables;
using LineageServer.Server.Templates;
using LineageServer.Serverpackets;
using System;
namespace LineageServer.Server.Model.Instance
{
class L1HousekeeperInstance : L1NpcInstance
{
///
private const long serialV... |
TournamentAssistant/UI/ViewControllers/TeamSelection.cs | Auros/TournamentAssistant | 21 | 7052913 | <filename>TournamentAssistant/UI/ViewControllers/TeamSelection.cs
#pragma warning disable CS0649
#pragma warning disable IDE0060
#pragma warning disable IDE0051
using BeatSaberMarkupLanguage.Attributes;
using BeatSaberMarkupLanguage.Components;
using BeatSaberMarkupLanguage.ViewControllers;
using HMUI;
using System;
u... |
SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Views/News/List.cshtml | jonmcquade/csharp-snippets | 2 | 7052914 | <filename>SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Views/News/List.cshtml<gh_stars>1-10
@model NewsItemListModel
@using SmartStore.Web.Models.News;
@using SmartStore.Web.Framework.UI;
@{
Layout = "_Layout";
Html.AddTitleParts(T("PageTitle.NewsArchive").Text);
}
<div class="page news-list-page">
<div... |
src/02.data/02-Alabo.Data.Asset/Withdraws/Domain/Entities/Extension/WithdrawExtension.cs | tongxin3267/alabo | 0 | 7052915 | <gh_stars>0
using Alabo.App.Asset.BankCards.Domain.Entities;
using Alabo.Domains.Enums;
using Alabo.Web.Mvc.Attributes;
using Alabo.Web.Mvc.ViewModel;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Asset.Withdraws.Domain.Entities.Extension
{
/// <summ... |
SolidCP/Sources/ACMESharp/ACMESharp/ACMESharp/Ext/ExtRegistry.cs | NAGeorge/SolidCP-fork | 2 | 7052916 | <reponame>NAGeorge/SolidCP-fork<filename>SolidCP/Sources/ACMESharp/ACMESharp/ACMESharp/Ext/ExtRegistry.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namesp... |
Chess/Engine/Strategies/IterativeDeeping/Extended/IdExtendedDifferenceHistoryStrategy.cs | KostyaBaklan/Chess-KGB | 0 | 7052917 | <reponame>KostyaBaklan/Chess-KGB<gh_stars>0
using Engine.Interfaces;
using Engine.Strategies.AlphaBeta.Extended;
namespace Engine.Strategies.IterativeDeeping.Extended
{
public class IdExtendedDifferenceHistoryStrategy : IdStrategyBase
{
public IdExtendedDifferenceHistoryStrategy(short depth, IPosition... |
Assets/QuickPlayTool/ProjectwiseSettings.cs | starikcetin/Quick-Play-Tool | 36 | 7052918 | using System;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace QuickPlayTool
{
/// <summary>
/// Project based settings for Quick Play Tool.
/// </summary>
public class ProjectwiseSettings
{
#region Save/Load and Access Infrastructure
private static string SaveFull... |
NWN.Framework.Lite/Enum/ActionModeType.cs | milliorn/NWN.Framework.Lite | 1 | 7052919 | namespace NWN.Framework.Lite.Enum
{
public class ActionModeType: NWEnumBase<int>
{
public static readonly ActionModeType Detect = new(0);
public static readonly ActionModeType Stealth = new(1);
public static readonly ActionModeType Parry = new(2);
public static readonly ActionMod... |
lib/ohLibSpotify/src/ManagedApiBuilder/ArgumentTransformers/VoidReturnTransformer.cs | LukiLeu/loadify | 7 | 7052920 | using ApiParser;
namespace ManagedApiBuilder.ArgumentTransformers
{
class VoidReturnTransformer : IArgumentTransformer
{
public bool Apply(IFunctionSpecificationAnalyser aNativeFunction, IFunctionAssembler aFunctionAssembler)
{
if (aNativeFunction.CurrentParameter != null) { return... |
TravelGuide/HotelChoiceForm.cs | AsifZaman777/tour-guide-C-sharp | 0 | 7052921 | <filename>TravelGuide/HotelChoiceForm.cs
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 System.Data.SqlClient;
namespace TravelGuide
{
public ... |
src/FastQuant/Indicators/D_Slow.cs | OmniQuant/omniquant-server | 2 | 7052922 | using System;
using System.ComponentModel;
using System.Linq;
namespace FastQuant.Indicators
{
[Serializable]
public class D_Slow : Indicator
{
protected int length;
protected int order1;
protected int order2;
[Category("Parameters"), Description("")]
public int Len... |
src/Core/Entities/ShipByMaxRoomsCount.cs | hasan-hasanov/CascadeCruises | 0 | 7052923 | <gh_stars>0
using System;
namespace Core.Entities
{
public class ShipByMaxRoomsCount
{
public int Id { get; set; }
public string Name { get; set; }
public string Registry { get; set; }
public DateTime CreateDate { get; set; }
public int RoomsCount { get; set; }
... |
npva/NPVAMain.cs | lordhollow/NPVA | 0 | 7052924 | 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;
namespace npva
{
/// <summary>
/// メインウィンドウ
/// </summary>
/// <remarks>
/// ツールバーのア... |
Content/NPCs/Bosses/SkyWraith/WormyHead.cs | RighteousRyan1/AerovelenceMod | 0 | 7052925 | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace AerovelenceMod.Content.NPCs.Bosses.SkyWraith
{
[AutoloadBossHead]
public class WormyHead : ModNPC
{
internal bool segmentsCreated = false;
in... |
CS2/CS2.11.PreprocessorPragma/Program.cs | m-ishizaki/CS22XSamples | 1 | 7052926 | <gh_stars>1-10
using System;
// ・#pragma プリプロセッサディレクティブ
// https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-pragma
// 特殊な命令をコンパイラに指示できる。
namespace CS2.PreprocessorPragma
{
class MainClass
{
public static void Main(string[] args)
{
#pragma w... |
src/Auditable.AspNetCore.Tests/Infrastructure/Security/Setup.cs | dbones/auditable | 1 | 7052927 | namespace Auditable.AspNetCore.Tests.Infrastructure
{
using System;
using Microsoft.AspNetCore.Authentication;
public static class Setup
{
public static AuthenticationBuilder AddTestAuth(this AuthenticationBuilder builder, Action<TestAuthenticationOptions> configureOptions)
{
... |
src/KlearTouch.MediaPlayer.WinUI/DirectN/Generated/IDXGIDevice.cs | KlearTouch/KlearTouch.MediaPlayer | 1 | 7052929 | <gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\dxgi.h(2313,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[ComImport, Guid("54ec77fa-1377-44e6-8c32-88fd5f44c84c"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
internal interface IDXGIDev... |
WeatherCalculator2/WeatherCalculator2/Program.cs | twwilsoneod/WeatherCalculator2Lab | 0 | 7052930 | using System;
namespace WeatherCalculator2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("### Weather Calculator 2");
int temperature;
int windSpeed;
double windChill;
string input = "";
// Get th... |
PS.Build.Nuget.Shared/Extensions/ByteArrayExtensions.cs | BlackGad/PS.Build.Nuget | 0 | 7052931 | <filename>PS.Build.Nuget.Shared/Extensions/ByteArrayExtensions.cs
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace PS.Build.Nuget.Shared.Extensions
{
public static class ByteArrayExtensions
{
#region Static members
public static string ComputeHas... |
OnlineShopping.WebApi/Controllers/AddressController.cs | danego61/Asp.Net-Core-Online-Shopping-Api | 0 | 7052932 | <filename>OnlineShopping.WebApi/Controllers/AddressController.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using OnlineShopping.Business.Abstract;
using OnlineShopping.Entities.Concrete;
using OnlineShopping.WebApi.Models;
using System.Collections.Generic;
using System.Linq;
namespace OnlineSho... |
ITVComponents.Scripting.CScript/Helpers/NamedAssemblyResolve.cs | ITVenture/ITVComponents | 0 | 7052933 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using System.Text;
namespace ITVComponents.Scripting.CScript.Helpers
{
public static class NamedAssemblyResolve
{
/// <summary>
/// Holds a list of register... |
DrunkenSaibor/Installers/DSCoreInstaller.cs | AuriRex/DrunkenSaibor | 0 | 7052934 | <filename>DrunkenSaibor/Installers/DSCoreInstaller.cs
using DrunkenSaibor.Configuration;
using DrunkenSaibor.Managers;
using DrunkenSaibor.Providers;
using SiraUtil.Interfaces;
using Zenject;
namespace DrunkenSaibor.Installers
{
class DSCoreInstaller : Installer<DSCoreInstaller>
{
private readonly Plu... |
src/DevChatter.DevStreams.Web/Pages/My/Channels/Edit.cshtml | RyannosaurusRex/DevStreams | 36 | 7052935 | <filename>src/DevChatter.DevStreams.Web/Pages/My/Channels/Edit.cshtml<gh_stars>10-100
@page "{id:int?}"
@model DevChatter.DevStreams.Web.Pages.My.Channels.EditModel
@{
ViewData["Title"] = Model.Title;
}
<h2>@Model.Title</h2>
<h4>Channel</h4>
<hr />
<div id="app" class="row" v-cloak>
<div class="col-md-4" v-... |
UltimaOnline.Data/Items/Special/Holiday/HolidayTimepiece.cs | netcode-gamer/game.ultimaonline.io | 0 | 7052936 | using System;
using UltimaOnline;
namespace UltimaOnline.Items
{
public class HolidayTimepiece : Clock
{
public override int LabelNumber { get { return 1041113; } } // a holiday timepiece
public override double DefaultWeight { get { return 1.0; } }
[Constructable]
pu... |
EvolutionTestTest/Assets/Scripts/TextController.cs | Jackson-Stitzel/EvolutionSimulation | 0 | 7052937 | <reponame>Jackson-Stitzel/EvolutionSimulation
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class TextController : MonoBehaviour
{
public TextMeshProUGUI Text;
// Start is called before the first frame update
void Start()
{
}... |
Assets/UnityX/Scripts/Extensions/Scene Management/Scene Set Loader/SceneLoadTask/RuntimeSceneSetLoadTask.cs | tomkail/UnityX | 16 | 7052938 | <gh_stars>10-100
using UnityEngine;
using UnityEngine.SceneManagement;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
// Consider removing the scene set from this. Assign tasks can easily be called from RuntimeSceneSetLoader instead, using a KeyPairValue to combine a load ... |
ISAAR.MSolve.FEM/Logging/ForcesLog.cs | GoatOfRafin/MSolve | 2 | 7052939 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ISAAR.MSolve.Logging.Interfaces;
using ISAAR.MSolve.FEM.Entities;
using ISAAR.MSolve.Numerical.LinearAlgebra.Interfaces;
namespace ISAAR.MSolve.FEM.Logging
{
public class ForcesLog : IAnalyzerLog
{
private read... |
src/SQLite.Net/DebugTraceListener.cs | MontakOleg/SQLite.Net-PCL | 339 | 7052940 | <gh_stars>100-1000
using System.Diagnostics;
namespace SQLite.Net
{
public sealed class DebugTraceListener : ITraceListener
{
public static DebugTraceListener Instance = new DebugTraceListener();
private DebugTraceListener()
{
}
public void Receive(string message)
... |
ASP.Net Mvc Core UI Composition/Catalog.ViewModelComposition/ProductDetailsGetHandler.cs | mauroservienti/designing-a-ui-for-microservices-demos | 46 | 7052941 | using System.Net.Http;
using System.Threading.Tasks;
using JsonUtils;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using ServiceComposer.AspNetCore;
namespace Catalog.ViewModelComposition
{
class ProductDetailsGetHandler : ICompositionRequestsHandler
{
... |
Lexy.Example/Lexy.Example/Program.cs | MetalcoreLoli/Lexy | 0 | 7052942 | <reponame>MetalcoreLoli/Lexy
using System;
using Lexy;
namespace Lexy.Example;
internal record BinaryRule(char Sym) : Rule
{
public override ExecutionResult ExecuteOn(string context) =>
((MaybeSomething | Number | Whitespace) & Character(Sym) & (Whitespace | Number | MaybeSomething)).ExecuteOn(context);
... |
Factory/Views/Machines/Delete.cshtml | DrewHendersonGitHub/Factory.Solution | 0 | 7052943 | @{
Layout = "_Layout";
}
@model Factory.Models.Machine
<h2>Confirm deletion of "@Html.DisplayFor(model => model.Name)"?</h2>
@using (Html.BeginForm())
{
<input type="submit" value="Yes" />
}
@Html.ActionLink("No", "Index") |
Arch/Vector128.cs | daeken/libmoonage | 70 | 7052944 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace Arch {
public class Vector128<T> where T : struct {
public T[] Data;
public int Length = default(T) switch {
byte _ => 16, sbyte _ => 16,
usho... |
src/Wikiled.Text.Style/Description/StyleExtractor.cs | AndMu/Wikiled.Text.Style | 1 | 7052945 | using System;
using System.Linq;
using Wikiled.Text.Analysis.NLP.Frequency;
using Wikiled.Text.Analysis.NLP.NRC;
using Wikiled.Text.Analysis.POS;
using Wikiled.Text.Analysis.Structure;
using Wikiled.Text.Inquirer.Logic;
using Wikiled.Text.Style.Logic;
namespace Wikiled.Text.Style.Description
{
public class StyleE... |
Runtime/Repeat.cs | lumpn/unity-regex | 5 | 7052946 | //----------------------------------------
// MIT License
// Copyright(c) 2020 <NAME>
//----------------------------------------
namespace Lumpn.RegularExpressions
{
public sealed class Repeat : PatternBase
{
private readonly PatternBase pattern;
private readonly int count;
public Repea... |
Xen-Enforce-Bot/LStateLibaries/LuaUtil.cs | XAYRGA/Xen-Enforce-Bot | 8 | 7052948 | <reponame>XAYRGA/Xen-Enforce-Bot
using System;
using System.Collections.Generic;
using System.Text;
using NLua;
namespace XenfbotDN.LStateLibaries
{
public static class LuaUtil
{
public static LuaTable EmptyTable(Lua state)
{
return (LuaTable)state.DoString("return {}")[0];
... |
Implementation/OnlineMusicStore/Views/Home/IndexAdmin.cshtml | the-it-weirdo/OnlineMusicStore | 0 | 7052949 | @{
ViewData["Title"] = "Home Page";
}
<h3>Admin Dashboard</h3>
<hr />
<style>
.btn-admin:hover {
background-color: #ffd800;
border: 2px solid #ffd800;
}
.btn-admin {
border: 2px solid black;
}
</style>
<div class="row">
<!-- Music -->
<p class="col-sm-12 font-resize"... |
DeepsoftCMS.Web/Areas/Admin/Views/Shared/_LayoutHead.cshtml | fishercom/DeepsoftCMS | 0 | 7052950 | @using Microsoft.AspNet.Identity
<ul class="nav navbar-right top-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-envelope"></i> <b class="caret"></b></a>
<ul class="dropdown-menu message-dropdown">
<li class="message-preview">
... |
OpenManta.Web/Models/API/v1/OutboundRulesViewModels.cs | simongh/MantaMTA | 21 | 7052951 | <reponame>simongh/MantaMTA
using OpenManta.Core;
namespace WebInterface.Models.API.v1
{
public class UpdateOutboundRuleViewModel
{
public int PatternID { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int? VirtualMTA { get; set; }
... |
Assets/CodeDijktra/draw1.cs | batuan/test | 0 | 7052952 | <filename>Assets/CodeDijktra/draw1.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class draw1 : MonoBehaviour {
public DrawRoad myDraw;
List<node> myNode;
List<Road> myRoad;
// Use this for initialization
public void Start()
{
SetRoad();
... |
src/CommunAxiomWeb/Services/AWSKeepAlive.cs | Veronneau-Techno-Conseil/CommunAxiomWeb | 0 | 7052953 | <reponame>Veronneau-Techno-Conseil/CommunAxiomWeb<gh_stars>0
//using Amazon.Runtime;
//using Amazon.SecurityToken;
//using Amazon.SecurityToken.Model;
//using Microsoft.Extensions.Hosting;
//using Microsoft.Extensions.Options;
//using System.Threading;
//using System.Threading.Tasks;
//namespace CommunAxiomWe... |
BefungeSharp/Menus/OpenSimpleMenu.cs | tngreene/BefungeSharp | 13 | 7052954 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Text.RegularExpressions;
namespace BefungeSharp.Menus
{
public class OpenSimpleMenu : Menu
{
public override void OnOpening()
{
//--Gene... |
src/L4-application/BoSSSpad/MiniBatchProcessorClient.cs | FDYdarmstadt/BoSSS | 22 | 7052955 | <reponame>FDYdarmstadt/BoSSS
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in ... |
csharp-client-generated/csharp-client/src/IO.Swagger/Api/AcquirersApi.cs | mattgenious/QuickPaySharp | 2 | 7052956 | <gh_stars>1-10
/*
* Quickpay API v10
*
* <h2 id=\"authorization\">Authorization</h2> Authorization is done using basic-auth. Authorization can be done with a user or an agreement. <ul> <li>When authorized with a user one is able to edit own settings, create new merchant or request access to existing merchant.</... |
SizingServers.IPC/Shared.cs | sizingservers/sizingservers.ipc | 0 | 7052957 | <gh_stars>0
/*
Original author: <NAME>, dev at Sizing Servers Lab (https://www.sizingservers.be) @ University College of West-Flanders, Department GKG
Written in 2016
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ... |
4.OOPBasic/5.ExamPreparation/Part_2_Avatar/WaterMonument.cs | Brankovanov/SoftUniCourses | 1 | 7052958 | namespace Part_2_Avatar
{
//Child class to the class monument. Holds one additional property.
public class WaterMonument : Monument
{
private int waterAffinity;
public int WaterAffinity
{
get
{
return this.waterAffinity;
}
... |
test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Shared/Entities/package.generated.cs | Kayserheimer/Dynamics-Crm-DevKit | 52 | 7052959 | //---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit
// </auto-gen... |
VkNet/Utils/LanguageService.cs | dariabokareva/vk | 650 | 7052960 | using VkNet.Abstractions.Core;
using VkNet.Enums;
namespace VkNet.Utils
{
/// <inheritdoc />
public class LanguageService : ILanguageService
{
/// <summary>
/// Язык получаемых данных
/// </summary>
private Language? Language { get; set; }
/// <inheritdoc />
public void SetLanguage(Language language)
... |
src/Framework/DNCommerce.Framework.Application/Repositories/IProductRepository.cs | MHove89/DNCommerce | 0 | 7052962 | using DNCommerce.Domain.Entities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DNCommerce.Application.Repositories
{
public interface IProductRepository
{
Task InsertProductAsync(Product product);
Task<IList<Product>> GetAll(... |
Windows10-s3-client/S3TrayApplication/Program.cs | Hannoob/windows10-aws-cloud-storage-client | 1 | 7052963 | using FileMonitor;
using S3TrayApplication.Properties;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace S3TrayApplication
{
static class Program
{
/// <summary>
/// The main entry po... |
ViennaAdvantageWeb/ModelLibrary/Process/ViennaAdvantageProcess/InvoiceGenerate.cs | eric-erki/ERP-CMR-DMS | 45 | 7052964 | /********************************************************
* Project Name : VAdvantage
* Class Name : InvoiceGenerate
* Purpose : Generate Invoices
* Class Used : ProcessEngine.SvrProcess
* Chronological Development
* Raghunandan 07-Sep-2009
********************************************... |
MyGUIPlugin/Wrapper/Events/Widget/KeyEventArgs.cs | AnomalousMedical/Engine | 0 | 7052965 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine.Platform;
namespace MyGUIPlugin
{
public class KeyEventArgs : EventArgs
{
public KeyboardButtonCode Key { get; internal set; }
public char Char { get; internal set; }
}
}
|
src/SolutionInspector.Api.Tests/Reporting/RuleViolationViewModelConverterSpec.cs | chrischu/SolutionChecker | 5 | 7052966 | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Machine.Specifications;
using SolutionInspector.Api.Reporting;
using SolutionInspector.Api.Rules;
using SolutionInspector.TestInfrastructure.AssertionExtensions;
#region R# preamble for Machine.Specifications files
// Re... |
Ipc/tests/dotnetCampus.Ipc.Tests/AckManagerTest.cs | catcat0921/lindexi_gd | 92 | 7052967 | <reponame>catcat0921/lindexi_gd<gh_stars>10-100
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using dotnetCampus.Ipc.PipeCore.Context;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MSTest.Extensions.Contracts;
namespace dotnetCampus.Ipc.PipeCore
{
[TestClass]
... |
SpecsFor/SpecInitException.cs | milesibastos/SpecsFor | 1 | 7052968 | using System;
namespace SpecsFor
{
public class SpecInitException : SpecificationException
{
public SpecInitException(Exception[] exceptions) : base("Init", exceptions)
{
}
}
} |
Assets/Scripts/Enemy.cs | berkanuslu/bitcoin-runner-unity | 1 | 7052969 | using System.Collections;
using UnityEngine;
public class Enemy : MonoBehaviour
{
public GameObject enemyIndicator;
public GameObject enemy;
public ParticleSystem explosion;
bool canMove = false;
bool paused = false;
float originalSpeed = 0;
float speed = 0;
Vector3 originalPos = new Vector3();
Vector3 ori... |
Editor/PsLayerImporter/UguiLayoutElementImporter.cs | Sarofc/com.saro.psd2ugui | 1 | 7052970 | using UnityEngine;
using UnityEngine.UI;
namespace PSDUIImporter
{
[CustomLayer(ELayerType.LayoutElement)]
public class UguiLayoutElementImporter : IPsLayerImporter
{
public PSDImportCtrl ctrl { get; set; }
public void DrawPsLayer(PsLayer layer, GameObject parent)
{
Rec... |
src/softaware.Cqs.Tests/CQ.Contract/Commands/CallbackCommand.cs | softawaregmbh/library-cqs | 5 | 7052971 | using System;
using System.Collections.Generic;
using System.Text;
namespace softaware.Cqs.Tests.CQ.Contract.Commands
{
public class CallbackCommand : ICommand
{
public CallbackCommand(Action action, bool shouldThrow)
{
this.Action = action;
this.ShouldThrow = shouldThr... |
course_2/computer_graphics/Laba_graphic_1/Laba_graphic_1/Form1.cs | IlonaZellka/DonNU | 0 | 7052972 | <reponame>IlonaZellka/DonNU
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 System.Drawing.Drawing2D;
namespace Laba_graphic_1
{
... |
src/NUnitEngine/Addins/addin-tests/TeamCityEventListenerTests.cs | JetBrains/nunit | 3 | 7052973 | // ***********************************************************************
// Copyright (c) 2015 <NAME>
//
// 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
/... |
src/Castle.ActiveRecord.Tests/SessionScopeTestCase.cs | chenbojian/ActiveRecord | 72 | 7052974 | // Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... |
Tests/Models/ReportLog.cs | DEFRA/gwa-etl-dotnet | 0 | 7052975 | <reponame>DEFRA/gwa-etl-dotnet
namespace Gwa.Etl.Tests.Models
{
public class ReportLog
{
public int DevicesProcessed { get; set; }
public int DevicesWithNoPhoneNumber { get; set; }
public int DevicesWithNoUserEmailAddress { get; set; }
public int DevicesWithUserEmailAddress { get... |
Serialization/JsonSerializer.cs | StalkR/QuantumHangar | 4 | 7052976 | using Newtonsoft.Json;
using NLog;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace QuantumHangar.Serialization
{
public static class JsonSerializer
{
... |
src/DddDotNet/DddDotNet.CrossCuttingConcerns/ExtensionMethods/TypeExtensions.cs | phongnguyend/DddDotNet | 20 | 7052977 | using System;
using System.Linq;
using System.Text;
namespace DddDotNet.CrossCuttingConcerns.ExtensionMethods
{
public static class TypeExtensions
{
public static bool HasInterface(this Type type, Type interfaceType)
{
return type.GetInterfacesOf(interfaceType).Length > 0;
... |
Assets/Scripts/PoolManager.cs | mohsentta/SmallTankGame | 0 | 7052978 | <reponame>mohsentta/SmallTankGame
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PoolManager : MonoBehaviour
{
public GameObject Bullet;
public int BulletAmountToPool;
public GameObject Tank;
public int TankAmountToPool;
[HideInInspector]
public ... |
src/EditorFeatures/Core/Tagging/IAsynchronousTaggerDataSource.cs | jrharmon/roslyn | 8 | 7052979 | <reponame>jrharmon/roslyn
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.... |
Assets/Editor/EditorUI/Element/ElementViewHelper.cs | GoodGoodJM/UnityEditorOOP | 2 | 7052981 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GGM.Editor.UI.Element
{
public static class ElementViewHelper
{
public static bool IsContains<T>(this List<UIElementGroup<T>.ElementView> self, T data)
{
foreach (var elementView in self... |
src/Racing.CircuitGenerator/Program.cs | simonrozsival/racing-simulation | 1 | 7052982 | <filename>src/Racing.CircuitGenerator/Program.cs
using CommandLine;
using Racing.CircuitGenerator.Output;
using Racing.IO;
using System;
using System.Linq;
namespace Racing.CircuitGenerator
{
internal sealed class Program
{
public static void Main(string[] args)
{
Parser.Default.Par... |
TaxiManagementSystem/Controllers/TaxisController.cs | Pranav0598/TaxiManagementSystem | 0 | 7052983 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using TaxiManagementSystem.Model;
using ... |
src/Datadog.Trace.ClrProfiler.Managed/Integrations/Testing/Common.cs | vsafonkin-test-organization/opentelemetry-dotnet-instrumentation | 0 | 7052984 | <gh_stars>0
using Datadog.Trace.Ci;
using Datadog.Trace.Configuration;
namespace Datadog.Trace.ClrProfiler.Integrations.Testing
{
internal static class Common
{
static Common()
{
var settings = TracerSettings.FromDefaultSources();
settings.TraceBufferSize = 1024 * 1024 *... |
CMA.OIM.AzureFunctions/CMA.OIM.AzureFunctions/API.cs | cmagovuk/oim-report-an-issue-function | 0 | 7052985 | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Microsoft.SharePoint.Client;
namespace CMA.OIM.Azu... |
Source/Blazorise/Utilities/IO/RemoteFileEntryStreamReader.cs | WolfgangKluge/Blazorise | 423 | 7052986 | <filename>Source/Blazorise/Utilities/IO/RemoteFileEntryStreamReader.cs
#region Using directives
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Blazorise.Modules;
using Microsoft.AspNetCore.Components;
#endregion
namespace Blazorise
{
internal class RemoteFileEntryStream... |
src/LagoVista.UserAdmin.Models/ViewModels/Users/ExternalLoginConfirmationViewModel.cs | LagoVista/UserAdmin | 0 | 7052987 | using LagoVista.Core.Attributes;
using LagoVista.Core.Validation;
using LagoVista.UserAdmin.Models;
using LagoVista.UserAdmin.Models.Resources;
using LagoVista.UserAdmin.Resources;
namespace LagoVista.UserAdmin.ViewModels.Users
{
[EntityDescription(Domains.SecurityDomain, UserAdminResources.Names.ExternalLoginCon... |
MIG-InterfaceTestProject/Program.cs | davidwallis3101/HomegenieEchoBridge | 2 | 7052988 | using System;
using MIG;
using System.IO;
using MIG.Config;
using System.Xml.Serialization;
namespace TestProject
{
class MainClass
{
public static void Main (string[] args)
{
var migService = new MigService();
// Construct an instance of the XmlSerializer with the t... |
Studio/ThreatsManager.DevOps.WinForms/Panels/Configuration/ConfigurationPanel.Designer.cs | simonec73/threatsmanager | 39 | 7052989 |
namespace ThreatsManager.DevOps.Panels.Configuration
{
partial class ConfigurationPanel
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being u... |
PactTest.API/Controllers/EventsController.cs | alexsandre/PactNetTest | 0 | 7052990 | <gh_stars>0
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PactTest.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public cl... |
src/ConstellationMind.Api/Controllers/PlayersController.cs | ktutak1337/ConstellationMind.Api | 1 | 7052991 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ConstellationMind.Api.Attributes;
using ConstellationMind.Core.Domain;
using ConstellationMind.Infrastructure.Services.Commands.Players;
using ConstellationMind.Infrastructure.Services.DTO;
using ConstellationMind.Infrastructure.Service... |
Peristaltic_Hapric_Gui/ConnectingSettings.Designer.cs | adrianferstera/Peristaltic_Haptic_Gui | 0 | 7052992 | namespace Peristaltic_Haptic_Gui
{
partial class ConnectingSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
FundaAPIClient.Tests/src/FundaAPIClient.RestAPI.test.cs | raulcorreia7/Funda_Challenge | 0 | 7052993 | using System;
using System.Collections.Generic;
using System.Linq;
using Serilog;
using Xunit;
using Xunit.Abstractions;
namespace FundaAPIClient.Tests
{
public class FundaAPIClientRestAPITests
{
public FundaAPIClientRestAPITests(ITestOutputHelper output)
{
LoggerSetup.SetupLogger... |
src/core/srcbc/util/encoders/Base64.cs | yangli1128/itextsharp.NetCore | 1 | 7052994 | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add... |
src/PartsUnlimitedWebsite/Views/Shared/_AdminMenu.cshtml | ganeshtodkar20/GDBC-PartsUnlimited | 465 | 7052995 | @using PartsUnlimited.Areas.Admin
@{
var claims = User.Identity as System.Security.Claims.ClaimsIdentity;
var isAdmin = claims.HasClaim(AdminConstants.ManageStore.Name, AdminConstants.ManageStore.Allowed);
}
@if (isAdmin)
{
<li class="dropdown">
<a href="@Url.Action("Index", "Store")" id="admin-l... |
TwitchPlaysAssembly/Src/UI/ModuleCameras.cs | GamrCorps/KtaneTwitchPlays | 0 | 7052997 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEngine.UI;
public class ModuleCameras : MonoBehaviour
{
public const int cameraLayer = 11;
public bool LastInteractiveState;
public bool EscapePressed;
p... |
Updater/ViewModels/MainWindowViewModel.cs | AonaSuzutsuki/SavannahManager | 8 | 7052998 | <filename>Updater/ViewModels/MainWindowViewModel.cs
using CommonStyleLib.Models;
using CommonStyleLib.ViewModels;
using Prism.Commands;
using Reactive.Bindings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows... |
test/Pivotal.Extensions.Configuration.ConfigServer.ITest/ConfigServerConfigurationExtensionsIntegrationTest.cs | spring-operator/spring-cloud-dotnet-configuration | 13 | 7052999 | // Copyright 2017 the original author or authors.
//
// 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... |
PlcDigitalTwinAutoTest/BasePlcDtAt/BaseViewModel/VmBase.cs | KurtLinder/DigitalTwinAutoTest | 0 | 7053000 | <gh_stars>0
using LibDatenstruktur;
using LibPlcKommunikation;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Microsoft.Toolkit.Mvvm.ComponentModel;
namespace BasePlcDtAt.BaseViewModel;
public abstract partial class VmBase : ObservableObject
{
priva... |
src/Dfe.Spi.EntitySquasher/Dfe.Spi.EntitySquasher.Application/Profiles/CachingProfileRepository.cs | DFE-Digital/spi-entitysquasher | 1 | 7053001 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Dfe.Spi.EntitySquasher.Domain.Configuration;
using Dfe.Spi.EntitySquasher.Domain.Profiles;
namespace Dfe.Spi.EntitySquasher.Application.Profiles
{
public class CachingProfileRepository : IProf... |
Wiz/Wizlib.DataAccess/Migrations/20201115191558_addColumnToGenre.cs | agabak/efwizlib | 0 | 7053002 | using Microsoft.EntityFrameworkCore.Migrations;
namespace Wizlib.DataAccess.Migrations
{
public partial class addColumnToGenre : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "DisplayOrder",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.