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 |
|---|---|---|---|---|
Backend/AuthenticationService.Security/AuthenticationLogger.cs | NielsB95/AuthenticationService | 0 | 7061690 | using System;
using System.Threading.Tasks;
using AuthenticationService.BusinessLayer.Entities.Applications;
using AuthenticationService.BusinessLayer.Entities.AuthenticationLogs;
using AuthenticationService.BusinessLayer.Entities.Users;
namespace AuthenticationService.Security
{
public interface IAuthenticationLogge... |
src/Jasper.Pulsar/PulsarEndpoint.cs | biohazard999/jasper | 369 | 7061691 | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using Baseline;
using DotPulsar;
using DotPulsar.Abstractions;
using Jasper.Configuration;
using Jasper.Runtime;
using Jasper.Transports;
using Jasper.Transports.Sending;
namespace Jasper.Pulsar
{
public class PulsarEndpoint :... |
Glimesh/Glimesh.Base/Models/Clients/ClientPacketModelBase.cs | KaefGAMES/StreamingClientLibrary | 36 | 7061692 | using Newtonsoft.Json.Linq;
using StreamingClient.Base.Util;
using System;
using System.Text;
namespace Glimesh.Base.Models.Clients
{
/// <summary>
/// Base model for client-based packets.
/// </summary>
public abstract class ClientPacketModelBase
{
/// <summary>
/// Default topic ... |
MLStudy.Tests/PreProcessing/NormalizationTests.cs | durow/MLSharp | 11 | 7061693 | using MLStudy.PreProcessing;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace MLStudy.Tests.PreProcessing
{
public class NormalizationTests
{
[Fact]
public void MinMaxTest()
{
var data = new TensorOld(new double[] { 1, 2, 3, 4, 3, 2,... |
xZune.Bass/Interop/Flags/StreamFileSystemType.cs | higankanshi/xZune.Bass | 11 | 7061694 | <reponame>higankanshi/xZune.Bass
// Project: xZune.Bass (https://github.com/higankanshi/xZune.Bass)
// Filename: StreamFileSystemType.cs
// Version: 20160215
using xZune.Bass.Interop.Core;
namespace xZune.Bass.Interop.Flags
{
/// <summary>
/// File system to use.
/// </summary>
public enum Stream... |
FlyTypeSquare.cs | sandervandevelde/FlyingDutchmanImageGenerator | 0 | 7061695 | <reponame>sandervandevelde/FlyingDutchmanImageGenerator
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
namespace FlyingDutchman
{
public class FlyTypeSquare : IFlyType
{
public void DrawFly(Image<Rgba32> image, int left, int top)
{
image[left, top] = Rgba32.Re... |
src/Delta.Units/BaseDimensions.cs | odalet/Delta.Units | 3 | 7061696 | <reponame>odalet/Delta.Units
using System.Collections.Generic;
using static Delta.Units.DimensionFormulaIndices;
using static Delta.Units.SpecialCharacters;
namespace Delta.Units
{
/// <summary>
/// Base dimensions (as defined by SI)
/// </summary>
/// <remarks>
/// These are:
/// * the dimens... |
hunt-the-wumpus-2d/hunt-the-wumpus-2d/Message.cs | willbush/hunt-the-wumpus-2d | 0 | 7061697 | namespace hunt_the_wumpus_2d
{
internal class Message
{
public const string ActionPrompt = "Shoot, Move or Quit(press S, M, Q)? ";
public const string PlayPrompt = "Play again? (Y-N)";
public const string SetupPrompt = "Same Setup? (Y-N)";
public const string PitWarning = "I fe... |
Optimization.Tests/Fitness/DualPeriodSharpeFitnessTests.cs | cmoski/LeanOptimization | 51 | 7061698 | <reponame>cmoski/LeanOptimization
using Moq;
using NUnit.Framework;
using Optimization;
namespace Optimization.Tests
{
[TestFixture]
public class DualPeriodSharpeFitnessTests
{
private MockRepository mockRepository;
private Mock<IOptimizerConfiguration> mockOptimizerConfiguration;
... |
__Others/MatcapStudio/Misc/MatCapEditor.cs | RamType-0/Unlit_WF_ShaderSuite | 0 | 7061699 | #if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
public class MatCapEditor {
[MenuItem("Tools/Shader_UnlitWF/Create MatCap 128x128")]
public static void CreateMatCap128() {
CreateMatCap(128);
}
[MenuItem("Tools/Shader_UnlitWF/Create MatCap 256x256")]
public static void CreateMatCa... |
Facturama/Models/Complements/Waybill/TransporteFerroviario.cs | rafa-dx/facturama-dotnet-sdk | 0 | 7061700 | <reponame>rafa-dx/facturama-dotnet-sdk
using System;
using System.Collections.Generic;
using System.Text;
namespace Facturama.Models.Complements.Waybill
{
public class TransporteFerroviario
{
public string TipoDeServicio { get; set; }
public string NombreAseg { get; set; }
public string N... |
ContactList/Global.asax.cs | tcrawf23/timageprocessingapi | 0 | 7061701 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Http.Filters;
using System.Web.Routing;
namespace ContactList
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
... |
src/ASF.EntityFramework.Storage/UnitOfWork.cs | ASF-Framework/ASF | 18 | 7061702 | <reponame>ASF-Framework/ASF
using System;
using System.Threading.Tasks;
namespace ASF.EntityFramework.Repository
{
public class UnitOfWork : IUnitOfWork
{
public readonly RepositoryContext _dbContext;
public UnitOfWork(RepositoryContext dbContext)
{
_dbContext = dbContext;
... |
app/src/Web/Extensions/ApplicationBuilderExtensions.cs | attuo/AspNetCore-WebApi-Template | 1 | 7061703 | using Ardalis.ListStartupServices;
using MyWebAPITemplate.Source.Web.Extensions;
using MyWebAPITemplate.Source.Web.Interfaces;
using MyWebAPITemplate.Source.Web.Middlewares;
using Serilog;
namespace MyWebAPITemplate.Source.Web.Extensions;
/// <summary>
/// Contains all the application builder extension methods for c... |
src/TranceSql/TableSchema.cs | hnjm/trancesql | 1 | 7061704 | <filename>src/TranceSql/TableSchema.cs
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace TranceSql
{
/// <summary>
/// This abstract class can be used to create a table schema for convenient
/// use in query construction. This schema may co... |
MagusAppGateway.UI/Services/OcelotService.cs | ShadowGB/MagusAppGateway | 10 | 7061705 | <reponame>ShadowGB/MagusAppGateway<filename>MagusAppGateway.UI/Services/OcelotService.cs<gh_stars>1-10
using MagusAppGateway.UI.IServices;
using MagusAppGateway.UI.ViewModel;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using MagusAppGateway.UI.Result;
using Newtonsoft.Json;
using System.Col... |
VocaDbModel/DataContracts/UseCases/DuplicateEntryResultContract.cs | cazzar/VocaDbTagger | 1 | 7061706 | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace VocaDb.Model.DataContracts.UseCases {
[DataContract(Namespace = Schemas.VocaDb)]
public class DuplicateEntryResultContract<T> where T : struct {
public DuplicateEntryResultContract(EntryRefWithCommonProperties... |
Chaskis/DevOps/Tasks/AppVeyorTask.cs | xforever1313/GenericIrcBot | 11 | 7061707 | <reponame>xforever1313/GenericIrcBot<filename>Chaskis/DevOps/Tasks/AppVeyorTask.cs
//
// Copyright <NAME> 2016-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
using Cake.Frosting;
... |
RossmannProductFetcher/ProductFetcherApi/Managers/RabbitmqManager.cs | lmiedzinski/rossmann_product_fetcher | 0 | 7061708 | using RabbitMQ.Client;
using System;
using System.Text;
namespace ProductFetcherApi.Managers
{
public static class RabbitmqManager
{
private const string RABBITMQ_HOSTNAME = "rabbit";
private const string PUBLISH_QUEUE_NAME = "GetProductById";
public static void PublishToQueue(int id)
... |
UnityCoFSM/Assets/CoFSM/StateMappingLayoutCache.cs | maxidea1024/CoFSM | 1 | 7061709 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using UnityEngine.Assertions;
namespace CoFSM
{
public class StateMappingLayoutCache
{
static Dictionary<System.Type, StateMappingLayoutLookup> _cache = new Dictionary<Sys... |
Src/AutoFixtureUnitTest/Kernel/SpecimenCreatedEventArgsTest.cs | TeaDrivenDev/AutoFixture | 0 | 7061710 | <reponame>TeaDrivenDev/AutoFixture
using Ploeh.AutoFixture.Kernel;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest.Kernel
{
public class SpecimenCreatedEventArgsTest
{
[Fact]
public void SutIsSpecimenTraceEventArgs()
{
// Fixture setup
var dummyReque... |
Assets/UnityUtility/LogManager.cs | chen0040/unity-utility | 2 | 7061711 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System;
using System.Linq;
public class LogManager : MonoBehaviour {
protected static LogManager mInstance = null;
protected string mLogFolderName = "";
protected string mSimulationFolderPath = "";
v... |
MonoGame.Framework/Gtk/GtkGamePlatform.cs | NebulaSleuth/MonoGame.XamarinForms | 0 | 7061712 | // MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using Microsoft.Xna.Framework.Audio;
namespace Microsoft.Xna.Framework
{
class GtkGamePlatform : GamePlatform
{
p... |
src/flutterwave-dotnet/Models/BankAccount.cs | VictorSega/flutterwave-dotnet | 16 | 7061713 | <filename>src/flutterwave-dotnet/Models/BankAccount.cs
using Newtonsoft.Json;
namespace Flutterwave.Net
{
public class BankAccount
{
[JsonProperty("account_number")]
public string AccountNumber { get; set; }
[JsonProperty("account_name")]
public string AccountName { get; set; }... |
UniVgo/Runtime/Porters/Materials/IMaterialImporter.cs | izayoijiichan/VGO | 4 | 7061714 | <filename>UniVgo/Runtime/Porters/Materials/IMaterialImporter.cs
// ----------------------------------------------------------------------
// @Namespace : UniVgo.Porters
// @Class : IMaterialImporter
// ----------------------------------------------------------------------
namespace UniVgo.Porters
{
using Newto... |
MinecraftMappings.NET/Minecraft/Java/Textures/Entity/Ghast/Ghast.cs | null511/MinecraftMappings.NET | 0 | 7061715 | <reponame>null511/MinecraftMappings.NET<filename>MinecraftMappings.NET/Minecraft/Java/Textures/Entity/Ghast/Ghast.cs
using MinecraftMappings.Internal.Textures.Entity;
namespace MinecraftMappings.Minecraft.Java.Textures.Entity.Ghast
{
public class Ghast : JavaEntityTexture
{
public Ghast() : base("Ghas... |
BattleCityLib/BattleCityData.cs | DanScottNI/csharp-battlecity | 1 | 7061716 | using System;
using System.Collections.Generic;
using System.Drawing;
using Nini.Config;
using ROMClass;
using ROMClass.Graphics.NES;
using ROMClass.NES;
using System.IO;
namespace BattleCityLib
{
/// <summary>
/// Class used to manipulate a Battle City ROM.
/// </summary>
public unsafe class BattleCi... |
test/lox.test/interpreter/WhileInterpretationTest.cs | andrewtyped/cslox | 0 | 7061717 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace lox.test.interpreter
{
[TestClass]
public class WhileInterpretationTest : InterpreterTestBase
{
#region Instance Methods
[TestMethod]
public void CanInterpretWhileStatements()
{
var source = @"
var i... |
RuleEngine/RuleEngine/Handlers/PhysicalProductHandler.cs | shankargururaja/businessrulesengine | 0 | 7061718 | using RuleEngine.Entity;
using System;
using System.Collections.Generic;
using System.Text;
namespace RuleEngine.Handlers
{
/// <summary>
/// Physical Product Handler class
/// </summary>
public class PhysicalProductHandler : BaseOrderHandler
{
public override void Process(Request request)
... |
Source/DataBoss.DataPackage/DataBoss.Threading/TaskRunner.cs | drunkcod/DataBoss | 3 | 7061719 | using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
namespace DataBoss.Threading
{
class TaskRunner
{
readonly ManualResetEvent Completed = new(initialState: false);
Func<Task> StartTask;
Exception Exception;
static void RunTask(object obj... |
OpenTracker.UnitTests/Models/SaveLoad/SaveLoadManagerTests.cs | Baertierchen/OpenTracker | 37 | 7061720 | <filename>OpenTracker.UnitTests/Models/SaveLoad/SaveLoadManagerTests.cs
using System;
using System.Collections.Generic;
using NSubstitute;
using NSubstitute.ReturnsExtensions;
using OpenTracker.Models.BossPlacements;
using OpenTracker.Models.Dropdowns;
using OpenTracker.Models.Items;
using OpenTracker.Models.Locations;... |
Tauco.Dicom.Shared/Model/InfoIdentifier.cs | tomastauer/Tauco | 1 | 7061721 | <filename>Tauco.Dicom.Shared/Model/InfoIdentifier.cs
using System;
using System.ComponentModel;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Tauco.Dicom.Shared.Converters;
namespace Tauco.Dicom.Shared
{
/// <summary>
/// Universal info identifier.
/// </summary>
[TypeConverter(typeof(I... |
VKBot/Core/SettingsLoader.cs | Renerick/VKBot | 1 | 7061723 | <reponame>Renerick/VKBot
using System.IO;
using Newtonsoft.Json;
using VKBot.Core.Common;
namespace VKBot.Core
{
public static class SettingsLoader
{
private const string LoginPath = "./login.json";
private const string ConfigPath = "./config.json";
public static LoginData LoadLoginDa... |
Main/Source/MTF_Services.WinForms/Forms/SysAdmin/EquipmentIdle/RegisterNewIdle.cs | NorthRebel/MTF_Services | 0 | 7061724 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using MTF_Services.Model;
using MTF_Services.WinForms.Data;
using MTF_Services.WinForms.Properties;
namespace MTF_Services.WinForms.Forms.SysAdmin.EquipmentIdle
{
/// <... |
SoccerManager/SoccerManager.BLL/ImagemBO.cs | leonardoacoelho/Soccer_Manager | 0 | 7061725 | <filename>SoccerManager/SoccerManager.BLL/ImagemBO.cs
using OnBase;
using SoccerManager.DAL;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
namespace SoccerManager.BLL
{
public class ImagemBO : BaseLogic<Imagem, ImagemDAO>
{
public static byte[] ImageToBytes(Image imagem)
... |
FsApi/Command.cs | z1c0/FsApi | 19 | 7061726 | namespace FsApi
{
internal static class Command
{
//Sys
public const string POWER = "netRemote.sys.power";
public const string VOLUME_STEPS = "netRemote.sys.caps.volumeSteps";
public const string VOLUME = "netRemote.sys.audio.volume";
public const string MODE = "... |
SRP/ControlRoom/Modules/Setup/AwardAddWizard.aspx.designer.cs | iafb/greatreadingadventure | 0 | 7061727 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
sources/PugetSound/PugetSound/Data/Services/UserScoreService.cs | tomzorz/PugetSound | 53 | 7061728 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Humanizer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using PugetSound.Data.Models;
using PugetSound.Logic;
namespace ... |
Mustern/core-releases-v1.3/OsmSharp/IO/Web/HttpWebRequest.cs | fakit/OSM-AutoCAD | 0 | 7061730 | // OsmSharp - OpenStreetMap (OSM) SDK
// Copyright (C) 2015 <NAME>
//
// This file is part of OsmSharp.
//
// OsmSharp is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
/... |
Assets/Scripts/Base/Supports/Base/Objs/Game/Shape2DObj.cs | jiasy/CSharp_Service | 0 | 7061731 | <filename>Assets/Scripts/Base/Supports/Base/Objs/Game/Shape2DObj.cs
using System;
using System.Collections;
using System.Collections.Generic;
using Objs;
using UnityEngine;
using Utils;
namespace Game {
//碰撞形状
public class Shape2DObj : BaseObj {
public enum ShapeType {
None,
Po... |
CSharp/WeatherUtility/source/WeatherUtility.Lib/TemperatureUtility.cs | vishipayyallore/mini-projects-2022 | 0 | 7061732 | using WeatherUtility.Core.Interfaces;
namespace WeatherUtility.Lib
{
public class TemperatureUtility : ITemperatureUtility
{
public float GetComfortIndex(float temperatureFahrenheit, float humidityPercent)
{
var comfortIndex = (temperatureFahrenheit + humidityPercent) / 4;
... |
MainWindow.xaml.cs | ChristianSee/c-sharp | 0 | 7061734 | //*****************************************************
//** **
//** By: <NAME>, **
//** Thema: Verschiedene WPF-Elemente **
//** Version 1.0 **
//** Datum: 12.09.2021 ... |
Assets/Scripts/CircleLimitScript.cs | rplopes/PixelsRush | 1 | 7061736 | <reponame>rplopes/PixelsRush
using UnityEngine;
using System.Collections;
public class CircleLimitScript : MonoBehaviour {
void FixedUpdate () {
float newZ = gameObject.transform.position.z - GameObject.Find ("Game Master").GetComponent<gameScript> ().speed;
if (newZ < -1) {
newZ = gameScript.nCircles ... |
Data-Structure-in-DotNet/DataStructure/Bst/BTree/BtNode.cs | gaufung/CodeBase | 1 | 7061737 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Sequence.BTree
{
/// <summary>
/// 超级节点的定义
/// </summary>
/// <typeparam name="T">关键码</typeparam>
[Serializable]
public class BtNode<T> where T : IComparable<T>
{
/// <summary>
/// 父节点
/// </su... |
lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Microsoft/Data/OData/ODataFeedAndEntryTypeContext.cs | tapika/choco | 3 | 7061738 | <filename>lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Microsoft/Data/OData/ODataFeedAndEntryTypeContext.cs
// OData .NET Libraries ver. 5.6.3
// Copyright (c) Microsoft Corporation
// All rights reserved.
// MIT License
// Permission is hereby granted, free of charge, to any person ... |
Code/Eir.Common/Eir.Common/Logging/Logs/Logs.cs | mby-qlik/Qlik-SupportTools | 6 | 7061739 | using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using Eir.Common.Common;
using Eir.Common.IO;
using Eir.Common.Time;
namespace Eir.Common.Logging
{
public class Logs : ILogs
{
private readonly ITrigger _logArchiverTrigger;
private readonly LogArchiver _... |
src/GameGate/Filter.cs | DrDao/OpenMir2 | 5 | 7061741 | <filename>src/GameGate/Filter.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using System.IO;
using SystemModule;
using SystemModule.Common;
namespace GameGate
{
public class Filter
{
public readonly HardwareFilter g_HWIDFilter = null;
public static obje... |
Assets/Scripts/GameController.cs | amadorsenai/LastBreath-WarForRestoration | 4 | 7061742 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameController : MonoBehaviour {
[Header("Player")]
public Transform playerTransform;
[Header("Camera")]
private float velCamera = 3.5f;
// private Camera camera;
public Transform camera;
private ... |
XImage/Filters/BottomFade.cs | ximage/ximage | 3 | 7061743 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace XImage.Filters
{
[Documentation(Text = "Subtle fade on the bottom of the image with the average color.")]
public class BottomFade : IFilter
{
[Exampl... |
Assets/Scripts/Utility/Settings.cs | helsinki-xr-center/esteettomyys | 1 | 7061744 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Author: <NAME>
*
* <summary>
* Holds current settings. Also handles loading and saving settings to computer.
* </summary>
*/
[System.Serializable]
public class Settings
{
public delegate void OnSettingsChange... |
Property/Client/PropertyPropertiesUserControl.cs | joshooaj/mipsdk-samples-plugin | 6 | 7061746 | <reponame>joshooaj/mipsdk-samples-plugin
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using VideoOS.Platform;
using VideoOS.Platform.Client;
namespace Property.Client
{
/// <summary>
/// </summary>
public partial class PropertyPropertiesUserControl : Propert... |
src/A.cs | moto2002/jiandangjianghu | 0 | 7061747 | using System;
internal class A
{
public static int X;
static A()
{
A.X = B.Y + 1;
}
}
|
Source/JARS.Core.SetupAndConfigure/SetupDataUtil.cs | CobyC/JaRS | 1 | 7061748 | using JARS.Entities;
using System;
using System.Collections.Generic;
namespace JARS.Core.SetupAndConfigure
{
/// <summary>
/// Class for helping to set up default data in the database.
/// </summary>
public class SetupDataUtil
{
static DateTime _now = DateTime.Now;
static string cr... |
MonoSquares/Game/Physics/IPhysics.cs | Marcus-Kanon/MonoSquares | 0 | 7061750 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
enum PhysicsTypes
{
NonThinking = 0,
Thinking = 1
}
namespace MonoSquares.Physics
{
interface IPhysics
{
public Rectan... |
hms-sdk-unity/HuaweiMobileServices/Push/PushManager.cs | NikolaiZyulin/hms-sdk-unity | 0 | 7061751 | using HuaweiMobileServices.Base;
using HuaweiMobileServices.Id;
using UnityEngine;
namespace HuaweiMobileServices.Push
{
public static class PushManager
{
public static readonly AndroidJavaClass HMSPushServiceJavaClass = new AndroidJavaClass("org.unity.android.hms.unity.push.HMSPushService");
public static IPu... |
Interfaces/SerialPortConnection.cs | Freshdouble/libconnection | 0 | 7061752 | using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace libconnection.Interfaces
{
public class SerialPortConnection : DataStream, IDisposable
{
private CancellationTokenSource cts = new Cancel... |
straddleCheckboard/straddleCheckboard/Form1.cs | zerju/classical-ciphers | 0 | 7061753 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Collections;
namespace straddleCheckboard
{
public partial class Form1 : Form
{
... |
EntityLocationRendering/EntityLocationRenderer.cs | JeffM2501/StarshipSimEngine | 3 | 7061754 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using SimCore.Entities;
using SimCore.Data;
using SimCore.Data.Systems;
using SimCore.Actors;
using OpenTK;
using OpenTK.Graphics;
namespace EntityLocationRendering
{
public class EntityRenderingOptions
... |
MeshComposerLib/MeshComposerLib/LinesMeshes/LinesMeshUtils.cs | ga-explorer/GMac | 8 | 7061755 | using System.Collections.Generic;
using EuclideanGeometryLib.BasicMath.Tuples;
using EuclideanGeometryLib.GraphicsGeometry.Composers;
namespace MeshComposerLib.LinesMeshes
{
public static class LinesMeshUtils
{
public static GraphicsLinesGeometryComposer3D ToLineMesh(this IEnumerable<ITuple3D> pointsL... |
Tests/TestHelpers/SetupSqlStatements_NonPartitioned.cs | UltimateSoftware/DOI | 1 | 7061756 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DOI.Tests.TestHelpers
{
public static class SetupSqlStatements_NonPartitioned
{
public static string setUpDatabasesSql = @"
IF NOT EXISTS(SELECT 'True' FROM sys.databases WHER... |
platform-unity/PlatformUnity/Assets/scripts-platform/UnityPdfDocument.cs | thomass171/tcp-22 | 0 | 7061757 | using System;
using java.lang;
using UnityEngine;
namespace de.yard.threed.platform
{
using de.yard.threed.engine;
using de.yard.threed.core.platform;
using de.yard.threed.core.resource;
using de.yard.threed.platform.unity;
using de.yard.threed.core;
/**
*
*/
public class UnityPdf... |
BearFTP/Config.cs | kolya5544/BearFTP | 13 | 7061758 | <reponame>kolya5544/BearFTP
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace BearFTP
{
class Config
{
private string filename = "";
public int PortDef = 21;
public int PortPasv = 21;
public string Hostname = "127.0.0.1";
... |
Converge/Services/HttpClientProviderService.cs | microsoft/mwcci-converge | 5 | 7061759 | <filename>Converge/Services/HttpClientProviderService.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Converge.Models;
using Microsoft.Identity.Web;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
namespace Converge.Services
{
public interface IHttpClientPr... |
OTProyect/Controllers/HomeController.cs | JeyssonXD/Sistema-Alerta-OT | 0 | 7061761 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace OTProyect.Controllers
{
/// <summary>
/// Controlador correspondiente a la pagina de inicio del proyecto
/// </summary>
[Authorize(Roles ="Administrador,Consultor")]
public class Ho... |
Examples/Operations/PurchaseOrders.cs | UngerboeckAPI/97 | 1 | 7061762 | using System.Net.Http;
using Ungerboeck.Api.Sdk;
using Ungerboeck.Api.Models;
using Ungerboeck.Api.Models.Subjects;
using Ungerboeck.Api.Models.Search;
using System.Collections.Generic;
namespace Examples.Operations
{
public class PurchaseOrders : Base
{
public PurchaseOrders(ApiClient apiClient) : base(apiCl... |
FpML.V5r3.Components/MarketDataServer/BEmu/MarketDataRequest/EventMarket.cs | mmrath/Highlander.Net | 0 | 7061763 | //------------------------------------------------------------------------------
// <copyright project="BEmu" file="MarketDataRequest/EventMarket.cs" company="<NAME>">
// Copyright (c) 2013 <NAME>. All rights reserved.
//
// The use of this software is governed by the Microsoft Public License
// which is i... |
src/fursvp.domain/DependencyInjection.cs | skippyfox/fursvp | 0 | 7061764 | <filename>src/fursvp.domain/DependencyInjection.cs
// <copyright file="DependencyInjection.cs" company="skippyfox">
// Copyright (c) skippyfox. All rights reserved.
// Licensed under the MIT license. See the license.md file in the project root for full license information.
// </copyright>
namespace Microsoft.Extensio... |
Assets/Monobit Unity Networking/Plugins/MonobitNetwork/MonobitNetwork.cs | TUmedu/moonwaker | 0 | 7061765 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace MonobitEngine
{
/// <summary>
/// MonobitNetworkプラグインで使うためのメインクラスです
/// </summary>
public sealed class MonobitNetwork : MonobitEngineBase.MonobitNetwork
{
/// <summary>
/// Monobitサーバーに接続します。
/// <... |
NEL-NFT-DEX/NEL-NFT-DEX/Contract1.cs | NewEconoLab/NEL-NFT-DEX | 1 | 7061766 | <reponame>NewEconoLab/NEL-NFT-DEX<gh_stars>1-10
using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Services.Neo;
using Neo.SmartContract.Framework.Services.System;
using System;
using System.ComponentModel;
using System.Numerics;
using Helper = Neo.SmartContract.Framework.Helper;
/*
交易类型:
NFT兑NEP5:... |
Sources/Sundew.Xaml.Wpf/ThemeManager.cs | hugener/Sundew.Xaml.Optimizations | 5 | 7061767 | <filename>Sources/Sundew.Xaml.Wpf/ThemeManager.cs<gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ThemeManager.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license.... |
Assets/GameScript/Runtime/PatchUpdater/PatchWindow.cs | shonn-coding/YooAsset-Samples | 1 | 7061768 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PatchWindow : MonoBehaviour
{
/// <summary>
/// 对话框封装类
/// </summary>
private class MessageBox
{
private GameObject _cloneObject;
private Text _content;
private Button _btnYes;
... |
Dependencies/AgateLib/Agate031/Source/AgateLib/AudioLib/Music.cs | dtsudo/DT-Danmaku-2 | 1 | 7061769 | <reponame>dtsudo/DT-Danmaku-2
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distribu... |
Tests/TestBlackJack.cs | AdosH1/CardGames | 0 | 7061771 | using System;
using System.Collections.Generic;
using PlayingCards;
using BlackJackGame;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class TestBlackJack
{
[TestMethod]
public void TestDealCards()
{
//Initialise variables
... |
source/Stateless.WorkflowEngine/Exceptions/WorkflowEngineException.cs | cafc79/Stateless.WorkflowEngine | 93 | 7061772 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Stateless.WorkflowEngine.Exceptions
{
public class WorkflowEngineException : Exception
{
public WorkflowEngineException(string message) : base(message)
{
}
public WorkflowE... |
test/Selenium.WebDriver.Extensions.IntegrationTests/Fixtures/ChromeFixture.cs | Softlr/Selenium.WebDriver.Extensions | 28 | 7061773 | <reponame>Softlr/Selenium.WebDriver.Extensions<gh_stars>10-100
namespace Selenium.WebDriver.Extensions.IntegrationTests.Fixtures
{
using System.Diagnostics.CodeAnalysis;
using System.IO;
using OpenQA.Selenium.Chrome;
[ExcludeFromCodeCoverage]
public class ChromeFixture : FixtureBase
{
p... |
01. Introduction to Programming/2018/09. Повторения/ConsoleApp6/Program.cs | dimitarminchev/ITCareer | 50 | 7061774 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp6
{
class Program
{
static void Main(string[] args)
{
// 6. Най-малко число
var n = long.Parse(Console.ReadLine());
long m... |
ChoixSejour/Models/Vote.cs | Piercuta/ChoixSejour | 0 | 7061776 | <reponame>Piercuta/ChoixSejour<filename>ChoixSejour/Models/Vote.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChoixSejour.Models
{
public class Vote
{
public int Id { get; set; }
public int SejourId { get; set; }
public Sejour sejour { get; set; ... |
deneme-entity/frmBayiGiris.cs | MehmetEminPolat/ProductSalesAutomation | 0 | 7061777 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Entity.SqlServer;
using System.Drawing;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace deneme_entity
... |
Source/KCSG/ScenPart/ScenPart_AddStartingStructure.cs | AndroidQuazar/VanillaFactionsExpanded-Core | 2 | 7061778 | <reponame>AndroidQuazar/VanillaFactionsExpanded-Core
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using UnityEngine;
using Verse;
namespace KCSG
{
internal class ScenPart_AddStartingStructure : ScenPart
{
// Gen options
public bool allowFoggedPosition = false;
p... |
ReMi.Api/DataAccess/ReMi.DataAccess/Exceptions/AccountNotFoundException.cs | vishalishere/remi | 1 | 7061779 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using ReMi.BusinessEntities.Auth;
namespace ReMi.DataAccess.Exceptions
{
public class AccountNotFoundException : EntityNotFoundException
{
public AccountNotFoundException(Guid accountId) :
base("Account", accountId)
{
... |
src/Generator.Rewrite/Extensions/MethodDefinitionExtensions.cs | copygirl/opentk | 1 | 7061780 | <reponame>copygirl/opentk
using System.Linq;
using Mono.Cecil;
namespace OpenToolkit.Rewrite.Extensions
{
/// <summary>
/// Provides convenience extension methods for <see cref="MethodDefinition"/> instances.
/// </summary>
public static class MethodDefinitionExtensions
{
/// <summary>
... |
Programming Fundamenals January 2018/01. Hello World/HelloWorld MoreProblems/01. X/Program.cs | delian1986/C-SoftUni-repo | 3 | 7061781 | <reponame>delian1986/C-SoftUni-repo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.X
{
class Program
{
static void Main(string[] args)
{
int figSize = int.Parse(Console.ReadLine());
int o... |
src/MongoRepositories/Mongo/MongoEntity.cs | LykkeCity/bitcoinservice | 8 | 7061782 | <reponame>LykkeCity/bitcoinservice
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace MongoRepositories.Mongo
{
public abstract class MongoEntity
{
[BsonId]
public string ... |
Core/Caching/CacheableViewResult.cs | edurdias/RunningObjects | 4 | 7061783 | <reponame>edurdias/RunningObjects<gh_stars>1-10
using System;
using System.Web.Mvc;
using System.Web.UI;
namespace RunningObjects.Core.Caching
{
public class CacheableViewResult : ViewResult
{
public OutputCacheParameters CacheSettings { get; set; }
public Func<object> ModelAccessor { get; set... |
Assets/DataBindings/Editor/Emitting/MethodMemento.cs | laicasaane/unity-data-binding | 6 | 7061784 | <reponame>laicasaane/unity-data-binding
using System.Collections.Generic;
using Mono.Cecil.Cil;
namespace Realmar.DataBindings.Editor.Emitting
{
internal class MethodMemento
{
internal IReadOnlyList<VariableDefinition> Variables { get; }
internal IReadOnlyList<ExceptionHandler> ExceptionHandlers { get; }
inter... |
TAlex.WPF.Controls/Services/PushBinding/PushBindingManager.cs | T-Alex/WPFControls | 39 | 7061785 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace TAlex.WPF.Services.PushBinding
{
/// <remarks>
/// Based on code from http://meleak.wordpress.com/2011/08/28/onewaytosource-binding-for-readonly-dependency-property/
/// ... |
SeriousGameToolbox/lib/SeriousGameToolbox/Pedagogy/Sessions/Journal/SessionJournal.cs | Groutcho/SeriousGameToolbox | 0 | 7061786 | <filename>SeriousGameToolbox/lib/SeriousGameToolbox/Pedagogy/Sessions/Journal/SessionJournal.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SeriousGameToolbox.Pedagogy.Sessions.Journal
{
public class SessionJournal
{
private List<JournalEvent> entrie... |
Sources/SrkToolkit.ServiceDefinition/Definition.cs | sandrock/SrkToolkit | 1 | 7061787 |
namespace SrkToolkit.ServiceDefinition {
public class Definition {
public string Name { get; set; }
public string Type { get; set; }
public string Namespace { get; set; }
public string Summary { get; set; }
public string AsyncEventType { get; set; }
public s... |
src/restfluencing.Core/Properties/AssemblyInfo.cs | adarmus/RestFluencing | 0 | 7061788 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.9.1.0")]
[assembly: AssemblyFileVersion("0.9.1.0")]
[assembly: AssemblyTitle("RestFluencing")]
[assembly: AssemblyDescription("Framework to help testing Restful APIs in a fluent style t... |
src/Web/CookingHub.Web/Areas/Administration/Views/Articles/ArticleNavPages.cs | dimitarpashov99/CookingHub | 4 | 7061789 | <gh_stars>1-10
namespace CookingHub.Web.Areas.Administration.Views.Articles
{
using CookingHub.Web.Areas.Administration.Views.Shared;
using Microsoft.AspNetCore.Mvc.Rendering;
public class ArticleNavPages : AdminNavPages
{
public static string CreateArticle => "CreateArticle";
public ... |
OneBarker.NamecheapApi/Results/Domains/GetTldListEntry.cs | barkerest/namecheap-api | 0 | 7061790 | using System.Xml;
using OneBarker.NamecheapApi.Utility;
namespace OneBarker.NamecheapApi.Results.Domains;
public class GetTldListEntry : IXmlParseable
{
/// <summary>
/// Indicates the top-level domain.
/// </summary>
public string Name { get; private set; } = "";
/// <summary>
/// Indicates... |
src/Braspag.FluentQueryBuilder/WhereBuilder.cs | Jhonattan-Souza/fluent-query-builder | 0 | 7061791 | <reponame>Jhonattan-Souza/fluent-query-builder
using System;
using System.Text;
namespace Braspag.FluentQueryBuilder
{
public class WhereBuilder
{
private readonly SelectBuilder _selectBuilder;
private readonly StringBuilder _builder;
public WhereBuilder(SelectBuilder selectBuilder, St... |
src/SharpML.Recurrent/Models/GraphCPU.cs | PotaninMarat/SharpML-Recurrent | 0 | 7061793 | <filename>src/SharpML.Recurrent/Models/GraphCPU.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using SharpML.Activations;
using SharpML.DataStructs;
namespace SharpML.Models
{
public class GraphCPU : IGraph
{
public bool ApplyBackprop { get; set; }... |
Resuelto/Assets/Prototipo/Scripts/WaveSpawner.cs | FacundoPB/Unidad1 | 0 | 7061794 | <filename>Resuelto/Assets/Prototipo/Scripts/WaveSpawner.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WaveSpawner : MonoBehaviour
{
public enum SpawnState {SPAWNING,WAITING,COUNTING };
[System.Serializable]
public class Wave
{
public string name... |
Dispatch.cs | coder0xff/pest | 0 | 7061795 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using JetBrains.Annotations;
namespace PrivateInterfaceTester
{
internal static class Dispatch
{
static Dispatch()
{
BuildBinaryOp = BuildBinaryOpImpl;
B... |
AchievementsSystem/Achievement.cs | Steviegt6/CookieClicker | 2 | 7061796 | <filename>AchievementsSystem/Achievement.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace CookieClicker.AchievementsSystem
{
[JsonObject(MemberSerialization.OptIn)]
public class Achievement
{
public delegate void AchievementCompleted(Achievement ach... |
Digimezzo.WPFControls/PageIndicator.cs | digimezzo/WPFControls | 44 | 7061797 | using Digimezzo.WPFControls.Base;
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace Digimezzo.WPFControls
{
public class PageIndicatorItem : PropertyChangedBase
{
private bool isAc... |
TabletopTweaks/NewContent/Races/Elf.cs | justamblingalong/WrathMods-TabletopTweaks | 0 | 7061798 | <filename>TabletopTweaks/NewContent/Races/Elf.cs
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Classes;
using Kingmaker.Blueprints.Classes.Selection;
using Kingmaker.Designers.Mechanics.Buffs;
using Kingmaker.Designers.Mechanics.Facts;
using Kingmaker.EntitySystem.Stats;
using Kingmaker.Enums;
using Kingmaker... |
test/NetCache.SerializerTests/JsonSerializerTest.cs | pengweiqhca/NetCache | 10 | 7061799 | <gh_stars>1-10
using System;
using Xunit;
namespace NetCache.SerializerTests
{
public class JsonSerializerTest
{
[Fact]
public void NewtonsoftJsonTest()
{
var serializer = new NewtonsoftJsonSerializer();
var now = DateTimeOffset.Now;
Assert.Equal(n... |
sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/src/Generated/MachineLearningWorkspaceCollection.cs | sampa-msft/azure-sdk-for-net | 0 | 7061800 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.