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 |
|---|---|---|---|---|
Assets/Scripts/Space/UI/ShipHUD.cs | Luminoth/space | 0 | 7052792 | <filename>Assets/Scripts/Space/UI/ShipHUD.cs
using EnergonSoftware.Core.UI;
using UnityEngine;
using UnityEngine.UI;
namespace EnergonSoftware.Space
{
public sealed class ShipHUD : Window<ShipHUD>, IWindow
{
[SerializeField]
private Text _velocityText;
#region Unity Lifecycle
private... |
_lib/bam.net.core/_core/_Server/_Renderers/CommonTemplateRenderer.cs | BryanApellanes/Bam.Net.Core | 2 | 7052793 | <reponame>BryanApellanes/Bam.Net.Core
using System;
using System.IO;
using System.Text;
using Bam.Net.Presentation.Html;
namespace Bam.Net.Server.Renderers
{
// TODO: implement this, see fx implementation for reference. Fx version uses TagBuilder from the Mvc framework
// new implementation should not depen... |
NWDModels/Items/NWDItemWindow.cs | NetWorkedData/NetWorkedData | 0 | 7052794 | <gh_stars>0
//=====================================================================================================================
//
// ideMobi 2020©
//
//=====================================================================================================================
// Define the use of Log and Benchmark only ... |
FormFactory/Views/Shared/FormFactory/Property.System.Double.cshtml | Enoro/FormFactory | 1 | 7052795 | @using FormFactory.AspMvc
@using FormFactory
@model PropertyVm
<input class="input-large form-control" @Html.Raw(Model.Readonly()) @Html.UnobtrusiveValidation(Model) @Html.Raw(Model.Disabled()) id="@Model.Id" name="@Model.Name" size="30" type="text" value="@(Model.Value ?? "")" />
|
Source/Events.Store/EventLogSequenceIsOutOfOrder.cs | dolittle/DotNET.Runtime | 1 | 7052796 | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Dolittle.Runtime.Events.Store;
/// <summary>
/// Exception that gets thrown when a event log sequence numbers in a sequence of events are out o... |
Buffer.cs | rantrave-git/dfwcbot | 0 | 7052797 | using System;
using System.Buffers;
using System.Text;
namespace DfwcResultsBot
{
class Buffer : IDisposable
{
byte[] _buffer;
int position = 0;
Span<byte> Span => _buffer.AsSpan(position);
public Memory<byte> Value => _buffer.AsMemory(0, position);
private void EnsureA... |
src/SFA.DAS.RoatpAssessor/SFA.DAS.RoatpAssessor.Web/Services/IModeratorDashboardOrchestrator.cs | SkillsFundingAgency/das-roatp-assessor | 0 | 7052798 | <reponame>SkillsFundingAgency/das-roatp-assessor
using System.Threading.Tasks;
using SFA.DAS.RoatpAssessor.Web.ViewModels;
namespace SFA.DAS.RoatpAssessor.Web.Services
{
public interface IModeratorDashboardOrchestrator
{
Task<InModerationApplicationsViewModel> GetInModerationApplicationsViewModel(stri... |
SpeechSynthesizer/Frame.cs | gratux/PuroBot | 0 | 7052799 | <gh_stars>0
namespace Bisqwit.SpeechSynthesizer
{
public class Frame
{
public Frame(double gain, double[] coefficients)
{
Gain = gain;
Coefficients = coefficients;
}
public double Gain { get; }
public double[] Coefficients { get; }
}
}
|
src/Core/Bootstrappers/ResourceBootstrapper.cs | astral-keks/powershell-workbench | 1 | 7052800 | using AstralKeks.Workbench.Common.Context;
using AstralKeks.Workbench.Repositories;
using Autofac;
using System;
namespace AstralKeks.Workbench.Bootstrappers
{
public class ResourceBootstrapper : IStartable
{
private readonly SessionContext _sessionContext;
private readonly Userspace... |
FacialRecognitionDoor/Constants.cs | LeonardBae/IoTHomePadScenario | 1 | 7052801 | <reponame>LeonardBae/IoTHomePadScenario
namespace FacialRecognitionDoor
{
/// <summary>
/// General constant variables
/// </summary>
public static class GeneralConstants
{
// This variable should be set to false for devices, unlike the Raspberry Pi, that have GPU support
public con... |
Libraries/BrnShop.Data/ShipAddresses.cs | leafcxy/BrnShop | 2 | 7052802 | <reponame>leafcxy/BrnShop
using System;
using System.Data;
using System.Collections.Generic;
using BrnShop.Core;
namespace BrnShop.Data
{
/// <summary>
/// 用户配送地址数据访问类
/// </summary>
public partial class ShipAddresses
{
private static IUserNOSQLStrategy _usernosql = BSPData.UserNOSQL;//用户... |
Assets/Scripts/StaticData.cs | DanielPri/Underwater-Riches | 0 | 7052803 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class StaticData {
public static bool gameModeNormal { get; set; }
}
|
Source/ItWebSite.Web/Areas/Admin/Views/UsersAdmin/Index.cshtml | snbbgyth/ItWebSite | 1 | 7052804 | <filename>Source/ItWebSite.Web/Areas/Admin/Views/UsersAdmin/Index.cshtml
@model PagedList.IPagedList<ItWebSite.Web.Areas.Admin.Models.ApplicationUser>
@using PagedList.Mvc;
<p>
@Html.ActionLink("新建", "Create")
</p>
@using (Html.BeginForm("Index", "UsersAdmin", FormMethod.Get))
{
<p>
输入查找内容: @Html.TextB... |
iMgmt/Program.cs | balavigneshs/iMgmt | 0 | 7052805 | <reponame>balavigneshs/iMgmt
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;
namespace iMgmt
{
static class Program
{
static string sSource = "dotNET Sample App";
static string sLog = "Application";
static string sE... |
src/REstate/Schematics/ConnectorKey.cs | SkyKick/REstate | 43 | 7052806 | using System;
using System.Collections.Generic;
namespace REstate.Schematics
{
public class ConnectorKey
: IEquatable<ConnectorKey>
{
private string _identifier;
public string Identifier
{
get => _identifier;
set
{
if (value ... |
GoogleTestAdapter/Core/Framework/ITestFrameworkReporter.cs | ncook-hxgn/TestAdapterForGoogleTest | 149 | 7052807 | <reponame>ncook-hxgn/TestAdapterForGoogleTest
using System.Collections.Generic;
using GoogleTestAdapter.Model;
namespace GoogleTestAdapter.Framework
{
public interface ITestFrameworkReporter
{
void ReportTestsFound(IEnumerable<TestCase> testCases);
void ReportTestsStarted(IEnumerable<TestCas... |
ASP.NETCoreMVC/Homework.Class4/Homework.Class4/Models/Enums/ProductCategory.cs | chris-t-yan/SEDC-Homework | 0 | 7052808 | <reponame>chris-t-yan/SEDC-Homework<filename>ASP.NETCoreMVC/Homework.Class4/Homework.Class4/Models/Enums/ProductCategory.cs<gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Homework.Class4.Models.Enums
{
[JsonConverter(typeof(StringEnumConverter))]
public enum ProductCategory
... |
Topten.ThemeKit.Test/TestImplicitConversion.cs | toptensoftware/ThemeKit | 1 | 7052809 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using Xunit;
using Topten.ThemeKit;
namespace Topten.ThemeKit.Test
{
public class TestImplicitConversions
{
[Fact]
public void ArrayToStruct()
{
string tkl =
"class MyClas... |
src/ProcessPipeline/PlatformAbstraction/Linux/ConsolePalLinux.cs | asmichi/ProcessPipeline | 3 | 7052810 | // Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details.
using System;
using Microsoft.Win32.SafeHandles;
namespace Asmichi.Utilities.PlatformAbstraction.Linux
{
internal static class ConsolePalLinux
{
public static S... |
src/server/Controllers/HomeController.cs | mrellipse/toucan | 239 | 7052811 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Toucan.Server.Model;
namespace Toucan.Server.Controllers
{
[Route("[controller]/[action]")]
public class HomeController : C... |
stCoCServer/stExtLib/stRrdGraph-dll/Graph/Comment.cs | PetersSharp/stCoCServer | 2 | 7052812 | <filename>stCoCServer/stExtLib/stRrdGraph-dll/Graph/Comment.cs
// ============================================================
// RRDSharp: Managed implementation of RRDTool for .NET/Mono
// ============================================================
//
// Project Info: http://sourceforge.net/projects/rrdsharp/
// P... |
src/Modules/Storage/Domain/FoodStorages/Rules/StorageIsNotAlreadySharedToUserRule.cs | chrishanzlik/FoodVault | 3 | 7052813 | using FoodVault.Framework.Domain;
using FoodVault.Modules.Storage.Domain.Users;
using System.Collections.Generic;
using System.Linq;
namespace FoodVault.Modules.Storage.Domain.FoodStorages.Rules
{
/// <summary>
/// Ensures that a storage is not already shared to a user.
/// </summary>
public class Sto... |
src/Ternacode.Persistence.EntityFrameworkCore/Services/Interfaces/ITransactionService.cs | ternacode/ternacode-persistence | 4 | 7052814 | <filename>src/Ternacode.Persistence.EntityFrameworkCore/Services/Interfaces/ITransactionService.cs
using System;
namespace Ternacode.Persistence.EntityFrameworkCore.Services.Interfaces
{
internal interface ITransactionService<TTransaction> where TTransaction : IDisposable
{
TTransaction BeginTransacti... |
cs4rsa_core/Implements/OpenInBrowser.cs | toky0s/cs4rsa_core | 1 | 7052815 | using cs4rsa_core.Interfaces;
using System.Diagnostics;
namespace cs4rsa_core.Implements
{
public class OpenInBrowser : IOpenInBrowser
{
public void Open(string url)
{
_ = Process.Start(new ProcessStartInfo
{
FileName = url,
UseShellExecu... |
Character/Item/Power.cs | AmusementCreators/2016summerGameJam-Roguelike | 0 | 7052816 | <reponame>AmusementCreators/2016summerGameJam-Roguelike<filename>Character/Item/Power.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2WeeksGameJam_Roguelike.Character.Item
{
class Power : Item
{
public Power(a... |
Echelon/Globals.cs | cemsina/echelon | 0 | 7052817 | <filename>Echelon/Globals.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Echelon
{
public static class Globals
{
public static Matrix MainMatrix;
public static List<Move> MoveList;
}
}
|
00-Core/Core/Automation/Dependency/Configurator/DependencyContainerConfigurator.TupleDependency.cs | amkherad/AMKs-Gear.net | 2 | 7052818 | using System;
namespace AMKsGear.Core.Automation.Dependency.Configurator
{
public partial class DependencyContainerConfigurator
{
public class TupleDependency : DependencyKindBase, IDependencyKind
{
public Type BaseType { get; }
public Type DerivedType { get; }
... |
SOA Samples/REST/CustomBroker/BrokerManagementService.cs | amat27/hpcpack-samples | 7 | 7052819 | //------------------------------------------------------------------------------
// <copyright file="BrokerManagementService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// The Broker Management Service
// </summary>
//-------------------... |
Ttf.BusinessLayer.Tests/Foo/FooCalculatorStrategyTest.cs | NightOwl888/TTF | 2 | 7052820 | <reponame>NightOwl888/TTF
using NUnit.Framework;
using System;
using Ttf.BusinessLayer.Foo.Dto;
namespace Ttf.BusinessLayer.Foo
{
[TestFixture]
public class FooCalculatorStrategyTest
{
[SetUp]
public void SetUp()
{
target = new FooCalculatorStrategy(
new... |
Assets/GoogleARCore/SDK/Scripts/Managers/ARCoreAndroidLifecycleManager.cs | jiyu-park/arcore-unity-sdk | 0 | 7052821 | <gh_stars>0
//-----------------------------------------------------------------------
// <copyright file="ARCoreAndroidLifecycleManager.cs" company="Google LLC">
//
// Copyright 2018 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... |
src/DofusRE/GameData/classes/bonus/QuestKamasBonus.cs | Hydrofluoric0/DofusRE | 11 | 7052824 | <filename>src/DofusRE/GameData/classes/bonus/QuestKamasBonus.cs
using System;
using System.Collections.Generic;
using DofusRE.IO;
using DofusRE.GameData.classes;
namespace DofusRE.GameData.classes
{
public class QuestKamasBonus : QuestBonus
{
}
} |
Modules.Communal.PList/PListRoot.cs | gdbobu/CocoStudio2.0.6 | 4 | 7052825 | <reponame>gdbobu/CocoStudio2.0.6<filename>Modules.Communal.PList/PListRoot.cs
// Decompiled with JetBrains decompiler
// Type: Modules.Communal.PList.PListRoot
// Assembly: Modules.Communal.PList, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null
// MVID: ED29F11D-8EB7-4ED4-AF26-9B32144417DB
// Assembly location: ... |
Doublets/DoubletsDbContext.cs | linksplatform/Comparisons.SQLiteVSDoublets | 3 | 7052826 | <reponame>linksplatform/Comparisons.SQLiteVSDoublets
using System.Collections.Generic;
using System.Linq;
using Platform.Disposables;
using Platform.Collections.Lists;
using Platform.Collections.Stacks;
using Platform.Converters;
using Platform.Memory;
using Platform.Data;
using Platform.Data.Numbers.Raw;
using Platfor... |
src/AI4E.Utils/StringBuilderExtension.cs | AI4E/Utils | 0 | 7052827 | <filename>src/AI4E.Utils/StringBuilderExtension.cs
/* License
* --------------------------------------------------------------------------------------------------------------------
* This file is part of the AI4E distribution.
* (https://github.com/AI4E/AI4E.Utils)
* Copyright (c) 2018-2019 <NAME> and contributor... |
Kartverket.Metadatakatalog/Service/IndexerService.cs | kartverket/Geonorge.Kartkatalog | 1 | 7052828 | using System.Collections.Generic;
using Kartverket.Metadatakatalog.Models;
namespace Kartverket.Metadatakatalog.Service
{
public interface IndexerService
{
void Index(IEnumerable<ServiceIndexDoc> docs);
void Index(ServiceIndexDoc doc);
void DeleteIndex();
void RemoveIndexDocume... |
Assets/Scripts/Custom (Navid)/VehicleNetwork.cs | Poj75014/OtherTestVoiture | 0 | 7052829 | using UnityEngine;
using UnityEngine.Networking;
namespace RVP
{
[NetworkSettings(sendInterval = 1/29)]
public class VehicleNetwork : NetworkBehaviour
{
VehicleParent m_vp;
[SyncVar(hook = "OnSyncSteerChange") ]
float m_syncSteer;
void OnSyncSteerChange(float stee... |
SharpCode/H00/S0001.cs | izaxs/algo | 4 | 7052830 | namespace SharpCode;
public class S0001 {
public int[] TwoSum(int[] nums, int target) {
var expect = new Dictionary<int, int>();
for (int i = 0; i < nums.Length; i++) {
if (expect.TryGetValue(nums[i], out int last)) {
return new int[2] { last, i };
}
... |
src/Narochno.Jenkins/Entities/Users/UserInfo.cs | db2222/Narochno.Jenkins | 7 | 7052831 | <filename>src/Narochno.Jenkins/Entities/Users/UserInfo.cs<gh_stars>1-10
using Newtonsoft.Json.Linq;
namespace Narochno.Jenkins.Entities.Users
{
public class UserInfo : User
{
public string Description { get; set; }
public string Id { get; set; }
public JArray Property { get; ... |
v2rayN/v2rayN/Forms/OptionSettingForm.cs | LFYG/v2rayN | 10 | 7052832 | <filename>v2rayN/v2rayN/Forms/OptionSettingForm.cs
using System;
using System.Windows.Forms;
using v2rayN.Handler;
namespace v2rayN.Forms
{
public partial class OptionSettingForm : BaseForm
{
public OptionSettingForm()
{
InitializeComponent();
}
private void Option... |
src/SFA.DAS.Config.Database/TenantUser.cs | EwanNoble/das-config-db | 0 | 7052833 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SFA.DAS.Config.Database
{
public class TenantUser
{
public Guid TenantUserId { get; set; }
[ForeignKey(nameof(TenantObject))]
public Guid TenantObjectId { get; set; ... |
Console/Avion/avion.cs | AndreaBeyer/ExoAlgo | 0 | 7052834 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace avion
{
public class Avion
{
public string NomAvion;
public string CodeAvion;
public int VitesseCroisiere;
public int RayonDAction;
public Avio... |
Assets/Editor/MyEditor.cs | tinyantstudio/uguiindepth | 1 | 7052835 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.UI;
using UnityEngine.UI;
public class MyEditor
{
// Add a menu item to create custom GameObjects.
// Priority 1 ensures it is grouped with the other menu items of the same kind
/... |
eProdaja/eProdaja.WinUI/Korisnici/frmDodavanjeUredjivanjeKorisnika.cs | irma-maslesa/RazvojSoftveraII | 1 | 7052836 | 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 eProdaja.WinUI.Korisnici
{
public partial class frmDodavanjeUredjivanjeKorisnika : Form
... |
Datagrammer.Sip/Datagrammer.Sip/Protocol/CSeqHeader.cs | gendalf90/Datagrammer.Sip | 0 | 7052837 | using Microsoft.Extensions.Primitives;
namespace Sip.Protocol
{
public readonly struct CSeqHeader
{
internal CSeqHeader(StringSegment method, StringSegment sequenceNumber)
{
Method = method;
SequenceNumber = sequenceNumber;
}
public StringSegment Method... |
Assets/Scripts/Managers/GBAVV/Volume/GBAVV_SpiderMan3_Manager.cs | Adsolution/Ray1Map | 29 | 7052839 | <reponame>Adsolution/Ray1Map
using System.Collections.Generic;
namespace R1Engine
{
public abstract class GBAVV_SpiderMan3_Manager : GBAVV_Volume_BaseManager
{
// Metadata
public override int VolumesCount => 4;
public override bool HasAssignedObjTypeGraphics => true;
// Script... |
pwiz_tools/Skyline/TestFunctional/TriggeredAcquisitionTest.cs | jeleclaire/pwiz | 0 | 7052840 | /*
* Original author: <NAME> <<EMAIL>sh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2020 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
Src/Xigadee.Core/Channel/ChannelDirection.cs | xigadee/Microservice | 58 | 7052841 | <filename>Src/Xigadee.Core/Channel/ChannelDirection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xigadee
{
/// <summary>
/// This enumeration specifies the direction of the message.
/// </summary>
public enum ChannelDi... |
Dadata/ICleanClientSync.cs | Virenbar/dadata-csharp | 40 | 7052842 | <filename>Dadata/ICleanClientSync.cs
using System.Collections.Generic;
using Dadata.Model;
namespace Dadata
{
public interface ICleanClientSync
{
T Clean<T>(string source) where T : IDadataEntity;
IList<IDadataEntity> Clean(IEnumerable<StructureType> structure, IEnumerable<string> data);
}... |
Answers/LanguageKeywords/finally/finally/Program.cs | autumn009/CSharpSourceDance | 0 | 7052843 | using System;
class Program
{
static void Main()
{
try
{
return;
}
finally
{
Console.WriteLine("Bye Bye!");
}
Console.WriteLine("Hello!");
}
}
|
Assets/Scripts/Constants.cs | tarikisildar/Judgement-Day | 4 | 7052844 | using Enums;
using UnityEngine;
public static class Constants
{
public const string VibrationsStatusKey = "VibrationsStatus";
public const string SoundsStatusKey = "SoundsStatus";
public const int PlayerCount = 6;
//paths
public const string EnvironmentsPath = "Environment/Maps/";
public... |
Zhalobobot.Common.Models/Exceptions/CacheNotInitializedException.cs | BroEnotiKa/zhalobobot | 0 | 7052845 | using System;
namespace Zhalobobot.Common.Models.Exceptions
{
public class CacheNotInitializedException : Exception
{
public CacheNotInitializedException(string message)
: base(message)
{
}
}
} |
Nethereum.BlockProcessing/Handlers/NullTransactionLogHandler.cs | ConsenSys/Nethereum.BlockchainProcessing | 0 | 7052846 | using System.Threading.Tasks;
namespace Nethereum.BlockchainProcessing.Handlers
{
public class NullTransactionLogHandler : ITransactionLogHandler
{
public Task HandleAsync(TransactionLogWrapper transactionLog)
{
return Task.CompletedTask;
}
}
} |
src/MisPersonas/MisPersonasApi/Controllers/PersonasController.cs | matiasdieguez/mispersonas-demo | 0 | 7052847 | <gh_stars>0
using ArgenSearch;
using System.Threading.Tasks;
using System.Web.Http;
using System.Net.Http;
using System.Net;
namespace MisPersonasApi.Controllers
{
public class PersonasController : ApiController
{
[Route("api/search")]
[HttpGet]
public async Task<HttpResponseMessage> S... |
UCD.AidEstimatior/AppSettings.cs | loganfranken/Financial-Aid-Estimator-.NET | 0 | 7052848 | <reponame>loganfranken/Financial-Aid-Estimator-.NET<filename>UCD.AidEstimatior/AppSettings.cs
namespace UCD.AidEstimator
{
/// <summary>
/// References to values stored in the appsettings.json
/// </summary>
public class AppSettings
{
public string EfcCalculationConstants { get; set; }
... |
src/Auth0.Fga/Exceptions/ApiException.cs | auth0-lab/fga-dotnet-sdk | 2 | 7052850 | //
// Auth0 Fine Grained Authorization (FGA)/.NET SDK for Auth0 Fine Grained Authorization (FGA)
//
// API version: 0.1
// Website: https://fga.dev
// Documentation: https://docs.fga.dev
// Support: https://discord.gg/8naAwJfWN6
// License: [MIT](https://github.com/auth0-lab/fga-dotnet-sdk/blob/main/LICENSE)
//
// NOTE... |
src/ilPSP/layer_1.2-ilPSP/ilPSP/IMatrixExtensions.cs | FDYdarmstadt/BoSSS | 22 | 7052851 | <filename>src/ilPSP/layer_1.2-ilPSP/ilPSP/IMatrixExtensions.cs
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you... |
ConnectionProviders/ShifuPoolConnectionProvider/ShifuPoolConnectionProvider.cs | De-Crypted/dcrptd-miner | 0 | 7052853 | <reponame>De-Crypted/dcrptd-miner<filename>ConnectionProviders/ShifuPoolConnectionProvider/ShifuPoolConnectionProvider.cs
using System;
using System.Collections.Concurrent;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Un... |
Skyra.Worker/Events/Raw/RawMessageReactionAddEvent.cs | skyra-project/skyra-sharp | 2 | 7052854 | using System;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Skyra.Core;
using Skyra.Core.Cache.Models.Prompts;
using Skyra.Core.Structures;
using Skyra.Core.Structures.Attributes;
using Spectacles.NET.Types;
namespace Skyra.Worker.Events.Raw
{
[Event]
public sealed class RawMessageReactionAddEvent... |
OldSamples/MonoTouchCellTutorial/MonoTouchCellTutorial/Core/ViewModels/PetShopViewModel.cs | tuke307/MvvmCross-Samples | 347 | 7052855 | <reponame>tuke307/MvvmCross-Samples<gh_stars>100-1000
using Cirrious.MvvmCross.ViewModels;
using MonoTouchCellTutorial.Core.Interfaces;
using MonoTouchCellTutorial.Core.Models;
using System.Collections.ObjectModel;
using System.Windows.Input;
namespace MonoTouchCellTutorial.Core.ViewModels
{
public class PetShopV... |
src/SimpleWebShop/Services/SimpleWebShop.Services.Data/ProductsControlPanelServices.cs | svetlimladenov/SimpleWebShop | 0 | 7052856 | <gh_stars>0
using System;
using System.Collections.Generic;
using SimpleWebShop.Data.Common;
using SimpleWebShop.Data.Models;
using SimpleWebShop.Services.Data.Contracts;
using System.Linq;
using System.Linq.Expressions;
namespace SimpleWebShop.Services.Data
{
public class ProductsControlPanelServices : IProducts... |
WindowsFormsAero/Native/ProgressBarStyle.cs | gus33000/Bluepill | 12 | 7052857 | <reponame>gus33000/Bluepill<filename>WindowsFormsAero/Native/ProgressBarStyle.cs<gh_stars>10-100
/*****************************************************
* WindowsFormsAero
* https://github.com/LorenzCK/WindowsFormsAero
* http://windowsformsaero.codeplex.com
*
* Author: <NAME> <<EMAIL>>
***************************... |
tweetyzard/tweetyzard.Tweetinvi/Json/HelpJson.cs | subhankars/tweetyzard | 2 | 7052858 | using System;
using TweetinviControllers.Help;
namespace Tweetinvi.Json
{
public static class HelpJson
{
[ThreadStatic]
private static IHelpJsonController _helpJsonController;
public static IHelpJsonController HelpJsonController
{
get
{
... |
todos/TodosTests/TodosTests/Tests/ModifyTaskTest.cs | ArtemK123/SeleniumPlayground | 0 | 7052859 | <reponame>ArtemK123/SeleniumPlayground<filename>todos/TodosTests/TodosTests/Tests/ModifyTaskTest.cs
using System.Linq;
using TodosTests.Page;
using Xunit;
namespace TodosTests.Tests
{
public class ModifyTaskTest
{
[Fact]
internal void Test()
{
using TodosPage pag... |
Sztorm.Collections.Tests/2D/RefIndexableTests.cs | Sztorm/SztormCollections | 1 | 7052860 | <reponame>Sztorm/SztormCollections<filename>Sztorm.Collections.Tests/2D/RefIndexableTests.cs
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace Sztorm.Collections.Tests
{
[TestFixture]
public class RefIndexableTests
{
public static void TestIndexer<T, TRefIndexable>(
... |
Assets/Scripts/2D/MapEditor/LayerLevelControlPanelScript.cs | Zematus/Worlds | 54 | 7052861 | <gh_stars>10-100
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.EventSystems;
public class LayerLevelControlPanelScript : RegenControlPanelScript
{
public Text Name;
public SliderControlsScript FrequencySliderControlsScript;
public SliderCon... |
source/Processor/Addons/Housekeeping/ContentFieldsClass.cs | contensive/Contensive50 | 0 | 7052862 |
using Contensive.Processor.Controllers;
using System;
namespace Contensive.Processor.Addons.Housekeeping {
/// <summary>
/// Housekeep this content
/// </summary>
public static class ContentFieldClass {
//
//=============================================================================... |
07/RecentRecordsDemo/RecentRecordsDemo/Controllers/AreaController.cs | catcherwong-archive/2019 | 27 | 7052863 | <reponame>catcherwong-archive/2019
namespace RecentRecordsDemo.Controllers
{
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using EasyCaching.Core;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Threading.Tasks;
using System;
[Route("ap... |
eFormCore/Migrations/20210609072417_AddingLinkingOfSitesAndEntities.cs | Gid733/eform-sdk-dotnet | 1 | 7052864 | using Microsoft.EntityFrameworkCore.Migrations;
namespace Microting.eForm.Migrations
{
public partial class AddingLinkingOfSitesAndEntities : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "eFo... |
PrantikAPI/PrantikAPI/ProviderLayer/RoomBookingProvider.cs | anikchowdhury/Prantik | 0 | 7052865 | using PrantikAPI.DataLayer;
using PrantikAPI.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace PrantikAPI.ProviderLayer
{
public class RoomBookingProvider
{
... |
edge-util/src/Microsoft.Azure.Devices.Edge.Util/metrics/appMetrics/MetricsProvider.cs | dmolokanov/iotedge | 1,365 | 7052866 | <gh_stars>1000+
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Util.Metrics.AppMetrics
{
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using App.Metrics;
using App.Metrics.Formatters;
public ... |
Kerberos.NET/Entities/SpNego/NegotiateContextToken.cs | AlexanderSemenyak/Kerberos.NET | 235 | 7052867 | <gh_stars>100-1000
// -----------------------------------------------------------------------
// Licensed to The .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// -----------------------------------------------------------------------
using System... |
WebApi/Controllers/Api/DefaultController.cs | maduraiveeran/api-authentication-using-mvc | 0 | 7052868 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApi.Entity;
namespace WebApi.Controllers.Api
{
[Authorize]
public class DefaultController : ApiController
{
// GET: api/Default
public IEnumerable<stri... |
tests/Api/ClassData/PublicEndpoints.cs | priyankapallerla/demo | 37 | 7052869 | <reponame>priyankapallerla/demo
using System;
using System.Collections;
using System.Collections.Generic;
using System.Net.Http;
namespace Test.Api.ClassData
{
public class PublicEndpoints : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
yield return new obje... |
Assets/Scripts/2-dynamics/TouchDetector.cs | erelsgl-at-ariel-gamedev/04-physics-engine | 0 | 7052870 | using UnityEngine;
/**
* This component checks whether its object touches a collider of a given kind.
* Works with a 3D RigidBody.
*/
[RequireComponent(typeof(Rigidbody))]
public class TouchDetector : MonoBehaviour {
[SerializeField] LayerMask layerMask;
[Header("This field is for display only")]
[... |
Week_09-Conditional menus, security scenarios, rich text/ManageAccounts/ManageAccounts/Views/AccountManager/Edit.cshtml | salisafi/Salimeh-Safi-INT-Works | 1 | 7052871 | <reponame>salisafi/Salimeh-Safi-INT-Works<gh_stars>1-10
@model ManageAccounts.Controllers.ApplicationUserEditForm
<h2>Edit User Account <span class="bg-info"> @(Model.UserName) </span></h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Press "Save C... |
Rikrop.Core.Wpf.40/Controls/Validation/VGrid/ValidationGrid.cs | rikrop/Rikrop.Core.Wpf | 2 | 7052872 | <reponame>rikrop/Rikrop.Core.Wpf<filename>Rikrop.Core.Wpf.40/Controls/Validation/VGrid/ValidationGrid.cs
using System;
using System.Windows.Controls;
using Rikrop.Core.Wpf.Controls.Validation.VBorder;
namespace Rikrop.Core.Wpf.Controls.Validation.VGrid
{
public class ValidationGrid : Grid
{
public sta... |
SilverlightPlayerForAMSPlayReadyTokenAuth/Source Code/Plugins/IMediaPlugin.cs | mayurav/azure-media-services-samples | 0 | 7052873 | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using Microsoft.SilverlightMediaFramework.Plugins.Primitives;
using System.IO;
using System.ComponentModel;
namespace Microsoft.SilverlightMediaFramework.Plugins
{
/// <summary>
/// Represents the base... |
Assets/Scripts/Traps/Snares.cs | ninjarlz/the-nightmare-redefined | 1 | 7052874 | using UnityEngine;
using UnityEngine.Networking;
public class Snares : NetworkBehaviour
{
public float freezeTime;
[SerializeField] private int _enemiesToDestroy = 3;
public int EnemiesToDestroy { get { return _enemiesToDestroy; } set { _enemiesToDestroy = value; } }
public int EnemiesCounter ... |
Image/ApocImage.cs | modiCAS/fo.net | 1 | 7052875 | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Fonet.DataTypes;
using Fonet.Pdf.Filter;
namespace Fonet.Image
{
/// <summary>
/// A bitmap image that will be referenced by fo:external-graphic.
/// </summary>
internal sealed unsafe class FonetImage
{
... |
XNA 4.0/Installer/Installer Files/DPSF Demo/DPSF Demo for WinRT/Game1.cs | deadlydog/DpsfXna | 13 | 7052876 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using DPSF_Demo.ParticleSystems;
using DPSF;
namespace DPSF_Demo_for_WinRT
{
/// <summary>
/// This is the main type for your game
/// </summary>
public class Game1 : Game
{
GraphicsDeviceManager _graphics;
Spri... |
Assets/Scripts/MenuTitle.cs | FlorianPgn/GlobalGameJam2020 | 0 | 7052877 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuTitle : MonoBehaviour
{
public AudioClip menuTheme;
// Start is called before the first frame update
void Start()
{
if (menuTheme != null)
{
i... |
movie-reviews/src/ReviewService.Api/Queries/GetReviewsByMovieId.cs | anton-iades/graphql-samples | 3 | 7052878 | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using ReviewService.Api.Models;
namespace ReviewService.Api.Queries
{
public static class GetReviewsByMovieId
{
public class Request : IRequest<IReadOnlyList<Review>>
{
... |
src/Web/PledgeManager.Web/ViewModels/PledgeShowViewModel.cs | LorenzCK/12gemme-PledgeManager | 0 | 7052879 | <filename>src/Web/PledgeManager.Web/ViewModels/PledgeShowViewModel.cs
using PledgeManager.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PledgeManager.Web.ViewModels {
public class PledgeShowViewModel {
... |
Horror Game/Assets/Main Prototype/Inventory System/Interactable.cs | shuaibd19/HorrorGame | 0 | 7052880 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Implements ability to be interacted with
/// </summary>
[RequireComponent(typeof(Collider))]
public class Interactable : MonoBehaviour
{
//this is where you add functionality to obects after being interacted with
p... |
Metrolib/Extensions/VectorExtensions.cs | johnmbaughman/Metrolib | 22 | 7052881 | <gh_stars>10-100
using System.Windows;
// ReSharper disable once CheckNamespace
namespace Metrolib
{
/// <summary>
/// </summary>
public static class VectorExtensions
{
/// <summary>
/// Returns a vector that is clamped to the given length.
/// </summary>
/// <param name="that"></param>
/// <param n... |
Wicip.Library/Microphone.cs | balassy/wiip | 0 | 7052882 | <gh_stars>0
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Windows.Media.SpeechRecognition;
namespace Wicip
{
public sealed class Microphone : IDisposable
{
private SpeechRecognizer recognizer;
private bool isInitialized;
publ... |
BBS.DAL/Configurations/LoanRequestConfiguration.cs | berbulalauri/internetbankingapp | 0 | 7052883 | using BBS.Models.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace BBS.DAL.Configurations
{
public class LoanRequestConfiguration : IEntityTypeConfiguration<LoanRequest>
{
public void Configure(EntityTypeBuilder<LoanRequest> builder)
... |
GhSA/Components/2_Geometry/CreateElement1d.cs | arup-group/GSA-Grasshopper | 10 | 7052884 | <reponame>arup-group/GSA-Grasshopper<filename>GhSA/Components/2_Geometry/CreateElement1d.cs
using System;
using System.Collections.Generic;
using Grasshopper.Kernel.Attributes;
using Grasshopper.GUI.Canvas;
using Grasshopper.GUI;
using Grasshopper.Kernel;
using Grasshopper;
using Rhino.Geometry;
using System.Windows.F... |
Source/AccidentalFish.ApplicationSupport.Core/Runtime/IComponentHostRestartHandler.cs | JamesRandall/AccidentalFish.ApplicationSupport | 11 | 7052885 | using System;
using System.Threading.Tasks;
using AccidentalFish.ApplicationSupport.Core.Components;
using AccidentalFish.ApplicationSupport.Core.Logging;
namespace AccidentalFish.ApplicationSupport.Core.Runtime
{
/// <summary>
/// Implementations of this interface handle the restart of components running in ... |
Reactors/ReactorPublicationDeliveries.cs | RoyalVeterinaryCollege/EventSaucing | 1 | 7052886 | using System;
namespace EventSaucing.Reactors {
public class ReactorPublicationDeliveries {
public long SubscriptionId { get; set; }
public long PublicationId { get; set; }
public int VersionNumber { get; set; }
public DateTime LastDeliveryDate { get; set; }
}
}
|
Source/DigitalRune.Graphics/Rendering/Deferred/AmbientLightRenderer.cs | Drul1337/DigitalRune | 234 | 7052887 | <reponame>Drul1337/DigitalRune
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
#if !WP7
using System;
using System.Collections.Generic;
using DigitalRune.Graphics.SceneGraph;
using D... |
Extra/EDialog.cs | algernon-A/EManagersLib | 8 | 7052888 | using UnityEngine;
// example:
// HFTDialog.MessageBox("error", "Sorry but you're S.O.L", () => { Application.Quit() });
namespace EManagersLib.Extra {
public sealed class EDialog : MonoBehaviour {
private const int id = 0xab44932;
private Rect m_windowRect;
//private Action m_action;
... |
Defs/Qooxdoo/dev/unit/JsUnitTestResult.cs | SharpKit/SharpKit-SDK | 12 | 7052889 | // Generated by SharpKit.QooxDoo.Generator
using System;
using System.Collections.Generic;
using SharpKit.Html;
using SharpKit.JavaScript;
namespace qx.dev.unit
{
/// <summary>
/// <para>Test result class, which can export the results to JSUnit</para>
/// </summary>
[JsType(JsMode.Prototype, Name = "qx.dev.unit... |
DelayQueue/Delayer.cs | ccccccmd/DelayQueue.Redis | 2 | 7052890 | using System;
using System.Threading.Tasks;
using DelayQueue.Abstractions;
using DelayQueue.Core;
namespace DelayQueue
{
public class Delayer<T> : IDelayer<T> where T : Job
{
public async Task PutDelayJob(T job)
{
string topic = typeof(T).Name;
if (string.IsNullOrWhite... |
src/tl.employersupport.ecrm.poc.application/Services/MonitorService.cs | SkillsFundingAgency/tl-employersupport-ecrm-poc | 0 | 7052891 | <reponame>SkillsFundingAgency/tl-employersupport-ecrm-poc<filename>src/tl.employersupport.ecrm.poc.application/Services/MonitorService.cs
using System;
using System.Threading.Tasks;
using tl.employersupport.ecrm.poc.application.Interfaces;
namespace tl.employersupport.ecrm.poc.application.Services
{
public class ... |
Challenges/FIFOAnimalShelter/fifo_animal_shelter/UnitTests_FIFOAnimalShelter/UnitTest1.cs | mikefili/data-structures-and-algorithms | 0 | 7052892 | using System;
using Xunit;
using fifo_animal_shelter;
namespace UnitTests_FIFOAnimalShelter
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}
|
src/Service.BlockchainAddressValidator.Domain/Validators/DogecoinAddressValidator.cs | MyJetWallet/Service.BlockchainAddressValidator | 0 | 7052893 | using NBitcoin;
using NBitcoin.Altcoins;
using Service.BlockchainAddressValidator.Domain.Models.Settings;
using Service.BlockchainAddressValidator.Domain.Models.Validation;
using System;
namespace Service.BlockchainAddressValidator.Domain.Validators
{
public class DogecoinAddressValidator : IAddressValidator
... |
rd-net/RdFramework/ITypesRegistrar.cs | denis417/rd | 0 | 7052894 | using System;
using JetBrains.Annotations;
namespace JetBrains.Rd
{
public interface ITypesRegistrar
{
/// <summary>
/// Tries to discovery type with specific <see cref="RdId"/>.
/// If it succeeds then should Invoke <see cref="ISerializers.Register{T}"/> method on provided serializers.
/// </summ... |
wwwroot/index.cshtml | Tygrak/avaloniaui.net | 0 | 7052895 | Title: Avalonia UI Framework
NoSidebar: true
NoTitle: true
NoContainer: true
---
<div class="jumbotron">
<div class="container">
<h1>Avalonia</h1>
<p>A cross platform XAML Framework for .NET Framework, .NET Core and Mono</p>
</div>
</div>
<section class="content">
<div class="row">
... |
src/Microsoft.DotNet.Build.VstsBuildsApi/VstsDefinitionClient.cs | garath/buildtools | 1 | 7052896 | <gh_stars>1-10
// 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.
using Microsoft.DotNet.Build.VstsBuildsApi.Configuration;
using Newtonsoft.Json;
using Newtonsoft.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.