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 |
|---|---|---|---|---|
Technology-Fundamentals-with-C#/Labs-And-Homeworks/ArraysLab/08CondenseArrayToNumber/Program.cs | veloman86/SoftUni-Software-Engineering | 1 | 7050766 | using System;
using System.Linq;
namespace _08CondenseArrayToNumber
{
class Program
{
static void Main(string[] args)
{
int[] numbers = Console.ReadLine().Split().Select(int.Parse).ToArray();
int[] condensed = new int[numbers.Length - 1];
if (numbers.Length... |
Mors.Maybes.Test/Formatting/Tests_of_conversion_to_string.cs | morsiu/Maybes | 0 | 7050767 | using NUnit.Framework;
namespace Mors.Maybes.Test.Formatting
{
public sealed class Tests_of_conversion_to_string
{
private static Maybe<T> Instance<T>(T x) => new Maybe<T>(x);
private static Maybe<T> Instance<T>() => new Maybe<T>();
[Test]
public void ToString_with_maybe_with_... |
ClubPenguin.Net.Domain/PCProductContext.cs | smdx24/CPI-Source-Code | 8 | 7050768 | <filename>ClubPenguin.Net.Domain/PCProductContext.cs
// PCProductContext
using ClubPenguin.Net.Domain;
using System;
using System.Collections.Generic;
[Serializable]
public struct PCProductContext
{
public List<PCOrderablePricePlan> OrderablePricingPlans;
public long ProductId;
}
|
src/FlubuCore/Context/Attributes/BuildProperties/BuildDirAttribute.cs | jenzy-forks/flubu.core | 606 | 7050769 | using System;
using System.Collections.Generic;
using System.Text;
namespace FlubuCore.Context.Attributes.BuildProperties
{
/// <summary>
/// Get or sets BuildDir from build properties session.
/// </summary>
public class BuildDirAttribute : BuildPropertyAttribute
{
public BuildDirAttribu... |
src/Messaging/src/MessagingBase/MessagingException.cs | SteeltoeOSS/steeltoe | 295 | 7050770 | <reponame>SteeltoeOSS/steeltoe
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
namespace Steeltoe.Messaging;
public class MessagingException ... |
Source/Utilities/Math128.cs | Shiroechi/Litdex.Utilities | 0 | 7050771 | namespace Litdex.Utilities
{
/// <summary>
/// Provide 128 it math operations
/// </summary>
public static class Math128
{
/// <summary>
/// Do multiplication of 2 <see cref="ulong"/>.
/// </summary>
/// <param name="x">
/// Number to multiply.
/// </param>
/// <param name="y">
/// Number to m... |
src/Amazon.DynamoDb/BatchResult.cs | jweissBHG/Amazon | 0 | 7050772 | using System;
namespace Amazon.DynamoDb
{
public class BatchResult
{
public TimeSpan ResponseTime { get; set; }
public int BatchCount { get; set; }
public int ItemCount { get; set; }
public int ErrorCount { get; set; }
public int RequestCount { get; se... |
Model/State.cs | TalkTakesTime/LiveSplit.VampireSurvivors | 2 | 7050773 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using LiveSplit.VampireSurvivors.Model.SaveData;
using Newtonsoft.Json;
namespace LiveSplit.VampireSurvivors.Model {
public class State {
private const int TargetKills = 100_000;
private const int Ta... |
test/Lokad.ILPack.Tests/AssemblyGeneratorTest.cs | cm4ker/ILPack | 1 | 7050774 | <reponame>cm4ker/ILPack<filename>test/Lokad.ILPack.Tests/AssemblyGeneratorTest.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.Serialization;
using Xunit;
namespace Lokad.IL... |
SelectVertexOutput/Main.cs | Inwerwm/PEPSelectVertexIO | 0 | 7050775 | <filename>SelectVertexOutput/Main.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PEPlugin;
using PEPlugin.Pmx;
namespace SelectVertexOutput
{
public class SelectVertexOutput : PEPluginClass
{
public SelectVert... |
src/Huge Code Base/Open Judge System/Tests/OJS.Common.Tests/StringExtensions/StringToUrlTests.cs | gnusmas12/MyTested.AspNet.TV | 439 | 7050776 | namespace OJS.Common.Tests.StringExtensions
{
using NUnit.Framework;
using OJS.Common.Extensions;
[TestFixture]
public class StringToUrlTests
{
[Test]
public void ToUrlMethodShouldReturnProperCSharpText()
{
var original = "SomeUrlWithC#InIt";
var r... |
Htk/Sources/TextRendering.cs | bosoni/htk | 1 | 7050777 | using System;
using System.Drawing;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
namespace Htk
{
/// <summary>
/// Uses System.Drawing for 2d text rendering.
/// </summary>
public class TextRenderer : IDisposable
{
public static Font FontSerif = new Font(FontFamily.Ge... |
TD/Dynamic/CExtender.cs | yz1988computer/TD | 0 | 7050778 | <filename>TD/Dynamic/CExtender.cs
namespace TD.Dynamic
{
internal static class CExtender
{
/// <summary>
/// Toes the specified obj.
/// </summary>
/// <typeparam name="T">The target type.</typeparam>
/// <param name="obj">The obj.</param>
/// <returns></returns>
public static T To<T>(this object obj)
... |
src/IdS4/IdS4.Application/Models/Client/VmClientGrantType.cs | RajeshJs/IdS4.Management | 1 | 7050779 | <filename>src/IdS4/IdS4.Application/Models/Client/VmClientGrantType.cs
namespace IdS4.Application.Models.Client
{
public class VmClientGrantType
{
public int Id { get; set; }
public string GrantType { get; set; }
public int ClientId { get; set; }
public VmClientGrantType()
... |
CSharp - Unit Testing/WorkShop - Academy - Live Demo/Academy.Tests/Commands/Adding/AddStudentToCourseCommandTests/AddStudentToCourseExecute_Should.cs | Camyul/Modul_2_CSharp | 0 | 7050780 | using Academy.Commands.Adding;
using Academy.Core.Contracts;
using Academy.Models.Contracts;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Academy.Tests.Commands.Adding.AddStudentToCourseCommandTests
{
[TestFixture]
public class AddStudentToCourseExecute_Should ... |
Bssom.Serializer/BssMap/BssMapHead.cs | LeoYang-Chuese/Bssom.Net | 0 | 7050781 | //using System.Runtime.CompilerServices;
namespace Bssom.Serializer.BssMap
{
internal struct BssMapHead
{
public int DataLength;
public int ElementCount;
public int MaxDepth;
public int RouteLength;
public static BssMapHead Read(ref BssomReader reader)
{
... |
PizzaBox.Domain/User.cs | vitrv/Revature-P0 | 0 | 7050782 | <reponame>vitrv/Revature-P0
using System.Collections.Generic;
namespace PizzaBox.Domain
{
public class User
{
public string Username {get; set;}
public List<Order> orderlog;
public User(string _name)
{
Username = _name;
orderlog = new List<Order>();
}
}
} |
Programming/HighQualityProgrammingCode/HighQualityCodeExam/CalendarSystemTests/EventsManagerFastTest.cs | d-georgiev-91/TelerikAcademy | 2 | 7050783 | <reponame>d-georgiev-91/TelerikAcademy
using CalendarSystem;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace CalendarSystemTests
{
[TestClass]
public class EventsManagerFastTest
{
[TestMethod]
public void AddEventTest()
... |
test/Helpers.cs | hanabi1224/CommandLine | 0 | 7050784 | <filename>test/Helpers.cs
using Xunit;
using System;
using System.Collections.Generic;
using OutputColorizer;
using System.IO;
using System.Reflection;
namespace CommandLine.Tests
{
class Helpers
{
public static string GetTestLocation()
{
return AppDomain.CurrentDomain.BaseDirector... |
src/VSCommandTable.cs | madskristensen/ToggleFeatures | 30 | 7050785 | // ------------------------------------------------------------------------------
// <auto-generated>
// This file was generated by VSIX Synchronizer
// </auto-generated>
// ------------------------------------------------------------------------------
namespace MadsKristensen.ToggleFeatures
{
using System;
... |
src/MVCDatatables.Web/App_Start/BundleConfig.cs | devston/jQuery-datatables-dotnet-mvc-component | 0 | 7050786 | using System.Web.Optimization;
namespace MVCDatatables.Web
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/... |
src/DotNetOpenAuth/Messaging/MessagingUtilities.cs | slluis/dotnetopenid | 0 | 7050787 | //-----------------------------------------------------------------------
// <copyright file="MessagingUtilities.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Messaging {
using... |
Other/TYPICAL90/Tests/BNTests.cs | AconCavy/atcoder-challenges-cs | 0 | 7050788 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class BNTests
{
const int TimeLimit = 2000;
const double RelativeError = 1e-7;
[TestMethod, Timeout(TimeLimit)]
public void Test1()
{
const string input = @"2
1 2
1 ... |
src/VSTOContrib.Core/Helpers/PictureConverter.cs | draganjovanovic1/VSTOContrib | 100 | 7050789 | <reponame>draganjovanovic1/VSTOContrib
using System.Drawing;
using System.Windows.Forms;
using stdole;
namespace VSTOContrib.Core.Helpers
{
/// <summary>
/// Converts Images to stdole pictures
/// </summary>
public class PictureConverter : AxHost
{
private PictureConverter() : base(string.... |
ReplaceCode.Base/BaseSettings.cs | lpubsppop01/ReplaceCode | 0 | 7050790 | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Text;
namespace Lpubsppop01.ReplaceCode
{
[DataContract]
public class BaseSettings
{
#region Constructor
public BaseSett... |
Src/CTS.W.150501/CTS.W.150501.Models/Domain/Dao/Admin/MasterCategoriesDao.cs | ctsoftvn/cts-w-1505-01 | 0 | 7050791 | using System;
using System.Collections.Generic;
using System.Data.Common;
using CTS.Com.Domain.Helper;
using CTS.Com.Domain.Model;
using CTS.Data.Domain.Constants;
using CTS.Data.Domain.Dao;
using CTS.W._150501.Models.Domain.Common.Constants;
using CTS.W._150501.Models.Domain.Common.Dao;
using CTS.W._150501.M... |
MockResponse.Web/Views/Admin/List.cshtml | Orbittman/MockResponse | 1 | 7050792 | @model MockResponse.Web.Models.ListResponseViewModel;
@using MockResponse.Core.Models;
@using MockResponse.Web.Controllers;
@using MockResponse.Web.Infrastructure;
<nav>
<ul>
<li>@(Url.Action<AdminController>(c => c.Edit(null), "Add", new { responseId = "new"}))</li>
</ul>
</nav>
<ul>
@foreach(var resp... |
src/Api/src/Tests/Unit/dueltank.domain.unit.tests/ServiceTests/BanlistServiceTests.cs | fablecode/dueltank | 0 | 7050793 | using dueltank.core.Models.Search.Banlists;
using dueltank.Domain.Repository;
using dueltank.Domain.Service;
using dueltank.tests.core;
using NSubstitute;
using NUnit.Framework;
using System.Threading.Tasks;
namespace dueltank.domain.unit.tests.ServiceTests
{
[TestFixture]
[Category(TestType.Unit)]
public... |
build.cake | OctopusDeploy/Octopus.Dependencies.AzurePS | 0 | 7050794 | <filename>build.cake
//////////////////////////////////////////////////////////////////////
// TOOLS
//////////////////////////////////////////////////////////////////////
#tool "nuget:?package=Newtonsoft.Json"
#addin "Cake.Http"
using Path = System.IO.Path;
using IO = System.IO;
using System.Text.RegularExpressions;
... |
src/Tedchain.BitcoinGateway/InboundTransaction.cs | tedchain/sidechain-pegging-gateway | 3 | 7050795 | <filename>src/Tedchain.BitcoinGateway/InboundTransaction.cs
// Copyright (c) 2010-2018 The Bitcoin developers
// Original code was distributed under the MIT software license.
// Copyright (c) 2014-2018 TEDLab Sciences Ltd
// Tedchain code distributed under the GPLv3 license, see COPYING file.
using System;
using Syst... |
BizHawk.Emulation.Cores/ExternalCores/ExternalCore.cs | Moliman/BizHawk | 29 | 7050796 | using System;
using System.Security;
using System.Threading;
using System.Text;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
using System.Linq;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Collections.Generic;
namespac... |
11. Arrays - Lab/ReverseArrayOfIntegers/StartUp.cs | VeselinBPavlov/programming-fundamentals | 2 | 7050798 | namespace ReverseArrayOfIntegers
{
using System;
public class StartUp
{
public static void Main()
{
var arraySize = int.Parse(Console.ReadLine());
var arrayOfNumbers = new int[arraySize];
for (int i = 0; i < arraySize; i++)
{
... |
Source/JdSdk/domain/weigou/PaymentShipmentExportService/GetPaymentListResult.cs | starpeng/JdSdk2 | 11 | 7050799 | <reponame>starpeng/JdSdk2<filename>Source/JdSdk/domain/weigou/PaymentShipmentExportService/GetPaymentListResult.cs<gh_stars>10-100
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace JdSdk.Domain.Weigou.PaymentShipmentExportServic... |
Reload.Web/Grid.cs | DamianReloaded/WebFormsProgramatically | 0 | 7050800 | <reponame>DamianReloaded/WebFormsProgramatically<filename>Reload.Web/Grid.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web... |
ParticlePhysics/Neutron.UnitTests/Utilities/TimerUtility.cs | kevinkabatra/Kabatra.ParticlePhysics | 0 | 7050801 | namespace SubatomicParticles.UnitTests.Utilities
{
using System.Timers;
/// <summary>
/// Utility for getting a timer to fire immediately and then waiting a predetermined amount.
/// <para>Note: Once the timer goes off the logic that is triggered will tke n-amount of time. Currently I have
///... |
QMKLib/Keys/KeyCode.cs | piksel/QMKLib | 0 | 7050802 | namespace KeyChart.Keyboards.QMK
{
public enum KeyCode
{
NO = 0x00,
ROLL_OVER,
POST_FAIL,
UNDEFINED,
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L,
M, // 0x10
N,
O,
P,
Q,
R,
S,
T,
U,
V,
W,
X,
Y,
Z,
... |
JustDecompileEngine-master/JustDecompileEngine-master/EngineInfrastructure/AssemblyLocators/Silverlight/SilverlightX64AssembliesLocator.cs | nguyenthiennam1992/decompiler | 0 | 7050803 | using Mono.Cecil.AssemblyResolver;
using System.IO;
using System;
namespace JustDecompile.EngineInfrastructure.AssemblyLocators
{
public class SilverlightX64AssembliesLocator : SilverlightAssembliesLocatorBase
{
private static SilverlightX64AssembliesLocator instance;
private SilverlightX64Ass... |
src/WebJobs.Script/Rpc/LanguageWorkerChannelUtilities.cs | AtOMiCNebula/azure-functions-host | 1 | 7050804 | <filename>src/WebJobs.Script/Rpc/LanguageWorkerChannelUtilities.cs<gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text.Regu... |
src/GraphQLDemo/Startup.cs | mirusser/Learning-dontNet | 0 | 7050805 | using GraphQLDemo.Data;
using GraphQLDemo.GprahQL;
using GraphQLDemo.Settings;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Ex... |
Source/Classic/Libs/AM.Win32/AM/Win32/ComCtl/LVCOLUMN.cs | fossabot/ManagedIrbis | 0 | 7050806 | <gh_stars>0
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* LVCOLUMN.cs -- column in report view
Ars Magna project, http://arsmagna.ru */
#region Using directives
using System;
using System.Runtime.... |
src/IdentityServer/Aguacongas.IdentityServer.RavenDb.Store/AdminStores/Api/ApiLocalizedResourceStore.cs | gumtreehill/TheIdServer | 374 | 7050807 | <filename>src/IdentityServer/Aguacongas.IdentityServer.RavenDb.Store/AdminStores/Api/ApiLocalizedResourceStore.cs
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2021 @<NAME>
using Aguacongas.IdentityServer.Store.Entity;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Aguacongas.... |
src/dynamic.linq/src/ContractsDynamic.cs | 0xCM/z0 | 0 | 7050808 | <reponame>0xCM/z0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
/// <summary>
/// Provides access to high-... |
VR_OS/Assets/_Scripts/UI/VRDateTime.cs | avmakesthings/vr-os | 0 | 7050809 | using System;
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class VRDateTime : MonoBehaviour
{
private Text dateTimeText;
public bool year, month, day, time, dayString, monthString;
void Start()
{
dateTimeText = GetComponent<Text>();
}
// Update is call... |
Assets/BInject/Editor/SettingsInit.cs | Temka193/behaviour_inject | 0 | 7050810 | using BehaviourInject;
using BehaviourInject.Internal;
using UnityEditor;
using UnityEngine;
namespace BInject.Editor
{
[InitializeOnLoad]
static class SettingsInit
{
private const string RESOURCES_PATH = "Assets/Resources";
private const string INJECTOR_PATH = "Packages/com.sergeysychov.behaviour_inject/Script... |
TableHistorySchemaGenerator.Core/FlowInterfaces/IChangeScriptGenerator.cs | JoshuaBurchat/DatabaseTableHistorySchemaGenerator | 0 | 7050811 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TableHistorySchemaGenerator.Core.Models;
namespace TableHistorySchemaGenerator.Core
{
public interface IChangeScriptGenerator
{
IEnumerable<ChangeScript> Generate(DbSchemaPackage d... |
src/SysX.JobEngine/AssetSet.cs | kevinarthurackerman/SysX | 1 | 7050813 | <reponame>kevinarthurackerman/SysX<gh_stars>1-10
namespace SysX.JobEngine;
/// <summary>
/// A collection of assets that can be accessed within a job.
/// </summary>
internal class AssetSet<TKey, TAsset> : IAssetSet<TKey, TAsset>, ISinglePhaseNotification
where TAsset : class, IAsset<TKey>
{
#pragma warning disab... |
tools/URLinq.CLI/Contracts/ISolutionAnalyzer.cs | tulde23/ulinq.AspNetCore.IntegrationTesting | 1 | 7050814 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using URLinq.CLI.Models;
namespace URLinq.CLI.Contracts
{
/// <summary>
/// A Roslyn analyzer
/// </summary>
public interface ISolutionAnalyzer
{
Task<IEnumerable<ProjectModel>> Analyze(string ... |
csharp/ReferenceImplementation/MXP/Util/CompressionUtil.cs | MoysheBenRabi/setp | 1 | 7050815 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Compression;
using System.IO;
namespace MXP.Util
{
public class CompressUtil
{
public static byte[] CompressHeightMap(float[] values, float offset, float scale)
{
byte[] bytes=new byte[values.Length... |
src/core/BrightstarDB.Server.Modules/StatisticsModule.cs | rajcybage/BrightstarDB | 1 | 7050816 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BrightstarDB.Client;
using BrightstarDB.Server.Modules.Model;
using BrightstarDB.Server.Modules.Permissions;
using Nancy;
using Nancy.ModelBinding;
namespace BrightstarDB.Server.Mod... |
Domain/LearningRoom/IRoomAspect.cs | sdlfly2000/MindBridgeCampService | 0 | 7050817 | using System;
using System.Collections.Generic;
using Domain.User;
using Common.Core.AOP;
namespace Domain.LearningRoom
{
public interface IRoomAspect : ICacheAspect
{
RoomReference Reference { get; set; }
string Title { get; set; }
string LearningContent { get; set; }
DateTime... |
StigsDotNetLib/TimeGuid.cs | snielsson/StigsDotNetLib | 0 | 7050818 | // Copyright © 2014-2018 <NAME>. This file is Open Source and distributed under the MIT license - see LICENSE.txt or https://opensource.org/licenses/MIT.
using System;
using System.Threading;
using StigsDotNetLib.Time;
namespace StigsDotNetLib {
public struct TimeGuid : IEquatable<TimeGuid>, IComparable<TimeGuid> ... |
DatAdmin.Core/AllFeatures/BaseClass/SpecificObjectTypeBase.cs | dbgate/datadmin | 0 | 7050819 | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using System.IO;
namespace DatAdmin
{
public abstract class SpecificObjectTypeBase : ISpecificObjectType
{
protected ISqlDialect m_dialect;
protected string CreateNewTemplate = null;... |
Packages/lipi.action-flow/Runtime/Nodes/Bridge/BridgeToUniversalRunningAsset.cs | piruzhaolu/ActionFlow | 62 | 7050820 | <filename>Packages/lipi.action-flow/Runtime/Nodes/Bridge/BridgeToUniversalRunningAsset.cs
using System;
using UnityEngine;
namespace ActionFlow
{
[Serializable]
[NodeInfo("Bridge/ToUniversal(Status)")]
public class BridgeToUniversalRunningAsset: INode,IBehaviorNode,INodeInput
{
[HideInInsp... |
src/Payments/Inflow.Services.Payments.Core/Deposits/Queries/BrowseDepositAccounts.cs | devmentors/Inflow-micro | 8 | 7050821 | <filename>src/Payments/Inflow.Services.Payments.Core/Deposits/Queries/BrowseDepositAccounts.cs
using System;
using Convey.CQRS.Queries;
using Inflow.Services.Payments.Core.Deposits.DTO;
namespace Inflow.Services.Payments.Core.Deposits.Queries;
public class BrowseDepositAccounts : PagedQueryBase, IQuery<PagedResult<D... |
CardGame/Assets/Scripts/Actions/MouseHoldWithCard.cs | kafkaphoenix/CardGame | 0 | 7050822 | <filename>CardGame/Assets/Scripts/Actions/MouseHoldWithCard.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Cards.GameStates
{
[CreateAssetMenu(menuName = "Actions/MouseHoldWithCard")]
public class MouseHoldWithCard : Action
{
... |
Archimedes.Patterns.Test/ParseUtilTest.cs | ElderByte-/Archimedes.Patterns | 0 | 7050823 | <reponame>ElderByte-/Archimedes.Patterns
using System;
using Archimedes.Patterns.Utils;
using NUnit.Framework;
namespace Archimedes.Patterns.Test
{
[TestFixture]
public class ParseUtilTest
{
#region Unsave Parse methods
[Test]
public void TestSimple()
{
Assert.... |
src/Worker.cs | horseyhorsey/TelegramBot_SchumanResonance | 0 | 7050824 | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace ShumanBot
{
public ... |
Chapter23/EmailValidationDemo/EmailValidationDemo/EmailValidationDemo/EmailValidationDemoPage.xaml.cs | Tonymmm/xamarin-forms-book-preview-2 | 250 | 7050825 | using System;
using Xamarin.Forms;
namespace EmailValidationDemo
{
public partial class EmailValidationDemoPage : ContentPage
{
public EmailValidationDemoPage()
{
InitializeComponent();
}
}
}
|
src/EFCore.Firebird/Metadata/Conventions/Internal/FbValueGenerationStrategyConvention.cs | felipealbuquerq/SouchProd.EntityFrameworkCore.Firebird | 6 | 7050826 | // Copyright (c) 2017 <NAME> @SouchProd. All rights reserved.
// https://github.com/souchprod/SouchProd.EntityFrameworkCore.Firebird
// This code inherit from the .Net Foundation Entity Core repository (Apache licence)
// and from the Pomelo Foundation Mysql provider repository (MIT licence).
// Licensed under the MIT.... |
KarmaTestAdapterTests/Expectations/TestCase.cs | erichillah/KarmaTestAdapter | 21 | 7050827 | using JsTestAdapter.TestServerClient;
using KarmaTestAdapter.Karma;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KarmaTestAdapterTests.Expectations
{
public abstract class TestCase<TTestCase> : KarmaTestAdapter... |
aula-03/BuscaCep/BuscaCep.Mobile/BuscaCep.Mobile/Data/Dtos/CepDto.cs | ionixjunior/intro-xf-2020 | 11 | 7050828 | using SQLite;
using System;
using System.Text.RegularExpressions;
namespace BuscaCep.Mobile.Data.Dtos
{
[Table("Cep")]
public sealed class CepDto
{
[PrimaryKey]
public Guid Id { get; set; } = Guid.NewGuid();
private string _cep;
public string cep
{
get =... |
Nicodemus.Controls.Test/Nicodemus.Controls.Test.DesktopClient/Screens/BooleanItemsListDetail.lsml.cs | tessin/Nicodemus.Controls | 0 | 7050829 | using Microsoft.LightSwitch.Presentation.Extensions;
using Microsoft.LightSwitch.Presentation;
using Microsoft.LightSwitch.Framework.Client;
using Microsoft.LightSwitch;
using System.Collections.Generic;
using System.IO.IsolatedStorage;
using System.IO;
using System.Linq;
using System;
namespace LightSwitchApplicatio... |
MapStudioVessel/MsbSearchResult.cs | horkrux/MapStudioVessel | 1 | 7050830 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MeowsBetterParamEditor
{
public class MsbSearchResult
{
public string MsbName { get; set; } = null;
public string PrimaryTab { get; set; } = null;
... |
LiteFx.EntityFramework/EntityFrameworkExtensions.cs | iarly/LiteFx | 0 | 7050831 | using System.Data;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Linq;
namespace LiteFx.Context.EntityFramework
{
/// <summary>
/// Extensões para o EntityFramework.
/// </summary>
public static class EntityFrameworkExtensions
{
/// <summary>
... |
Udon-MIDI-Web-Handler/InfoPanel/WebHandlerInfoPanel.cs | DarthShader/Udon-MIDI-HTTP-Helper | 9 | 7050832 | <filename>Udon-MIDI-Web-Handler/InfoPanel/WebHandlerInfoPanel.cs<gh_stars>1-10
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
using UnityEngine.UI;
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
public class WebHandlerInfoPanel : UdonSharpBehaviour
{
const float UPDATE_... |
gateway/src/Gateway.Service/Replies/User/IReplay.cs | SilvioCressoni/book-store | 0 | 7050834 | namespace Users.Web.Proto
{
public interface IReplay
{
bool IsSuccess { get; }
string ErrorCode { get; }
string Description { get; }
object Value { get; }
string ToStringLog()
=> $"[{nameof(IsSuccess)}: {IsSuccess}]" +
$"[{nameof(Error... |
AutoMine/AddSchedule.cs | w0rkr42o/AutoCryptoMine | 6 | 7050835 | 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;
namespace AutoMine
{
public partial class AddSchedule : Form
{
string A... |
pwiz_tools/Shared/Common/DataBinding/ColumnCaption.cs | shze/pwizard-deb | 2 | 7050836 | /*
* Original author: <NAME> <nicksh .at. u.washington.edu>,
* MacCoss Lab, Department of Genome Sciences, UW
*
* Copyright 2014 University of Washington - Seattle, WA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... |
src/SimpleEntity.cs | NikitaEgorov/OrmBenchmark | 0 | 7050837 | using System;
namespace OrmBenchmark
{
public class SimpleEntity
{
public virtual long Id { get; set; }
public virtual string StringField1 { get; set; }
public virtual string StringField2 { get; set; }
public virtual string StringField3 { get; set; }
public virtual l... |
src/AI4Bharat.ISLBot.Model/Models/JoinURLResponse.cs | munishm/INCLUDE-teams-expt | 2 | 7050838 | // <copyright file="JoinURLResponse.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// </copyright>
using Newtonsoft.Json;
using System;
namespace AI4Bharat.ISLBot.Model.Models
{
/// <summary>
/// Class JoinURLResponse.
... |
RaftMMO/Network/SerializableData/Simple/Vector.cs | maxvollmer/RaftMMO | 3 | 7050839 | <reponame>maxvollmer/RaftMMO
using UnityEngine;
namespace RaftMMO.Network.SerializableData
{
[System.Serializable()]
public class Vector
{
public readonly float x;
public readonly float y;
public readonly float z;
public Vector3 Vector3 { get { return new Vector3(... |
Dumps/PrimitierDumpV1.0.1/Newtonsoft/Json/JsonWriterException.cs | TotalJTM/PrimitierModdingFramework | 2 | 7050840 | /*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Ru... |
Gu.Units.Wpf/StiffnessUnit.generated.cs | JohanLarsson/Gu.Units | 18 | 7050841 | <reponame>JohanLarsson/Gu.Units
#nullable enable
namespace Gu.Units.Wpf.Proxies
{
/// <summary>
/// Proxy class for accessing units from xaml.
/// </summary>
public static class StiffnessUnit
{
/// <summary>
/// Gets the <see cref="Gu.Units.StiffnessUnit.NewtonsPerMetre"/> unit.
... |
src/Application/Features/Export/ExportCommandHandler.cs | pmdevers/Mockingjay | 0 | 7050842 | <filename>src/Application/Features/Export/ExportCommandHandler.cs
using Mockingjay.Common.Handling;
using Mockingjay.Common.Storage;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Mockingjay.Features
{
public class ExportCommandHandler : IRequestHandler<ExportCommand, byte[]>
... |
src/CreativeMinds.CQS/Resolvers/IQueryHandlerResolver.cs | steentottrup/CQS | 0 | 7050843 | <filename>src/CreativeMinds.CQS/Resolvers/IQueryHandlerResolver.cs
//using CreativeMinds.CQS.Queries;
//using System;
//namespace CreativeMinds.CQS.Resolvers {
// public interface IQueryHandlerResolver {
// IQueryHandler<TQuery, TResult> Resolve<TQuery, TResult>() where TQuery : IQuery<TResult>;
// }
//}
|
src/Simplic.SAAP/ProviderHost.cs | simplic-systems/simplic-saap | 1 | 7050844 | <filename>src/Simplic.SAAP/ProviderHost.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
namespace Simplic.SAAP
{
/// <summary>
/// Core of the SAAP. The ProviderHost is the central system for ma... |
05. Unit-Testing-Web-Services/demo/Web-Services-Testing-Demos/BugLogger.DataLayer/Status.cs | jsdelivrbot/Web-Services-and-Cloud | 8 | 7050845 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BugLogger.DataLayer
{
public enum Status { Pending, Assigned, Fixed }
}
|
Assets/Scripts/UIManager.cs | saint-angels/fencing | 0 | 7050846 | using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIManager : MonoBehaviour
{
[SerializeField] private RectTransform hudContainer = null;
[SerializeField] private Transform userBodyHUD = null;
[SerializeField] private TMPro... |
Ocronet.Dynamic/Interfaces/ISegmentPage.cs | nickun/OCRonet | 21 | 7050847 | <reponame>nickun/OCRonet<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ocronet.Dynamic.Interfaces
{
/// <summary>
/// Compute page segmentation into columns, lines, etc.
///
/// The output is in the standard RGB format
/// for page... |
My9GAG/My9GAG/Views/CustomViews/VideoPlayer/VideoSource.cs | Rora/My9GAG | 3 | 7050848 | <reponame>Rora/My9GAG<filename>My9GAG/My9GAG/Views/CustomViews/VideoPlayer/VideoSource.cs
using Xamarin.Forms;
namespace My9GAG.Views.CustomViews.VideoPlayer
{
[TypeConverter(typeof(VideoSourceConverter))]
public class VideoSource : Element
{
public static VideoSource FromUri(string uri)
{... |
fontawesome-wpf/fontawesome-wpf/FontAwesomeIcon.cs | DSaladinCH/fontawesome-wpf | 0 | 7050849 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace DSaladin.FontAwesome.WPF
{
public enum FontAwesomeIcon
{
///<summary>Set this value to show no icon.</summary>
[Description("None"), IconID("none"), IconUnicodeGlyph(0x00)]
None = ... |
Plus.Core/Plus/Authorization/Permissions/PermissionValueProviderManager.cs | Meowv/meowv.core | 12 | 7050850 | <reponame>Meowv/meowv.core
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Plus.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Plus.Authorization.Permissions
{
public class PermissionValueProviderManager : IPermissionValu... |
src/LibrameTick.AspNetCore/ApplicationBuilderDecorator.cs | gitter-badger/aspnetcore-tick | 0 | 7050851 | #region License
/* **************************************************************************************
* Copyright (c) <NAME> All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, from this software.
* ********************************************************... |
DiscordPugBot/Models/Achievements.cs | Fr0sZ/Discord-PUG-Bot-.Net | 0 | 7050852 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
namespace DiscordPugBot.Models
{
public class Achievements
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public virtual ICollect... |
Server/Handlers/ImageBase64ConvertHandler.cs | username1565/nanoboard-1 | 2 | 7050853 | <reponame>username1565/nanoboard-1<gh_stars>1-10
using System;
using System.Security.Cryptography;
using System.Text;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using System.Drawing;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using System.Linq;
namespace nbo... |
src/Catel.Core/Catel.Core.Shared/Runtime/Serialization/SerializationModelInfo.cs | nix63/Catel | 0 | 7050854 | <filename>src/Catel.Core/Catel.Core.Shared/Runtime/Serialization/SerializationModelInfo.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializationModelCache.cs" company="Catel development team">
// Copyright (c) 2008 - ... |
RefrienderCore/Extensions.cs | daeken/Refriender | 11 | 7050855 | using System;
using System.Collections.Generic;
using System.Linq;
namespace RefrienderCore {
static class LongEnumerable {
internal static IEnumerable<long> Range(long start, long count) {
while(count-- != 0)
yield return start++;
}
internal static IEnumerable<T> ParallelRange<T>(long start, long coun... |
ImmGetCandidateListDemo/ImmForm.Designer.cs | pacamara/ImmGetCandidateListDemo | 4 | 7050857 | namespace ImmGetCandidateListDemo
{
partial class ImmForm
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
... |
redistributable/SelectelSharp/Models/File/UploadArchiveResult.cs | dev-nm/CommunityServer | 1,629 | 7050858 | <reponame>dev-nm/CommunityServer
using Newtonsoft.Json;
using SelectelSharp.Common;
using SelectelSharp.Headers;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
namespace SelectelSharp.Models.File
{
public class UploadArchiveResult
{
[JsonProperty("Response Status")]
... |
lessonweb/lessonweb/Data/Aircraft.cs | flyvfr/lessontrack | 0 | 7050859 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace lessonweb.Data
{
public partial class Aircraft
{
public const int STATUS_NOT_AVAIL = 0;
public const int STATUS_READY = 1;
public const int STATUS_FLYING = 2;
public const int STATUS_... |
Joonaxii/Testing Grounds/Code/WebpDecodeTest.cs | Joonaxii/Joonaxii-Code | 0 | 7050860 | <gh_stars>0
using Joonaxii.Data.Image;
using Joonaxii.Data.Image.IO;
using Joonaxii.IO;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
namespace Testing_Grounds
{
public class WebpDecodeTest : MenuItem
{
public WebpDecodeTest(string... |
Assets/Scripts/Editor/UnityModule/EditorUtility/AssetImporterHelper.cs | umm/assetimporter_helper | 0 | 7050861 | <filename>Assets/Scripts/Editor/UnityModule/EditorUtility/AssetImporterHelper.cs
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace UnityModule.EditorUtility {
/// <summary>
/// AssetImporter 用のヘルパ
/// </summary>
public s... |
Huobi.SDK.Core/Spot/WS/Response/Market/SubKLineResponse.cs | nils2525/huobi_sdk_CSharp | 1 | 7050862 | <filename>Huobi.SDK.Core/Spot/WS/Response/Market/SubKLineResponse.cs
namespace Huobi.SDK.Core.Spot.WS.Response.Market
{
/// <summary>
/// SubKLine response
/// </summary>
public class SubKLineResponse
{
/// <summary>
/// Data stream
/// </summary>
public string ch;
... |
Watcher/Controllers/StatisticsController.cs | simionrobert/BitInsight-WebInterface | 5 | 7050863 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Watcher.Models;
using Watcher.Models.Statistics;
using WatcherDataLayer;
using WatcherDataLayer.Models;
namespace Watcher.Controllers
{
public class StatisticsController : Controller
{
private ElasticS... |
Redux/Threading/ThreadBase.cs | luckymouse0/Redux-Conquer-Online-Server | 23 | 7050864 | using System.Threading;
namespace Redux.Threading
{
public abstract class ThreadBase
{
#region Variables
protected Thread Thread;
private bool IsClosed { get; set; }
protected abstract void OnInit();
protected abstract bool OnProcess();
protected abstract void ... |
Backend/CommonServices/CommonServices.Services/LocalesService.cs | mtalebian/basic-templates | 1 | 7050865 | <filename>Backend/CommonServices/CommonServices.Services/LocalesService.cs
using CommonServices.Core;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonServices.Services
{
internal class LocalesService : ILocaleService
{
... |
GameConfig/CodeGen/CSharpCodeExporter.cs | srxqds/ByteCode | 0 | 7050866 | /*----------------------------------------------------------------
// Copyright (C) 2015 广州,Lucky Game
//
// 模块名:
// 创建者:D.S.Qiu
// 修改者列表:
// 创建日期:May 29 2016
// 模块描述:
//----------------------------------------------------------------*/
using ByteBuilder;
using Utility;
public class CSharpCodeExporter:ICode... |
Orm/Xtensive.Orm.Tests.Framework/Internals/Int64InstanceGenerator.cs | alex-kulakov/dataobjects-net | 0 | 7050867 | <gh_stars>0
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2008.01.18
using System;
namespace Xtensive.Orm.Tests
{
[Serializable]
internal class Int64InstanceGenerator : InstanceGeneratorBa... |
Transformerizer/BlockingProducerConsumer.cs | bungeemonkee/Transformerizer | 1 | 7050868 | <filename>Transformerizer/BlockingProducerConsumer.cs
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Transformerizer
{
/// <summary>
/// A simple <see cref="IProducerConsumerCollection{T}" /> that wraps a <see cref="BlockingCollecti... |
ShellLink/Actuators.ExtraData/DarwinDataBlockActuator.cs | masbicudo/MS-SHLLINK.Net | 1 | 7050869 | using ShellLink.DataObjects;
using ShellLink.DataObjects.ExtraData;
using ShellLink.Internals;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ShellLink.Actuators.ExtraData
{
public sealed class DarwinDataBlockActuator : ExtraDataBlockActuator<DarwinDataBlock>
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.