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 |
|---|---|---|---|---|
RX_Explorer/Class/GroupStateChangedEventArgs.cs | zhuxb711/USBManager | 9 | 7054039 | namespace RX_Explorer.Class
{
public sealed class GroupStateChangedEventArgs
{
public GroupTarget Target { get; }
public GroupDirection Direction { get; }
public string Path { get; }
public GroupStateChangedEventArgs(string Path, GroupTarget Target, GroupDirection Direction)
... |
src/LaunchDarkly.XamarinSdk/IConnectivityStateManager.cs | smokeballdev/launchdarkly-xamarin-client-sdk | 0 | 7054041 | using System;
namespace LaunchDarkly.Xamarin
{
internal interface IConnectivityStateManager
{
bool IsConnected { get; set; }
Action<bool> ConnectionChanged { get; set; }
}
}
|
src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/StepDefinations/ReviewsAndAppeals/_3473_ReviewsAndAppealsStartPageSteps.cs | SkillsFundingAgency/tl-results-and-certification-automation-suite | 0 | 7054042 | using Sfa.Tl.ResultsAndCertificationAutomation.Tests.Pages.ReviewsAndAppeals;
using TechTalk.SpecFlow;
namespace Sfa.Tl.ResultsAndCertificationAutomation.Tests.StepDefinations.ReviewsAndAppeals
{
[Binding]
public class _3473_ReviewsAndAppealsStartPageSteps : ReviewAndAppealsStartPage
{
[Then(@"I s... |
src/BusLane.Serializing.Protobuf/ProtobufMessageSerializer.cs | teian/BusLane | 2 | 7054043 | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ProtoBuf;
namespace BusLane.Serializing.Protobuf
{
/// <summary>
/// An <see cref="IMessageSerializer"/> for Protobuf messages.
/// </summary>
public sealed class ProtobufMessageSerializer : IMessageSerializer
{
/... |
NetFreeSwitch.Framework/FreeSwitch/CallManager/IEndPointAddress.cs | Tochemey/NetFreeSwitch.Framework | 4 | 7054044 | <filename>NetFreeSwitch.Framework/FreeSwitch/CallManager/IEndPointAddress.cs
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you ... |
Source/Sceelix.Designer.Renderer3D/Messages/AddGameObject.cs | sceelix/Sceelix | 70 | 7054045 | <reponame>sceelix/Sceelix
using DigitalRune.Game;
namespace Sceelix.Designer.Renderer3D.Messages
{
/*public class AddGameObject
{
public GameObject GameObject { get; set; }
public AddGameObject(GameObject gameObject)
{
GameObject = gameObject;
}
}*/
} |
Assets/Scripts/Type5Manager.cs | chishige1217200/mycrane | 0 | 7054046 | <filename>Assets/Scripts/Type5Manager.cs
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class Type5Manager : CraneManager
{
public int[] priceSet = new int[2];
public int[] timesSet = new int[2];
[SerializeField] float[] armLPowerConfig = new float[3]; //アームパワーL(%,未確率時)
... |
GeekbangPractice/Week1Practice/Question21.cs | ZeyuWangGit/Geekbang-Algorithm-CodeCamp-Homework | 0 | 7054047 | <reponame>ZeyuWangGit/Geekbang-Algorithm-CodeCamp-Homework
using System;
using System.Collections.Generic;
using System.Text;
namespace Week1Practice
{
// 21. 合并两个有序链表
public class Question21
{
public ListNode MergeTwoLists(ListNode l1, ListNode l2)
{
ListNode preHead = new Lis... |
CachingProxy/src/CachingProxyConfig.cs | JetBrains/artifacts-caching-proxy | 2 | 7054048 | <reponame>JetBrains/artifacts-caching-proxy
using System.IO;
namespace JetBrains.CachingProxy
{
public class CachingProxyConfig
{
public string[] Prefixes { get; set; } = new string[0];
public string[] ContentTypeValidationPrefixes { get; set; } = new string[0];
public string LocalCachePath { get; set;... |
src/frmMain.Designer.cs | rgelb/Sass-Dependencies-Viewer | 0 | 7054049 | <gh_stars>0
namespace SASSFileViewer
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
BigBirdDeployer/BigBirdConsole/Commons/R.cs | yuzhengyang/Oreo | 2 | 7054050 | using Azylee.Core.AppUtils;
using Azylee.Core.FormUtils;
using Azylee.Core.LogUtils.SimpleLogUtils;
using BigBirdConsole.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace BigBirdConsole.Commons
{
public static partial class R
{
... |
src/Sautom.Client.Modules.Proposal/Views/ModuleTaskButton.xaml.cs | nikaburu/sautom-wpf | 0 | 7054053 | <filename>src/Sautom.Client.Modules.Proposal/Views/ModuleTaskButton.xaml.cs<gh_stars>0
using System.Windows.Controls;
using Sautom.Client.Modules.Proposal.ViewModels;
namespace Sautom.Client.Modules.Proposal.Views
{
/// <summary>
/// Interaction logic for ModuleTaskButton.xaml
/// </summary>
public pa... |
src/Sphere10.Framework.Windows.Forms/Controls/Crud/UpdateEntityOnValueChangedController.cs | Sphere10/Framework | 1 | 7054054 | <filename>src/Sphere10.Framework.Windows.Forms/Controls/Crud/UpdateEntityOnValueChangedController.cs
//-----------------------------------------------------------------------
// <copyright file="UpdateEntityOnValueChangedController.cs" company="Sphere 10 Software">
//
// Copyright (c) Sphere 10 Software. All rights res... |
Updater/Helpers/DirectoryHelper.cs | kavengagne/ApplicationUpdater | 1 | 7054055 | <filename>Updater/Helpers/DirectoryHelper.cs
using System.IO;
namespace Updater.Helpers
{
public static class DirectoryHelper
{
public static void CopyDirectory(string sourcePath, string destPath)
{
if (!Directory.Exists(destPath))
{
Directory.CreateDire... |
src/Assistant/IssueInputType.cs | IntranetFactory/examples | 0 | 7054056 | using GraphQL.Types;
using Assistant.Types;
namespace Assistant
{
public class IssueInputType : InputObjectGraphType<issue>
{
public IssueInputType()
{
Name = "IssueInput";
// just example input for creating issue
Field(x => x.Title);
Field(x => x... |
Platformer2d_Ylz8402/Assets/_GameFolders/Scripts/Concretes/Movements/RaycastNonAllocGroundChecker.cs | berkterek/Platformer2D__Yzl8402 | 0 | 7054057 | <filename>Platformer2d_Ylz8402/Assets/_GameFolders/Scripts/Concretes/Movements/RaycastNonAllocGroundChecker.cs
using Platformer2d.Abstracts.Movements;
using UnityEngine;
namespace Platformer2d.Movements
{
public class RaycastNonAllocGroundChecker : MonoBehaviour, IGroundChecker
{
[SerializeField] bool... |
helpers/rolltables/Program.cs | edg3/dunmar | 0 | 7054058 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RollTables
{
class Program
{
private static Random rndm = new Random();
/// <summary>
/// Roll die for a value.
/// </summary>
... |
FlightControl/Models/CommunicationMode.cs | vitolu-goertek/FiiPrograming | 0 | 7054059 | <filename>FlightControl/Models/CommunicationMode.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FlightControl.Models
{
public enum CommunicationMode
{
Qr,
Uwb
}
}
|
Groups/GroupCopy.ascx.cs | KingdomFirst/RockBlocks | 1 | 7054060 | // <copyright>
// Copyright 2019 by Kingdom First Solutions
//
// 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 appl... |
src/Wonders/IWonder.cs | sydd2005/CivOne | 14 | 7054061 | // CivOne
//
// To the extent possible under law, the person who associated CC0 with
// CivOne has waived all copyright and related or neighboring rights
// to CivOne.
//
// You should have received a copy of the CC0 legalcode along with this
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
us... |
Monitor/Monitors/Memory.cs | DragonNP/IoTLink | 1 | 7054062 | <filename>Monitor/Monitors/Memory.cs
using LibreHardwareMonitor.Hardware;
using System.Collections.Generic;
using System.Linq;
namespace Monitor.Monitors
{
class Memory
{
private Computer _computer;
private IHardware _memory;
public Memory()
{
_computer = new Compu... |
src/AndroidPlusPlus.VsDebugEngine/DebugProgramProvider.cs | jjzhang166/androidplus | 608 | 7054063 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////... |
Business/Abstract/ICarService.cs | CerenSusuz/RentACarProject | 257 | 7054064 | <reponame>CerenSusuz/RentACarProject
using Core.Utilities.Results.Abstract;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
using Entities.DTOs;
namespace Business.Abstract
{
public interface ICarService
{
IResult Add(Car car);
IResult Delete(Car car... |
Flantter.MilkyWay/Views/Converters/DoublePlusConverter.cs | cucmberium/Flantter.MilkyWay | 41 | 7054065 | using System;
using Windows.UI.Xaml.Data;
namespace Flantter.MilkyWay.Views.Converters
{
public sealed class DoublePlusConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
return value is double ? (double) value + d... |
Logging/DaoLoggerLogReaderBase.cs | BryanApellanes/bam.net.shared | 0 | 7054066 | /*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bam.Net.Logging
{
public abstract class DaoLoggerLogReaderBase : ILogReader
{
public ILogger Logger
{
get;
set;
}
public IDaoLogger DaoLogger
... |
GameScripts/BarrelCheck.cs | iury-sky/Donkey-Kong | 1 | 7054067 | using UnityEngine;
using System.Collections;
public class BarrelCheck : MonoBehaviour {
public AudioSource jumpBarrel;
public GameObject contextScore;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter2D(Collider2D other){
if... |
Kugar.Core/BaseStruct/NotifyChangedField.cs | JTOne123/Kugar.Core | 3 | 7054069 | <reponame>JTOne123/Kugar.Core
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Kugar.Core.BaseStruct
{
public interface INotifyChangedField:INotifyPropertyChanged,INotifyPropertyChanging
{
string Name { get; }
object... |
Kemel.Orm/Platform/WebApplication/WebApplicationFactory.cs | lvendrame/kemel-orm | 0 | 7054070 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Kemel.Orm.Platform.WebApplication
{
public class WebApplicationFactory: PlatformFactory
{
private static HttpApplicationState _application;
public static HttpApplicationState Applic... |
source/SuperOffice.DevNet.RazorPages/Pages/About.cshtml.cs | SuperOffice/devnet-oidc-razor-pages-webapi | 0 | 7054071 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using NToastNotify;
namespace SuperOffice.DevNet.Asp.Net.RazorPages
{
public class AboutModel : PageModel
{
public AboutModel()
... |
ElasticSearchTest/WebApplication/Controllers/ArticleService.cs | Arthur-Neto/ElasticSearchPDFExample | 3 | 7054072 | using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using WebApplication.Services;
namespace WebApplication.Controllers
{
[Route("api/article")]
public class ArticleController : Controller
{
private readonly ArticleService _articleService;
public ArticleController(Art... |
src/Tests.Old/Analyzers.Tests.Old/RemoveEmptyElseClause.cs | ProphetLamb-Organistion/Roslynator | 0 | 7054073 | // Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Roslynator.CSharp.Analyzers.Tests
{
internal static class RemoveEmptyElseClause
{
private static void Foo()
{
bool condit... |
ISAAR.MSolve.LinearAlgebra.Tests/RawLibraries/LapackTests.cs | lewpapado92/MSolve-ImmunoMech | 1 | 7054074 | <filename>ISAAR.MSolve.LinearAlgebra.Tests/RawLibraries/LapackTests.cs
using System;
using ISAAR.MSolve.LinearAlgebra.Commons;
using ISAAR.MSolve.LinearAlgebra.Providers;
using ISAAR.MSolve.LinearAlgebra.Providers.MKL;
using ISAAR.MSolve.LinearAlgebra.Tests.TestData;
using ISAAR.MSolve.LinearAlgebra.Tests.Utilities;
u... |
Assets/Scripts/MapEditor/Views/LibraryCell.cs | stack-maps/map-editor | 0 | 7054075 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MaterialUI;
namespace StackMaps {
/// <summary>
/// This manages how a library cell would look like in the library explorer.
/// </summary>
public class LibraryCell : SidebarElement {
/// <summary>
/// The button that... |
tools/win/VMDirSchemaSnapIn/VMDirSchemaSnapIn/UI/SelectItemsWindow.cs | wfu8/lightwave | 357 | 7054076 | <reponame>wfu8/lightwave
/*
* Copyright © 2012-2016 VMware, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the “License”); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-... |
src/FootballCli/Model/LeaguePosition.cs | David-Rushton/FootballCli | 0 | 7054077 | <filename>src/FootballCli/Model/LeaguePosition.cs
using System.Text.Json.Serialization;
namespace FootballCli.Model
{
public class LeaguePosition
{
[JsonPropertyName("position")]
public int Position { get; init; }
[JsonPropertyName("team")]
public FootballTeam Team { get; init... |
CRM/Controllers/CarteraFFVVController.cs | sergio-pizarro/MDN | 0 | 7054078 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using CRM.Business.Entity;
using CRM.Business.Entity.Clases;
using CRM.Business.Entity.Contracts;
using CRM.Business.Data;
using CRM.ActionFilters;
using CRM.Filters;
namespace CRM.Contro... |
src/Cybercore/Blockchain/Ethereum/EthereumBlockTemplate.cs | cyberpoolorg/cybercore | 1 | 7054079 | <filename>src/Cybercore/Blockchain/Ethereum/EthereumBlockTemplate.cs
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using NBitcoin;
namespace Cybercore.Blockchain.Ethereum
{
public class EthereumBlockTemplate
{
public ulong Height { get; set; }
public ... |
MuseosUCM/Assets/uAdventure/__Scripts/Runner/GameLogic/Behaviours/Imp/PlayerMB.cs | JuegosSerios-UCM-Grupo2-20-21/MuseosUCM | 1 | 7054080 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using uAdventure.Core;
namespace uAdventure.Runner
{
[RequireComponent(typeof(Representable))]
[RequireComponent(typeof(Mover))]
public class PlayerMB : MonoBehaviour
{
private class ActionArea
{
... |
Libs/Aether.Physics2D/Samples/Samples/Demos/SimpleDemo7.cs | jocamar/Caravel | 6 | 7054082 | <reponame>jocamar/Caravel<filename>Libs/Aether.Physics2D/Samples/Samples/Demos/SimpleDemo7.cs<gh_stars>1-10
/* Original source Farseer Physics Engine:
* Copyright (c) 2014 <NAME>, http://farseerphysics.codeplex.com
* Microsoft Permissive License (Ms-PL) v1.1
*/
using System.Text;
using tainicom.Aether.Physics2D.Dy... |
src/WordpressWXR12/Author.cs | xs4free/wordpress-to-hugo-and-staticman-converter | 0 | 7054083 | <filename>src/WordpressWXR12/Author.cs
using System;
using System.Xml.Serialization;
namespace WordpressWXR12
{
[Serializable]
public class Author
{
[XmlElement(ElementName = "author_id", Namespace = Namespaces.WP)]
public string Id { get; set; }
[XmlElement(ElementName = "author_... |
selectPlayer.cs | CleavelandOtieno/Memory-Match-Game | 0 | 7054084 | <filename>selectPlayer.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CLEAVELAND_ONYANGO_AWD_2019
{
public part... |
Source/Wrappers/mscorlib/System.Security.Principal.SecurityIdentifier.cs | RixianOpenTech/RxWrappers | 0 | 7054085 | <reponame>RixianOpenTech/RxWrappers<filename>Source/Wrappers/mscorlib/System.Security.Principal.SecurityIdentifier.cs
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Security.Principal
{
public static class __Securit... |
Beetle.Tracker/Beetle.Tracker/Beetle.Tracker/EventRegister.cs | whywei/IKendeLib | 1 | 7054086 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Beetle.Tracker
{
public delegate void EventRegister(object sender,EventRegisterArgs e);
public class EventRegisterArgs:EventArgs
{
public IProperties Properties
{
ge... |
DirectN/DirectN/Generated/IMFImageSharingEngineClassFactory.cs | riQQ/DirectN | 1 | 7054087 | <filename>DirectN/DirectN/Generated/IMFImageSharingEngineClassFactory.cs<gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\mfsharingengine.h(857,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("1fc55727-a7fb-4fc8-83ae-8af024990af1"), InterfaceType(Com... |
dance_club/Models/Activities.cs | dawid446/dance_club | 0 | 7054088 | <reponame>dawid446/dance_club
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace dance_club.Models
{
public class Activities
{
[Key]
public int ActivityI... |
src/aspCart.Web/Areas/Admin/Models/Catalog/ImageModel.cs | workingrom/aspCart | 0 | 7054089 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace aspCart.Web.Areas.Admin.Models.Catalog
{
public class ImageModel
{
public Guid Id { get; set; }
public string FileName { get; set; }
public int SortOrder { get; set; }... |
src/Domain0.Service/Infrastructure/CustomStatusCodeHandler.cs | kirillnvnsk/domain0 | 0 | 7054090 | <reponame>kirillnvnsk/domain0<filename>src/Domain0.Service/Infrastructure/CustomStatusCodeHandler.cs
using System.IO;
using Nancy;
using Nancy.ErrorHandling;
namespace Domain0.Nancy.Infrastructure
{
public class StatusCodeHandler : IStatusCodeHandler
{
public StatusCodeHandler(IRootPathProvider rootPat... |
dotnet/Server/Utils/RegistryUtils.cs | hanabi1224/BepInEx.ModManager | 1 | 7054091 | <filename>dotnet/Server/Utils/RegistryUtils.cs
using Microsoft.Win32;
namespace BepInEx.ModManager.Server
{
internal static class RegistryUtility
{
public static T GetValue<T>(this RegistryKey baseKey, string subKey, string name)
{
RegistryKey entry = baseKey.OpenSubKey(subKey);
... |
App.Install/Tasks/IisTask.cs | yuriys-kentico/create-kentico-app | 0 | 7054092 | using System;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using App.Core;
using App.Core.Context;
using App.Core.Services;
using Microsoft.Web.Administration;
using static App.Core.CoreHelper;
using stati... |
src/SFA.DAS.AssessorService.Application.Api/Services/HtmlTagRemover.cs | codescene-org/das-assessor-service | 6 | 7054093 | namespace SFA.DAS.AssessorService.Application.Api.Services
{
public static class HtmlTagRemover
{
public static string StripOutTags(string inputText)
{
if (string.IsNullOrEmpty(inputText))
return inputText;
var text = inputText;
var rx = ... |
MemoryLifter/Development/Current/Security.Framework.Base/Exceptions.cs | hmehr/OSS | 1 | 7054094 | /***************************************************************************************************************************************
* Copyright (C) 2001-2012 LearnLift USA *
* Contact: Learnlift USA, 12 Greenway Plaza, Suite 1510, Houston, Texas 77046, <EMAIL> *
* *
*... |
src/SFA.DAS.EmployerDemand.Web.UnitTests/Controllers/ProviderDemand/WhenPostingEditProviderInterest.cs | SkillsFundingAgency/das-employerdemand-web | 0 | 7054095 | using System;
using System.ComponentModel.DataAnnotations;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using FluentAssertions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerDemand.Application.Demand.Commands.UpdateCachedProvide... |
AIM.Web.ClientApp/AIM.Web.ClientApp/Models/EntityModels/Application.cs | ChaseMarcum/N-Tiered-ASP.NET-MVC--ASP.NET-Web-API--and-Entity-Framework-application | 9 | 7054096 | using AIM.Web.ClientApp.Models.EntityModels;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using TrackableEntities;
using TrackableEntities.Client;
namespace AIM.Web.ClientApp.Models.EntityModels
{
[JsonObject(IsReference = true)]
[DataContract(IsRef... |
Packages/com.deltation.leo-ecs-extensions/Assets/DELTation/LeoEcsExtensions/Pooling/EntityViewPoolDecorator.cs | Delt06/leo-ecs-extensions | 0 | 7054097 | using DELTation.LeoEcsExtensions.Views;
using UnityEngine;
namespace DELTation.LeoEcsExtensions.Pooling
{
[RequireComponent(typeof(EntityViewPool))]
public abstract class EntityViewPoolDecorator<TView> : MonoBehaviour, IEntityViewPool, IEntityViewPool<TView>
where TView : EntityView
{
priva... |
Phoenix.Core.Api.test.Acceptance/Brokers/PhoenixApiBroker.Home.cs | arafat-pro/Phoenix.Core | 0 | 7054098 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Phoenix.Core.Api.test.Acceptance.Brokers
{
public partial class PhoenixApiBroker
{
private const string HomeRelativeUrl = "api/home";
public async ValueTask<string> Get... |
ProtoSDK/MS-RDPEDYC/Client/Rdpemt_DVCClientTransport.cs | skywing918/WindowsProtocolTestSuites | 332 | 7054099 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpeud... |
JPB.WPFBase/MVVM/DelegateCommand/DelegateCommand.cs | JPVenson/WPFCommon | 3 | 7054100 | using System;
using System.Windows.Input;
namespace JPB.WPFBase.MVVM.DelegateCommand
{
/// <summary>
/// The Default implementation that uses the <seealso cref="CommandManager" /> for raising its CanExecute event
/// </summary>
/// <seealso cref="System.Windows.Input.ICommand" />
public class DelegateCommand... |
src/MindstormR.MonoBrick.Firmware/Sensors/HTColorSensor.cs | ljouwertbv/MindstormR | 3 | 7054101 | using System;
namespace MonoBrickFirmware.Sensors
{
internal enum ColorRegister : byte
{
Version = 0x00, ProductId = 0x08, SensorType = 0x10, Command = 0x41, ColorNumber = 0x42, RedReading = 0x43,
GreenReading = 0x44, BlueReading = 0x45, RedRawReadingLow = 0x46, RedRawReadingHigh = 0x47, GreenRawR... |
src/Lyn.Protocol/Bolt7/Messages/AnnouncementSignatures.cs | pegasusjcrawford/lyn | 5 | 7054102 | using Lyn.Protocol.Common.Messages;
using Lyn.Types.Bitcoin;
using Lyn.Types.Bolt;
using Lyn.Types.Fundamental;
namespace Lyn.Protocol.Bolt7.Messages
{
public class AnnouncementSignatures : GossipMessage
{
public AnnouncementSignatures(UInt256 channelId, ShortChannelId shortChannelId, CompressedSignat... |
src/ManageCourses.Api/ActionFilters/AcceptTermsFilter.cs | DFE-Digital/manage-courses-api | 0 | 7054103 | <filename>src/ManageCourses.Api/ActionFilters/AcceptTermsFilter.cs
using System;
using System.Linq;
using GovUk.Education.ManageCourses.Domain.DatabaseAccess;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc.Filters;
namespace GovUk.Education.ManageCourses.Api.... |
DoubleTapTest/Commands/InitLockCommand.cs | oddbear/DoubleTapTest | 1 | 7054104 | using System;
using System.Windows.Input;
using System.Threading.Tasks;
namespace DoubleTapTest
{
public class InitLockCommand<TResult> : ICommand
{
public event EventHandler CanExecuteChanged;
private readonly InitLock<TResult> _initLock;
private readonly Func<TResult, Task> _execute... |
WeatherSystem/Assets/WeatherSystem/Scripts/IntensityComponents/WeatherTypeSpecificIntensityDrivenBehaviour.cs | Slord6/WeatherSystem | 9 | 7054105 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
namespace WeatherSystem.IntensityComponents
{
/// <summary>
/// Intensity driven behaviour for which the condition for updating is a specific weather type being active
/// </summary>
public class WeatherTy... |
Assets/Scripts/Level.cs | hzipperer/Grapple-Masters | 0 | 7054106 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Level : MonoBehaviour
{
public string name;
public float time = 0f;
void OnCollisionEnter(Collision col)
{
float tempTime;
LevelData data;
... |
p4api.net/DepotFileDiff.cs | septag/p4api.net | 0 | 7054107 | /*******************************************************************************
Copyright (c) 2011, Perforce Software, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of sour... |
Src/Bolt.Validation/Extensions/RuleCheckerUnitDoubleExtensions.cs | mruhul/Bolt.Validation | 0 | 7054109 | namespace Bolt.Validation.Extensions
{
public static class RuleCheckerUnitDoubleExtensions
{
public static TRuleChecker GreaterThan<TRuleChecker>(this RuleCheckerUnit<TRuleChecker, double> source, double greaterFrom)
where TRuleChecker : RuleChecker
{
return source
... |
sdk/dotnet/User.cs | pulumi/pulumi-onelogin | 1 | 7054110 | <reponame>pulumi/pulumi-onelogin<filename>sdk/dotnet/User.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
usi... |
src/Silk.Core.Data/Entities/Guild/Infractions/InfractionEntity.cs | VelvetThePanda/Silk | 85 | 7054111 | using System;
namespace Silk.Core.Data.Entities
{
public class InfractionEntity
{
public int Id { get; set; } //Requisite Id for DB purposes
/// <summary>
/// The Id of the user this infraction belongs to.
/// </summary>
public ulong UserId { get; set; }
/// <s... |
GT-SpecDB-Editor/Mapping/Tables/DefaultParam.cs | Nenkai/GT-SpecDB-Editor | 3 | 7054113 | <reponame>Nenkai/GT-SpecDB-Editor
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syroot.BinaryData.Core;
using Syroot.BinaryData.Memory;
using GT_SpecDB_Editor.Core;
namespace GT_SpecDB_Editor.Mapping.Tables
{
public class DefaultParam : ... |
src/services/board/src/Board.Api/Application/Validations/ACommandValidator.cs | iagapie/cards-system | 0 | 7054114 | using System.Linq;
using Board.Api.Extensions;
using Board.Domain.AggregatesModel.BoardAggregate;
using FluentValidation;
namespace Board.Api.Application.Validations
{
public abstract class ACommandValidator<T> : AbstractValidator<T>
{
protected bool ValidGuid(string id) => id.IsValidNotEmptyGuid();
... |
Core/Person/Person.cs | SebastianSoendergaard/simple-eventsourcing-and-cqrs | 1 | 7054115 | using System.Collections.Generic;
using Core.Exceptions;
using Core.Person.DomainEvents;
using Framework.DDD;
namespace Core.Person
{
public class Person: Framework.DDD.EventStore.AggregateRoot<PersonId>
{
public override PersonId Id { get; protected set; }
public PrivateDataId PrivateDataId {... |
src/Plugins/RequestPlugin/Requestify.cs | cymug/RequestifyTF2 | 0 | 7054117 | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using CSCore;
using CSCore.Codecs.AAC;
using CSCore.Codecs.MP3;
using CSCore.SoundOut;
using Newtonsoft.Js... |
WebApiJwtAuthorization.Tests/Common/JwtSigner.cs | tlbdk/webapi-jwt-authorization | 0 | 7054118 | <reponame>tlbdk/webapi-jwt-authorization
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace WebApiJwtAuthorization.Tests.Common
{
... |
Assets/Scripts/Enemy.cs | SiiMeR/LD415Team | 0 | 7054119 | <filename>Assets/Scripts/Enemy.cs
using UnityEngine;
using UnityEngine.UI;
public class Enemy : MonoBehaviour {
public float maxHealth = 100;
[SerializeField] private float _health = 100;
public int gold = 1;
Base snakeBase;
public Image hp;
public float Health
{
get { return _health; }
... |
Assets/MMVR/Factory/UI/Button/SettingsToggleButtonFactory.cs | createthis/mesh_maker_vr | 49 | 7054120 | <filename>Assets/MMVR/Factory/UI/Button/SettingsToggleButtonFactory.cs
using UnityEngine;
using CreateThis.Unity;
using CreateThis.Factory.VR.UI.Button;
using MMVR.UI.Button;
using MeshEngine;
namespace MMVR.Factory.UI.Button {
public class SettingsToggleButtonFactory : ToggleButtonFactory {
public Settin... |
ImageServer/Web/Application/Pages/Queues/WorkQueue/Edit/EditWorkQueueDetailsView.ascx.cs | SNBnani/Xian | 1 | 7054121 | <reponame>SNBnani/Xian<filename>ImageServer/Web/Application/Pages/Queues/WorkQueue/Edit/EditWorkQueueDetailsView.ascx.cs
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClearCanvas.ImageServer.Core.Edit;
namespace ClearCanvas.ImageSe... |
CP/Games/TeeItUpCP/Cards/TeeItUpCardInformation.cs | musictopia2/GamingPackXV3 | 0 | 7054122 | <filename>CP/Games/TeeItUpCP/Cards/TeeItUpCardInformation.cs
namespace TeeItUpCP.Cards;
public class TeeItUpCardInformation : SimpleDeckObject, IDeckObject, IComparable<TeeItUpCardInformation>
{
public TeeItUpCardInformation()
{
DefaultSize = new SizeF(76, 105);
}
public int Points { get; set; }... |
src/OpenIddict.Validation.SystemNetHttp/OpenIddictValidationSystemNetHttpHandlers.cs | OrgAE/OrgAE-Openiddict | 0 | 7054123 | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.Collections.Immutable;
using System.ComponentModel;... |
Minesweeper/Assets/Scripts/Game Logic/Lose.cs | Cheesewizard/Unity-Games | 0 | 7054125 | <filename>Minesweeper/Assets/Scripts/Game Logic/Lose.cs
using Assets.Scripts.Interfaces;
using UnityEngine;
public class Lose : ILose
{
public void Failure()
{
// Game Lost
Debug.Log("You Lose");
}
}
|
GGJ2019/Assets/Scripts/Basic Scripts/ObjectPooler.cs | dhoun001/ggj2019 | 0 | 7054126 | <filename>GGJ2019/Assets/Scripts/Basic Scripts/ObjectPooler.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPooler : MonoBehaviour
{
// Setting variables
public GameObject pooledObject;
// Container to put your pool your objects in. If empty, it will c... |
CodingTrainerWeb/Views/Home/About.cshtml | ddashwood/CodingTrainer | 0 | 7054127 | @{
ViewBag.Title = "About";
}
<h2>About Coding Trainer</h2>
<div class="row">
<div class="col-sm-7">
<h4>Version</h4>
<p>Coding Trainer version 0.9 - © 2017-@DateTime.Now.Year</p>
<p>This website is still in development</p>
<p>Preferred web browser is Google Chrome, versio... |
Core/Util_ReoederbleList.cs | YuSiangLai/URPCustomPostProcessing | 28 | 7054128 | <filename>Core/Util_ReoederbleList.cs
#if UNITY_EDITOR
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using static UnityEditorInternal.ReorderableList;
namespace SleeplessOwl.URPPostProcessing
{
public static class Util_ReoederbleList
{
public static ReorderableList CreateA... |
user/user-tokens-id-delete/Program.cs | nofrixion/examples-dotnet | 1 | 7054129 | //-----------------------------------------------------------------------------
// Description: Example of calling the NoFrixion MoneyMoov API user/tokens/{id}
// DELETE method. It provides a convenient way to delete the specified access token.
//
// Usage:
// 1. Create a user access token in the sandbox portal at:
/... |
LeetCode/Problems/1359.CountAllValidPickupAndDeliveryOptions.cs | sahilucoe/LeetCode | 0 | 7054130 | namespace Problems
{
internal class CountAllValidPickupAndDeliveryOptions
{
public int CountOrders(int n)
{
var dp = new long[n + 1];
dp[1] = 1;
for (var i = 2; i <= n; i++)
{
dp[i] = (dp[i - 1] * 2 * i * (2 * i - 1) / 2) % 1000000... |
src/eon-lib.disposable/{root-namespace}/DisposableTable`2.cs | vitalik-mironov/eon-lib | 0 | 7054131 | <reponame>vitalik-mironov/eon-lib
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using itrlck = Eon.Threading.InterlockedUtilities;
namespace Eon {
/// <summary>
/// Disposable instance table.
/// <para>Main goal of this table like... |
src/Net/PacketReader.cs | madewokherd/FNA.NetStub | 4 | 7054132 | #region License
/* FNA.NetStub - XNA4 Xbox Live Stub DLL
* Copyright 2019 Ethan "flibitijibibo" Lee
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
#region Using Statements
using System.IO;
#endregion
namespace Microsoft.Xna.Framework.Net
{
public class PacketReader : ... |
support/cs/test/CauterizePrimitiveFormatterTest.cs | sw17ch/cauterize | 2 | 7054133 | using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Cauterize.Test
{
[TestFixture]
public class CauterizePrimitiveFormatterTest
{
[Test]
public void TestDeserialize()
{
va... |
Service/PlanSaveService.cs | Coemgen4/plan-my-save | 0 | 7054134 | <gh_stars>0
using PlanMySave.Library.Enumeration;
using PlanMySave.Model;
using PlanMySave.Model.FinancialParameter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PlanMySave.Service
{
public class PlanSaveService : IPlanSaveService
{
public ... |
Disco/DataStructure.cs | xezno/SboxDiscordBot | 1 | 7054135 | <filename>Disco/DataStructure.cs<gh_stars>1-10
using System;
using System.IO;
using Newtonsoft.Json;
namespace Disco
{
public interface DataStructureBase
{
void Load();
void Save();
}
public abstract class DataStructure<TDataType, TSingletonType> : Singleton<TSingletonType>, DataStruc... |
src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Framework/FavorAsyncAwaitOverTaskContinuationSpecs.cs | safescan/CSharpGuidelinesAnalyzer | 89 | 7054136 | <reponame>safescan/CSharpGuidelinesAnalyzer
using System;
using System.Threading.Tasks;
using CSharpGuidelinesAnalyzer.Rules.Framework;
using CSharpGuidelinesAnalyzer.Test.TestDataBuilders;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace CSharpGuidelinesAnalyzer.Test.Specs.Framework
{
public seale... |
Core/Reflection/Dynamics/AccessModifiers.cs | dotlogix/DotlogixCore | 0 | 7054137 | <reponame>dotlogix/DotlogixCore
// ==================================================
// Copyright 2018(C) , DotLogix
// File: AccessModifiers.cs
// Author: <NAME> <<EMAIL>>.
// Created: 17.02.2018
// LastEdited: 01.08.2018
// ==================================================
#region
using System;
#endregion
nam... |
Harry.Data.PomeloMySql/MySqlServiceCollectionExtensions.cs | harry-wangx/Harry.Data | 0 | 7054138 | using Harry.Data;
using Harry.Data.EntityFrameworkCore.PomeloMySql;
using Harry.SqlBuilder;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace M... |
LRDL2/src/LRDL2/TileMaps/TileMap.cs | MattGable/LRDL2 | 0 | 7054139 | <reponame>MattGable/LRDL2
using LRDL2.Start;
using LRDL2.Tiles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Holds various TileMap objects.
/// </summary>
namespace LRDL2.TileMaps
{
/// <summary>
/// A 2D map holding floor tiles.
/// <... |
Forms/StuffAutoBuffForm.Designer.cs | ChristoferDantas/4RTools | 0 | 7054140 | <gh_stars>0
namespace _4RTools.Forms
{
partial class StuffAutoBuffForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... |
WallpaperChanger/WallpaperService.cs | andersosthus/WallpaperChanger | 0 | 7054141 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using WallpaperChanger.Properties;
namespace WallpaperChanger
{
public interface IWallpaperService
{
Task Start(Cancellation... |
src/Kafka/Kafka.Client/ZKClient/ZkClient.cs | ExactTargetDev/kafka-net | 32 | 7054142 | namespace Kafka.Client.ZKClient
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using Kafka.Client.Utils;
using Kafka.Client.ZKClient.Exceptions;
using Ka... |
Infrastructure/DataObjects/IDataObject.cs | kblwxl/Larva | 2 | 7054143 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure.DataObjects
{
public interface IDataObject
{
}
}
|
Unity/Assets/BuildSystem/Editor/RenderImage.cs | stallboy/unitybuildsystem | 7 | 7054144 | <gh_stars>1-10
using UnityEngine;
using UnityEditor;
using System.IO;
public class RenderImage : EditorWindow {
public Camera cam;
public int width = 512;
public int height = 512;
public Object targetFolder;
public static void Init()
{
RenderImage window = (RenderImage)EditorWindow.G... |
source/Sylvan.Data.Csv/CsvDataReaderOptions.cs | 0xced/Sylvan | 0 | 7054145 | <gh_stars>0
using System;
using System.Globalization;
namespace Sylvan.Data.Csv
{
/// <summary>
/// A function that can be used to de-dupe strings during construction directly from internal buffers.
/// </summary>
/// <remarks>
/// The Sylvan.Common library can provide an implementation of this method via the Sy... |
ClickHouse.Client.Tests/Types/SyntaxParsingTests.cs | YahuiWong/ClickHouse.Client | 0 | 7054146 | using System;
using System.Collections.Generic;
using System.Text;
using ClickHouse.Client.Types.Grammar;
using NUnit.Framework;
namespace ClickHouse.Client.Tests.Syntax
{
public class TypeGrammarParsingTests
{
[Test]
[TestCase("Int32")]
[TestCase("Nested(Int32, String, Tuple(UInt8, Fi... |
h73.Elastic.Core/Server/IndexInfo.cs | henskjold73/h73.Elastic.Core | 1 | 7054147 | using Newtonsoft.Json;
namespace h73.Elastic.Core.Server
{
public class IndexInfo
{
[JsonProperty("health")]
public string Health { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("index")]
public string Index { get; set; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.