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 |
|---|---|---|---|---|
cshaheui/CodePlane.cs | VBChunguk/cshaheui | 4 | 7048437 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CShAheui.Core;
namespace CShAheui.App
{
public class CodePlane
{
private Hangul[][] plane;
public CodePlane(string aheui)
{
string[] code = aheui.Split... |
src/togo.Service/Helper/SercurityHelper.cs | dattrinht/togo | 0 | 7048438 | <filename>src/togo.Service/Helper/SercurityHelper.cs
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace togo.Service.Interface
{
public class SercurityHelper
{
public static string GenerateSalt()
{
var bytes = new byte[128 / 8];
... |
tests/Bot.Builder.Community.Cards.Tests/TestExtensions.cs | coldplaying42/botbuilder-community-dotnet | 240 | 7048439 | using System;
using System.Collections.Generic;
using Bot.Builder.Community.Cards.Management;
using Microsoft.Bot.Builder.Adapters;
namespace Bot.Builder.Community.Cards.Tests
{
public static class TestExtensions
{
public static TestFlow Do(this TestFlow testFlow, Action action)
{
... |
test/PhoneNumbers.Tests/ParseOptionsTests.cs | TrevorPilley/phone-numbers | 0 | 7048440 | <gh_stars>0
using System.Reflection;
namespace PhoneNumbers.Tests;
public class ParseOptionsTests
{
[Fact]
public void Default()
{
Assert.NotNull(ParseOptions.Default);
Assert.Same(ParseOptions.Default, ParseOptions.Default);
var countryInfos = typeof(CountryInfo)
.Get... |
ssr/ssr/ServerEntity.cs | dpzsoft/dotnet-core-ssr | 2 | 7048441 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Sockets;
using System.Text;
namespace ssr {
/// <summary>
/// ssr服务端工作实体
/// </summary>
public class ServerEntity : IDisposable {
// 基础网络通讯流
private NetworkStream _stream;
... |
bibleBooksWPF/ViewModels/DiceBooksHebrewViewModel.cs | kezizhou/bibleBooksChineseGame | 0 | 7048442 | using System;
using System.Collections.Generic;
using System.Windows;
using BibleBooksWPF.Helpers;
using BibleBooksWPF.Views;
namespace BibleBooksWPF.ViewModels {
public class DiceBooksHebrewViewModel : DiceBooksGameViewModel {
public override List<string> lstRemaining { get; set; } = new List<string>(){
"Genes... |
src/Microsoft.IdentityModel.Clients.ActiveDirectory/Internal/AuthorizationStrategies/AuthorizationStrategy.cs | shoatman/azure-activedirectory-library-for-dotnet | 0 | 7048444 | <filename>src/Microsoft.IdentityModel.Clients.ActiveDirectory/Internal/AuthorizationStrategies/AuthorizationStrategy.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.OAuthStrategies;
na... |
tests/Bellatrix.API.Tests/Tests/ApiClientServiceNotAsyncRequestTests.cs | quantum-grit/BELLATRIX | 1 | 7048445 | <reponame>quantum-grit/BELLATRIX<gh_stars>1-10
// <copyright file="ApiClientServiceNotAsyncRequestTests.cs" company="Automate The Planet Ltd.">
// Copyright 2020 Automate The Planet Ltd.
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the Licens... |
AI/Fuzzy/Fuzzyficators/FVector/IFuzzyficator.cs | AIFramework/AIFrameworkOpen | 4 | 7048446 | using AI.DataStructs.Algebraic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AI.Fuzzy.Fuzzyficators.FVector
{
/// <summary>
/// Интерфейс векторного фаззификатора
/// </summary>
public interface IFuzzyficatorVector
{
... |
src/Machete.X12Schema/V5010/Segments/Maps/G86Map.cs | ahives/Machete | 3 | 7048447 | <reponame>ahives/Machete
namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class G86Map :
X12SegmentMap<G86, X12Entity>
{
public G86Map()
{
Id = "G86";
Name = "Signature Identification";
Value(x ... |
cloudservice/SourceCode/Tailspin/Tailspin.Workers.Surveys.Tests/ContainerBootstrapperFixture.cs | msajidirfan/cloud-services-to-service-fabric | 18 | 7048448 | <gh_stars>10-100
namespace Tailspin.Workers.Surveys.Tests
{
using Microsoft.Practices.Unity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tailspin.Workers.Surveys;
using Web.Survey.Shared.Stores;
[TestClass]
public class ContainerBootstrapperFixture
{
[TestMethod]
... |
TEABot/TEAScript/TSValueList.cs | LordPrevious/TEABot | 1 | 7048449 | <reponame>LordPrevious/TEABot
using System.Collections.Generic;
namespace TEABot.TEAScript
{
/// <summary>
/// Common list datastructure for list:* statements
///
/// List items are maps from keys to TSValues.
/// Keys are usually derived from wildcard value names, e.g. with
/// "!da... |
src/CQRS.Dapper/Request/AddBookRequest.cs | andy-williams/dotnet-core-dapper-cqrs | 11 | 7048450 | <reponame>andy-williams/dotnet-core-dapper-cqrs<gh_stars>10-100
namespace CQRS.Dapper.Request
{
public class AddBookRequest
{
public string Title { get; set; }
public string Author { get; set; }
}
} |
src/RefRemap/Remappers/AbstractRemapper.cs | dmirmilshteyn/RefRemap | 0 | 7048451 | <gh_stars>0
using dnlib.DotNet;
using System;
using System.Collections.Generic;
using System.Text;
namespace RefRemap.Remappers
{
public abstract class AbstractRemapper : IRemapper
{
private readonly RemapContext context;
public ModuleDefMD Module => context.Module;
public ModuleDefMD... |
Extensions.System.Text.Json/src/Serialization/DateTimeAsUnixTimeSecondsConverter.cs | smokedlinq/dotnet-extensions | 0 | 7048452 | namespace System.Text.Json.Serialization;
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class DateTimeAsUnixTimeSecondsConverterAttribute : JsonConverterAttribute
{
public DateTimeAsUnixTimeSecondsConverterAttribute()
: base(typeof(DateTimeAsUnixTimeSecondsConv... |
src/MiningCore/Notifications/Messages/PaymentNotification.cs | zhq1/miningcore | 1 | 7048453 | using System;
using System.Collections.Generic;
using System.Text;
namespace MiningCore.Notifications.Messages
{
public class PaymentNotification
{
public PaymentNotification(string poolId, string error, decimal amount, int recpientsCount, string txInfo, decimal? txFee)
{
PoolId = p... |
src/cert-generator/Implementation/CertificateRootAuthority.cs | Altinn/cert-generator | 0 | 7048454 | <reponame>Altinn/cert-generator<gh_stars>0
using CertGenerator.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace CertGenerator.Implementation
{
class Certifi... |
src/QSP/Metar/MetarDownloader.cs | JetStream96/QSimPlanner | 60 | 7048455 | <reponame>JetStream96/QSimPlanner
using static QSP.LibraryExtension.WebRequests;
namespace QSP.Metar
{
public static class MetarDownloader
{
private const string metarUrl = "http://tgftp.nws.noaa.gov/data/observations/metar/stations/";
private const string tafUrl = "http://tgftp.nws.noaa.gov/d... |
Symbioz.Protocol/Binary/ICustomDataInput.cs | CarlCochet/Symbioz | 2 | 7048456 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Symbioz.Utils
{
public interface ICustomDataInput : IDataReader
{
int ReadVarInt();
uint ReadVarUhInt();
short ReadVarShort();
ushort ReadVarUhShort(... |
Packages/InputSystem/Runtime/UnityEvents/PlayerInputUnityEvent.cs | RichLogan/unity-atoms | 461 | 7048458 | <reponame>RichLogan/unity-atoms
using System;
using UnityEngine.Events;
using UnityEngine.InputSystem;
namespace UnityAtoms.InputSystem
{
/// <summary>
/// None generic Unity Event of type `PlayerInput`. Inherits from `UnityEvent<PlayerInput>`.
/// </summary>
[Serializable]
public sealed clas... |
db4o.net/Db4objects.Db4o/native/Db4objects.Db4o/Internal/TagAttribute.cs | iboxdb/db4o-gpl | 24 | 7048459 | <gh_stars>10-100
/* Copyright (C) 2007 Versant Inc. http://www.db4o.com */
using System;
namespace Db4objects.Db4o.Internal
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
public class TagAttribute : Attribute
{
public TagAttribute(string tag)
{
this... |
ToMigrate/Raven.Database/Config/Retriever/ReplicationConflictResolutionConfigurationRetriever.cs | ryanheath/ravendb | 1 | 7048460 | <gh_stars>1-10
using System.IO;
using Raven.Abstractions.Data;
using Raven.Abstractions.Replication;
namespace Raven.Database.Config.Retriever
{
internal class ReplicationConflictResolutionConfigurationRetriever : ConfigurationRetrieverBase<ReplicationConfig>
{
protected override ReplicationC... |
src/core/Akka.Tests/Event/LoggerSpec.cs | marcpiechura/akka.net | 3 | 7048461 | <reponame>marcpiechura/akka.net
//-----------------------------------------------------------------------
// <copyright file="LoggerSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotne... |
Assets/Scripts/Core/API/Data/HighScoreData.cs | Myggski/Krogger | 1 | 7048462 | using Newtonsoft.Json;
namespace FG {
/// <summary>
/// Score information
/// </summary>
public class HighScoreData {
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("score")]
public int Score { get; set; }
public bool IsValid => HighScoreValidator.IsNameValid(Name, HighScoreValid... |
DAT602 Milestone 3 Daniel Ewers/Game Files/DAT602 Assessment Game/DAT602 Assessment Game/dat602_assessmentdb_m2DataSet.Designer.cs | dwewers/DAT602-Assessment-Two---Daniel-Ewers | 0 | 7048463 | <filename>DAT602 Milestone 3 Daniel Ewers/Game Files/DAT602 Assessment Game/DAT602 Assessment Game/dat602_assessmentdb_m2DataSet.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.4... |
Autobuild/StorageScanner.cs | S13B3N/space-engineers | 1 | 7048464 | using Sandbox.ModAPI.Ingame;
using space_engineers.Interface;
using System;
using System.Collections.Generic;
using VRage.Game;
using VRage.Game.ModAPI.Ingame;
namespace space_engineers.Autobuild
{
public class Program : MyGridProgram, ISmallMainProgram
{
//QueueItem[] m_transferItemList = {
// n... |
PMS/PMS-Server/Controllers/ProjectsController.cs | CecoMilchev/project-management-system | 0 | 7048465 | <filename>PMS/PMS-Server/Controllers/ProjectsController.cs
using Microsoft.AspNetCore.Mvc;
using PMS_Server.Data;
using PMS_Server.Data.Contracts;
using PMS_Server.Data.Models;
using PMS_Server.Data.Repositories;
namespace PMS_Server.Controllers
{
[ApiController]
[Route("api/[controller]")]
publi... |
HegoJoko2020/Assets/Scripts/DefenseStances.cs | pLaborderie/confiture-de-jeu | 0 | 7048466 | using System;
using System.Collections.Generic;
using System.Collections;
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
public class DefenseStances : MonoBehaviour
{
public AllDefenseStances[] allDefenseStances;
public GameManager gameManager;
private Dictionary<AllDefenseStances, AllHits[]... |
BelExam/Front/Controllers/HomeController.cs | eiq21/BelExam | 0 | 7048467 | using Autofac.Extras.NLog;
using System;
using System.Web.Mvc;
namespace Front.Controllers
{
public class HomeController : Controller
{
private readonly Client.Contracts.IProductoService _productoProxy;
private readonly ILogger _logger;
public HomeController(Client.Contracts.IProducto... |
src/Tests/Job.cs | approvals/ApprovalTests.Net.NHibernate | 0 | 7048468 | namespace ApprovalTests.NHibernate.Tests
{
public class Job
{
public int Id { get; set; }
public string Title { get; set; }
public int Employee { get; set; }
public string Status { get; set; }
public virtual Employee Employee1 { get; set; }
}
} |
src/EFTools/EntityDesignModel/EFRuntimeModelRoot.cs | sharwell/ef6tools | 9 | 7048469 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.Model
{
using System.Xml.Linq;
internal abstract class EFRuntimeModelRoot : EFNormalizableItem
{
protected EFRunt... |
Core/Messaging/Address2.cs | AeroNexus/AspireStudio | 2 | 7048470 | <reponame>AeroNexus/AspireStudio<filename>Core/Messaging/Address2.cs
using System;
using System.Net;
using System.Net.Sockets;
using Aspire.Core.Utilities;
namespace Aspire.Core.Messaging
{
public class Address2 : Address
{
UInt32 mNda;
UInt16 mNdi, mId;
const int marshalSize = 8;
public Address2()
{... |
FlockingBirds.Configurator/Dependencies/FlockingBirdsExecuter.cs | pwasiewicz/flockingbirds | 0 | 7048471 | <gh_stars>0
namespace FlockingBirds.Configurator.Dependencies
{
using Models;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
public class FlockingBirdsExecuter : IFlockingBirdsExecuter
{
private const string Program... |
CP2077SaveEditor/Views/Form1.cs | MerijnHendriks/CyberCAT-SimpleGUI | 0 | 7048472 | 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.IO;
using CyberCAT.Core.Classes;
using CyberCAT.Core.Classes.NodeRepresentations;
using Cybe... |
AVG/Assets/Naninovel/Editor/ScriptGraph/ScriptGraphState.cs | 286studio/Sim286 | 0 | 7048473 | <reponame>286studio/Sim286
// Copyright 2017-2020 Elringus (<NAME>). All Rights Reserved.
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Naninovel
{
/// <summary>
/// Represents serializable state of <see cref="ScriptGraphView"/>.
/// </summary>
[System.S... |
src/MyChess/Interfaces/MyChessGame.cs | JanneMattila/mychess-powershell | 0 | 7048474 | using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace MyChess.Interfaces
{
public class MyChessGame
{
[JsonPropertyName("id")]
public string ID { get; set; } = string.Empty;
[JsonPropertyName("name")]
public string Name { g... |
DynamicProgrammingLecture/Fibonacci/Program.cs | LuGeorgiev/SoftUniAlgorithms | 0 | 7048475 | <reponame>LuGeorgiev/SoftUniAlgorithms
using System;
using System.Collections.Generic;
namespace Fibonacci
{
class Program
{
private static Dictionary<int, ulong> fibResults = new Dictionary<int, ulong>()
{
{0, 0 },
{1, 1 },
{2, 1 }
};
stati... |
src/AutomatedTesting.Mocks/Emitter/Extensions/ILGeneratorExtensions.Interceptor.cs | git-custom-code/AutomatedTesting | 0 | 7048476 | namespace CustomCode.AutomatedTesting.Mocks.Emitter.Extensions
{
using ExceptionHandling;
using Interception;
using System;
using System.Reflection;
using System.Reflection.Emit;
/// <summary>
/// Extension methods for the <see cref="ILGenerator"/> type.
/// </summary>
public static... |
src/Utils.Tests/Crypto/EntropyCreatorTests.cs | DavidLievrouw/Utils | 0 | 7048477 | using System.Linq;
using System.Text;
using DavidLievrouw.Utils.ForTesting.DotNet;
using NUnit.Framework;
namespace DavidLievrouw.Utils.Crypto {
[TestFixture]
public class EntropyCreatorTests {
EntropyCreator _sut;
[SetUp]
public void SetUp() {
_sut = new EntropyCreator();
}
[Test]
... |
YardDefender/Assets/Scripts/Data/DataService.cs | ErikOverflow/YardDefender | 0 | 7048478 | <reponame>ErikOverflow/YardDefender
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using SQLite4Unity3d;
using UnityEngine;
namespace ErikOverflow.YardDefender
{
public class DataService : MonoBehaviour
{
public static DataService instance;
priv... |
src/Mongo2Go/MongoDbDefaults.cs | nickmkk/Mongo2Go | 3 | 7048479 | namespace Mongo2Go
{
public static class MongoDbDefaults
{
public const string ProcessName = "mongod";
public const string MongodExecutable = "mongod";
public const string MongoExportExecutable = "mongoexport";
public const string MongoImportExecutable = "mo... |
Ying.Weather/App.xaml.cs | Ying-364/Ying.Weather | 0 | 7048480 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Ying.Weather
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... |
CasualGame2/Assets/Scripts/GridPart.cs | JacobusRoos/CasualGame2 | 0 | 7048481 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridPart : MonoBehaviour
{
public GameManager gameManager;
public bool canPlace;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
}
public void P... |
tools/LogViewer/Record.cs | nQuantums/JunkCpp | 0 | 7048482 | <filename>tools/LogViewer/Record.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace LogViewer {
public struct Record {
public const int NoCached = int.MinValue;
public ulong Address;
public int Index;
... |
AdventOfCode/Year2019/Day19.cs | sehra/advent-of-code | 0 | 7048483 | <reponame>sehra/advent-of-code<filename>AdventOfCode/Year2019/Day19.cs
using System.Diagnostics;
using System.Numerics;
namespace AdventOfCode.Year2019;
public class Day19
{
private readonly BigInteger[] _input;
public Day19(string input)
{
_input = input.Split(',').Select(BigInteger.Parse).ToArray();
}
pub... |
src/Luizalabs.Challenge/Luizalabs.Challenge.Contracts/v1/Requests/BrandPost.cs | juloliveira/luizalabs | 0 | 7048484 | using Luizalabs.Challenge.Core;
namespace Luizalabs.Challenge.Contracts.v1.Requests
{
public class BrandPost
{
public string Name { get; set; }
public Brand CreateDomain()
{
return new Brand { Name = this.Name };
}
}
}
|
Assets/Editor/ProceduralPlaneWizard.cs | alelievr/Ludum-Dare-41 | 0 | 7048485 | <reponame>alelievr/Ludum-Dare-41
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class ProceduralPlaneWizard : ScriptableWizard
{
public Material material;
[Space]
public int sizeX;
public int sizeY;
[MenuItem("GameObject/Procedural Plane",... |
Scripts/MiddleScreenMessage.cs | markcodedesign/unity-space-shooter | 0 | 7048486 | using UnityEngine;
using System.Collections;
public class MiddleScreenMessage : MonoBehaviour {
private float quadHeight;
private float quadWidth;
private float quadOrigHeight;
private float quadOrigWidth;
private float quadRatio;
private float quadDesiredSize;
private Vector3[] quadVertices;
public MeshFil... |
src/Common/Application/Common/Interfaces/IApplicationDbContext.cs | ntitsolutins01/TesteMarfrig | 0 | 7048487 | using System.Threading;
using System.Threading.Tasks;
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace Application.Common.Interfaces
{
public interface IApplicationDbContext
{
DbSet<CompraGadoItem> CompraGadoItems { get; set; }
DbSet<Pecuarista> Pecuaristas { get; set; }
... |
Examples/Wpf/CartesianChart/AxisFixedWidth/AxisFixedWidthExample.xaml.cs | matsydoodles/Live-Charts | 0 | 7048488 | <reponame>matsydoodles/Live-Charts
using System;
using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Media;
using LiveCharts;
using LiveCharts.Wpf;
namespace Wpf.CartesianChart.AxisFixedWidth
{
/// <summary>
/// Interaction logic for WindowAxisExample.xaml
/// </summary>
... |
src/SimpleS3.Extensions.ProfileManager/DiskStorageOptions.cs | Genbox/SimpleS3-Ext | 22 | 7048489 | <filename>src/SimpleS3.Extensions.ProfileManager/DiskStorageOptions.cs
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Genbox.SimpleS3.Extensions.ProfileManager
{
public class DiskStorageOptions
{
public static string DefaultLocation => RuntimeInformation.IsOSPla... |
Zermelo.App.UWP/Schedule/AppointmentsObserver.cs | arthurrump/Zermelo.App.UWP | 6 | 7048490 | <filename>Zermelo.App.UWP/Schedule/AppointmentsObserver.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NodaTime;
using Windows.UI.Popups;
using Zermelo.App.UWP.Helpers;
namespace Zermelo.App.UWP.Schedul... |
AutoLineColor/Coloring/UsedColors.cs | yackimoff/CitiesSkylinesAutoLineColorModEx | 5 | 7048491 | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace AutoLineColor.Coloring
{
internal class UsedColors : IUsedColors
{
private readonly Dictionary<Color32, int> _dict;
public static IUsedColors FromLines(TransportLine[] lines)
{
var result = n... |
Runtime/WidgetSize.cs | codewriter-packages/UniMob.UI | 20 | 7048493 | <filename>Runtime/WidgetSize.cs
using UnityEngine;
namespace UniMob.UI
{
public struct WidgetSize
{
public float MinWidth { get; }
public float MinHeight { get; }
public float MaxWidth { get; }
public float MaxHeight { get; }
public static WidgetSize Zero { get; } = new... |
XIV-Hunt/XIVAPI.cs | nazgulsenpai/XIV-Hunt | 0 | 7048494 | <filename>XIV-Hunt/XIVAPI.cs
namespace XIVAPI
{
public class Item
{
public string Name { get; set; }
public byte Rarity { get; set; }
public uint ID { get; set; }
public bool CanBeHq { get; set; }
}
}
|
src/server/Modules/Catalog/Modules.Catalog.Core/Features/Brands/Queries/GetBrandImageQuery.cs | akash4gb/fluentpos | 1 | 7048495 | using FluentPOS.Shared.Core.Wrapper;
using MediatR;
using System;
namespace FluentPOS.Modules.Catalog.Core.Features.Brands.Queries
{
public class GetBrandImageQuery : IRequest<Result<string>>
{
public Guid Id { get; }
public GetBrandImageQuery(Guid brandId)
{
Id = brandId;... |
src/AYSOScoreSheetGenerator.Services/PointsAdjustmentSheetService.cs | howcheng/AYSOScoreSheetGenerator | 0 | 7048496 | using AYSOScoreSheetGenerator.Objects;
using Google.Apis.Sheets.v4.Data;
using GoogleSheetsHelper;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using StandingsGoogleSheetsHelper;
namespace AYSOScoreSheetGenerator.Services
{
/// <summary>
/// Base service class to build sheets where users ... |
404-App/Formularios/FrmNotificacionExito.cs | Jose-LeonJL/404 | 0 | 7048497 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _404_App.Formularios
{
public partial class FrmNotif... |
src/Sidekick.Infrastructure/PoeApi/Items/Metadatas/Models/ApiCategory.cs | pobiega/Sidekick | 440 | 7048498 | using System.Collections.Generic;
namespace Sidekick.Infrastructure.PoeApi.Items.Metadatas.Models
{
/// <summary>
/// Uniques
/// Armour
/// Cards
/// Gems
/// Jewels
/// Maps
/// Weapons
/// Prophecies
/// Itemised Monsters
/// Watchstones
/// </summary>
public clas... |
DeconTools.Workflows/TargetedWorkflowConsole/Program.cs | PNNL-Comp-Mass-Spec/DeconTools | 10 | 7048499 | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Xml.Linq;
using DeconTools.Backend.Runs;
using DeconTools.Backend.Utilities;
using DeconTools.Backend.Utilities.IqLogger;
using DeconTools.Utilities;
using DeconTools.Workflows.Backe... |
code/Stargates/DHDLinkTool.cs | francodml/sandbox | 0 | 7048500 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox;
using Sandbox.Tools;
namespace winsandbox.Stargates
{
[Library("tool_dhdlinker", Title = "DHD Linker", Description = "Link your DHD to your gate", Group = "stargate")]
public partial cl... |
essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/Interfaces/IHasMeetingLock.cs | jakewwoods/Essentials | 0 | 7048501 | <filename>essentials-framework/Essentials Devices Common/Essentials Devices Common/VideoCodec/Interfaces/IHasMeetingLock.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using PepperDash.Essentials.Core;
namespace PepperDash.Essentials.Devices.Common.... |
ApprovalUtilities.Tests/Utilities/ClipboardUtilitiesTest.cs | RasheR666/ApprovalTests.Net-3.0.13 | 0 | 7048503 | <gh_stars>0
using System.Windows.Forms;
using ApprovalUtilities.Utilities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ApprovalUtilities.Tests.Utilities
{
[TestClass]
public class ClipboardUtilitiesTest
{
// This messes up your clipboard
[Ignore]
[TestMethod]
public void TestC... |
Editor/Formatter.cs | Sarofc/com.saro.behaviortree | 1 | 7048504 | //using Bonsai.Core;
using UnityEngine;
namespace Saro.BT.Designer
{
/// <summary>
/// Provides utilities to format the visual tree in editor.
/// </summary>
public static class Formatter
{
/// <summary>
/// Formats the tree to look nicely.
/// </summary>
public static void PositionNodesNice... |
src/GraphQLParser/Token.cs | graphql-dotnet/parser | 185 | 7048506 | using System;
namespace GraphQLParser
{
/// <summary>
/// Represents a lexical token within GraphQL document.
/// </summary>
public readonly struct Token
{
/// <summary>
/// Initializes a new instance with the specified properties.
/// </summary>
public Token(TokenKi... |
Nustache.Compilation.Tests/Mustache_Spec/MustacheSpec.cs | invio/Nustache | 321 | 7048507 | <filename>Nustache.Compilation.Tests/Mustache_Spec/MustacheSpec.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json.Linq;
using System.Reflection;
using System.Web.Script.Serialization;
using System.Text.RegularExpressions;
namespace Nustache... |
WpfMVVM/UserDetailDialogs/UserDetailDialogViewModel.cs | nakamurakko/WpfMVVMStudy | 0 | 7048510 | using Prism.Commands;
using Prism.Mvvm;
using Prism.Services.Dialogs;
using SampleModule.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace WpfMVVM.UserDetailDialogs
{
/// <summary>
/// ユーザー詳細画面用 ViewModel。
/// </summary>
/// <remarks>
/// https://prismlibrary.... |
UI/ViewModel/LightUserViewModel.cs | abdullahgb/Peer2PeerChat | 181 | 7048511 | <reponame>abdullahgb/Peer2PeerChat
using Engine.Model.Client;
using Engine.Model.Common.Entities;
using UI.Infrastructure;
using WPFColor = System.Windows.Media.Color;
namespace UI.ViewModel
{
public class LightUserViewModel : BaseViewModel
{
public UserId UserId { get; private set; }
public bool IsFake {... |
tests/ImageSharp.Tests/Formats/Jpg/JpegMetadataTests.cs | frankracis-work/ImageSharp | 4,874 | 7048512 | <reponame>frankracis-work/ImageSharp
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Formats.Jpeg;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Formats.Jpg
{
[Trait("Format", "Jpg")]
public class JpegMetadataTests
{
[Fact]
public ... |
Examples/CSharp/Articles/AddWordArtTextWithBuiltinStyle.cs | sergioruizdeveloper/Aspose.Cells-for-.NET | 157 | 7048513 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aspose.Cells.Drawing;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class AddWordArtTextWithBuiltinStyle
{
public static void Run()
{
//Output directory
string outputD... |
src/PocoEx.CodeAnalysis/Resources.Designer.cs | dai-okuno/PocoEx | 0 | 7048514 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//---------------------------------------------... |
Hotel Management System1 Lab 4/Room.cs | turna62/SWE4202-OOC-Lab | 0 | 7048515 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hotel_Management_System_Lab_4
{
internal class Room
{
public string name;
public int quantity;
public int tv=1;
public int refrigerator=1;
publi... |
SparkyTestHelpers.Populater.UnitTests/TestClasses/TestChildThing.cs | BrianSchroer/dotnet-test-helpers | 4 | 7048516 | using System;
namespace SparkyTestHelpers.Populater.UnitTests.TestClasses
{
public class TestChildThing
{
public string String1 { get; set; }
public string String2 { get; set; }
public int Int1 { get; set; }
public int Int2 { get; set; }
public decimal Decimal1 { get; s... |
Address.cs | shoumithc/Algorithms | 0 | 7048517 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
public class Address
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public bool CheckIfDatesOverlap(... |
core/Brochure.ORM/Querys/Query1.cs | mingyaaaa/Brochure | 3 | 7048518 | <filename>core/Brochure.ORM/Querys/Query1.cs
using System;
using System.Linq;
using System.Linq.Expressions;
namespace Brochure.ORM.Querys
{
/// <summary>
/// The query.
/// </summary>
public class Query<T1> : Query, IQuery<T1>, IWhereQuery<T1>
{
/// <summary>
/// Selects the.
... |
src/Opdex.Platform.WebApi/Validation/NetworkAddressOrEmptyValidator.cs | Opdex/opdex-v1-api | 7 | 7048519 | using FluentValidation;
using FluentValidation.Validators;
using Opdex.Platform.Common.Models;
namespace Opdex.Platform.WebApi.Validation;
public class NetworkAddressOrEmptyValidator<T> : PropertyValidator<T, Address>, INetworkAddressOrEmptyValidator
{
public override string Name => "NetworkAddressOrEmpty";
... |
tools/Deroute/FormEntityLocator.cs | rdacomp/REVERSE_PS1 | 11 | 7048520 | <gh_stars>10-100
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 DerouteSharp
{
public partial class FormEntityLocator : Form
{
... |
src/IDtColumn.cs | onurcanyilmaz/Ocy.Jquery.DataTable.AspNetCore.Extension | 0 | 7048521 | namespace src
{
public interface IDtColumn
{
public string Data { get; set; }
public string Name { get; set; }
public bool Orderable { get; set; }
public bool Searchable { get; set; }
public DtSearch Search { get; set; }
}
} |
TargetHound.Calcualtions/PlaneDistanceCalculator.cs | DeyanParushev/TargetHound | 1 | 7048522 | <gh_stars>1-10
namespace TargetHound.Calcualtions
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TargetHound.DTOs;
public class PlaneDistanceCalculator
{
protected CoordinatesSetter coordinateSetter;
protected IL... |
backend/Bindings/Edna.Bindings.LtiAdvantage/Services/LtiResourceLinkRequestClient.cs | markpatterson27/Learn-LTI | 87 | 7048523 | // --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
using System.Security.Cla... |
src/prod/src/managed/powershell/RemoveServiceFabricLeaseBehavior.cs | gridgentoo/ServiceFabricAzure | 2,542 | 7048524 | <reponame>gridgentoo/ServiceFabricAzure<gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// -------------------------------------... |
src/apps/PingYourPackage.API.Model/Dtos/AffiliateDto.cs | tugberkugurlu/PingYourPackage | 39 | 7048525 | using System;
using WebApiDoodle.Net.Http.Client.Model;
namespace PingYourPackage.API.Model.Dtos {
public class AffiliateDto : IDto {
public Guid Key { get; set; }
public string CompanyName { get; set; }
public string Address { get; set; }
public string TelephoneNum... |
GummyBearKingdom/GummyBearKingdom/Migrations/20180420223023_AddAuthorToBlog.cs | camander321/GummyBearKingdom | 0 | 7048526 | using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace GummyBearKingdom.Migrations
{
public partial class AddAuthorToBlog : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<stri... |
WorkingWithGestures/DragAndDropGesture/DragAndDropGesture/CustomDataPackageViewModel.cs | MiaHub/xamarin-forms-samples | 4,601 | 7048527 | using System.Windows.Input;
using Xamarin.Forms;
namespace DragAndDropGesture
{
public class CustomDataPackageViewModel
{
Square draggedSquare;
public ICommand DragStartingCommand => new Command<Square>(RegisterDragData);
public ICommand DropCommand => new Command<Square>(ProcessDrop)... |
AtomScript/Compiler/CompileError.cs | kongyt/AtomScript | 0 | 7048528 | <reponame>kongyt/AtomScript
using System;
using System.Collections.Generic;
using System.Text;
namespace AtomScript.Compiler {
class CompileError {
public int line;
public int column;
public string message;
public CompileError(int line, int column, string message) {
th... |
src/Leftware.Tools.UI/Tasks/General/ExecuteCommandConsoleTask.cs | jhonnycano/leftware-tools | 0 | 7048529 | <gh_stars>0
using System;
using System.Collections.Generic;
using Leftware.Common;
using Leftware.Common.Tasks;
using Leftware.Common.Tasks.ConsolePlugin;
using Leftware.Common.Tasks.TaskParameters;
namespace Leftware.Tools.UI.Tasks.General
{
[Descriptor("ExecuteCommand", "Execute - Execute cli command")]
int... |
Moolah/Moolah/PayPal/RecurringProfile.cs | vo-ch/Moolah | 13 | 7048530 | <reponame>vo-ch/Moolah<filename>Moolah/Moolah/PayPal/RecurringProfile.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Moolah.PayPal
{
[Serializable]
public class RecurringProfile
{
public RecurringProfile()
{
CurrencyCodeType =... |
src/OdjfsScraper/Synchronize/IChildCareSynchronizer.cs | SmartRoutes/OdjfsScraper | 1 | 7048531 | <reponame>SmartRoutes/OdjfsScraper
using System.Threading.Tasks;
using OdjfsScraper.Database;
namespace OdjfsScraper.Synchronize
{
public interface IChildCareSynchronizer
{
Task UpdateNextChildCare(OdjfsContext ctx);
Task UpdateChildCare(OdjfsContext ctx, string externalUrlId);
}
} |
src/Backend/BookShop.Application.Abstraction/IAppLogger.cs | Rosen369/bookShopOnWeb | 1 | 7048532 | <reponame>Rosen369/bookShopOnWeb
using System;
using System.Collections.Generic;
using System.Text;
namespace BookShop.Application.Abstraction
{
public interface IAppLogger<T>
{
void Debug(object message);
void Debug(object message, Exception exception);
void DebugFormat(string forma... |
Assets/Scripts/Tuto/DialogueDataItem.cs | louis-bompart/8INF830 | 1 | 7048533 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class DialogueDataItem
{
public string _ID;
public string _Text;
public float _displayTime;
public string _ClipAudio;
public string ID
{
get
{
... |
openapi-excel/ExcelSheetWriter.cs | xlapi/openapi-swagger | 1 | 7048534 | using ExcelDna.Integration;
using Microsoft.Office.Interop.Excel;
using Microsoft.OpenApi.Models;
using System.Linq;
using System.Windows.Forms;
using ComApp = Microsoft.Office.Interop.Excel.Application;
namespace openapi_excel
{
class ExcelSheetWriter
{
public static void WriteDocumentationSheet()
... |
SpssLib/FileParser/Records/HeaderRecord.cs | Easy-DDI-Organizer/EDO | 0 | 7048535 | <filename>SpssLib/FileParser/Records/HeaderRecord.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Diagnostics;
namespace SpssLib.FileParser.Records
{
public class HeaderRecord
{
// char[60] prod_name
public strin... |
SharpRuleEngine/GlobalRules.cs | Blecki/SharpRuleEngine | 2 | 7048536 | <filename>SharpRuleEngine/GlobalRules.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace SharpRuleEngine
{
public class RuleAssembly
{
public Assembly Assembly;
public String Ba... |
UnityProject/Packages/LittleBaby.Framework.Core/Runtime/Core/UnityEngine/Component/Joystick/Joystick.cs | zengliugen/LittleBaby.Framework | 0 | 7048537 | namespace LittleBaby.Framework.Core
{
using System;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public enum ELBJoystickLimitAreaType
{
Rectangle,
Circle... |
Whiteboard.Isolated/UserCanvas/ShapeResizeThumb.cs | culmencasa/Whiteboard.Isolated | 1 | 7048538 | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Whiteboard.Isolated.Ink;
namespace Whiteboard.Isolated.UserCanvas
{
public class ShapeResizeThumb : Thumb
{
private Point _transformOrigin;
private Sh... |
ErsatzTV.Core/Domain/PlayoutProgramScheduleAnchor.cs | kegbeach/ErsatzTV | 0 | 7048539 | <reponame>kegbeach/ErsatzTV<gh_stars>0
using Destructurama.Attributed;
namespace ErsatzTV.Core.Domain;
public class PlayoutProgramScheduleAnchor
{
public int Id { get; set; }
public int PlayoutId { get; set; }
[NotLogged]
public Playout Playout { get; set; }
public int ProgramScheduleId { get; ... |
06. StringsAndTextProcessing/Test05.ParseTags/TEST.cs | DanielaIvanova/04.CSharp-Advanced | 5 | 7048540 | using System;
using System.Collections.Generic;
using System.Text;
public class Program
{
private const string StartTag = "<upcase>";
private const string EndTag = "</upcase>";
public static void Main(string[] args)
{
var text = Console.ReadLine();
var indexes = FindTextIndexesBetween... |
SystemSpecs.Core/Enums/ICMIntent.cs | schdck/SystemSpecs | 0 | 7048541 | <filename>SystemSpecs.Core/Enums/ICMIntent.cs
using System.ComponentModel;
namespace SystemSpecs.Core.Enums
{
public enum ICMIntent
{
[Description("Saturation")]
Saturation = 1,
[Description("Contrast")]
Contrast,
[Description("Exact Color")]
ExactColor,
}... |
archive/Changesets/mbf-76446/V1/MBF/MBF.Test/AlignerTest.cs | jdm7dv/Microsoft-Biology-Foundation | 0 | 7048542 | <reponame>jdm7dv/Microsoft-Biology-Foundation<gh_stars>0
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHE... |
WorkingWithTriggers/WorkingWithTriggers/TriggerActions/FadeTriggerAction.cs | bozhiqian/xamarin-forms-samples | 0 | 7048543 | <gh_stars>0
using Xamarin.Forms;
namespace WorkingWithTriggers.TriggerActions
{
public class FadeTriggerAction : TriggerAction<VisualElement>
{
public FadeTriggerAction()
{
}
public int StartsFrom { set; get; }
protected override void Invoke (VisualElement visual)
{
visual.Animate("0", new An... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.