blob_id large_stringlengths 40 40 | language large_stringclasses 1
value | repo_name large_stringlengths 5 119 | path large_stringlengths 4 271 | score float64 2.52 4.84 | int_score int64 3 5 | text stringlengths 26 4.09M |
|---|---|---|---|---|---|---|
b6d0ec3341ae94dcd978b3d4e09712b74297a64e | C# | garora/TDD-Katas | /src/Common/Utility/EnumerableComparer.cs | 3.40625 | 3 | // Copyright (c) Gaurav Aroraa
// Licensed under the MIT License. See License.txt in the project root for license information.
//Adapted from : http://www.interact-sw.co.uk/iangblog/2007/12/13/natural-sorting
//Used whole code as it, still looking if there is any scope of improvement
using System.Collections.Generic... |
d3dc4a8160d6f621093ca55e5f93cdf3cb7d3aa3 | C# | bartlix/RestContract | /src/Codeworx.Rest.Client/RestOptions.cs | 2.6875 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
namespace Codeworx.Rest.Client
{
public class RestOptions
{
private readonly HttpClientFactory _clientFactory;
private readonly DefaultFormatterSelector _defaultFormatterSelector;
public RestOptions(HttpClient... |
4c72ca9850697ecc49ac17b7bdfe9646089e57d9 | C# | texyh/BattleShip | /BattleShip.Core/Game.cs | 3.046875 | 3 | using BattleShip.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using Models = BattleShip.Core.Models;
namespace BattleShip.Core
{
public class Game
{
public readonly int[,] OceanGrid = new int[Core.OceanGrid.ROWS, Core.OceanGrid.COLUMNS];
private IList<IShip> ... |
373d2736925450b9cfdb0799bbf2e161a0b75fcc | C# | AV2606/Tools | /SysIO/Base data packs/BasePack.cs | 3.109375 | 3 | //Version 0.4
namespace Tools
{
/// <summary>
/// Encapuslate communication with the system and files.
/// </summary>
namespace SysIO
{
#region Base data packs
/// <summary>
/// A basic pack class that holds a variable which can be stored on a hard drive.
... |
bb97356618cf382d8edd718f9fee425546d26d09 | C# | apolyanov/CalculatorWPF | /CalculatorWPF/ViewModels/BaseViewModel.cs | 3.109375 | 3 | using PropertyChanged;
using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace CalculatorWPF
{
[AddINotifyPropertyChangedInterface]
class BaseViewModel : INotifyPropertyChanged
{
#region PropertyChang... |
9043d208e20c6d615147376674b3b9efdccb4bc0 | C# | mattdotmatt/chord-o-roi | /webservice/chord.ws.tests/UnitTests/ChordServiceTests.cs | 2.609375 | 3 | using System.Collections.ObjectModel;
using FakeItEasy;
using Xunit;
using chord.ws.Domain;
using chord.ws.Repository;
using chord.ws.Services;
namespace webservice.tests.UnitTests
{
public class ChordServiceTests
{
[Fact]
public void ChordServiceShouldReturnAChordDescriptionForAFoundChord()
... |
be3791c4290ff3408a9ae5384dc197f0a358830d | C# | yefc/CBOE | /subprojects/DataUploader/DataUploader.Core/FileParser/IFileReader.cs | 2.921875 | 3 | using System;
namespace CambridgeSoft.COEDataLoader.FileParser
{
public interface IFileReader<T>
where T : ISourceRecord
{
/// <summary>
/// The count of records that have been parsed.
/// </summary>
int ParsedRecordCount { get;set;}
/// <summary>
/// Ex... |
6559c090adbdedee4538baf21773f63d6f7d5831 | C# | bhavin-mistry/FluentlyHttpClient | /src/FluentlyHttpClient/Middleware/MiddlewareConfig.cs | 2.734375 | 3 | using System;
namespace FluentlyHttpClient.Middleware
{
/// <summary>
/// Middleware configuration.
/// </summary>
public class MiddlewareConfig
{
/// <summary>
/// Gets or sets the type for the middleware.
/// </summary>
public Type Type { get; set; }
/// <summary>
/// Gets or sets the arguments fo... |
ab886d10b247519b50687869bb20caa442fc9495 | C# | fabiociconi/CarMaintenance | /Car/Pages/Tips.aspx.cs | 2.609375 | 3 | using Car.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Car.Pages
{
public partial class Tips : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
//GridView1.Visible = tr... |
65410f2414fe87fe88f8289e7dcbe536b23ca043 | C# | tdbok90/zestaw3 | /Zestaw03/Ksiazka.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zestaw03
{
class Ksiazka : Pozycja
{
private int liczbaStron;
private List<Autor> autorzy;
public Ksiazka()
{
}
public... |
019fed350d0e806d419263006b580996e8cc08f6 | C# | allschu/MovieApi | /Services/BaseHttpService.cs | 2.5625 | 3 | using Microsoft.Extensions.Configuration;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
namespace Services
{
public class BaseHttpService
{
public HttpClient Client { get; }
public BaseHttpService(HttpClient httpClient, IConfiguration configuration)
{
... |
9bfcd4f0f47d1168975e209f47533100b010d519 | C# | Tokeiya/SharpSourceFinder | /SharpSourceFinderCore/UnitOfDiscriminatedElementMapper.cs | 2.75 | 3 | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Tokeiya3.SharpSourceFinderCore
{
public static class UnitOfDiscriminatedElementMapper
{
private static (ScopeCategories scope, bool isUnsafe, bool isPartial, bool isStatic, bool isAbstract, bool
isSealed) ParseMod... |
1cac55b471e79799632499b95379138e3d91a707 | C# | kingsor/NoteCloudApi | /Middleware/AuthorizeMiddleware.cs | 2.6875 | 3 | using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
using NoteCloud.Helpers;
using System;
using Microsoft.Extensions.Options;
namespace NoteCloud.Middleware {
public class AuthorizeMiddleware
{
private readonly RequestDelegate _next;
private Secrets _secrets;
public Author... |
41b74212cdebd34acb7ba351bf8dd644e453f795 | C# | lpengshi/StationeryStore | /StationeryStore/Controllers/CSVHandlerController.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using StationeryStore.Models;
using StationeryStore.Service;
using StationeryStore.Filters;
namespace StationeryStore.Util
{
public class CSVHand... |
876f99a24e22db68137ef5d3e72b77c0220cb93d | C# | Lobahub/Prueba1 | /prueba1/Program.cs | 3.296875 | 3 | using System;
namespace prueba1
{
class Program
{
static void Main(string[] args)
{
int prac = 30;
int teo = 60;
int part = 10;
int notFin;
Console.WriteLine(" ingrese la nota de la practica del alumno");
... |
1cd0e667ff35036145f0b1942f8f5b3c0849b6e3 | C# | hse-programming-CSharp2019-2020/CSharp2019-2020 | /04 module/Seminar05/Example03/Program.cs | 3.796875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//https://docs.microsoft.com/ru-ru/dotnet/csharp/programming-guide/concepts/linq/standard-query-operators-overview
namespace Example03
{
class Program
{
static void Main(string[] args)
... |
f4a493091e1f7eb09172e440f65041463501d493 | C# | LetsPlayNow/UniversityProjects | /Study Works/OptimizationMethods/ConditionalOptimization/ConditionalOptimization/Math/PenaltyFunctionMethod.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodHookJivs; // Метод многомерной минимизации Хука - Дживса
using NDimensionalPrimitives;
// TODO Что такое функции ограничения в методе это f(i)?
namespace ConditionalOptimization.Math
{
using FunctionND = System.Func<... |
3634909cf6db2ee813ebbaf6c866d40e75093e5c | C# | shendongnian/download4 | /code5/924588-23168392-63246931-2.cs | 4.15625 | 4 | // This will be the signature of your event handlers
public delegate void ChangedEventHandler(object sender, ProductChangedEventArgs e);
// The event itself to which will be possible to bind callbacks functions
// with the signature given by ChangedEventHandler
public event ChangedEventHandler Cha... |
a122ec19e74212ed816df5d04e6024c069253052 | C# | Prottector/KryptoMarket | /Models/Cardview.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace Krryp.Models
{
public class Cardview : ContentView
{
#pragma warning disable CS0618 // Type or member is obsolete
public static readonly BindableProperty CornerRadiusProperty = BindableProperty... |
444dfc7413145e62cbda268c2222bdf6f0615507 | C# | shendongnian/download4 | /code5/878241-21783382-58052298-2.cs | 3.546875 | 4 | //Add more parameters based on your conditions
public static DataTable GetVal(DateTime startDate, DateTime endDate, DataTable dt)
{
using (var myTable = dt.Clone())
{
var dr = from row in myTable.AsEnumerable()
where row.Field<DateTime>... |
90c2f97442fde114e545ea00b62c1862fa3b369c | C# | quxian/Spider.Downloader | /src/Spider.Downloader/Downloader.cs | 2.796875 | 3 | using Spider.Model;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Spider {
public class Downloader : IDownloader<DownloadResult> {
private sta... |
4cbdc35f25484a0873aa05347356f1ac6d20bfa1 | C# | KrisJe/ConsoleAppOPCClient | /ConsoleAppOPCClient/Samples/OpcLabs.QuickOpc.Sample.CS/UA/_EasyUAClient.Read.Main1.cs | 2.71875 | 3 | // $Header: $
// Copyright (c) CODE Consulting and Development, s.r.o., Plzen. All rights reserved.
// ReSharper disable LocalizableElement
#region Example
// This example shows how to read and display data of an attribute (value, timestamps, and status code).
using OpcLabs.EasyOpc.UA;
using System;
namespace UADocE... |
ff21e5839ba5631fc9fa85c39f5201edad2371f0 | C# | Gheifr/Homeworks | /MyProject/cls/Employee.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace cls
{
class Employee: Person
{
public string Position { get; private set; }
public int AccessLevel { get; private set; }
private double _salary;
public int userID { get; private set; }
publi... |
f4f5545d8ad9c9274c459680a18c1dbc1fba5b31 | C# | mellinoe/ultraviolet | /src/TwistedLogik.Ultraviolet/Graphics/Graphics2D/SpriteFontKerning.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
namespace TwistedLogik.Ultraviolet.Graphics.Graphics2D
{
/// <summary>
/// Represents the kerning information for a <see cref="SpriteFont"/>.
/// </summary>
public class SpriteFontKerning
{
/// <summary>
/// Gets the kerning offset fo... |
366da874ecf9f35234fffae61e136c378a829546 | C# | jbautistam/TFSample | /LibDomain.Model.Base/Model/LazyObject.cs | 2.984375 | 3 | using System;
namespace Bau.Libraries.LibDomain.Model.Base
{
/// <summary>
/// Objetos Lazy
/// </summary>
/// <remarks>
/// TypeData desciende de class en lugar de <see cref="BaseModel"/> porque también se pueden definir desde
/// <see cref="BaseModelCollection"/>
/// </remarks>
public class LazyObject<T... |
f9e63868b764198c7ab2650e97b02954c0f5ae91 | C# | kucksdorfs/ChatBot | /SK.ChatBot/Executor/WeatherExecutor.cs | 2.546875 | 3 | namespace SK.ChatBot.Executor
{
using SK.ChatBot.Weather;
using System;
using System.Reflection;
//will eventually be used to determine which weather api to use.
public static class WeatherExecutor
{
private static OpenWeatherMap openWeatherMapObj = new OpenWeatherMap();
... |
5a03e754520e7a82aa65e012a9b3715f4a5e9dac | C# | yanshouwang/BGLib.NET | /BGLib.SDK/Extensions.cs | 2.890625 | 3 | using System;
namespace BGLib.SDK
{
internal static class Extensions
{
public static string GetMessage(this ushort errorCode)
{
return Util.GetMessage(errorCode);
}
public static byte GetByteLength(this Array array)
{
if (array.Length > byte.Max... |
d0c214664ab58261aca107072e2d7151766680cf | C# | 3lp4tr0n/Pluto | /Pluto/SyscallImportAttribute.cs | 2.96875 | 3 | using System;
namespace Pluto
{
/// <summary>
/// Indicates that the attributed delegate represents a syscall signature
/// </summary>
[AttributeUsage(AttributeTargets.Delegate)]
public sealed class SyscallImportAttribute : Attribute
{
internal string DllName { get; }
internal... |
56407189890278c89c20a1f6167e52d4efb02f27 | C# | fanrongxue/Final-C | /Airline-C#/Airline/MyBookings.cs | 2.515625 | 3 | 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 Airline
{
public partial class MyBookings : Form
{
public MyBookings()
... |
f1899f65eee290fe9df9d69a45467d8bafb0fa5b | C# | goodtrailer/LiveSplit | /LiveSplit/LiveSplit.Tests/TimeFormatTests/DigitsFormatTests.cs | 2.609375 | 3 | using System;
using LiveSplit.TimeFormatters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LiveSplit.Tests.TimeFormatTests
{
[TestClass]
public class DigitsFormatTests
{
[TestMethod]
[DataRow("00:00:00", "0", DigitsFormat.SingleDigitSeconds)]
[DataRow("00:00:00", "... |
d7c7492a3944487e7112d5ba0e5c37c2e829e8ac | C# | GangDuo/jigsaw | /Engine/Component/Membership.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
using jigsaw.Engine.Enhancement;
namespace jigsaw.Engine.Component
{
class Membership : AbstractParser
{
private static readonly string Boundary = @"^\r*\n*";
public Dictionary<string, str... |
01ab642387f00db93864b7488e010d9b2f2d4cdd | C# | AZANIR/mySnippetsZenno | /[Переменные]/Создание переменной Zenno из кода и задание ей значения.cs | 2.5625 | 3 | string vParamName = "NewVar";
string vParamValue = "VarData";
//проверяем существование переменной, если нет то создаем новую
if (project.Variables.Keys.Contains(vParamName)){
project.SendInfoToLog("Переменная "+vParamName+" уже существует - присваиваем ей значение");
project.Variables[vParamName].Value = vParam... |
073e18d81170ead8a766c8b38ea02a1108716883 | C# | Rayman208/web_services | /Library/Entities/Record.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Library
{
class Record
{
public long Id { set; get; }
public int Date { set; get; }
public long IdBook { set; get; }
public long IdReader { set; get; }
... |
58b26232009fae7b0073362a53ff826edcaa6f18 | C# | griha266/Wallet | /Runtime/Repository/ServerWalletRepository.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using Newtonsoft.Json;
using WalletLib.Core;
using System.Net;
using System.Net.Http;
using System.Text;
namespace WalletLib.Repository
{
/// <summary>
/// Server repository class for wallet
/// <para>
/// Server must provid... |
9a71a3a3f71a505065f12ae7ea698bd7ea545787 | C# | joshualeduc/CSharp-Practice | /TaskManager/TaskManager/Program.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TaskManager
{
class Program
{
static string myPath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "todo.txt");
static void M... |
e597ff4d961076013cad8a3200da338ec7c68b7e | C# | benjyberk/MazeProject | /MazeSolver/MazeWrap.cs | 3.078125 | 3 | using MazeLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MazeSolver
{
public class MazeWrap : Maze
{
private string maze = "000011011011011011000011";
public new int Rows {
get;
set;
... |
4a453cdc929a28bfe47a552bf08be9ef367ca14a | C# | Simon-Raes/Boelaert-Raes-ASP-Project | /Boelaert-Raes-Project/LayeredBusinessModel.BLL/Model/AvailabilityModel.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LayeredBusinessModel.BLL;
using LayeredBusinessModel.DAO;
using LayeredBusinessModel.Domain;
using CustomException;
namespace LayeredBusinessModel.BLL
{
public class AvailabilityModel
{
... |
fdd03e4f9d2db0c6627ec1f2101929d7fa049192 | C# | AvaloniaUI/Avalonia | /src/Avalonia.Base/Media/CharacterHit.cs | 3.21875 | 3 | using System;
using System.Diagnostics;
namespace Avalonia.Media
{
/// <summary>
/// Represents information about a character hit within a glyph run.
/// </summary>
/// <remarks>
/// The CharacterHit structure provides information about the index of the first
/// character that got... |
d947c5568dbf37a1a6b864ee8ce4709d2dededc6 | C# | braian-baldino/Windows_Form | /Accountant_Form/MainForm.cs | 2.734375 | 3 | using ClassLibrary;
using ClassLibrary.Serializer;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Accountant_Form
{
... |
e505c67ef3bb63fd1445cbf2e5030187de2d27b3 | C# | maxforweb/Laba-2 | /Laba 2/SquarePrism.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Laba_2
{
class SquarePrism: SquareObj
{
public int height;
public int volume;
public SquarePrism(int height, int width, string title)
{
... |
46e6ace8aeaac2dc422012ea385c8c8e964f8f1f | C# | yangra/TelerikAcademy | /Programming/CSharpPartTwo/02.MultidimentionalArrays/02.MaximumSumSquare/MaximumSumSquare.cs | 3.890625 | 4 | //Write a program that reads a rectangular matrix of size N x M and finds in it the square 3 x 3 that has maximal sum of its elements.
using System;
class MaximumSumSquare
{
static int[,] matrix;
static int SquareSum(int index1, int index2)
{
int sum = 0;
for (int i = index1 - 1; i <= in... |
0660c127d9d27246e42c8fce82c4635521d53321 | C# | benk79hes/EFCoreApp2020 | /VSFlyWebAPI/Controllers/FlightsController.cs | 2.609375 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using EFCoreApp2020E;
using VSFlyWebAPI.Extensions;
using System;
namespace VSFlyWebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public c... |
9a14447d79ed1b0eff4df4f7ddfd62ab90dfe36c | C# | 50046454/SERC-Broken-Code-Challenge | /PetesPizza/PetesPizza/GlobalVars.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PetesPizza
{
class GlobalVars
{
public static string strUsername = "Pete";
public static string strPassword = "Pizza";
... |
dbacfdca5f6afe5ff0d1d576fd1752938e4af4c9 | C# | venkatarajasekhar/ARM-6 | /01_HMIWinFormsClient_158/MessagePanel/IMessageProvider.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using MessagePanel.MessagePanelService;
namespace MessagePanel
{
public interface IMessageProvider
{
#region Events
/// <summary>
/// Событие обновления списка сообщений
/// </summary>
event Action MessagesUpdated;
... |
5237c8fc9641ff8e56de3520e857aa749f2fa35a | C# | EdwardDeam/Advent-of-code-2019 | /day2/Solver.cs | 3.53125 | 4 | using System;
using System.IO;
namespace DayTwo
{
public class Solver
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
Console.WriteLine("Input File Required.");
return;
}
string data = LoadFile(args[0]);
IntComputer v... |
a99d4ff1f9096bcb57936a11ca45fcaaca605162 | C# | a14907/torrent-client-for-net | /Src/TorrentClient/TorrentProgressInfo.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using DefensiveProgrammingFramework;
using TorrentClient.Extensions;
using TorrentClient.PeerWireProtocol;
namespace TorrentClient
{
/// <summary>
/// The torrent progress info.
/// </summary>
public class TorrentProgressInfo
{
#region Public... |
07c1690d48ec59b41978c0d229b74a846dc9b86d | C# | josh-horsley/Theodos | /Unity/Assets/Infrastructure/NodeClient.cs | 2.625 | 3 | using UnityEngine;
using SocketIOClient;
using SocketIOClient.Messages;
using System.Collections;
using System.Net;
using System.Net.Sockets;
public class NodeClient : MonoBehaviour
{
public string IpAddress;
public int Port = 5000;
public bool Connect;
public Client client;
private bool _isConne... |
a11eb1d2143f153e563360048f2a48a8a4c2c16f | C# | JasonAMartin/adventures-on-wall-street | /Assets/_Project/Scripts/Constants/GameDateTime.cs | 2.71875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu (fileName = "GameDateTime", menuName = "AdventuresOnWallStreet/GameDateTime", order = 29)]
public class GameDateTime : ScriptableObject {
public int startingMonth = 1;
public int startingDay = 1;
public int st... |
c2744bad5ce44a453871c69026f0c3b184dab001 | C# | bunny12rabbit/2048-Balls | /Assets/Sources/Scripts/Data/AudioData.cs | 2.53125 | 3 | using System.Collections.Generic;
using UnityEngine;
namespace Data
{
public enum AudioFxTypes
{
Click,
Collapse,
Win,
Music
}
[CreateAssetMenu(fileName = "AudioDataCollection", menuName = "AudioData", order = 0)]
public class AudioData : ScriptableObject
{
... |
61b10b25c25e934ac73fe23316cf2e4d5e2a8ad9 | C# | rreminy/FFXIV.WindowTitleChanger | /WindowTitleChanger.cs | 2.65625 | 3 | using System;
using System.Runtime.InteropServices;
using Dalamud.Plugin;
using System.Diagnostics;
namespace WindowTitleChanger
{
public class WindowTitleChanger : IDalamudPlugin
{
[DllImport("user32.dll")]
static extern int SetWindowText(IntPtr hWnd, string text);
public... |
1f9028959dbe5333e0a1748f2cc16afde03b3b5f | C# | adjit/EpsonPOSReport | /EpsonPOSReport/spaListClass.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Excel = Microsoft.Office.Interop.Excel;
namespace EpsonPOSReport
{
/*
*
* */
class SpaList
{
/* Private element of the SpaList class which contains a list
... |
4e14581537b090bf6e211c6216400cfe5c5fff5b | C# | bkleinen/EventSourcingExample | /TrackShips/Ship.cs | 2.75 | 3 | using System;
namespace TrackShips
{
public class Ship
{
private String name;
private Port port;
public Port Port {
get {
return port;
}
set {
port = value;
}
}
public Ship (String name)
{
this.name = name;
}
public void HandleDeparture (DepartureEvent departureEvent)
{
... |
eafa81e797e74e5f1f0bc891e5d4564ae6956696 | C# | SamuelToh/Masters_Degree_Major_Project | /BioPatML Server/BioPatML/Common.Structures/PrimitiveParse.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
/*****************| Queensland University Of Technology |*******************
* Original Author : Dr Stefan Maetschke
* Translated By : Samuel Toh (Email: yu.toh@connect... |
cea331f739918588589722487c5ef7e9d1b75b4d | C# | HenryP22/Backend-Rapisolver | /Services/Impl/SupplierServiceImpl.cs | 2.515625 | 3 | using AutoMapper;
using Microsoft.EntityFrameworkCore;
using RapiSolver.Commons;
using RapiSolver.Dto;
using RapiSolver.Entity;
using RapiSolver.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RapiSolver.Services.Impl
{
public class SupplierS... |
a2437d898fc48b1f1baf7b8becb92d430a4a727c | C# | aidancasey/Euler | /EulerProblems/Problem6.cs | 3.671875 | 4 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EulerProblems.Helpers;
namespace EulerProblems
{
public class Problem6 : ISolveProblemManyWays
{
#region IProblem Members
/*
The sum ... |
38f40a6dc6a5a0f5817b99397e5fe6841ed0da8a | C# | AhmedKhalil777/DOTNET-Learning | /Module 30 Dynamic C#/SimplifyingReflections/Bird.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimplifyingReflections
{
public class Bird
{
public string Name { get; set; }
public void Fly(){
System.Console.WriteLine("I am flying");
}
}
} |
a158fb8bc60ae2b7959ff3c7300d5bc68a896c6d | C# | cschladetsch/CardChess | /Assets/External/NewUIWidgets/Scripts/Utilities/SlideUp.cs | 2.578125 | 3 | namespace UIWidgets
{
using System.Collections;
using UnityEngine;
/// <summary>
/// Slide up. Helper component for Notify.
/// </summary>
[RequireComponent(typeof(RectTransform))]
public class SlideUp : MonoBehaviour
{
/// <summary>
/// Animate with unscaled time.
/// </summary>
public bool UnscaledT... |
6b80c5d7f4b772d4bbf7aed7e4b34231dd065e7e | C# | xiaowu351/grpc-dotnet | /examples/Tester/Tests/FunctionalTests/TesterServiceTests.cs | 2.734375 | 3 | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Test;
using Grpc.Net.Client;
using Grpc.Core;
namespace Tests.FunctionalTests
{
[TestFixture]
public class TesterServiceTests : FunctionalTestBase
{
... |
8317a2cd64d938645e45860296a206760643cb2d | C# | NicholasZonenberg/Evolution-Game | /Evolution Game Part 1/Evolution Game Part 1/Actor.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Evolution_Game_Part_1
{
// this is the generic class for actors. Not going to be used directly
interface Actor
{
// the name of the actor
string name
{
... |
abe315818f1a21f00843e0270d71076abea75aca | C# | qipa/NordeusGameJam | /Assets/HackFuSlashFu/Scripts/AI/BehaviourBricks/SteeringBehaviour/BaseSteeringBehaviour.cs | 2.53125 | 3 | using Pada1.BBCore.Tasks;
using Pada1.BBCore;
using UnityEngine;
using AI;
namespace BBUnity.Actions
{
public abstract class BaseSteeringBehaviour : GOAction
{
[InParam("Priority", DefaultValue = 1)]
[Help("Used if Agent with multiple behaviours is using Priority. Default is 1")]
publi... |
4ef412f1c859224a98791f0f933c2656a9f82652 | C# | stevebeauge/ProjectEuler-Csharp | /Src/ProjectEuler/Lib/Factorial.cs | 2.875 | 3 | using System.Collections.Generic;
using System;
using System.Linq;
using System.Diagnostics.Contracts;
using System.Numerics;
using Lib.Extentions;
namespace Lib
{
public static class Factorial
{
private static ulong[] g_SmallFactorials = new ulong[] {
1, 1, 2, 6, 24, 120, 720, 5040, 4032... |
eb0fb279fe4d2aa34394c1f3908277896b080a07 | C# | Psyko31415/TicketMachine | /TicketMachine/BankAccount.cs | 3.359375 | 3 | using System;
using System.Runtime.Serialization;
namespace TicketMachine
{
public class CantOperateOnANegativeAmountException : Exception { }
public class YouAreTooPoorException : Exception { }
public class BankAccount
{
private AMU balance;
private string id;
public BankAcc... |
a0026bf1844fffe26b4f91fc7b07ef97a18e1034 | C# | dmitry-usov/PCGManager | /PCGManager/Model/Game.cs | 2.90625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace PCGManager
{
public class Game : INotifyPropertyChanged
{
public int id { get; set... |
117861eed55916c2cd4de1b65782886784edf1a9 | C# | katerinkadar2/book_mvc | /BookApplication/Models/Book.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BookApplication.Models
{
/// <summary>
////Книга
/// </summary>
public class Book
{
[Required(ErrorMessage = "Не... |
9cbdffe85261f6b19c88cbc612864f43184c9057 | C# | Killfile/DecoratorValidation | /LogicalValidation/LogicalValidator_Any.cs | 2.84375 | 3 | using DecoratorValidation.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DecoratorValidation.LogicalValidation
{
public class LogicalValidator_Any<T> : ValidatorDecorator<T>
{
private string _errorMessage;
pr... |
ddcad726b62f6d5cf922d7eea56e4e8d3e5910fe | C# | rhinds1004/myFirstRPG | /UI/TradeScreen.xaml.cs | 2.890625 | 3 | using Engine.Models;
using Engine.ViewModels;
using System.Windows;
namespace WPFUI
{
/// <summary>
/// Interaction logic for TradeScreen.xaml
/// Allows the player to interact with traders within the game.
/// </summary>
public partial class TradeScreen : Window
{
public GameSession S... |
5a83bfdcbde5c792335467ffcd3647086d674c72 | C# | tomsons6/Kursa_Darbs | /Assets/Script/GameManager.cs | 2.90625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
public static GameManager instance;
public bool colis = true;
[SerializeField]
private GameObject cube;
private void Start()
{
StartCoroutine(CubeBehaviour());
... |
baf2943d0fd2339066e23290778b6a3970906cb6 | C# | maxikape/Programacion2-TP.CAPAS | /Datos/DatosConexionBD.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Data.OleDb;
namespace Datos
{
public class DatosConexionBD
{
#region Atributos
public OleDbConnection conexion;
... |
5736d673d9bfa1ec6733bce05a2904640f540676 | C# | El-Ferdaous-Ayoub/WebPharmacy | /WebSite/Classes/Models/UserModel/UserInfo.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Classes.Models
{
public class UserInfo
{
public String Photo { get; set; }
public String NIC { get; set; }
[Display(Name = "First Name")]
public String Firs... |
ff92bab0f64ab5c5738c4a0822f03ad8d729311f | C# | limered/LD47 | /Assets/Systems/Movement/Mutators/RunAwayMutator.cs | 2.59375 | 3 | using System;
using Assets.Utils.Math;
using UnityEngine;
namespace Assets.Systems.Movement.Mutators
{
public class RunAwayMutator : MovementMutator
{
public float Acceleration;
public float MaxSpeed;
public float MaxDistance;
public GameObject Source;
public override ... |
fdc0f8ce7b42629c66581cb1e471bfb3ee7ae02a | C# | shendongnian/download4 | /first_version_download2/443271-43711086-144337385-2.cs | 3.03125 | 3 | MessageBox.Show("Unable to fill Username and Password", "Error Message!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else if (txtUsername.Text == "") //Error when all text box are not fill
{
MessageBox.Show("Unable to fill Username", "Error Message... |
b4e6403b67038a7e4fb1fab57abe85252fc716b6 | C# | GrigoriyBykovskiy/dis_lab_1 | /SimpleLog.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace dis_lab_1
{
public class SimpleLog
{
public void Write(string type, string msg)
{
DateTime currtime = DateTime.Now;
using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"app.log", t... |
fed786fd128225b55d2e255ada58e48fe4e880df | C# | TandXiaoDong/PCManager | /ShikuIM/Helpers/LogHelper.cs | 2.515625 | 3 | using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace ShikuIM
{
public class LogHelper
{
public static ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMetho... |
ca319067245b7ee8270c72a2415ac83d9fb978ad | C# | VladimirKyuranov/CSharp-Advanced | /Labs/Lab01-StacksAndQueues/03-DecimalToBinaryConverter/DecimalToBinaryConverter.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
class DecimalToBinaryConverter
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
Stack<int> stack = new Stack<int>();
while (number > 0)
{
stack.Push(number % 2);
number /= 2... |
839fa9383fbc5760ce1ad8cb48cd981022a0ff75 | C# | starburst997/NAudio | /NAudioWpfDemo/DrumMachineDemo/DrumMachineDemoViewModel.cs | 2.65625 | 3 | using System;
using System.Linq;
using System.Windows.Input;
using NAudio.Wave;
using NAudioWpfDemo.ViewModel;
namespace NAudioWpfDemo.DrumMachineDemo
{
class DrumMachineDemoViewModel : ViewModelBase, IDisposable
{
private IWavePlayer waveOut;
private readonly DrumPattern pattern;
... |
f738c65fff8a3a6df363759ab5070c103688bdf0 | C# | chatremblay/OnlineRatingTC | /OnlineRatingTC/Services/ReviewServices.cs | 2.671875 | 3 | using System.Collections.Generic;
using System.Linq;
using OnlineRatingTC.Models;
namespace OnlineRatingTC.Services
{
public class ReviewServices
{
private readonly ApplicationDbContext db;
public ReviewServices(ApplicationDbContext _db)
{
db = _db;
}
publ... |
d62b7f203b2caa084380bec80984acddd4b635cb | C# | mrlacey/alwaysuse | /src/StringExtensions.cs | 2.75 | 3 | // <copyright file="StringExtensions.cs" company="Matt Lacey Limited">
// Copyright (c) Matt Lacey Limited. All rights reserved.
// </copyright>
using System;
using System.Linq;
namespace AlwaysUse
{
public static class StringExtensions
{
public static string RationalizeUsingDirective(this string sou... |
dc348a99f1577cec569b7166a6cdfc3bf10df660 | C# | TediWang/4thandmayor-ancient | /src/Shared/PhoneHyperlinkButton.cs | 2.6875 | 3 | // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Win... |
529ceb477bae0e914389bbe4805adf09acf0b36a | C# | algorithmiaio/algorithmia-csharp-pipe | /src/Request.cs | 3.03125 | 3 | using System;
using Newtonsoft.Json;
using System.IO;
namespace AlgorithmiaPipe
{
public class Request
{
public string ContentType;
public string Data;
public Request(string input)
{
dynamic jobj = JsonConvert.DeserializeObject(input);
if (jobj["c... |
52d2a4fbba29fbdb94e34156b64b28735b81af68 | C# | se7ensoft/QuickStarters | /FlyingKite/SharedSource/Main/EntitiesFactory.cs | 2.5625 | 3 | #region File Description
//-----------------------------------------------------------------------------
// Flying Kite
//
// Quickstarter for Wave University Tour 2014.
// Author: Wave Engine Team
//-----------------------------------------------------------------------------
#endregion
#region Using Statements
usin... |
9fea43d36cc84b7a7349ac668325b69d2d86cc98 | C# | code-cracker/code-cracker | /test/CSharp/CodeCracker.Test/Style/ConvertToSwitchTests.cs | 2.578125 | 3 | using CodeCracker.CSharp.Style;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Style
{
public class ConvertToSwitchTests : CodeFixVerifier<ConvertToSwitchAnalyzer, ConvertToSwitchCodeFixProvider>
{
[Fact]... |
c98a45c7e2896b041886510c8fba27a9d1e30872 | C# | tanyta78/SoftUniAdvancedProject | /BashSoft-CSharpOOP/BashSoftOOP/BashSoft/Exceptions/InvalidStudentFilterException.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BashSoft.Exceptions
{
public class InvalidStudentFilterException:Exception
{
private const string InvalidStudentFilter =
"The given filter is not one of the followin... |
9b537a3446e4e91e04dd01d8fb4cec82f20aefc5 | C# | Kalavarda/Room | /Room.Core/Models/HeroEquipment.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Room.Core.Abstract;
namespace Room.Core.Models
{
public class HeroEquipment: IHasModifiers
{
private Modifiers _modifiers;
/// <summary>
/// Ожерелье
/// </summary>
public IEquipmentItem Necklace ... |
eecf7bcf5164747e2bfa27b7b3ac1d1112c00b8f | C# | bustta/Table365 | /Table365/Table365.Core/Models/Service/UserService.cs | 2.578125 | 3 | using Table365.Core.Models.Util.Encrypt;
namespace Table365.Core.Models.Service
{
public class UserService
{
private readonly IEncrypt _encryptMethod;
public UserService()
{
_encryptMethod = new Pbkdf2();
}
public string GetEncrytPassword(string pw)
... |
0b6b8b9d22bb7ae68028e3b0df76d6d462626c45 | C# | choisungeun/KiwoonProj_01 | /ATSwithKium/LogWrite.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace ATSwithKium
{
class LogWrite
{
public static void GetSystemTime(out string outTime)
{
outTime = string.Format("... |
c501e5792515603203041967422628c7e3bf3875 | C# | n1ckfg/DunGen | /Assets/DungeonGenerator/Scripts/DunGen/ModelStretch/ModelResizer.cs | 2.6875 | 3 | //Selective Model Stretching
//Clyde Shaffer 2013
using UnityEngine;
using System.Collections;
public class ModelResizer : MonoBehaviour {
//Stretched portion relative to model center
public Bounds stretchZone;
//Amount by which to scale the "stretch zone" on load
public Vector3 scale = Vector3.one;
// Use t... |
30d8af84f3a035043b97a65558f8003de33a01e0 | C# | red-gate/ngit | /NGit/NGit.Diff/RawText.cs | 2.578125 | 3 | /*
This code is derived from jgit (http://eclipse.org/jgit).
Copyright owners are documented in jgit's IP log.
This program and the accompanying materials are made available
under the terms of the Eclipse Distribution License v1.0 which
accompanies this distribution, is reproduced below, and is
available at http://www... |
1e94985a919fbcdd6a58926ce47daf519a8bcccb | C# | EfratMalul/HomeCommittee2 | /HomeCommittee.API/HomeCommittee.BL/Converters/MessageConverter.cs | 2.609375 | 3 | using HomeCommittee.DAL;
using HomeCommittee.Entties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HomeCommittee.BL.Converters
{
public static class MessageConverter
{
public static message_tbl ToDAL(Message m)
{... |
d9de02f4ceb61bfcad4c68cf3d538ea69b2f5172 | C# | overwolf/overwolf-plugins | /plugins/simple-io-plugin/OutputDebugStringManager.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace overwolf.plugins.simpleio {
static internal class OutputDebugStringManager {
private class ProcessData {
public int pid;
public int count;
public string name;
}
private static Dictiona... |
d2f9f11328cfc7726aa8a1c312fe720999d05540 | C# | shendongnian/download4 | /code6/1031296-26491893-75996161-2.cs | 3.171875 | 3 | public class NameValueMerger : ITypeConverter<IList<string>, IList<string>>
{
public IList<string> Convert(ResolutionContext context)
{
var source = context.SourceValue as IList<string>;
var destination = context.DestinationValue as IList<string>;
if (source !... |
5884c16bf77dffbebee870734142d4e955eb0f1d | C# | Jeffrie-Rubner/Capstone | /Code/ColorDistinguisher/ColorDifferentiator/ColorDefiner.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Windows.Media;
namespace ColorDifferentiator
{
class ColorDefiner
{
#region Fields
private Dictionary<String, List<Color>> AllColorsList;
... |
b404fae69295754fc8bc023afda7dc7752856999 | C# | katheroine/languagium | /c#/classes/inheritance/BaseAndDerivedClass.cs | 3.40625 | 3 | class Mammal {
public const string classTaxon = "Mammalia";
}
class Fox : Mammal {
public const string speciesTaxon = "Vulpes vulpes";
public string name;
public void show() {
System.Console.WriteLine("Hi, my name is " + name + ".\n"
+ "Class: " + classTaxon + "\n"
+ "Species: " + speciesTaxon... |
6e4474023702595b88d0a730af779b068775764a | C# | aniketkadu/simpleAccountinguncomplete | /SimpleAccounting.Service/Service/AccountingSalesInvoiceService.cs | 2.515625 | 3 | using AutoMapper;
using SimpleAccounting.Model;
using SimpleAccounting.Model.DTOS;
using SimpleAccounting.Repository;
using SimpleAccounting.Repository.Infrastructure;
using SimpleAccounting.Service.IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.T... |
043b8e6388d6fedd82f22d4b6a388b273734f9d6 | C# | mjhatley/lab-17-bonus | /labbonus17/Program.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
namespace labbonus17
{
class MainClass
{
public static void Main(string[] args)
{
List<Car> carlist = new List<Car>();
Console.WriteLine("Welcome to the Grand Circus Motors admin console!");
/Console.WriteLi... |
874091f722a3ef375709f07c76a0edd1741788be | C# | SandGrainOne/CorrBatchGenerator | /Altinn.ExternalUtilities.CorrBatchGenerator/Altinn.ExternalUtilities.CorrBatchGenerator/CommandLine/ConsoleBase.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Text;
using System.Threading;
using Altinn.ExternalUtilities.CorrBatchGenerator.Utils;
namespace Altinn.ExternalUtilities.CorrBatchGenerator.CommandLine
{
/// <summary>
/// Base class for console a... |
65b4e82bd6f23b48b082c2d3bbcd8a1532bab6dc | C# | liuact1986/MvvmLib | /Source/MvvmLib.Wpf/Navigation/NavigationCommandProvider.cs | 2.75 | 3 | using MvvmLib.Commands;
using System;
namespace MvvmLib.Navigation
{
/// <summary>
/// Provides commands for navigation.
/// </summary>
public abstract class BrowsableCommandProvider
{
/// <summary>
/// Allows to move to the first source.
/// </summary>
protected ID... |
dd93dd81065d0809a7619ce5efc832914869fd11 | C# | vladimirmandaric/TextualAdventure | /FiniteAutomata/Interfaces/ITransitionRule.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FiniteAutomata.Interfaces
{
public interface ITransitionRule<TState> where TState : IState<TState>
{
/// <summary>
/// Out state, if Recognize returns true
/// </summary>
TState Ou... |
31106bbc646a88a32181402820933162eb57174a | C# | PadalitsaAS/FiguresDotStore | /IFiguresStorage.cs | 2.578125 | 3 | namespace FiguresDotStore.Controllers
{
/// <summary>
/// Интерфейс хранилища фигур.
/// </summary>
public interface IFiguresStorage
{
/// <summary>
/// Проверка на наличие позиций карточки.
/// </summary>
/// <param name="cart">Карточка заказа.</param>
... |
7868c543e9b1e3f05d36d5f2b048fcd72240548f | C# | chungmcl/BizQuiz | /appFBLA2019/appFBLA2019/Profile and Account/AccountSettingsPage.xaml.cs | 2.59375 | 3 | using System;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace appFBLA2019
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class AccountSettingsPage : ContentPage
{
/// <summary>
/// The currently open frame
/// </summary>
... |
05c2df49cfd0967bcf013443d5e32997f9175e20 | C# | barncastle/FuturamaLib | /FuturamaLib/NIF/Structures/ByteKey.cs | 2.75 | 3 | using FuturamaLib.NIF.Enums;
using System;
using System.IO;
using System.Numerics;
namespace FuturamaLib.NIF.Structures
{
public class ByteKey
{
public float Time;
public byte Value;
public Vector3 TBC;
public ByteKey(BinaryReader reader, KeyType type)
{
T... |