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 |
|---|---|---|---|---|
App.Problems.SnakesAndLadders/SnakesAndLaddersBoard.cs | kevinknowscs/ProgrammingPractice | 23 | 7039394 | using System;
using System.Collections.Generic;
using System.Text;
namespace App.Problems.SnakesAndLadders
{
public class SnakesAndLaddersBoard
{
public SnakesAndLaddersBoard(int size, int [,] input)
{
Size = size;
Input = input;
}
public int Size { get; }
public int[,] Input { g... |
Sources/TimeTable/MyStik.TimeTable.Web/Views/Internship/Check.cshtml | AccelerateX-org/NINE | 4 | 7039395 | @model MyStik.TimeTable.Web.Models.InternshipStateModel
@{
ViewBag.Title = "Antrag auf Anmeldung";
}
<div class="container-fluid">
<div class="row" style="margin-top: 20px">
<div class="col-md-12">
<div class="panel panel-default">
<h4 class="panel-heading">
... |
product/hcm/Fap.Hcm.Web/Areas/Workflow/Views/Process/Agent.cshtml | 48355746/FapCore3.0 | 26 | 7039397 | <reponame>48355746/FapCore3.0<gh_stars>10-100
@model Fap.AspNetCore.ViewModel.JqGridViewModel
<title>代理人</title>
<div class="row">
<div class="col-xs-12 col-sm-12">
<fap-grid id="agentsetting" grid-model="Model" wrapper="row" auto-width="true" oper-cud="true"></fap-grid>
</div>
</div>
<script>... |
RecompildPOS.Models/Audit/AuditDb.cs | faizanaryan94/mobile-pos-basic | 0 | 7039398 | using System;
using System.Collections.Generic;
using System.Text;
namespace RecompildPOS.Models.Audit
{
public class AuditDb
{
public bool IsSynced { get; set; }
public string CreatedBy { get; set; }
public DateTime CreatedDate { get; set; }
public string LastModifiedBy { get;... |
Module-1/OOP/Homework/02-Defining-Classes-Part-2/Space3D/Path.cs | owolp/TelerikAcademy | 2 | 7039399 | namespace Space3D
{
using System;
using System.Collections;
using System.Collections.Generic;
public class Path
{
// fields
private List<Point3D> path = new List<Point3D>();
// constructor
public Path()
{
this.path = new List<Point3D>();
... |
C# Fundamentals/C# Advanced/Matrices/Parking System/StartUp.cs | Koceto/SoftUni | 2 | 7039400 | using System;
using System.Linq;
namespace Parking_System
{
public static class StartUp
{
public static void Main()
{
var dimentions = Console.ReadLine()
.Trim()
.Split()
.Select(int.Parse)
.ToArray();
var ... |
Recipies/Recipes.Data.Models/Entities/RecipeProducts.cs | VangelIliev/Recipies | 0 | 7039401 | using Recipes.Data.Models.Interfaces;
using Recipies.Data.Models.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Recipes.Data.Models.Entities
{
public class RecipeProducts : IBaseEntity
{
public Guid Id { get; set;... |
CLI/Install.cs | LumitoLuma/NugetInstaller | 1 | 7039403 | <gh_stars>1-10
/**
* Install.cs is a part of the NuGetInstaller project.
*
* Lumito's NuGetInstaller CLI version 2.00
* Copyright (C) 2020, Lumito. www.lumito.net
* Licensed under the MIT license
* GitHub repository: github.com/LumitoLuma/NuGetInstaller
*/
using System;
using System.IO;
using System.Net;
name... |
PlcDigitalTwinAutoTest/BasePlcDtAt/BaseWindow.xaml.cs | KurtLinder/DigitalTwinAutoTest | 0 | 7039404 | using BasePlcDtAt.BaseViewModel;
using LibAutoTest;
using LibConfigPlc;
using LibDatenstruktur;
using LibDisplayPlc;
using LibPlcTestautomat;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using LibInfo;
namespace BasePlcDtAt;
publi... |
src/Microsoft.OData.Edm/Schema/BadType.cs | OpenSilver/odata.net | 0 | 7039405 | //---------------------------------------------------------------------
// <copyright file="BadType.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------------------------... |
Assets/SpriteDicing/Editor/DicedSpriteEditor.cs | Pinkuburu/SpriteDicing | 2 | 7039406 | using System.Linq;
using UnityEditor;
using UnityEngine;
namespace SpriteDicing
{
[CustomEditor(typeof(DicedSprite)), CanEditMultipleObjects]
public class DicedSpriteEditor : Editor
{
protected DicedSprite TargetSprite => target as DicedSprite;
private SerializedProperty pivot;
pr... |
TfsDeploymentChecker.BusinessLogic/Abstractions/IConfigurationRetriever.cs | marcopierobon/TfsDeploymentChecker | 0 | 7039408 | using System.Collections.Generic;
using TfsDeploymentChecker.Models.Internal;
namespace TfsDeploymentChecker.BusinessLogic.Abstractions
{
public interface IConfigurationRetriever
{
IEnumerable<string> SystemsOfInterest { get; set; }
IEnumerable<ReleasesForTeamProject> TeamProjectsAnd... |
2DRabbitPlatform/2DRabbitPlatform/Engine/Files/LevelFile.cs | adamuso/2DRabbitPlatform | 0 | 7039409 | <reponame>adamuso/2DRabbitPlatform<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using _2DRabbitPlatform.GFX;
namespace _2DRabbitPlatform.Engine.Files
{
public class LevelFile : BinaryReader
{
string path;
public LevelFile(st... |
Tweezers.Core/Api/Startup/Startup.cs | Nomiki/Tweezers.Core | 0 | 7039410 | <filename>Tweezers.Core/Api/Startup/Startup.cs
using System;
using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspN... |
HW.SF.Services/BomService.cs | dahaideyu/HWPlatform | 0 | 7039411 | using System;
using HW.SF.IRepositories;
using HW.SF.IServices;
using HW.SF.Models.SYSModel;
using HW.Core.Services;
namespace HW.SF.Services
{
public class BomService: BaseService<Sys_Bom, String>, IBomService
{
public BomService(IBomRepository repository) : base(repository)
{
}
}
} |
ProyectoBDI - SisVent/ProyectoBDI - SisVent/vista/inicio.Designer.cs | rchavezriosjr/NuevoProyectoBaseDeDatosI | 0 | 7039412 | <filename>ProyectoBDI - SisVent/ProyectoBDI - SisVent/vista/inicio.Designer.cs
namespace ProyectoBDI___SisVent.vista
{
partial class inicio
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCancelEventArgs.cs | kevingosse/winforms | 3 | 7039413 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Windows.Forms
{
using System;
using System.Diagnostics;
using System.ComponentModel;
... |
src/Orleans.Indexing/Indexes/Interfaces/IHashIndexInterface.cs | alfkonee/Orleans.Indexing | 69 | 7039414 | using Orleans.Concurrency;
using System.Threading.Tasks;
namespace Orleans.Indexing
{
/// <summary>
/// Defines the interface for hash-indexes
/// </summary>
/// <typeparam name="K">the type of key for the hash index</typeparam>
/// <typeparam name="V">the type of grain interface that is being inde... |
Assets/Scripts/PlayerController.cs | Open-Sourced-Olaf/Olafs-Adventure | 6 | 7039415 | <filename>Assets/Scripts/PlayerController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour
{
public Rigidbody2D rb;
public Animator anim;
public Transform respawnPoint;
... |
Runtime/Timers/TimerManager.cs | iDreamsOfGame/UniSharper.Core | 3 | 7039416 | // Copyright (c) <NAME>. All rights reserved. Licensed under the MIT License.
// See LICENSE in the project root for license information.
using System;
using UniSharper.Patterns;
using UnityEngine;
namespace UniSharper.Timers
{
/// <summary>
/// The <see cref="TimerManager"/> is a convenience class for manag... |
tools/GenerateNewControlProjectFiles/TestUI/NEWCONTROLPage.xaml.cs | riverar/microsoft-ui-xaml | 3,788 | 7039417 | <filename>tools/GenerateNewControlProjectFiles/TestUI/NEWCONTROLPage.xaml.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xa... |
GraphGenerator.cli/Program.cs | rockymine/TSPHeuristics | 2 | 7039418 | using System;
using System.IO;
using TravellingSalesmanProblem.Graph;
using Utility.CommandLine;
namespace GraphGenerator.cli {
internal class Program {
[Argument('x', "sizeX")]
private static int GraphSizeX { get; set; }
[Argument('y', "sizeY")]
private static int GraphSizeY { get... |
src/Blog.Mvc/CssResourceAttribute.cs | eightHundreds/AspNetCoreSimpleBlog | 0 | 7039419 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Mvc
{
[AttributeUsage( AttributeTargets.Class)]
public class CssResourceAttribute:Attribute
{
public CssResourceAttribute(params string [] cssPaths)
{
this.CssPath = cssPaths;
... |
source/Coding4Fun.Toolkit.Controls/ValuePicker/TimeSpanPicker/DataSource/SecondTimeSpanDataSource.cs | Coding4FunProjects/Coding4FunToolk | 91 | 7039420 | <reponame>Coding4FunProjects/Coding4FunToolk
using System;
namespace Coding4Fun.Toolkit.Controls
{
public class SecondTimeSpanDataSource : TimeSpanDataSource
{
public SecondTimeSpanDataSource() : base(59, 1) { }
public SecondTimeSpanDataSource(int max, int step) : base(max, step) { }
protected ove... |
AlgorithmSolution/AlgorithmSolution/ZN.Core.Algorithm.Sort/Merge.cs | nandehutuzn/Algorithm | 2 | 7039421 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZN.Core.Algorithm.Sort
{
/// <summary>
/// 归并排序 (自顶向下) by zhangning 20170707
/// </summary>
public class Merge : Example
{
private IComparable[] aux;/... |
KlaxEditor/Utility/InspectorTestComponent.cs | HenningAx/KlaxGameEngine | 1 | 7039422 | <filename>KlaxEditor/Utility/InspectorTestComponent.cs
using KlaxCore.GameFramework;
using KlaxCore.GameFramework.Assets;
using KlaxCore.KlaxScript;
using KlaxIO.AssetManager.Assets;
using KlaxShared;
using KlaxShared.Attributes;
using Newtonsoft.Json;
using SharpDX;
using System.Collections.Generic;
namespace KlaxEd... |
Matrices exercises/11. Parking System/Program.cs | MJordanov81/SoftUni-C--Advanced | 0 | 7039423 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Markup;
namespace _11.Parking_System
{
class Program
{
static void Main(string[] args)
{
var... |
src/winui/AP.MobileToolkit.WinUI.Fonts/Controls/IconBlock.cs | AvantiPoint/AP.MobileToolkit.Fonts | 28 | 7039424 | <reponame>AvantiPoint/AP.MobileToolkit.Fonts<filename>src/winui/AP.MobileToolkit.WinUI.Fonts/Controls/IconBlock.cs
using AP.MobileToolkit.Fonts;
#if !WINDOWS_UWP
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
#else
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
#endif
namespace AP.MobileToolkit.Co... |
tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common/TestRecordingMismatchException.cs | ruowan/azure-sdk-tools | 3 | 7039425 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Net;
using System.Runtime.Serialization;
namespace Azure.Sdk.Tools.TestProxy.Common
{
[Serializable]
public class TestRecordingMismatchException : HttpException
{
public TestR... |
AgrideaCore/Web/Mvc/Grid/Columns/GridComboColumn.cs | ni11c/AkkaJobs | 0 | 7039426 | <reponame>ni11c/AkkaJobs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace Agridea.Web.Mvc.Grid.Columns
{
public class GridComboColumn<T, TValue> : GridEditColumn<T, TValue>
{
private readonly Fun... |
Tech Modul/02 Date Types and Variables/Lab/08TownInfo/08TownInfo/Program.cs | veloman86/SoftUni-CSharp | 2 | 7039427 | using System;
namespace _08TownInfo
{
class Program
{
static void Main(string[] args)
{
string townName = Console.ReadLine();
int populationOfTown =int.Parse(Console.ReadLine());
int areaOfTown = int.Parse(Console.ReadLine());
Console.WriteLine(... |
src/Messaging/src/Base/Core/AbstractMessagingTemplate.cs | TheBritz/steeltoe | 0 | 7039428 | // Copyright 2017 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
src/REVStack.Client/Http/Account/Account.cs | MISInteractive/revstack-net | 0 | 7039429 | <filename>src/REVStack.Client/Http/Account/Account.cs
using Newtonsoft.Json.Linq;
using RevStack.Client.API;
using RevStack.Client.API.Account;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevStack.Client.Http.Account
{
internal clas... |
C# Fundamentals/Lists.ArraysAdvanced/Exercise/ChangeList/ChangeList.cs | TatyanaBeneva/SoftUni-Courses | 0 | 7039430 | <reponame>TatyanaBeneva/SoftUni-Courses
using System;
using System.Collections.Generic;
using System.Linq;
namespace ChangeList
{
class ChangeList
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine().Split(" ").Select(int.Parse).ToList();
string en... |
Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Sellers/Marketplace.cs | kevinvenclovas/Amazon-SP-API-CSharp | 41 | 7039431 | /*
* Selling Partner API for Sellers
*
* The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about ... |
src/waykicoind-api-models/ListContractTxParams.cs | GitHubbard/WaykiChain.WalletServiceApi | 1 | 7039432 | <gh_stars>1-10
using System.ComponentModel.DataAnnotations;
namespace WalletServiceApi.JsonRpc
{
public class ListContractTxParams
{
/// <summary>
/// 合约RegId
/// </summary>
[Required]
public string ScriptId { get; set; }
/// <summary>
/// 可选参数, 要提取的交易数... |
source/csharpcommon/MangaDirectionRequest.cs | a-fung/MangaWeb3 | 6 | 7039433 | <filename>source/csharpcommon/MangaDirectionRequest.cs<gh_stars>1-10
// MangaDirectionRequest.cs
//
using System;
using System.Collections.Generic;
namespace afung.MangaWeb3.Common
{
public class MangaDirectionRequest : JsonRequest
{
public int id;
}
}
|
HappyThoghts/Web/HappyThoughts.Web.ViewModels/Users/ApplicationUserInfoViewModel.cs | ilkerBuguner/HappyThoughts | 0 | 7039434 | <filename>HappyThoghts/Web/HappyThoughts.Web.ViewModels/Users/ApplicationUserInfoViewModel.cs
namespace HappyThoughts.Web.ViewModels.Users
{
using System;
using HappyThoughts.Data.Models;
using HappyThoughts.Services.Mapping;
public class ApplicationUserInfoViewModel : IMapFrom<ApplicationUser>
{... |
src/Hevadea/GameObjects/Entities/Components/Render/ParticleEmiter.cs | krisz2000/hevadea | 0 | 7039435 | <gh_stars>0
using Hevadea.Framework.Graphic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
using System.Linq;
namespace Hevadea.GameObjects.Entities.Components.Render
{
public class Particle
{
public Color Color { get; set; }
... |
milk/edit/MoveFeatureToolClass.cs | jenkin-du/Milk | 0 | 7039436 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.Controls;
using ESRI.ArcGIS.SystemUI;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.Geodatabase;
using System.Windows.Forms;
using GISEditor.EditTool.BasicClass;
u... |
Cocopops/Cocopops/Protobuf/Model/BaseTransaction.cs | xxami/muppo-things | 0 | 7039437 | <filename>Cocopops/Cocopops/Protobuf/Model/BaseTransaction.cs<gh_stars>0
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BaseTransaction.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collecti... |
STNServicesAgent/Resources/HWMResource.cs | USGS-WiM/STNServices | 0 | 7039438 | <reponame>USGS-WiM/STNServices
//------------------------------------------------------------------------------
//----- Domestic ---------------------------------------------------------------
//------------------------------------------------------------------------------
//-------1---------2---------3---------4----... |
Advent2021/Day4/BingoBoard.cs | dementeddr/AoC2021 | 0 | 7039439 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Advent2021.Day4
{
class BingoBoard
{
private int[,] _board = new int[5,5];
public BingoBoard(List<string> board)
{
for (int row = 0; row < 5; row++)
{
for (int col = 0; col < 5; col++)
... |
src/dev/impl/DevToys/ViewModels/Tools/EncodersDecoders/Base64ImageEncoderDecoder/MockSettingsProvider.cs | dlphinStudios/DevToys | 9,271 | 7039440 | #nullable enable
using System;
using System.Diagnostics;
using DevToys.Api.Core.Settings;
using DevToys.Core.Settings;
namespace DevToys.ViewModels.Tools.Base64ImageEncoderDecoder
{
internal class MockSettingsProvider : ISettingsProvider
{
private readonly ISettingsProvider _realSettingsProvider;
... |
Whiteboard/Server/ServerBoardStateManager.cs | NeerajPatil2000/meet.me | 18 | 7039441 | /**
* Owned By: <NAME>
* Created By: <NAME>
* Date Created: 10/12/2021
* Date Modified: 11/28/2021
**/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace Whiteboard
{
/// <summary>
/// Server-side state manageme... |
UserManagementTool/Command/QuitCommand.cs | AugustDailey/AADB2C-User-Management-Tool | 0 | 7039442 | using System;
using System.Collections.Generic;
using System.Text;
namespace UserManagementTool.Command
{
public class QuitCommand : ICommand
{
public CommandResult Execute()
{
return new CommandResult
{
Action = ResultAction.Quit,
Result... |
Kuni.Core/Models/DB/OrganizationInfo.cs | shavlegkakulia/unicard_update_version | 0 | 7039443 | <reponame>shavlegkakulia/unicard_update_version
using Kuni.Core.Models.DB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;
namespace Kuni.Core.Models.DB
{
public class OrganizationInfo : DBModel
{
[PrimaryKey]
public int Organizat... |
Source/EtAlii.Generators.ML.Tests/Generated code/SentimentAnalysis/_Model/VariableLength.cs | vrenken/EtAlii.Generators | 3 | 7039444 | namespace EtAlii.Generators.ML.Tests
{
using Microsoft.ML.Data;
/// <summary>
/// Class to hold the variable length feature vector. Used to define the
/// column names used as input to the custom mapping action.
/// </summary>
public class VariableLength
{
/// <summary>
/// ... |
src/EconomyMonitor.Abstacts/IUniqueRequired.cs | dtoriki/EconomyMonitor | 0 | 7039445 | <gh_stars>0
namespace EconomyMonitor.Abstacts;
/// <summary>
/// Представляет тип с уникальным идентификатором.
/// </summary>
public interface IUniqueRequired
{
/// <summary>
/// Возвращает уникальный идентификатор.
/// </summary>
Guid Id { get; }
}
|
src/DotNext.Unsafe/Threading/AtomicPointer.Single.cs | sakno/MissingPieces | 291 | 7039446 | using System.Runtime.CompilerServices;
namespace DotNext.Threading;
using Runtime.InteropServices;
public static partial class AtomicPointer
{
/// <summary>
/// Writes a value to the memory location identified by the pointer .
/// </summary>
/// <remarks>
/// On systems that require i... |
Pegasus.Common/ListNode{T}.cs | david-pfx/Pegasus | 2 | 7039447 | // Copyright © 2015 <NAME>. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
namespace Pegasus.Common
{
/// <summary>
/// Represents a node in a read-only list of <typeparamref name="T"/>.
/// </summary>
/// <typeparam name="T">The type... |
src/PaymentProcessor.Tests/ServiceTests/PaymentServiceShould.cs | Tayyib-A60/PaymentProcessor | 1 | 7039448 | using AutoMapper;
using Microsoft.Extensions.Logging;
using Moq;
using Newtonsoft.Json;
using PaymentProcessor.Domain.Constants;
using PaymentProcessor.Domain.Enitities;
using PaymentProcessor.Domain.Enums;
using PaymentProcessor.Domain.ViewModels;
using PaymentProcessor.Repository.Interfaces;
using PaymentProcessor.S... |
AutoCartDAL/MandrillMail.cs | ACGDev/ACGConsole | 0 | 7039449 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoCarOperations.Model;
using AutoCarOperations.DAL;
using Mandrill;
using Mandrill.Model;
using System.IO;
namespace AutoCarOperations
{
public class MandrillMail
{
/... |
LanguageExt.Sys/Live/ConsoleIO.cs | CK-LinoPro/language-ext | 3,903 | 7039450 | <gh_stars>1000+
using System;
using static LanguageExt.Prelude;
namespace LanguageExt.Sys.Live
{
public readonly struct ConsoleIO : Sys.Traits.ConsoleIO
{
public readonly static Sys.Traits.ConsoleIO Default =
new ConsoleIO();
public Option<ConsoleKeyInfo> ReadKey() =>
S... |
src/server/Shared/Shared.Infrastructure/Controllers/InternalControllerFeatureProvider.cs | vladperchi/InmoIT | 1 | 7039451 | // --------------------------------------------------------------------------------------------------
// <copyright file="InternalControllerFeatureProvider.cs" company="InmoIT">
// Copyright (c) InmoIT. All rights reserved.
// Developer: <NAME> (vladperchi).
// Licensed under the MIT license. See LICENSE file in the p... |
MapleLauncher/Net/InPacket.cs | Yaminike/ms-MapleLauncher | 13 | 7039452 | using System;
namespace MapleLauncher.Net
{
public class InPacket
{
private readonly byte[] m_buffer;
private int m_index;
public int Position
{
get
{
return m_index;
}
}
public int Available
... |
hms-sdk-unity/HuaweiMobileServices/Base/TaskWrapper.cs | NikolaiZyulin/hms-sdk-unity | 0 | 7039453 | namespace HuaweiMobileServices.Base
{
using System;
using UnityEngine;
// Note: this class cannot be called with AsWrapper() since constructor has 2 parameters
internal class TaskWrapper<T> : AbstractTask<T>
{
private readonly Func<AndroidJavaObject, T> m_converter;
[UnityEngine.Scripting.Preserve]
interna... |
sourcecode/Parser/Stmts/ErrorStmt.cs | fabianmuehlboeck/monnom | 2 | 7039454 | <reponame>fabianmuehlboeck/monnom
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Antlr4.Runtime;
namespace Nom.Parser
{
public class ErrorStmt:AStmt
{
public IExpr Expr;
public ErrorStmt(IExpr expr, ISourceSpan locs):ba... |
Final/Path Optimization april 6 - Copy/Assets/Scripts/RestartLevel.cs | aparant777/Artificial-Intelligence-Modules | 0 | 7039455 | <filename>Final/Path Optimization april 6 - Copy/Assets/Scripts/RestartLevel.cs
using UnityEngine;
using System.Collections;
public class RestartLevel : MonoBehaviour {
public void Restart () {
Application.LoadLevel ( 0 );
}
}
//a |
DaSuKeTeMoChi/DaSuKeTeMoChi/StreamHandler/Handler.cs | JJinggg/TransferFF14Engine | 1 | 7039456 | <reponame>JJinggg/TransferFF14Engine
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DaSuKeTeMoChi.StreamHandler
{
public class Writer
{
public void WriteTextToFile(StreamWriter stream, string WriteTextValue... |
split-dict-by-length/TimeMeasurer.cs | ferrywlto/little-tool-collection | 0 | 7039457 | namespace LittleToolCollection;
public class TimeMeasurer {
private DateTime _timeStart;
public TimeMeasurer() {
SetTimeToNow();
}
public void SetTimeToNow() {
_timeStart = DateTime.Now;
}
public TimeSpan PrintTimeUsedSinceLastTask(string taskMsg = "perform previous task.") {
... |
src/Geo.MapQuest/Models/Exceptions/MapQuestException.cs | JustinCanton/Geo.NET | 2 | 7039458 | <reponame>JustinCanton/Geo.NET<filename>src/Geo.MapQuest/Models/Exceptions/MapQuestException.cs
// <copyright file="MapQuestException.cs" company="Geo.NET">
// Copyright (c) Geo.NET.
// Licensed under the MIT license. See the LICENSE file in the solution root for full license information.
// </copyright>
namespace Ge... |
DLL_Project/Detours/MentalStateWorker_BingingAlcohol.cs | MossieuLeblanc/CommunityCoreLibrary-fr | 0 | 7039459 | <filename>DLL_Project/Detours/MentalStateWorker_BingingAlcohol.cs
using System;
using System.Linq;
using System.Collections.Generic;
using RimWorld;
using Verse;
using Verse.AI;
namespace CommunityCoreLibrary.Detour
{
internal static class _MentalStateWorker_BingingAlcohol
{
internal static bool _B... |
examples/FrameworkTester/ViewModels/AntiSpoofPolicyPropertyViewModel.cs | poseidonjm/WinBiometricDotNet | 17 | 7039460 | using System;
using System.Collections.Generic;
using System.Linq;
using WinBiometricDotNet;
namespace FrameworkTester.ViewModels
{
public sealed class AntiSpoofPolicyPropertyViewModel : PropertyViewModel
{
#region Constructors
public AntiSpoofPolicyPropertyViewModel()
... |
code/vendor/optick/gui/ThreadView/ChartRow.cs | MarqusJonsson/NomadTasks | 5 | 7039461 | <reponame>MarqusJonsson/NomadTasks
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Profiler.Data;
using Profiler.DirectX;
using System.Windows.Media;
namespace Profiler
{
class ChartRow : ThreadRow
{
public override do... |
ZSZ.ISerivice/IAdminLogService.cs | laoshuai/ZSZ | 3 | 7039462 | <reponame>laoshuai/ZSZ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZSZ.IService
{
public interface IAdminLogService:IServiceSupport
{
//插入一条日志:adminUserId为操作用户id,message为消息
void AddNew(long adminUserId, String me... |
Ay/ay.contentcore/Cofigfile/IAyConfigManager.cs | ay2015/AYUI8 | 0 | 7039463 | using System;
using System.Collections.Generic;
using System.Text;
namespace ay
{
public interface IAyConfigManager
{
string this[string key] { get; set; }
string XmlFilePath { get; set; }
string GetValue(string key);
void SetValue(string key, string value);
void Remove... |
Assets/TheKiwiCoder/BehaviourTree/Scripts/Actions/Wait.cs | TheNidesRA/FrozenFury | 2 | 7039464 | <filename>Assets/TheKiwiCoder/BehaviourTree/Scripts/Actions/Wait.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TheKiwiCoder {
public class Wait : ActionNode {
public float duration = 1;
float startTime;
protected override void OnStart() {
... |
.NET Filter Syntax Parser/DigitalDeltaFilterParserTests/DigitalDeltaFilterParserTests.cs | DigitaleDeltaOrg/dd-eco-api-specs | 2 | 7039465 | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using DigitalDeltaFilterRequestParser;
namespace DigitalDeltaFilterParserTests
{
[TestFixture]
class DigitalDeltaFilterParserTests
{
const string BBOX_FIELD = "bbox";
const string STRING_FIELD = "string";
const string N... |
sdk/dotnet/WebPubSub/Inputs/EventHandlerTemplateArgs.cs | sebtelko/pulumi-azure-native | 0 | 7039467 | <gh_stars>0
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace... |
InstallerLib/Installer/InstallCommand/Unpacking/Major.cs | talerok/Installer | 0 | 7039469 | using InstallerLib.Installer.InstallCommand.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Compression;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using Ionic.Zip;
using InstallerLib.FilesBackup;
using InstallerLib.Progress;
namespace Instal... |
src/Orckestra.Composer.Website/App_Data/Razor/Composer/Header/StickyLinks.cshtml | developeramarish/BetterRetail | 2 | 7039470 | @inherits RazorFunction
@using Orckestra.Composer.CompositeC1.Mappers;
@using Orckestra.Composer.CompositeC1.DataTypes.Navigation;
@functions {
public INavigationMapper HomeNavigationMapper { get; set; }
}
@{
var currentPageId = SitemapNavigator.CurrentHomePageId;
var stickyMenuData = Data.Get<StickyHead... |
src/Sfa.Tl.ResultsAndCertification.InternalApi/Interfaces/IAssessmentController.cs | SkillsFundingAgency/tl-result-and-certification | 0 | 7039471 | <reponame>SkillsFundingAgency/tl-result-and-certification<filename>src/Sfa.Tl.ResultsAndCertification.InternalApi/Interfaces/IAssessmentController.cs
using Sfa.Tl.ResultsAndCertification.Common.Enum;
using Sfa.Tl.ResultsAndCertification.Models.Contracts;
using System.Collections.Generic;
using System.Threading.Tasks;
... |
src/Sio.Cms.Lib/Migrations/20190218170252_init.cs | Swastika-IO/Swastika | 66 | 7039472 | <filename>src/Sio.Cms.Lib/Migrations/20190218170252_init.cs
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Sio.Cms.Lib.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder... |
FixAntenna/NetCore/Message/Rg/Stash.cs | epam/fix-antenna-net-core | 8 | 7039473 | <reponame>epam/fix-antenna-net-core<gh_stars>1-10
// Copyright (c) 2021 EPAM Systems
//
// Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
//
/... |
src/work-queues/Worker/Worker.cs | gabriels-malta/get-started-rabbitmq | 0 | 7039475 | using System;
using System.Text;
using System.Threading;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace Worker
{
class Program
{
static void Main(string[] args)
{
var factory = new ConnectionFactory()
{
HostName = "localhost"
... |
v2/Assembler/Spect.Net.Assembler/Assembler/AssemblerOptions.cs | MISHA-ZX/spectnetide | 219 | 7039477 | <reponame>MISHA-ZX/spectnetide
using System.Collections.Generic;
namespace Spect.Net.Assembler.Assembler
{
/// <summary>
/// This class represents the input options of the compiler
/// </summary>
public class AssemblerOptions
{
/// <summary>
/// Predefined compilation symbols
... |
LegendaryClient/Logic/UpdateRegion/BaseUpdateRegion.cs | nongnoobjung/Legendary-Garena | 2 | 7039479 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LegendaryClient.Logic.UpdateRegion
{
public abstract class BaseUpdateRegion
{
public abstract string AirListing { get; }
public abstract string AirManifest { get; }
... |
demos/RockPaperScissorsV1WithTestsExample/RpsDbContext/Models/TestTable.cs | 06012021-dotnet-uta/MasonSanborn | 0 | 7039480 | using System;
using System.Collections.Generic;
#nullable disable
namespace RpsDbContext.Models
{
public partial class TestTable
{
public int TestId { get; set; }
}
}
|
Src/Notion.Client/Api/Users/UsersClient.cs | hognevevle/notion-sdk-net | 55 | 7039481 | using System.Threading.Tasks;
using static Notion.Client.ApiEndpoints;
namespace Notion.Client
{
public class UsersClient : IUsersClient
{
private readonly IRestClient _client;
public UsersClient(IRestClient client)
{
_client = client;
}
public async Task<... |
src/Meeg.Kentico.Configuration/Meeg.Kentico.Configuration.Cms/CmsSetting.cs | JFouts-BlueModus/kentico-contrib | 1 | 7039482 | <reponame>JFouts-BlueModus/kentico-contrib
namespace Meeg.Kentico.Configuration.Cms
{
internal class CmsSetting
{
public string Name { get; }
public string Value { get; }
public string CategoryName { get; }
public string SiteName { get; }
public CmsSetting(strin... |
MainWindow.xaml.cs | KidzCode1/Sudoku | 0 | 7039483 | <gh_stars>0
using System;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
... |
Programing Fundamentals C#/Functional Programming - Exercise/CustomMinFunction/CustomMinFUnc.cs | CvetelinLozanov/SoftUni-C- | 0 | 7039484 | using System;
using System.Linq;
namespace CustomMinFunction
{
class CustomMinFunc
{
static void Main(string[] args)
{
int[] inputNumbers = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)
... |
ConoHaNet/Objects/PhysicalAddressSimpleConverter.cs | krowin24/backuptool | 4 | 7039485 | <filename>ConoHaNet/Objects/PhysicalAddressSimpleConverter.cs
namespace ConoHaNet.Objects
{
using System.Net.NetworkInformation;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using BlockStorage;
/// <summary>
/// This implementation of <see cref="JsonConverter"/> allows for JSON... |
src/BrandUp.Website/Pages/Results/PageRedirectResult.cs | dkovyazin/BrandUp.Website | 0 | 7039486 | using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
namespace BrandUp.Website.Pages.Results
{
public class PageRedirectResult : ActionResult, IActionResult, IKeepTempDataResult
{
public AppPageModel CurrentPage { ge... |
Day16/Program.cs | TASagent/AdventOfCode2020 | 0 | 7039487 | <filename>Day16/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Day16
{
class Program
{
private const string inputFile = @"../../../../input16.txt";
static void Main(string[] args)
... |
examples/Spring.RestQuickStart/src/Spring.RestQuickStart.2005/GoogleImages.cs | kamiff/spring-net-rest | 23 | 7039488 | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Spring.Rest.Client;
using Spring.Http;
using Spring.Http.Converters;
using Spring.Http.Converters.Json;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Spring.RestQuickStart
{
public partial class GoogleIma... |
Assets/Plugins/Aokoro/3rdParty/UI/Modern UI Pack/Scripts/Icon/IconLibrary.cs | AokoroTeam/UPQP_House | 0 | 7039489 | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
namespace Michsky.UI.ModernUIPack
{
[CreateAssetMenu(fileName = "New Icon Library", menuName = "Modern UI Pack/New Icon Library")]
public class IconLibrary : ScriptableObject
{
// Settings
public bool alwaysUpdate = false;
... |
TwitterIrcGatewayCore/AddIns/ResolveShortUrlServices.cs | argrath/TwitterIrcGatewayUpdate | 8 | 7039490 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Misuzilla.Applications.TwitterIrcGateway.AddIns
{
class ResolveShortUrlServices : AddInBase
{
public override void Initialize()
{
CurrentSession.PreFilterProcessTimeli... |
MyLogs/MyLogs/Classes/HighlightStringObject.cs | Twake56/Timber-Tail | 0 | 7039491 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HailTail.Classes
{
public class HighlightStringObject
{
int ForegroundColor { get; set; } = 0x0;
int BackgroundColor { get; set; } = 0x0;
string HighlightString... |
SpeedrunComSharp/Leaderboards/EmulatorsFilter.cs | Suprnova/SpeedrunComSharp | 0 | 7039492 | <gh_stars>0
namespace SpeedrunComSharp
{
/// <summary>
/// Filters for whether emulators are included in Leaderboards.
/// </summary>
public enum EmulatorsFilter
{
NotSet,
OnlyEmulators,
NoEmulators
}
}
|
src/AutoQueryable/Extensions/QueryableExtension.cs | venuselite/AutoQueryable | 100 | 7039493 | using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using AutoQueryable.Core.Models;
using AutoQueryable.Models;
namespace AutoQueryable.Extensions
{
public static class QueryableExtension
{
//public static IQueryable<object> AutoQueryable(this IQueryable<object> query, IAutoQue... |
GrasshopperForMidasCivil/Element.cs | PrzemyslawKrauze/GrasshopperForMidasCivil | 1 | 7039494 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GrasshopperForMidasCivil
{
public class Element
{
public static string ListToString(List<Element> elementList)
{
... |
HTML5/Views/E03_JavaScriptLernen/AjaxIntro.cshtml | mk-prg-net/PlaygroundJS | 0 | 7039495 | <gh_stars>0
@{
ViewBag.Title = "Ajax Intro";
}
@using (Html.BeginForm())
{
<div class="row">
<article class="col-xs-12 col-md-6 col-lg-6">
<h2>Ajax</h2>
<figure>
<figcaption>
Prinzip asynchroner Requests
</figcaption>
... |
Projects/Dotmim.Sync.Core/Args/MigrationArgs.cs | eduard-bystrov/Dotmim.Sync | 1 | 7039497 | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
using System.Threading.Tasks;
namespace Dotmim.Sync
{
/// <summary>
/// Object representing a migration about to start
/// </summary>
public class DatabaseMigratingArgs : ProgressArgs
{
public Dat... |
projects/3_asp_net/lab4/Shared/Domain/GroupModel.cs | GodBastardNeil/somethings | 0 | 7039498 | using System;
using System.ComponentModel.DataAnnotations;
namespace Lab4.Shared.Domain
{
/// <summary>
/// Simple POCO class for work with Data
/// </summary>
public class GroupModel
{
[Key]
public Guid idgroup { get; set; }
// TODO: Add attributes here
public strin... |
Trabalho Bimestral Carro/Trabalho Bimestral Carro/Areas/Cadastros/Views/Carro/Create.cshtml | LuisFelipeagarcia/TrabalhoCarro2Bimestre | 0 | 7039499 | <filename>Trabalho Bimestral Carro/Trabalho Bimestral Carro/Areas/Cadastros/Views/Carro/Create.cshtml
@model Modelo.Cadastro.Carro
@{
ViewData["Title"] = "Create";
Layout = "~/Views/Shared/_LayoutIES.cshtml";
}
<h1>Create</h1>
<h4>Carro</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form ... |
Source/Schema.NET/core/enumerations/MedicineSystem.cs | gladstonemrm/Schema.NET | 0 | 7039500 | namespace Schema.NET
{
using System.Runtime.Serialization;
/// <summary>
/// Systems of medical practice.
/// </summary>
public enum MedicineSystem
{
/// <summary>
/// A system of medicine that originated in India over thousands of years and that focuses on integratin... |
DataTableBuilderTests.cs | matthewrenze/data-table-builder | 7 | 7039501 | <reponame>matthewrenze/data-table-builder
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace DataTableBuilder
{
[TestFixture]
public class DataTableBuilderTests
{
private DataTableB... |
GitSharp/RevWalk/BlockRevQueue.cs | HackerBaloo/GitSharp | 1 | 7039502 | /*
* Copyright (C) 2008, <NAME> <<EMAIL>>
* Copyright (C) 2009, Henon <<EMAIL>>
* Copyright (C) 2009, <NAME> <<EMAIL>>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.