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 |
|---|---|---|---|---|
MainWindow.xaml.cs | twinbird827/WpfApp7 | 0 | 7062747 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using ... |
Sini/IniConfig.cs | MBeijer/sini | 8 | 7062748 | <reponame>MBeijer/sini<filename>Sini/IniConfig.cs
// IniConfig.cs
// Configuration struct to use with ini files (how to parse them and custom objects parser).
// Author: <NAME>.
// Date: 10/2020
using System;
using System.Collections.Generic;
namespace Sini
{
/// <summary>
/// Configuration for parsing ini fi... |
org.janelia.background/Runtime/StartupCylinderBackground.cs | sungsoosmess/janelia-unity-toolkit | 6 | 7062749 | <filename>org.janelia.background/Runtime/StartupCylinderBackground.cs
using System.IO;
using UnityEngine;
namespace Janelia
{
public class StartupCylinderBackground
{
// Executed after `Awake` methods and before `Start` methods.
[RuntimeInitializeOnLoadMethod]
private static void OnRunt... |
BohFoundation.MembershipProvider/UserManagement/Manage/Interfaces/IChangeEmailService.cs | Sobieck00/BOH-Bulldog-Scholarship-Application-Management | 1 | 7062750 | <filename>BohFoundation.MembershipProvider/UserManagement/Manage/Interfaces/IChangeEmailService.cs
using BohFoundation.Domain.Dtos;
using BohFoundation.Domain.Dtos.UserManagement;
namespace BohFoundation.MembershipProvider.UserManagement.Manage.Interfaces
{
public interface IChangeEmailService
{
Succe... |
Net40/NetworkSocket.Fast/FastPacket.cs | GISwilson/NetworksSocketDemo | 0 | 7062751 | <reponame>GISwilson/NetworksSocketDemo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NetworkSocket.Fast
{
/// <summary>
/// 通讯协议的封包
/// </summary>
public class FastPacket : PacketBase
{
/// <summary>
/// 低位在前,高位在后
/// </summ... |
Harmony/Public/HarmonyGlobalSettings.cs | aokiyusuke/HarmonyX | 0 | 7062752 | <filename>Harmony/Public/HarmonyGlobalSettings.cs
namespace HarmonyLib
{
/// <summary>Class that holds all Global Harmony settings</summary>
///
public static class HarmonyGlobalSettings
{
/// <summary>Set to true to disallow executing the legacy instance <see cref="Harmony.UnpatchAll(string)"/> method with... |
ResearchXBRL.CrossCuttingInterest/Extensions/IAsyncEnumerableExtensions.cs | Seibi0928/ResearchXBRL | 0 | 7062753 | <reponame>Seibi0928/ResearchXBRL
using System.Collections.Generic;
using System.Linq;
namespace ResearchXBRL.CrossCuttingInterest.Extensions
{
public static class IAsyncEnumerableExtensions
{
public static async IAsyncEnumerable<IEnumerable<T>> Chunk<T>(this IAsyncEnumerable<T> source, int chunk... |
QuestIt/Assets/A Knight's Journey/Scripts/Manager/MainMenuManager.cs | SricharanYamsani/Quest_It | 0 | 7062754 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenuManager : Singleton<MainMenuManager>
{
public IMenuButtons playButton;
public IMenuButtons loadButton;
public IMenuButtons optionsButton;
public IMenuButtons quitButton;
public ViewFader faderCanva... |
src/Tests/TestFunction.cs | kfinley/ServiceProviderFunctions | 0 | 7062755 | <reponame>kfinley/ServiceProviderFunctions
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using ServiceProviderFunctions;
namespace Tests {
public class TestFunction : ServiceProviderFunction {
protected override void ConfigureServices(I... |
Assets/Scripts/Physics/PhysicsManager.cs | Nosrick/JoyGodot | 2 | 7062756 | using JoyGodot.Assets.Scripts.Entities;
using JoyGodot.Assets.Scripts.JoyObject;
using JoyGodot.Assets.Scripts.World;
namespace JoyGodot.Assets.Scripts.Physics
{
public interface IPhysicsManager
{
PhysicsResult IsCollision(Vector2Int from, Vector2Int to, IWorldInstance worldRef);
}
public cla... |
Assets/Scripts/UI/LevelProperties.cs | kurtcoppersmith/robotfactory | 1 | 7062757 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LevelProperties : MonoBehaviour
{
public Image gear1;
public Image gear2;
public Image gear3;
public TMPro.TextMeshProUGUI highScoreMesh;
void Start()
{
gear1.enabled = Ga... |
Nav.Language/SemanticAnalyzer/Nav1005TaskDeclaration0NotRequired.cs | IInspectable/Nav-Language-Extensions | 1 | 7062758 | using System.Linq;
using System.Collections.Generic;
namespace Pharmatechnik.Nav.Language.SemanticAnalyzer {
public class Nav1005TaskDeclaration0NotRequired: NavAnalyzer {
public override DiagnosticDescriptor Descriptor => DiagnosticDescriptors.DeadCode.Nav1005TaskDeclaration0NotRequired;
... |
src/AcBlog.Data.Repositories.FileSystem/Builders/PostRepositoryBuilder.cs | sucrose0413/acblog | 63 | 7062759 | using AcBlog.Data.Extensions;
using AcBlog.Data.Models;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
namespace AcBlog.Data.Repositories.FileSystem.Builders
{
public class PostRepositoryBuilder : RecordFSBuilderBase<Post, string>
{
public Po... |
src/EnvCrypt.Core/Key/XmlPoco/EnvCryptKeyAsXml.cs | lammichael/EnvCrypt | 1 | 7062760 | <reponame>lammichael/EnvCrypt
//
// This source code was auto-generated by xsd, Version=2.0.50727.3038.
//
using System.Xml.Serialization;
using EnvCrypt.Core.Key.Aes;
using EnvCrypt.Core.Key.Rsa;
namespace EnvCrypt.Core.Key.XmlPoco
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2... |
src/Ipop/SocialVPN/SocialUtils.cs | kingctan/brunet | 1 | 7062761 | <reponame>kingctan/brunet
/*
Copyright (C) 2009 <NAME> <<EMAIL>>, University of Florida
<NAME> <<EMAIL>>, University of Florida
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 w... |
C#OOP-Advanced/01.InterfacesAndAbstractionExercise/03.Ferrari/Interfaces/ICar.cs | George221b/SoftUni-Taks | 0 | 7062762 | <gh_stars>0
public interface ICar
{
string Model { get; }
string DriverName { get; }
string Brake();
string Gas();
}
|
webinars & workshops/Developer Workshop 2018/ApplicationRoleSample/AppRoleSample/Workflow.cs | mtparagon5/Varian-Code-Samples | 74 | 7062763 | <reponame>mtparagon5/Varian-Code-Samples<filename>webinars & workshops/Developer Workshop 2018/ApplicationRoleSample/AppRoleSample/Workflow.cs
namespace AppRoleSample
{
public class Workflow
{
public enum WorkflowState
{
Authenticate,
GetApplicationRole,
Crea... |
src/System.CoreEx/Runtime/InteropServices/TaskScheduler/Action-ExecAction.cs | Grimace1975/bclcontrib-extend | 0 | 7062764 | <filename>src/System.CoreEx/Runtime/InteropServices/TaskScheduler/Action-ExecAction.cs<gh_stars>0
#region Foreign-License
// x
#endregion
using System.Runtime.InteropServices.TaskScheduler.V1Interop;
using System.Runtime.InteropServices.TaskScheduler.V2Interop;
using System.IO;
namespace System.Runtime.InteropSe... |
DotNet/DotNet/07_BoolCharString/ConstantExam/ConstantExam.cs | VisualAcademy/DotNet | 9 | 7062765 | <gh_stars>1-10
using System;
class ConstantExam
{
static void Main()
{
const char c = '가';
const string s = "HELLO";
const float f = 3.14F;
Console.WriteLine($"{c} {s} {f}");
}
}
|
NKnife.Win.Forms/ExceptionUI/ExceptionDialog.designer.cs | xknife-erian/nknife | 2 | 7062766 | using NKnife.Win.Forms.ExceptionUI;
namespace NKnife.Win.Forms.ExceptionUI
{
sealed partial class ExceptionDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </sum... |
Assets/Resources/TextureSwitch/TextureSwitch.cs | makoolabs/shader_study | 0 | 7062767 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TextureSwitch : MonoBehaviour {
private Material Mat;
private GameObject Player;
public float Radius = 10;
void Start(){
Mat = GetComponent<Renderer>().material;
Player = GameObject.Find("Player");
}
private int dire... |
Pixicity.Domain/ViewModels/Parametros/PaisViewModel.cs | NESTicle/pixicity-backend | 0 | 7062768 | <reponame>NESTicle/pixicity-backend<filename>Pixicity.Domain/ViewModels/Parametros/PaisViewModel.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Pixicity.Domain.ViewModels.Parametros
{
public class PaisViewModel
{
public string Nombre { get; set; }
}
}
|
Defs/ExtJs/Ext.ux.event.RecorderManager.cs | SharpKit/SharpKit-SDK | 12 | 7062770 | //***************************************************
//* This file was generated by tool
//* SharpKit
//* At: 29/08/2012 03:59:42 p.m.
//***************************************************
using SharpKit.JavaScript;
namespace Ext.ux.@event
{
#region RecorderManager
/// <inheritdocs />
/// <summary>
///... |
src/Opdex.Platform.Infrastructure.Abstractions/Clients/CirrusFullNodeApi/Queries/Balances/CallCirrusGetAddressCrsBalanceQuery.cs | Opdex/opdex-v1-api | 7 | 7062771 | <gh_stars>1-10
using Opdex.Platform.Common.Models;
using Opdex.Platform.Common.Queries;
using System;
namespace Opdex.Platform.Infrastructure.Abstractions.Clients.CirrusFullNodeApi.Queries.Balances;
/// <summary>
/// A query to get a CRS balance of an address.
/// </summary>
public class CallCirrusGetAddressCrsBalanc... |
Assets/Script/Prototyping/Editor/StopPlayingOnRecompile.cs | lesepuise/ludumdare44 | 0 | 7062772 | <gh_stars>0
using UnityEditor;
[InitializeOnLoad]
public class StopPlayingOnRecompile
{
static StopPlayingOnRecompile()
{
EditorApplication.update -= MonitorCompilation;
EditorApplication.update += MonitorCompilation;
}
private static void MonitorCompilation()
{
if (EditorAppli... |
src/EdFi.Roster.Models/ChangeQuery.cs | Ed-Fi-Alliance-OSS/Roster-Starter-Kit-for-Vendors | 0 | 7062773 | using System;
namespace EdFi.Roster.Models
{
public class ChangeQuery
{
public int Id { get; set; }
public string ResourceType { get; set; }
public long ChangeVersion { get; set; }
}
}
|
ReMi.Api/Tests/ReMi.QueryHandlers.Tests/Auth/PermissionsHandlerTests.cs | vishalishere/remi | 1 | 7062774 | using System;
using Moq;
using NUnit.Framework;
using ReMi.TestUtils.UnitTests;
using ReMi.DataAccess.BusinessEntityGateways.Auth;
using ReMi.Queries.Auth;
using ReMi.QueryHandlers.Auth;
namespace ReMi.QueryHandlers.Tests.Auth
{
public class PermissionsHandlerTests : TestClassFor<PermissionsHandler>
{
... |
PEDollController/Commands/CmdEval.cs | EZForever/PEDoll | 28 | 7062775 | using System;
using System.Collections.Generic;
using Mono.Options;
namespace PEDollController.Commands
{
// Command "eval": Manually call EvalEngine.
// eval EXPR
class CmdEval : ICommand
{
static string RemoveQuotes(string x)
{
return (x[0] == '"' && x[x.Length - 1] =... |
AsyncDataAdapter/Data/Core/FillSchemaAsync.cs | Jehoel/AsyncDataAdapter | 5 | 7062776 | <reponame>Jehoel/AsyncDataAdapter<filename>AsyncDataAdapter/Data/Core/FillSchemaAsync.cs
using System;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
namespace AsyncDataAdapte... |
src/rlbot.flat/rlbot/flat/PlayerRigidBodyState.cs | Turnerj/RocketBot | 1 | 7062777 | // <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace rlbot.flat
{
using global::System;
using global::FlatBuffers;
/// Rigid body state for a player / car in the game. Includes the latest
/// controller input, which is otherwise difficult to correl... |
Assets/XLuaFramework/XLua/Gen/XLuaFrameworkCookiesManagerWrap.cs | johnathandinh/UnityMMO | 10 | 7062778 | #if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... |
trunk/src/WeChat.NET/ErrorCode/ErrorCodeInfoAttribute.cs | Xiongpq/WeChat.NET | 1 | 7062779 | <filename>trunk/src/WeChat.NET/ErrorCode/ErrorCodeInfoAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WeChat.NET
{
/// <summary>
/// ErrorCode的错误描述
/// </summary>
public class ErrorCodeDescriptionAttribute : Attribute
{
public string Erro... |
AsyncCommandSample.UnitTests/Tests/XamarinCommunityToolkitInfoViewModelTests.cs | brminnick/AsyncCommandSample | 10 | 7062780 | using System.Threading.Tasks;
using NUnit.Framework;
namespace AsyncCommandSample.UnitTests
{
class XamarinCommunityToolkitInfoViewModelTests
{
[Test]
public async Task GetLatestReleaseTest()
{
// Arrange
string? latestRelease_Initial, latestRelease_Final;
... |
src/TaskLint.Api/Startup.cs | tingali-org/tasklint | 1 | 7062781 | <gh_stars>1-10
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using TaskLint.Application;
using TaskLint.Infrastructure;
using TaskLint.Infrastructure.Persistence;
using NSwag;
using TaskLint.Api.Filters;... |
Bss.Optimization.Sudoku/Program.cs | MurshidMac/Optimization | 16 | 7062782 | using Bss.Optimization.Sudoku.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bss.Optimization.Sudoku.Extensions;
namespace Bss.Optimization.Sudoku
{
class Program
{
static void Main(string[] args)
{
... |
src/Microsoft.DotNet.Interactive/Events/KernelInfoProduced.cs | alireza-rezaee/interactive | 0 | 7062783 | <reponame>alireza-rezaee/interactive
// 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 Microsoft.DotNet.Interactive.Commands;
namespace Microsoft.DotNet.Interactive.Events;
public class ... |
CodeSaw.Tests/RevisionIdTests.cs | ChainsawDevelopment/CodeSaw | 0 | 7062784 | using System;
using System.Collections.Generic;
using CodeSaw.Web;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace CodeSaw.Tests
{
public class RevisionIdTests
{
[Test]
[TestCaseSource(nameof(ParseCases))]
public void ParseTest(string input, IResolveConstraint asser... |
AssemblyToProcess/Interceptors.cs | tom-englert/AutoProperty.Fody | 14 | 7062785 | // ReSharper disable all
using System;
using System.Reflection;
using AutoProperties;
using TestLibrary;
public class ClassWithSimpleInterceptors
{
private int _field = 42;
[GetInterceptor]
private object GetInterceptor(string propertyName, Type propertyType)
{
return Convert... |
demos/TestClient/Program.cs | lozanotek/azure-for-aspnet | 1 | 7062786 | <filename>demos/TestClient/Program.cs
namespace TestClient {
using System;
using System.Threading;
using Orwell.API.Client;
class Program {
static void Main() {
var logClient = new LogClient();
for (int i = 0; i < 200; i++) {
logClient.LogEvent(
string.Format("Current Event: {0}", i),
En... |
samples/aspnet-core-changed-files-delta/Views/Home/Index.cshtml | PulagamVenu/onedrive-community-samples | 31 | 7062787 | @model IndexViewModel
@{
ViewData["Title"] = "Home Page";
}
@if (User.Identity.IsAuthenticated)
{
<div class="text-center">
<h4 class="display-4">Your root drive files</h4>
</div>
<p>
Below you find the list of files that has been changed recently. You can now change one or more file a... |
src/ChilliSource.Cloud.Core/Extensions/Phone/PhoneNumberExtensions.cs | JTOne123/ChilliSource.Cloud.Core | 1 | 7062788 | using PhoneNumbers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ChilliSource.Cloud.Core.Phone
{
public static class PhoneNumberExtensions
{
/// <summary>
/// c... |
Assets/UniGLTF/Editor/UniGLTF/ExportDialog/InternalTPose.cs | arimas88/UniVRM | 1,128 | 7062789 | <reponame>arimas88/UniVRM<filename>Assets/UniGLTF/Editor/UniGLTF/ExportDialog/InternalTPose.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UniGLTF.M17N;
using UnityEngine;
namespace UniGLTF
{
public enum EnableTPose
{
[LangMsg(Languages.ja, "このボタンで自... |
ZY.Common/Types/NavaidEquipmentType.cs | fei090620/ZY.CommanLib | 1 | 7062790 | using System;
namespace ZY.Common.Types
{
/// <summary>
/// 导航台设备类型
/// </summary>
[Flags]
public enum NavaidEquipmentType
{
/// <summary>
/// 组合导航设备
/// </summary>
ILS_DME = 0x1,
MLS_DME = 0x2,
NDB_DME = 0x4,
LOC_DME = 0x8,
NDB_M... |
LD46/Assets/Scripts/Minigames/TurtleFlipper.cs | Enter-your-name-studios/LD46 | 3 | 7062791 | <filename>LD46/Assets/Scripts/Minigames/TurtleFlipper.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using NaughtyAttributes;
public class TurtleFlipper : BaseMinigame {
[Header("Balance")]
public GameObject Arrow;
[SerializeField] [ReorderableList] TurtleActions[] ... |
Samples/MasterPortal/Areas/PublicProfile/ViewModels/ProfileViewModel.cs | hhnguyen/xRM-Portals-Community-Edition | 117 | 7062792 | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using Adxstudio.Xrm.Data;
using Adxstudio.Xrm.Forums;
using Adxstudio.Xrm.Ideas;
using Adxstudio.Xrm.Blogs;
using Microsoft.Xrm.Sdk;
namespace Site.Areas.Pub... |
Assets/MercuryMessaging/Task/MmTaskResponder.cs | samsilverman/MercuryMessaging | 37 | 7062793 | // Copyright (c) 2017-2019, Columbia University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this ... |
C# Fundamentals Module/CSharp-OOP-Basics/Feb 2018 instance/WorkShop/Solution/ForumSystem/ForumSystem.App/UserInterface/ViewModels/ReplyViewModel.cs | msotiroff/Softuni-learning | 1 | 7062794 | <filename>C# Fundamentals Module/CSharp-OOP-Basics/Feb 2018 instance/WorkShop/Solution/ForumSystem/ForumSystem.App/UserInterface/ViewModels/ReplyViewModel.cs
namespace ForumSystem.App.UserInterface.ViewModels
{
using ForumSystem.Services.Models.Reply;
using System.Collections.Generic;
using System.Linq;
... |
FibonacciPlus.cs | IsaiasPaulinoSoares/Git-Ignore-Test | 0 | 7062795 | using System;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace study
{
class FibonacciPlus
{
public static void Executar()
{
double n;
// Lê a posição do termo
Console.WriteLin... |
Sources/Engine/NeoAxis.Core/Components/Surface/Component_SurfaceGroupOfElements.cs | intensifier/NeoAxisEngine | 0 | 7062796 | // Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.ComponentModel;
using System.Collections.Generic;
namespace NeoAxis
{
/// <summary>
/// Represents a group of elements for configuring <see cref="Component_Surface"/>.
/// </summary>
public cla... |
src/EventTraceKit.VsExtension/Controls/Primitives/BindableScrollBar.cs | ljani/event-trace-kit | 10 | 7062797 | namespace EventTraceKit.VsExtension.Controls.Primitives
{
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Input;
public class BindableScrollBar : ScrollBar
{
private read... |
Prius.ORM/Config/Repository.cs | Bikeman868/Prius | 5 | 7062798 | using System.Collections.Generic;
using System.Configuration;
using Newtonsoft.Json;
namespace Prius.Orm.Config
{
public class Repository
{
public Repository()
{
Clusters = new List<Cluster>();
}
/// <summary>
/// The name of this repository. ... |
src/AvenueClothing/Models/AddressDetailsViewModel.cs | Ucommercenet/Avenue-Clothing-For-Umbraco | 5 | 7062799 | <gh_stars>1-10
using System.Collections.Generic;
using System.Web.Mvc;
using Umbraco.Web;
using Umbraco.Web.Composing;
using Umbraco.Web.Models;
using Umbraco.Web.Routing;
namespace AvenueClothing.Models
{
public class AddressDetailsViewModel : ContentModel
{
public AddressDetailsViewModel() : base (Current.Umbra... |
Ashirvad-main/Ashirvad.Data/CircularEntity.cs | ShailUniqtech/Ashirvad | 0 | 7062800 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Ashirvad.Data
{
public class CircularEntity
{
public long CircularId { get; set; }
public long Count { get; set; }
public string CircularTitle... |
src/DevelopmentInProgress.TradeServer.StrategyExecution.WebHost/Cache/Subscriptions/SubscribeAccountInfo.cs | artemiusgreat/Trade-View | 58 | 7062801 | using System;
using System.Threading;
using DevelopmentInProgress.TradeView.Core.Events;
using DevelopmentInProgress.TradeView.Core.Interfaces;
using DevelopmentInProgress.TradeView.Core.Model;
namespace DevelopmentInProgress.TradeServer.StrategyExecution.WebHost.Cache.Subscriptions
{
public class SubscribeAccoun... |
test/MyTested.AspNetCore.Mvc.Test.Setups/Controllers/ScopedServiceController.cs | vmmarko/MyTested.AspNetCore.Mvc | 8 | 7062802 | namespace MyTested.AspNetCore.Mvc.Test.Setups.Controllers
{
using Microsoft.AspNetCore.Mvc;
using Services;
public class ScopedServiceController : Controller
{
private readonly IScopedService scopedService;
public ScopedServiceController(IScopedService scopedService)
{
... |
src/PowerShellEditorServices/Services/DebugAdapter/Handlers/DisconnectHandler.cs | mavaddat/PowerShellEditorServices | 1 | 7062803 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Management.Automation;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.PowerShell.EditorServices.Logging;
using Microsoft.PowerShell.EditorServices.Server;
us... |
Ichnaea.Tests/Unit/AggregateRootIdNotFoundExceptionTest.cs | pete-restall/Ichnaea | 1 | 7062804 | using System;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Xunit;
namespace Restall.Ichnaea.Tests.Unit
{
using ExceptionTest = ExceptionTest<AggregateRootIdNotFoundException, AggregateRootIdNotFoundExceptionTest.DefaultExceptionProperties>;
public class AggregateRootIdNotFoundExceptionTest:... |
StatTrack/Lib/Twitch/Structures/User.cs | RedbackThomson/StatTrack | 1 | 7062805 | <reponame>RedbackThomson/StatTrack
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Schema;
namespace StatTrack.Lib.Twitch.Structures
{
public class User
{
[JsonProperty("type")]
pub... |
Assets/Scripts/Players/Player.cs | cidneyhamilton/MermaidCatch | 0 | 7062806 | <reponame>cidneyhamilton/MermaidCatch
using UnityEngine;
namespace MermaidCatch {
public class Player : MonoBehaviour {
protected float previousPositionY;
// The maximum and minimum position for the player
const float BOTTOM_BOUND = -4.5f;
const float TOP_BOUND = 4.5f;
void Start () {
UpdatePre... |
src/ResourceServer/Views/ResourceDescription/ResourceDescription.cshtml | achal-shah/uma-is4 | 0 | 7062808 | <filename>src/ResourceServer/Views/ResourceDescription/ResourceDescription.cshtml
@model ResourceServer.Models.ResourceDescriptionViewModel
@if (string.IsNullOrEmpty(Model.Id))
{
ViewData["Title"] = "CreateResourceDescription";
}
else
{
ViewData["Title"] = "ResourceDescription";
}
<article>
<section>
... |
Public/Src/FrontEnd/Sdk/IPreludeManager.cs | miniksa/BuildXL | 448 | 7062809 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Threading.Tasks;
using BuildXL.FrontEnd.Workspaces.Core;
using BuildXL.Utilities;
namespace BuildXL.FrontEnd.Sdk
{
/// <summary>
/// Responsible for finding built-in prelude files and creating ... |
src/Microsoft.Tye.Core/ApplicationGlobals.cs | ChadJessup/tye | 1 | 7062810 | <reponame>ChadJessup/tye
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.Tye
{
public sealed class ApplicationGlobals
{
public ... |
Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/MicroShadowing.cs | jfmc/FPSSample | 4 | 7062811 | using System;
namespace UnityEngine.Experimental.Rendering.HDPipeline
{
[Serializable]
public class MicroShadowing : VolumeComponent
{
public BoolParameter enable = new BoolParameter(false);
public ClampedFloatParameter opacity = new ClampedFloatParameter(1.0f, 0.0f, 1.0f);
}
}
|
DTOs/RegionDataDto.cs | jakemoresca/mscannerr | 0 | 7062812 | <filename>DTOs/RegionDataDto.cs
namespace mscannerr.DTOs
{
public class RegionDataDto
{
public RegionDto[] Items { get; set; }
}
public class RegionDto
{
public string Title { get; set; }
public string Url { get; set; }
}
} |
NJasmine.Tests/Export/NUnitSuiteResultTest.cs | fschwiet/DreamNJasmine | 12 | 7062813 | <filename>NJasmine.Tests/Export/NUnitSuiteResultTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NJasmine;
using NUnit.Framework;
namespace NJasmineTests.Export
{
public class NUnitSuiteResultTest : GivenWhenThenFixture
{
public override vo... |
src/Guard.cs | Vysn/Commons | 1 | 7062814 | using System;
namespace Vysn.Commons {
/// <summary>
///
/// </summary>
public readonly struct Guard {
/// <summary>
///
/// </summary>
/// <param name="argumentName"></param>
/// <param name="argument"></param>
/// <exception cref="ArgumentNullExcepti... |
Source/Building/Room/RoomDecorator_Centerpiece.cs | Proxyer/rimworld-cities | 27 | 7062815 | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Verse;
namespace Cities {
public class RoomDecorator_Centerpiece : RoomDecorator {
public List<ThingDef> options = new List<ThingDef>();
public List<ThingDef> chairOptions = new List<ThingDef>();
public float ch... |
Demos/EFDemoCodeFirst/EFDemo.Module/Controllers/EFDetailViewController.cs | derjabkin/eXpand | 1 | 7062816 | <reponame>derjabkin/eXpand<gh_stars>1-10
using System;
using System.Drawing;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.SystemModule;
#if (CodeFirst)
using DevExpress.Persistent.BaseImpl.EF;
#endif
using EFDemo.Module.Data;
namespace EFDemo.Module.Controllers {
public class EFDetailViewController : Vie... |
Gear/Geometry/Vector3f.cs | cathode/gear | 1 | 7062818 | /******************************************************************************
* Gear: An open-world sandbox game for creative people. *
* http://github.com/cathode/gear/ *
* Copyright © 2009-2017 William 'cathode' Shelley. All Rights Reserved. *... |
csharp/Advent.Core/Year2019/Day02.cs | hanhossain/advent-of-code | 0 | 7062819 | using System;
using System.Linq;
namespace Advent.Core.Year2019
{
public class Day02
{
public static void RunIntcodeProgram(int[] program)
{
int offset = 0;
while (program[offset] != 99)
{
int opcode = program[offset];
int ope... |
Assets/Scripts/MenuScripts/Menus/MainMenu.cs | FellowshipOfTheGame/semcomp-24 | 1 | 7062820 | using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using SubiNoOnibus.Networking.Requests;
namespace SubiNoOnibus.UI
{
public class MainMenu : MonoBehaviour
{
[SerializeField] private LoginMenu loginMenu;
[Header("Buttons")]
[SerializeField] private Button pla... |
Program.cs | RicardoAzuul/MazeRatsNPCGenerator | 1 | 7062822 | <gh_stars>1-10
using System;
using System.IO;
using System.Collections.Generic;
namespace MazeRatsNPCGenerator
{
class Program
{
static void Main(string[] args)
{
// First check if there are any text files: without them, nothing will be generated
string currentDir = Dir... |
Datatent.Core.Tests/Pages/PageManagerTest.cs | sebfischer83/datatent | 0 | 7062823 | <reponame>sebfischer83/datatent<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Datatent.Core.IO;
using Datatent.Core.Pages;
using Datatent.Core.Service;
using Datatent.Core.Service.Compression;
using Datatent.Core.Service.Encryption;
using FluentAssertions;
using Xunit;
using Lz4Co... |
SurveyServiceMVC/SurveyApplication/SurveyApplication/Controllers/SurveyController.cs | daniel2IT/SurveyCreator | 0 | 7062824 | using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Tooling.Connector;
using SurveyApplication.Helper;
using SurveyApplication.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SurveyApplication.Controllers
{
public cl... |
Chapter06/B_ExampleBinding_EditProduct/ExampleBinding/Pages/EditProduct.cshtml.cs | wagnerhsu/manning-asp-dot-net-core-in-action-2e | 157 | 7062825 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace ExampleBinding.Pages
{
[IgnoreAntiforgeryToken] // So you can call the page from Postman etc
public class EditProductModel : Pag... |
stankinsv2/solution/StankinsV2/StankinsTestXUnit/FilterColumnDataGreaterThanLengthTest.cs | fossabot/stankins | 17 | 7062826 | <reponame>fossabot/stankins<filename>stankinsv2/solution/StankinsV2/StankinsTestXUnit/FilterColumnDataGreaterThanLengthTest.cs<gh_stars>10-100
using FluentAssertions;
using Stankins.FileOps;
using Stankins.Interfaces;
using StankinsObjects;
using System;
using System.Collections.Generic;
using System.Text;
using Stank... |
DrawingCore/DrawingCore/Interfaces/IDrawCommand.cs | holance/WaveformWPF | 0 | 7062827 | using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.UI.Xaml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
namespace DrawingCore.Interfaces
{
public interface IDrawCommand
{
void Draw(double ca... |
WeddingInfo.Domain/Models/Registry.cs | jsonpj3wt/WeddingInfo | 1 | 7062828 | using System;
namespace WeddingInfo.Domain.Models
{
public class Registry
{
public int Id { get; set; }
public string ImageSrc { get; set; }
public string Name { get; set; }
public int Order { get; set; }
public string Website { get; set; }
}
}
|
src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/GraphExploreResponse.g.cs | SimonCropp/elasticsearch-net | 0 | 7062829 | <reponame>SimonCropp/elasticsearch-net
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██... |
CsvParser/CsvWriter.cs | SoftCircuits/CsvParser | 10 | 7062830 | // Copyright (c) 2019-2021 <NAME> (www.softcircuits.com)
// Licensed under the MIT license.
//
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace SoftCircuits.CsvParser
{
/// <summary>
/// Class for writing to comma-separated-value (CSV)... |
src/UniEnum.Unity/Assets/UniEnum/Runtime/CacheTypes.cs | neptaco/UniEnum | 6 | 7062831 | using System;
namespace UniEnumUtils
{
static class NameCache<T> where T : Enum
{
public static readonly string[] Names;
public static readonly ReadOnlyArray<string> ReadOnlyNames;
static NameCache()
{
Names = Enum.GetNames(typeof(T));
ReadOnlyNames = n... |
SQMImportExport/Import/DataSetters/SingleValuePropertySetterBase.cs | SvDvorak/SQMImportExport | 3 | 7062832 | <filename>SQMImportExport/Import/DataSetters/SingleValuePropertySetterBase.cs<gh_stars>1-10
using System;
namespace SQMImportExport.Import.DataSetters
{
internal abstract class SingleValuePropertySetterBase<T> : LineSetterBase
{
protected Action<T> PropertySetter { get; private set; }
protecte... |
src/TrackerLibrary/Configuration/GlobalConfig.cs | pranavphadke/tournamentTracker | 0 | 7062833 | <reponame>pranavphadke/tournamentTracker
using System;
using System.Collections.Generic;
using System.Text;
using TrackerLibrary;
using TrackerLibrary.Connector;
using System.Configuration;
using System.IO;
namespace TrackerLibrary.Configuration
{
public static class GlobalConfig
{
/// <su... |
CookPopularCSharpToolkit/Windows/Extensions/WindowExtension.cs | Muzsor/CookPopularControl | 18 | 7062834 | using CookPopularCSharpToolkit.Communal;
using CookPopularCSharpToolkit.Windows.Interop;
using System;
using System.Collections;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
usin... |
src/DatabaseTestSetManager.Lib/Models/RelationSpec.cs | mathijsco/DBTestSetManager | 0 | 7062835 | <filename>src/DatabaseTestSetManager.Lib/Models/RelationSpec.cs
using System;
namespace DatabaseTestSetManager.Lib.Models
{
public class RelationSpec
{
/// <summary>
/// Table used where the data should be loaded from
/// </summary>
public Guid SourceTable { get; set; }
... |
01/Assets/Scripts/PlayerControl.cs | warapon201/WGJ82TV2 | 0 | 7062836 | using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.EventSystems;
public class PlayerControl : MonoBehaviour
{
// Start is called before the first frame update
public GameObject lightningObject;
public TMPro.TMP_Text TextLight;
public ... |
Game/GameApp/Audio/MusicPlayer.cs | eric1338/ThesisCode | 0 | 7062837 | using NAudio.Wave;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameApp.Audio
{
class MusicPlayer
{
private WaveOutEvent waveOutEvent;
private WaveStream waveStream;
private string fileDirectory;
public MusicPlayer(string ... |
src/NHibernate.DataContext/DbQueryContext`.cs | alexkuznetsov/NHibernate.DataContext | 0 | 7062838 | <filename>src/NHibernate.DataContext/DbQueryContext`.cs
namespace NHibernate.DataContext
{
using NHibernate;
using System.Linq.Expressions;
public class DbQueryContext<TEntity> : Queryable<TEntity>
where TEntity : class
{
private ISession m_session;
protected ISession Session
... |
src/Upnodo.Features.Mood/Upnodo.Features.Mood.Infrastructure/Services/GetLatestCreatedMoodRecordsService.cs | oliversabler/upnodo | 1 | 7062839 | <gh_stars>1-10
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Upnodo.BuildingBlocks.Application.Abstractions;
using Upnodo.Features.Mood.Application.GetLatestCreatedMoodRecords;
using Upnodo.Features.Mood.Infrastructure.Mappers;
using Upnodo.Features... |
src/EFIdentity/Controllers/TestController.cs | danclarke/AspNetIdentity3NPOCODataStores | 12 | 7062840 | <reponame>danclarke/AspNetIdentity3NPOCODataStores
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using System.Diagnostics;
using Microsoft.AspNet.Identity;
using EFIdentity.Models;
using Microsoft.AspNet.Identity.EntityFramework;
... |
AskMeAPI/Models/ExamQuestionsForCreationDto.cs | x17127271/AskMeAPI | 0 | 7062841 | <gh_stars>0
using System.Collections.Generic;
namespace AskMe.API.Models
{
public class ExamQuestionsForCreationDto
{
public string Title { get; set; }
public string Description { get; set; }
public int UserId { get; set; }
public List<int> questions { get; set; }
publi... |
src/Talifun.Commander.Command.VideoThumbNailer/Configuration/VideoThumbnailerElementCollection.cs | taliesins/talifun-commander | 3 | 7062842 | <reponame>taliesins/talifun-commander<gh_stars>1-10
using System.Configuration;
using Talifun.Commander.Command.Configuration;
namespace Talifun.Commander.Command.VideoThumbnailer.Configuration
{
/// <summary>
/// Represents a configuration element containing a collection of <see cref="VideoThumbnailerElement... |
src/Perpetuum/Collections/Spatial/GridDistricts.cs | jeffmaley/PerpetuumServer | 46 | 7062843 | using System;
namespace Perpetuum.Collections.Spatial
{
[Flags]
public enum GridDistricts : byte
{
Undefined = 0,
Center = 1,
Left = 1 << 1,
Right = 1 << 2,
Upper = 1 << 3,
Lower = 1 << 4,
LeftUpper = Left | Upper,
LeftLower = Left | Lower,
... |
TransparentApiClient.Google.BigQuery.V2/Schema/TableRow.cs | DamiaoCastro/TransparentApiClient.Google | 2 | 7062844 | using System.Collections.Generic;
using Newtonsoft.Json;
namespace TransparentApiClient.Google.BigQuery.V2.Schema {
public class TableRow {
/// <summary>
/// Represents a single row in the result set, consisting of one or more fields.
/// </summary>
public IEnumerable<TableCell> f { get; set; }
}
} |
Src/HTTPProx.cs | sydia1103/TestSSLServer | 131 | 7062845 | using System;
using System.IO;
using System.Text;
/*
* Helper class for connecting through a HTTP proxy. Right now, it
* does not support any form of authentication.
*
* Instances are NOT thread-safe.
*/
class HTTPProx {
Stream remote;
int delayed;
internal HTTPProx()
{
}
/*
* Per... |
tests/NSubstitute.Specs/EventHandlerRegistrySpec.cs | 304NotModified/NSubstitute | 1,464 | 7062846 | <reponame>304NotModified/NSubstitute
using System.Linq;
using NSubstitute.Core;
using NSubstitute.Specs.Infrastructure;
using NUnit.Framework;
namespace NSubstitute.Specs
{
public class EventHandlerRegistrySpec
{
public class Concern : ConcernFor<EventHandlerRegistry>
{
protected o... |
Broot/Broot.API/Controllers/LoginController.cs | 141-Gelecek-Varlik-FullStack-Bootcamp/odev-5-emirxmertoglu | 0 | 7062847 | using Broot.API.Infrastructer;
using Broot.Model;
using Broot.Service.User;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using System;
namespace Broot.API.Controllers
{
[Route("api/v1/[controller]")]
[ApiController]
public class LoginController : ControllerBase
{
... |
Connect4.Domain/Dtos/BotRequestDto.cs | xeorast/Connect4 | 1 | 7062849 | <filename>Connect4.Domain/Dtos/BotRequestDto.cs<gh_stars>1-10
using Connect4.Domain.Core;
using System.ComponentModel.DataAnnotations;
namespace Connect4.Domain.Dtos;
public record BotRequestDto(
[Required]
WellDto Well,
[Required]
[Range( 1, 5 )]
int Difficulty,
[Required]
[Range(1, int.MaxValue )]
Hue C... |
Booking/Book.Infrastructure/Models/Response/RestaurantInfoResponse.cs | BugInTheAir/Restaurant_System | 0 | 7062850 | using System;
using System.Collections.Generic;
using System.Text;
namespace Book.Infrastructure.Models.Response
{
public class RestaurantInfoResponse
{
public string address { get; set; }
public string name { get; set; }
}
}
|
src/MadReflection.BungieNetApi.Entities/Generated_/Destiny/DestinyEnergyType.cs | madreflection/MadReflection.BungieNetApi | 2 | 7062851 | //------------------------------------------------------------------------------
// <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>
//-----------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.