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 |
|---|---|---|---|---|
test/NetQD.Test/QdOperationsProvider.cs | rzikm/NetQD | 2 | 7035608 | <filename>test/NetQD.Test/QdOperationsProvider.cs
using System.Reflection.Metadata.Ecma335;
namespace NetQD.Test
{
internal class QdOperationsProvider : IOperationsProvider<QdReal>
{
public QdReal Create(double a) => new QdReal(a);
public QdReal Parse(string s) => QdReal.Parse(s);
publ... |
Defining Classes-ex/Family/Person.cs | Alexxx2207/CSharpAdvanced | 0 | 7035609 | <filename>Defining Classes-ex/Family/Person.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Family
{
public class Person
{
private string _name;
private int _age;
public string Name { get { return _name; } set { _name = value; } }
public int Age... |
Scripts/Explore/ExploreStory.cs | zephyo/Wholesome-Cats | 24 | 7035610 | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.UI;
using TMPro;
using System.Linq;
public class ExploreStory : MonoBehaviour
{
private Dialogue[] Dialogues;
private int currSpeakerIndex = 0;
private int currDialogueIndex = 0;
... |
Source/Wrappers/Microsoft.Net.Http/System.Net.Http.Headers.TransferCodingWithQualityHeaderValue.cs | RixianOpenTech/RxWrappers | 0 | 7035611 | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Net.Http.Headers
{
public static class __TransferCodingWithQualityHeaderValue
{
public static IObservable<System.Net.Http.Headers.TransferCodingWit... |
Assets/scripts/Player/PlayerMove.cs | seanboyy/GameDesignProject1 | 0 | 7035612 | <reponame>seanboyy/GameDesignProject1<filename>Assets/scripts/Player/PlayerMove.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Class for defining the movement of the player
/// </summary>
public class PlayerMove : MonoBehaviour{
/// <summary>
/// Source of ... |
src/System.Threading/tests/MutexTests.cs | sharwell/corefx | 0 | 7035613 | <filename>src/System.Threading/tests/MutexTests.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Threading;
using System.Threading.Tasks;
public class MutexTests
{
[Fact... |
src/Services/Ordering/Ordering.Application/Validators/UpdateOrderCommandValidator.cs | TanvirAnowar/ExpressMicroV2 | 0 | 7035614 | <gh_stars>0
using FluentValidation;
using Ordering.Application.Features.Orders.Commands.UpdateOrder;
namespace Ordering.Application.Validators
{
public class UpdateOrderCommandValidator: AbstractValidator<UpdateOrderCommand>
{
public UpdateOrderCommandValidator()
{
RuleFor(p => p.U... |
SiUnits/NumberFactor.cs | otac0n/SiUnits | 3 | 7035615 | // Copyright © John & <NAME>. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace SiUnits
{
using System;
/// <summary>
/// Represents a number factor.
/// </summary>
public sealed class NumberFactor : Factor
{
/// <summ... |
src/Upcloud/Client/ApiException.cs | kaleho/upcloud-dotnetcore-api | 0 | 7035616 | <filename>src/Upcloud/Client/ApiException.cs<gh_stars>0
/*
* Upcloud api
*
* The UpCloud API consists of operations used to control resources on UpCloud. The API is a web service interface. HTTPS is used to connect to the API. The API follows the principles of a RESTful web service wherever possible. The base URL f... |
src/DockerGen.Shared/Container/Recipes/Recipe.cs | FrodeHus/dockergen | 0 | 7035617 | using System.Collections.Generic;
namespace DockerGen.Container.Recipes
{
public class Recipe : Configuration
{
public List<RecipeParameter> Parameters { get; set; }
public List<RecipeInstruction> Instructions { get; set; }
}
public class RecipeParameter
{
public string N... |
Great/Models/Sharepoint/EventEnum.cs | bacca87/great2 | 4 | 7035618 | <gh_stars>1-10
namespace Great2.Models
{
public enum EEventStatus
{
Accepted = 0,
Rejected = 1,
Pending = 2
}
public enum EEventType
{
Vacations = 1,
CustomerVisit = 2,
BusinessTrip = 3,
Education = 4,
Other = 5,
OldVacations ... |
Repair/Framework/GrabableComponent.cs | thoxey/GGJ20-Repair | 0 | 7035619 | using System;
using Microsoft.Xna.Framework;
using Nez;
namespace Repair.Framework
{
public class GrabableComponent : Component, IUpdatable
{
private int grabid = 0;
private float mRadius = 0.0f;
private bool mBeingGrabbed = false;
private Entity mCursor;
int mPriority =... |
Assets/Scripts/UI/OptionMenuGUIMethods.cs | deadlysmiletm/ADayWithArcueid | 0 | 7035620 | <reponame>deadlysmiletm/ADayWithArcueid
using UnityEngine;
using UnityEngine.UI;
public class OptionMenuGUIMethods : MonoBehaviour
{
public Animator animator;
public InputGUIMethods inputUI;
private int _hash;
private void Awake()
{
_hash = Animator.StringToHash("state");
inputUI... |
DataProcessor/DataProcessor.Transformations.Tests/RowGroupsCreatorTest.cs | dbsafe/intaker | 0 | 7035621 | using DataProcessor.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
namespace DataProcessor.Transformations.Tests
{
[TestClass]
public class RowGroupsCreatorTest
{
private readonly IEnumerable<string> _lines = n... |
Scripts/Systems/Actor/Velocity/DSC_ADS_Velocity_Gravity.cs | DeStiCap/DSC-Actor-DOTS | 0 | 7035622 | <reponame>DeStiCap/DSC-Actor-DOTS
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
namespace DSC.Actor.DOTS
{
[UpdateInGroup(typeof(DSC_ADG_FixedUpdate_Normal))]
[UpdateBefore(typeof(DSC_ADS_Velocity_Move))]
public sealed class DSC_ADS_Velocity_Gravity : SystemBase
{
prot... |
Interfaces/P06_BirthdayCelebrations/Interfaces/IBurthable.cs | nelov87/C-OOP-Basics | 0 | 7035623 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace P06_BirthdayCelebrations
{
interface IBurthable
{
string BurthDate { get; set; }
}
}
|
CodeLab1Week5/Assets/Scripts/Ontrigger.cs | rachel2386/CodeLab1HW | 0 | 7035624 | <filename>CodeLab1Week5/Assets/Scripts/Ontrigger.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ontrigger : MonoBehaviour
{
// Start is called before the first frame update
// Start is called before the first frame update
public bool Reached... |
src/backend/Aggregator/HttpServices/Services/PhotosService.cs | iamprovidence/Lama | 1 | 7035625 | <gh_stars>1-10
using System;
using System.Text;
using System.Net.Http;
using System.Threading.Tasks;
using System.Collections.Generic;
using Domains.DataTransferObjects.Photos;
using Microsoft.Extensions.Options;
using HttpServices.Extensions;
using HttpServices.Configuration;
using Newtonsoft.Json;
namespace Htt... |
forms/Edit/frmEditObjects.Designer.cs | fialot/Catalog | 0 | 7035626 | namespace Katalog
{
partial class frmEditObjects
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <p... |
src/Libraries/FaraMedia.Data/Schemas/Billing/OrderLineConstants.fixed.cs | m-sadegh-sh/FaraMedia | 0 | 7035627 | <gh_stars>0
namespace FaraMedia.Data.Schemas.Billing {
using FaraMedia.Core.Domain.Billing;
using FaraMedia.Core.Infrastructure.Extensions;
public sealed class OrderLineConstants : EntityConstantsBase<OrderLine> {
public static class CacheKeys {
public static readonly string Pattern = Helpers.CachePattern();
... |
Ship_Game/AI/EmpireAI/EmpireRiskAssessment.cs | UnGaucho/StarDrive | 0 | 7035628 | using System;
using System.Collections.Generic;
using Ship_Game.AI.Tasks;
using Ship_Game.Gameplay;
namespace Ship_Game.AI
{
public class EmpireRiskAssessment
{
public float Expansion { get; private set; }
public float Border { get; private set; }
public float KnownTh... |
DLR/Microsoft.Scripting/IndexSpan.cs | IMaeland/IronSmalltalk | 1 | 7035630 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Scripting.Utils;
namespace Microsoft.Scripting {
/// <summary>
/// This structure represents an immutable integer interval that describes a range of values, from Start to End.
///
/// It is closed on the left and open... |
Editor/Backend.Common/MessagePropagator/ThreadHandler.cs | SuperDarkOpenSource/SuperDarkEngine | 3 | 7035631 | <reponame>SuperDarkOpenSource/SuperDarkEngine
namespace Backend.Common.MessagePropagator
{
public enum ThreadHandler
{
/// <summary>
/// The Publisher's internal system can decide. Will usually be the thread that
/// publishes the message
/// </summary>
Default,
... |
ConfigMvc/Configuration/NestedCollection/CollectionTwo.cs | sukhoi1/.NET-MVC-Config | 0 | 7035632 | <reponame>sukhoi1/.NET-MVC-Config<filename>ConfigMvc/Configuration/NestedCollection/CollectionTwo.cs
using System.Configuration;
namespace ConfigMvc.Configuration.NestedCollection
{
public class CollectionTwo : ConfigurationElementCollection
{
protected override ConfigurationElement CreateNewElement()... |
Discord/Discord.cs | MagicCheese1/LPRankSyncBot | 3 | 7035633 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
namespace LPRankSyncBot.Discord {
public class Discord {
private static DiscordSocketClient Client;
public static async Task DiscordAsync () {
... |
src/LionFire.Structures/Collections/ReadOnlyDictionaryWrapper.cs | jaredthirsk/LionFire.Core | 0 | 7035634 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LionFire.Collections
{
// Based on / Inspired by https://stackoverflow.com/a/13602918/208304
public class ReadOnlyDictionaryWrapper<TKey, TValue, TReadOnlyValue> : IReadOnlyDictionary<TKey, TReadOnlyValue>
... |
src/MvcExtensions.FluentMetadata.Tests/ModelMetadata/ModelMetadataConfigurationTests.cs | MvcExtensions/Core | 20 | 7035635 | #region Copyright
// Copyright (c) 2009 - 2010, <NAME> <<EMAIL>>.
// This source is subject to the Microsoft Public License.
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
// All other rights reserved.
#endregion
namespace MvcExtensions.FluentMetadata.Tests
{
using System;
using System.Linq.... |
MetricsDemo/WebApiCore2/HostedService.cs | madhub/dotnetsamplecode | 0 | 7035636 | <filename>MetricsDemo/WebApiCore2/HostedService.cs
using Microsoft.Extensions.Hosting;
using Prometheus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace WebApiCore2
{
public class HostedService : IHostedService
{
privat... |
Assets/Scripts/View/KeyButton.cs | ilya-andreyeu/MVVP-Calc | 0 | 7035637 | using System;
using UnityEngine;
using UnityEngine.UI;
namespace Views
{
public class KeyButton : MonoBehaviour
{
[SerializeField] private Button button;
[SerializeField] private int number;
private Action<string> onButtonClicked;
private void SetTextView()
{
... |
Src/CSharp/Net Framework/CA_CIB/Shelves/ElectronicShelve.cs | Baxom/Kata | 0 | 7035638 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TDD_Katas_project.CA_CIB.Shelves
{
public class ElectronicShelve : ShelveBase
{
public ElectronicShelve() : base(TypeShelves.Electronics)
{
}
}
}
|
src/Microsoft.OData.Client/Utility.cs | bdebaere/odata.net | 629 | 7035639 | //---------------------------------------------------------------------
// <copyright file="Utility.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//---------------------------------------------... |
src/WebUI/Areas/Admin/Controllers/ThemeTemplateController.cs | yiyungent/TES | 0 | 7035640 | <reponame>yiyungent/TES<gh_stars>0
using Common;
using Core;
using Domain;
using Framework.Common;
using Framework.Infrastructure.Concrete;
using Framework.Models;
using Framework.Mvc.ViewEngines.Templates;
using NHibernate.Criterion;
using Service;
using System;
using System.Collections.Generic;
using System.Diagnost... |
Sgu.StudentTesting/Sgu.StudentTesting.PL/Views/Subject/Test.cshtml | NurAliia/SGU-341-2018_Battalova_NurAliia | 0 | 7035641 | <gh_stars>0
@{
ViewBag.Title = "New Tests";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>StartTest</title>
</head>
<body style="font-size:20px">
<div>
@Html.ActionLink("Вернуться к списку предметов", ... |
OpenAI-DotNet-Tests/AuthTests.cs | drasticactions/OpenAI-DotNet | 5 | 7035642 | <filename>OpenAI-DotNet-Tests/AuthTests.cs
using NUnit.Framework;
using OpenAI;
using System.IO;
namespace OpenAI_Tests
{
public class AuthTests
{
[SetUp]
public void Setup()
{
File.WriteAllText(".openai", "OPENAI_KEY=pk-test12");
}
[Test]
public voi... |
src/CancunSurvivor.Booking.Api/ViewModels/Requests/ReservationCreateRequest.cs | LucasRosinelli/CancunSurvivor | 0 | 7035643 | using System.ComponentModel.DataAnnotations;
#nullable disable warnings
namespace CancunSurvivor.Booking.Api.ViewModels.Requests
{
/// <summary>
/// Represents a request to create a reservation.
/// </summary>
public class ReservationCreateRequest : ReservationRequestBase
{
/// <summary>
... |
src/MonoDevelop.LogMonitor/MonoDevelop.LogMonitor/LogMonitorLogger.cs | Therzok/monodevelop-log-monitor | 0 | 7035644 | //
// LogMonitorLogger.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including with... |
src/GameServer/MessageHandler/Guild/GuildRequestHandlerPlugIn.cs | ADMTec/OpenMU | 1 | 7035645 | <reponame>ADMTec/OpenMU
// <copyright file="GuildRequestHandlerPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.MessageHandler.Guild;
using System.Runtime.InteropServices;
using MUni... |
TheGuardianAPI/TheGuardian.DataAccess/Models/GuardianContext.cs | 2002-feb24-net/The-Guardian-API | 0 | 7035646 | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
namespace TheGuardian.DataAccess
{
public partial class GuardianContext : DbContext
{
public GuardianContext()
{
}
public GuardianContext(DbContextOptions<GuardianContext> options)
... |
SharpFightingEngine/Skills/Conditions/ISkillConditionExtension.cs | Alexxtheonly/SharpFightingEngine | 0 | 7035647 | namespace SharpFightingEngine.Skills.Conditions
{
public static class ISkillConditionExtension
{
public static SkillCondition AsStruct(this ISkillCondition condition)
{
return new SkillCondition()
{
Damage = condition.Damage,
HealingReduced = condition.HealingReduced,
Id... |
TipsTrade-HMRC/Serialization/NewtonsoftJsonSerializer.cs | tipstrade/TipsTrade-HMRC | 0 | 7035648 | <filename>TipsTrade-HMRC/Serialization/NewtonsoftJsonSerializer.cs
using Newtonsoft.Json;
using RestSharp.Deserializers;
using RestSharp.Serializers;
using System.IO;
namespace TipsTrade.HMRC.Serialization {
/// <summary>Represents a serializer that usesthe <see cref="Newtonsoft.Json.JsonSerializer"/>.</summary>
... |
src/Accord/Accord.Statistics/Testing/Multiple Samples/LeveneTest.cs | mastercs999/fn-trading | 4 | 7035649 | <filename>src/Accord/Accord.Statistics/Testing/Multiple Samples/LeveneTest.cs
// Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © <NAME>, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it und... |
Source/Nomad/Communication/EventAggregation/EventAggregatorTicket.cs | psla/Nomad | 1 | 7035650 | using System;
using System.Threading;
namespace Nomad.Communication.EventAggregation
{
///<summary>
/// Standard event aggregation implementation, which allows to receive more information, such as target thread.
///</summary>
///<typeparam name="T">Type of event ticket concerns</typeparam>
... |
legacy/SFA.DAS.EmployerApprenticeshipsService.Application/Helpers/NameOf.cs | SkillsFundingAgency/das-employeraccounts | 1 | 7035651 | <reponame>SkillsFundingAgency/das-employeraccounts<filename>legacy/SFA.DAS.EmployerApprenticeshipsService.Application/Helpers/NameOf.cs
using System;
using System.Linq.Expressions;
using System.Web.Mvc;
namespace SFA.DAS.EAS.Application.Helpers
{
public class NameOf<TModel> where TModel : class
{
publ... |
src/Lykke.Service.CryptoIndex.Domain.Services/StatisticsService.cs | LykkeCity/Lykke.Service.CryptoIndex | 0 | 7035652 | <filename>src/Lykke.Service.CryptoIndex.Domain.Services/StatisticsService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using Lykke.Common.Log;
using Lykke.Service.CryptoIndex.Domain.Handlers;
using Lykke.Service.CryptoIndex.Domain.Models;
using L... |
Diploma/BL.Subdomains.FilesGeneration/Factories/FileHandlerFactory.cs | OlehTymoshenko/Diploma-API | 1 | 7035653 | <gh_stars>1-10
using System;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using BL.Interfaces.Subdomains.FilesGeneration;
using DL.Entities.Enums;
namespace BL.Subdomains.FilesGeneration
{
public class FileHandlerFactory : IFileHandlerFactory
{
readonly IServiceProvider _serviceP... |
Assets/ButtonScript.cs | yasokada/unity-150927-tabToNewline | 0 | 7035654 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.IO;
using System.Text.RegularExpressions; // for Regex
/*
* v0.2 2015/09/27
* - can handle multiline text
* v0.1 2015/09/27
* - can replace nth tab to newline
*/
public class ButtonScript : MonoBehaviour {
public InputField I... |
src/ReSharper.Structured.Logging/QuickFixes/RemoveRedundantMessageTemplateArgumentValueFix.cs | agentschmitt/resharper-structured-logging | 0 | 7035655 | <filename>src/ReSharper.Structured.Logging/QuickFixes/RemoveRedundantMessageTemplateArgumentValueFix.cs<gh_stars>0
using System.Linq;
using JetBrains.Annotations;
using JetBrains.ReSharper.Feature.Services.QuickFixes;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.Psi.CSharp.Tree;
u... |
src/Harald.Infrastructure.Slack/Http/Request/UserGroup/UpdateUserGroupUsersRequest.cs | dfds/harald | 1 | 7035656 | <gh_stars>1-10
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
namespace Harald.Infrastructure.Slack.Http.Request.UserGroup
{
public class UpdateUserGroupUsersRequest : SlackRequest
{
public UpdateUserGroupUsersRequest(string userGroupId, IEnumerable<... |
test/CachingFramework.Redis.UnitTest/RedisStressTest.cs | ali-joghataei/CachingFramework.Redis | 262 | 7035657 | #if (NET461)
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace CachingFramework.Redis.UnitTest
{
[TestFixture]
public class RedisStressTest
{
[Test, TestCaseSource(type... |
WhenItsDone/Lib/WhenItsDone.MVP/BrowseMVP/BrowsePresenter.cs | army-of-two/when-its-done | 11 | 7035658 | <filename>WhenItsDone/Lib/WhenItsDone.MVP/BrowseMVP/BrowsePresenter.cs
using System;
using Bytes2you.Validation;
using WebFormsMvp;
using WhenItsDone.Data.EntityDataSourceServices;
namespace WhenItsDone.MVP.BrowseMVP
{
public class BrowsePresenter : Presenter<IBrowseView>, IBrowsePresenter
{
privat... |
Slipe/Core/Source/SlipeClient/IO/Events/OnChatMessageEventArgs.cs | Supernic3/Slipe-Core | 53 | 7035659 | <filename>Slipe/Core/Source/SlipeClient/IO/Events/OnChatMessageEventArgs.cs
using Slipe.Shared.Utilities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Slipe.Client.IO.Events
{
public class OnChatMessageEventArgs
{
/// <summary>
/// The text of the message
... |
src/ResourceManagement/Network/ApplicationGatewayBackendHttpConfigurationHealthImpl.cs | abharath27/azure-libraries-for-net | 365 | 7035660 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Network.Fluent
{
using Microsoft.Azure.Management.Network.Fluent.Models;
using Microsoft.Azure.Mana... |
src/Smooth.IoC.Cqrs/Exceptions/RequestHandlerNotFoundException.cs | generik0/Smooth.IoC.Cqrs | 4 | 7035661 | <gh_stars>1-10
using System;
namespace Smooth.IoC.Cqrs.Exceptions
{
public class RequestHandlerNotFoundException : Exception
{
public RequestHandlerNotFoundException(string message) : base(message) { }
public RequestHandlerNotFoundException(Type type) : base($"Could not create request handler ... |
MadMaxGui/ViewModels/HomeViewModel.cs | Muslix/MadMaxGui_byMuslix | 2 | 7035662 | <reponame>Muslix/MadMaxGui_byMuslix
using Domain;
using MadMaxGui.Helper;
using MadMaxGui.Commands;
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.Reflection;
using System.Windows.Input;
using MadMaxGui.Interfaces;
using System.Linq;
using System.IO;
using System.Text.Json;
using System.Wi... |
BotBits/Packages/MessageHandler/Events/AdminModeEvent.cs | ajosg/BotBits | 0 | 7035663 | <filename>BotBits/Packages/MessageHandler/Events/AdminModeEvent.cs
using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when an administrator toggles administrator mode.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("admin")]
public sealed class Ad... |
src/Ses/Conflicts/IConcurrencyConflictResolver.cs | oguzhaneren/ses | 2 | 7035664 | using System;
namespace Ses.Conflicts
{
public interface IConcurrencyConflictResolver : IConcurrencyConflictResolverRegister
{
bool ConflictsWith(Type eventToCheck, Type[] previousEventTypes);
}
public interface IConcurrencyConflictResolverRegister
{
void RegisterConflic... |
src/TiliaLabs.Phoenix/Model/FacilityStats.cs | matthewkayy/tilia-phoenix-client-csharp | 3 | 7035665 | /*
* tilia Phoenix API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 7.0.6
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using Sy... |
ViennaAdvantageWeb/ModelLibrary/Process/OrderBatchProcess.cs | eric-erki/ERP-CMR-DMS | 45 | 7035666 | <filename>ViennaAdvantageWeb/ModelLibrary/Process/OrderBatchProcess.cs
/********************************************************
* Project Name : VAdvantage
* Class Name : OrderBatchProcess
* Purpose : Order Batch Processing
* Class Used : ProcessEngine.SvrProcess
* Chronological Development
... |
SuperSeller.Web/Areas/Admin/Pages/SubCategory/Create.cshtml | vankatalp360/SupperSellerApp | 0 | 7035667 | <reponame>vankatalp360/SupperSellerApp
@page "{id:int?}"
@model SuperSeller.Web.Areas.Admin.Pages.SubCategory.CreateModel
@{
ViewData["Title"] = "CreateSubCategory";
}
<h2>Create SubCategory</h2>
<form method="post" class="form-horizontal">
<div class="form-group">
<label for="CategoryId" class="contr... |
Middleware/EndpointB.Receiver/Handlers/ReportOnYHandler.cs | danielmarbach/Middleware.PoC | 0 | 7035668 | <reponame>danielmarbach/Middleware.PoC
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using EndpointB.Receiver.Messages.Commands;
using Microsoft.Owin.Infrastructure;
using NServiceBus;
using NServiceBus.Logging;
namespace EndpointB.Receiver.Handlers
{
class R... |
Assets/1_SelfDrivingCar/Scripts/checkpoint.cs | marho13/udacityReinforcement | 0 | 7035669 | <reponame>marho13/udacityReinforcement
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class checkpoint : MonoBehaviour {
public GameObject checkpointList;
public GameObject car;
public List<GameObject> Listy;
public int checkpointInd = 0;
public int straightC... |
src/Core/tests/DeviceTests/Handlers/ProgressBar/ProgressBarTests.Android.cs | francedot/maui | 5 | 7035670 | using System;
using System.Threading.Tasks;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Handlers;
using AProgressBar = Android.Widget.ProgressBar;
namespace Microsoft.Maui.DeviceTests
{
public partial class ProgressBarHandlerTests
{
AProgressBar GetNativeProgressBar(ProgressBarHandler progressBarHandler) ... |
Assets/UnitySteer/Behaviors/SteerForMatchingVelocity.cs | Guityyo/minerparty | 0 | 7035671 | using UnityEngine;
namespace UnitySteer.Behaviors
{
/// <summary>
/// Steers a vehicle to match velocity (speed + heading) with detected neighbors
/// </summary>
/// <remarks> This behavior serves a similar purpose to SteerForAlignment. However,
/// SteerForAlignment has the deficiency that it ret... |
src/ESFA.DC.ILR.ValidationService.Rules.Tests/EmploymentStatus/EmpStat/EmpStat_20RuleTests.cs | SkillsFundingAgency/DC-ILR-1819-ValidationService | 2 | 7035672 | using System;
using System.Collections.Generic;
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.Tests.Model;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rules.EmploymentStatus.EmpStat;
using ESFA.DC.ILR.ValidationService.R... |
Assets/Scripts/MainMenu.cs | rile-s/Block-Chain | 0 | 7035673 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainMenu : MonoBehaviour {
public GameObject mainMenu;
public GameObject optionsMenu;
public UnityEngine.Audio.AudioMixer mixer;
public UnityEngine.UI.Text sliderText;
public UnityEngine.Rendering.Universal... |
Expresharp.Example/HelloWorld/Program.cs | longshine/expresharp | 8 | 7035674 | <gh_stars>1-10
using System;
using System.Linq;
using Expresharp;
namespace Expresharp.Example.HelloWorld
{
class Program
{
static void Main(string[] args)
{
var app = new Express();
app.Get("/", (req, res) => res.Send("Hello World!"));
var server = app.Li... |
DevTreks/Views/BuildTreks/Index.cshtml | kpboyle1/devtreks2.1 | 0 | 7035675 | @using DevTreks.Helpers;
@{
ViewBag.Title = AppHelper.GetResource("BUILDTREKS_TITLE");
}
<p><strong>@Html.ActionLink("Home", "Index", "Home", routeValues: null, htmlAttributes: new { data_role = "button", data_mini="true", data_inline="true" }) > @Html.Encode(ViewData["Title"]) </strong></p>
<div data-role="nav... |
Assets/Scripts/Crocodile.cs | sashabusk/Flintstones1 | 0 | 7035676 | <reponame>sashabusk/Flintstones1<filename>Assets/Scripts/Crocodile.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class Crocodile : Character {
[SerializeField]
private float speed = 2.0f;
private Vector3 direction;
void Start () {
direction = trans... |
DirectN/DirectN/Generated/_D3DDDI_MULTIPLANE_OVERLAY_FLAGS.cs | riQQ/DirectN | 1 | 7035677 | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3dumddi.h(2715,9)
using System;
namespace DirectN
{
[Flags]
public enum _D3DDDI_MULTIPLANE_OVERLAY_FLAGS
{
D3DDDI_MULTIPLANE_OVERLAY_FLAG_VERTICAL_FLIP = 0x00000001,
D3DDDI_MULTIPLANE_OVERLAY_FLAG_HORIZONTAL_FLIP = 0x000000... |
src/Cuture.AspNetCore.ResponseCaching/CacheKey/Builders/ModelCacheKeyBuilder.cs | StratosBlue/Cuture.AspNetCore.ResponseCaching | 16 | 7035678 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Cuture.AspNetCore.ResponseCaching.CacheKey.Builders
{
/// <summary>
/// 参数Model缓存键构建器
/// </summary>
pu... |
nopCommerce 4.4/src/Plugins/Nop.Plugin.MultiFactorAuth.GoogleAuthenticator/Models/GoogleAuthenticatorModel.cs | peterthomet/BioPuur | 0 | 7035680 | using Nop.Web.Framework.Models;
namespace Nop.Plugin.MultiFactorAuth.GoogleAuthenticator.Models
{
/// <summary>
/// Represents GoogleAuthenticator model
/// </summary>
public record GoogleAuthenticatorModel : BaseNopEntityModel
{
public string Customer { get; set; }
public string ... |
com.unity.physics@0.6.0-preview.3/Unity.Physics/Base/Math/FourTransposedPoints.cs | driftboat/DogeMetaversePlay | 3 | 7035681 | using System;
using Unity.Mathematics;
namespace Unity.Physics
{
public static partial class Math
{
// 4 transposed 3D vertices
[Serializable]
public struct FourTransposedPoints
{
private float4x3 m_TransposedPoints;
public float4 X => m_TransposedPoints... |
ProjectedFSLib.Managed.Test/Helpers.cs | narasamdya/ProjFS-Managed-API | 84 | 7035682 | <filename>ProjectedFSLib.Managed.Test/Helpers.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
namespace ProjectedFSLib.Managed.... |
sdk/c#/sdk/api/WeaStation.cs | harryprogramer/WeaPanel | 0 | 7035683 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeaPanel_SDK.exceptions;
using WeaPanel_SDK.sdk.api;
using WeaPanel_SDK.sdk.api.requests;
namespace WeaPanel_SDK.sdk
{
public struct WeatherData
{
public readonly doub... |
SIL.WritingSystems.Tests/TestLdmlInFolderWritingSystemFactory.cs | elisunger/libpalaso | 36 | 7035684 | <filename>SIL.WritingSystems.Tests/TestLdmlInFolderWritingSystemFactory.cs
using System.Collections.Generic;
using System.IO;
namespace SIL.WritingSystems.Tests
{
public class TestLdmlInFolderWritingSystemFactory : LdmlInFolderWritingSystemFactory
{
private readonly Dictionary<string, string> _sldrLdmls;
publ... |
src/Lakerfield.BunqSdk/Model/Generated/BillingContractSubscriptionListing.cs | Lakerfield/bunqsdk | 2 | 7035685 | using Newtonsoft.Json;
namespace Lakerfield.BunqSdk.Model
{
[BunqObject("BillingContractSubscriptionListing")]
public class BillingContractSubscriptionListing
{
/// <summary>
/// The id of the billing contract.
/// </summary>
[JsonProperty(PropertyName = "id")]
public int Id { get; set; }
... |
Views/DocShipmentOrdersView.xaml.cs | Polimat/Gamma | 2 | 7035686 | using System.Windows.Controls;
using DevExpress.Xpf.Grid;
using Gamma.Models;
using Gamma.ViewModels;
namespace Gamma.Views
{
/// <summary>
/// Логика взаимодействия для DocShipmentOrdersView.xaml
/// </summary>
public partial class DocShipmentOrdersView : UserControl
{
public DocShipmentO... |
Solnet.Raydium/Models/Layouts/StakeInfoV4.cs | bmresearch/Solnet.Raydium | 0 | 7035687 | using Solnet.Raydium.Utilities;
using Solnet.Wallet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solnet.Raydium.Models.Layouts
{
/// <summary>
/// STAKE_INFO_LAYOUT_V4
/// </summary>
public class StakeInfoV4
{
... |
Assets/MoralisWeb3ApiSdk/Moralis/Moralis.WebGL/Hex/HexTypes/HexTypeJsonConverter.cs | rahul0tripathi/MetaNox | 0 | 7035688 | using System;
using Newtonsoft.Json;
namespace Moralis.WebGL.Hex.HexTypes
{
public class HexRPCTypeJsonConverter<T, TValue> : JsonConverter where T : HexRPCType<TValue>
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
var hexRPC... |
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/InjuryType.cs | NathanClouseAX/AAXDataEntityPerfTest | 1 | 7035689 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
BetterControls/TreeView/SimpleTreeItemDataSource.cs | seanofw/joy | 0 | 7035690 | <reponame>seanofw/joy
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace BetterControls.TreeView
{
public class SimpleTreeItemDataSource : ITreeItemDataSource, IList<SimpleTreeItem>
{
public event EventHandler<TreeItemEventArgs> ItemChanged;
public ev... |
GLTF/GlTF_Channel.cs | JayceLai/Unity-glTF-Exporter | 129 | 7035691 | #if UNITY_EDITOR
using UnityEngine;
using System.Collections;
public class GlTF_Channel : GlTF_Writer {
public int samplerIndex = -1;
public GlTF_Target target;
public GlTF_Channel (string ch, int sIndex) {
samplerIndex = sIndex;
}
public override void Write()
{
if(samplerIndex == -1)
{
Debug.LogErro... |
WorkBalancer/UserControls/BasicSetting.xaml.cs | Zoranner/WorkBalancer | 1 | 7035692 | namespace WorkBalancer.UserControls
{
/// <summary>
/// BasicSetting.xaml 的交互逻辑
/// </summary>
public partial class BasicSetting : ISettingPanel
{
public BasicSetting()
{
InitializeComponent();
}
public SettingErrorType Apply()
{
Loca... |
src/Examples/Akka.Hosting.SqlSharding/Messages/UserDescriptor.cs | Aaronontheweb/Akka.Hosting | 3 | 7035693 | <filename>src/Examples/Akka.Hosting.SqlSharding/Messages/UserDescriptor.cs
namespace Akka.Hosting.SqlSharding.Messages;
public record UserDescriptor(string UserId, string UserName) : IWithUserId
{
public static readonly UserDescriptor Empty = new UserDescriptor(string.Empty, string.Empty);
} |
AdventOfCode2021.Day16/InputParser.cs | PsiOmegaDelta/AdventOfCode2021 | 0 | 7035694 | using AdventOfCode.Shared.Extensions;
using System.Text;
namespace AdventOfCode2021.Day16
{
public static class InputParser
{
public static IEnumerable<IPackage> ParseBinaryInput(this string input, int packagesToResolve = int.MaxValue)
{
var enumerator = input.GetEnumerator();
... |
Lib/Test_NativeArray.cs | KevinGliewe/dotnet_runtime_test | 4 | 7035695 | <reponame>KevinGliewe/dotnet_runtime_test
using System;
using System.Linq;
using System.Runtime.InteropServices;
using GCore.NativeInterop;
namespace LibNamespace
{
public static class Test_NativeArray
{
#region Test_NativeArray_StructFixed_CS
[StructLayout(LayoutKind.Sequential)]
publ... |
src/Microsoft.Diagnostics.EventFlow.Core/Implementations/EventFlowSubject.cs | kwaclaw/diagnostics-eventflow | 0 | 7035696 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.... |
System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Chart.cs | DanielVanNoord/System.Windows.Forms | 8 | 7035697 | //
// Authors:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
//
// Copyright (C) 2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction... |
src/engine/Uno.Configuration/UnoConfig.cs | devadiab/uno | 0 | 7035698 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Stuff.Format;
using Uno.Diagnostics;
using Uno.IO;
namespace Uno.Configuration
{
public class UnoConfig
{
static UnoConfig _current;
public static UnoConfig Cur... |
src/NMyVision.DataDictionary.UnitTests/UnitTest1.cs | NMyVision/DataDictionary | 2 | 7035699 | <reponame>NMyVision/DataDictionary
using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NMyVision.DataDictionaryTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
... |
src/Nagios.NRDP.Client/Nagios.NRDP.Client.Net/Models/Request/Host.cs | IvAlex1986/Nagios.NRDP.Client.Net | 2 | 7035700 | <reponame>IvAlex1986/Nagios.NRDP.Client.Net
using Nagios.NRDP.Client.Net.Enums;
using System;
namespace Nagios.NRDP.Client.Net.Models.Request
{
public class Host : NagiosItem
{
public Host(String hostName)
: base(hostName)
{
}
public HostState HostState { get; set;... |
2016/SpartaHack/SpartaHack/obj/x86/Release/MainPage.g.cs | SpartaHack/SpartaHack-Windows | 0 | 7035701 | #pragma checksum "C:\Users\Matt\Documents\GitHub\SpartaHack2016-Windows\SpartaHack\SpartaHack\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C853807E29F9E89911B8FBF312F88B19"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by... |
ODataToolkit/Properties/AssemblyInfo.cs | erdomke/ODataToolkit | 11 | 7035702 | <reponame>erdomke/ODataToolkit<gh_stars>10-100
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[as... |
PMF_Solution/PMF_Solution/Helpers/LoginHelper.cs | PMForesight/TGR2 | 0 | 7035703 | <gh_stars>0
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
namespace TGRTests
{
public class LoginHelper : HelperBase
{
public LoginHelper(ApplicationManager manager) : base(manager)
{
}
public void Login(UserData user)
{
driver.Fin... |
HardSpec/SoundDevice.cs | thyams/wolf | 4 | 7035704 | using System.Collections.Generic;
using System.Management;
namespace Wolf.HardSpec
{
class SoundDevice
{
public List<string> SDInfo = new List<string>();
public int intSDLength = 0;
private string Name = "";
private string Model = "";
private string Manu = "";
... |
MyMinsk/MyMinsk.Test/CodeAnalysis/Syntax/ParserTests.cs | uamhforever/MyMinsk | 0 | 7035705 | using System.Collections.Generic;
using MyMinsk.CodeAnalysis.Syntax;
using Xunit;
namespace MyMinsk.Test.CodeAnalysis.Syntax
{
public class ParserTests
{
[Theory]
[MemberData(nameof(GetBinaryOperatorPairsData))]
public void Parser_BinaryExpression_HonorsPrecedences(SyntaxKind op1, Synt... |
src/Metaseed.ShellBase/Framework/Services/SplashScreenservice.cs | metaseed/MetaStudio | 4 | 7035706 | <filename>src/Metaseed.ShellBase/Framework/Services/SplashScreenservice.cs
using Catel.IoC;
using Catel.MVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Metaseed.MetaShell.Services
{
public class SplashScreenservice
{
p... |
ArkBot/WebApi/Controllers/TribeController.cs | Betrail/ArkBot | 73 | 7035707 | <gh_stars>10-100
using ArkBot.Data;
using ArkBot.ViewModel;
using ArkBot.WebApi.Model;
using ArkSavegameToolkitNet.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
namespace ArkBot.WebApi.Controllers
{
//public class... |
solution/WebApplication/WebApplication/Models/Customisations/AdfpipelineStats1.cs | rbev/azure-data-services-go-fast-codebase | 0 | 7035708 | <filename>solution/WebApplication/WebApplication/Models/Customisations/AdfpipelineStats1.cs
using System;
using System.Collections.Generic;
namespace WebApplication.Models
{
public partial class AdfpipelineStats1
{
//public virtual TaskInstanceExecution TaskInstanceExecution { get; set; }
... |
WPILib.Extras/NavX/ContinuousAngleTracker.cs | Team-1922/OzWPILib.NET | 0 | 7035709 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPILib.Extras.NavX
{
class ContinuousAngleTracker
{
private float m_lastAngle;
private double m_lastRate;
private int m_zeroCrossingCount;
public Conti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.