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 |
|---|---|---|---|---|---|---|
61576e8adae4949608a968b6e951b7f79830c8dc | C# | sunxiaotianmg/FCS | /src/FCS/CRC16CCITT_Implementation.cs | 3.234375 | 3 | using System;
using System.IO;
namespace FCS
{
public static class CRC16CCITT_Implementation
{
/// <summary>
/// The initial CRC remainder as specified by the CRC-CCITT (Kermit) protocol.
/// </summary>
public const ushort InitialCrcRemainder = 0x0;
/// <summary>
... |
d024325184e6d494a698127e64c2a8b6329bab6d | C# | fishonline/API-1 | /Youffer.API/Youffer.API/Youffer.Resources/Enum/Industry.cs | 2.578125 | 3 | // ---------------------------------------------------------------------------------------------------
// <copyright file="Industry.cs" company="Youffer">
// Copyright (c) 2014 All Right Reserved
// </copyright>
// <author>Akanksha Vats</author>
// <date>2014-11-19</date>
// <summary>
// The Industry class
// ... |
f7e72bb6413d650c27d4ae69245ede0fe9d81ec2 | C# | lsantoss/WCF | /Passagens/Hosting/Program.cs | 2.8125 | 3 | using Passagens;
using System;
using System.ServiceModel;
using System.ServiceModel.Description;
namespace Hosting
{
class Program
{
static void Main(string[] args)
{
ServiceHost host = new ServiceHost(typeof(ClienteService));
Uri endereco = new Uri("http://localhost:3... |
7ae9eafacd6bbc5db7f684de162478cd886ac6c4 | C# | AaronAmberman/SNORM | /SNORM/SNORM/SqlInformationService.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Globalization;
using System.Linq;
namespace SNORM
{
/// <summary>Helps retrieve information about tables from the database.</summary>
public static class SqlInformationService
{
private sta... |
37fe062b3e80cd9d6a4e9712e07c81077e8a87ca | C# | jmarolf/EditorConfigLanguage | /src/Schema/SchemaCatalog.cs | 2.515625 | 3 | using Microsoft.VisualStudio.Imaging;
using System;
using System.Collections.Generic;
using System.Linq;
namespace EditorConfig
{
public class SchemaCatalog
{
public const string Root = "root";
public static IEnumerable<Keyword> Properties { get; } = GetProperties();
public static IEn... |
3f48068292b95fc5f182cd8d52135e95a359a52e | C# | Sequenta/CalculatorOperations | /BaseOperations/BaseOperations.Test/DivideTests.cs | 2.65625 | 3 | using System;
using Xunit;
namespace BaseOperations.Test
{
public class DivideTests
{
Divide divide = new Divide();
[Fact]
public void Operation_PerformsCorrectly()
{
var result = divide.Perform(new double[] { 36, 36 });
Assert.Equal(1, result);
... |
ec9e95e2601ad157c50a860288bc4650bd33dc40 | C# | marsscotia/TalkAbout | /TalkAbout/Actions/PageScrollAction.cs | 2.625 | 3 | using Microsoft.Xaml.Interactivity;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace TalkAbout.Actions
{
/// <summary>
/// ... |
b7ba1bce5eef5b08165a94eb553d1e1017a33d6e | C# | Scarnet/Fakka.Pos | /Fakka.Pos/Fakka.Core/Converters/BytesToImageConverter.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using Xamarin.Forms;
namespace Fakka.Core.Converters
{
public class BytesToImageConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureIn... |
370cd507ffbe22fd7428cf4cc24fc17570e3136e | C# | Pojemnik/OutOfSpaceUnity | /Assets/scripts/MusicManager.cs | 2.609375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MusicManager : MonoBehaviour
{
public List<AudioClip> music;
private int currentMusic;
private AudioSource audioSource;
void Awake()
{
audioSource = GetComponent<AudioSource>();
audioSourc... |
8dcd9cfacb3685775593c6f07b0a8621a8564557 | C# | KristiyanGochev/TelerikHomework | /Programing/C#/C# - Part 2/II - 08 - Текстови файлове/II - 08 - Текстови файлове/Program.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
//Write a program that reads a text file and prints on the console its odd lines.
namespace II___08___Текстови_файлове
{
class Program
{
static void Main(string[] args... |
b8e7009d09acfcffa8109386977afc18ffc72d6f | C# | Aandriy/MedicalCard | /MedicalCard/ViewModels/RegisterViewModel.cs | 2.578125 | 3 | using MedicalCard.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace MedicalCard.ViewModels
{
public class RegisterViewModel
{
[Required]
[MaxLength(256)]
public string Email { get; set; }
[Required]
[DataType(DataType.Date)]
//[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}... |
01747a9ada7adf604fdaac62408f48e48693a32b | C# | Casper-Nielsen/Symmetrisk_Encryption_Example | /Symmetrisk_Encryption_Example/MainViewModel.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Text;
using System.Windows.Input;
namespace Symmetrisk_Encryption_Example
{
class MainViewModel : INotifyPropertyChanged
{
private Encryption encryp... |
f06900efca96de00bae8fa33fa8e882a157f3dd9 | C# | djserega/ControlModifiedFilesVer2 | /src/ControlModifiedFiles/Models/FileSubscriber.cs | 2.71875 | 3 | using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.CompilerServices;
namespace ControlModifiedFiles
{
public class FileSubscriber : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
#region Private fields
private bool _ch... |
0816ccad95b73353cc619d14a9d055108172a51d | C# | rafaelhrasko/cusko-stock | /TCC_EXT/Core/DAO/HistMovimentacaoDAO.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;
using Core.Class;
namespace Core.DAO
{
class HistMovimentacaoDAO
{
internal static List<Class.HistMovimentacao> ultimasNegociacoes()
{
List<HistMovimentacao> lstHist... |
911cb616b82c1b6a25fdc6b4933927eaf3ee5086 | C# | shendongnian/download4 | /first_version_download2/400499-34826286-108584767-3.cs | 2.578125 | 3 | [TestClass]
public class UnitTest1
{
Test t;
[TestInitialize]
public void TestInitialize()
{
t = new Test();
}
[TestMethod]
public void TestGetBooksByGenre()
{
var result = t.Search(new List<int>()
{
... |
3e2f1b7dde8e84730758df3d038f893cf1888cf8 | C# | devos1/Heig-Vd_LangOOD | /LangOOD.Exercices/CH17_18.GestionEmployees/Program.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CH17_18.GestionEmployees
{
class Program
{
static void Main(string[] args)
{
Random randSalaire = new Random();
Entreprise<Employe> entreprise =... |
0b68c6c0fd328c5d97d07a0f5cc91c0bb266800b | C# | shanearsenault97/Strangest-Things | /Source/PorkShopPOS/PorkShopPOS/UserAccessShowAll.cs | 2.515625 | 3 | /* User: Jonathan Deschene
* Date: 2017-01-20
* Time: 2:45 PM
* Purpose: Form that displays all UserAccess data in a datagrid
*/
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;
usi... |
974b657db644a04b084d283223341202260e1bc6 | C# | demidko/MCS1 | /Практикум по алгоритмизации/PascalMini/PascalMini/Lexer.cs | 3.359375 | 3 | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Класс для лексического анализа подготовленных строк с кодом
/// </summary>
static class Lexer
{
private static int CharIndex = 0;
private static void Error(in string message) =>
Pascal... |
0027118b5fd60db02c8eeeb8e110f8bfe84bd8b5 | C# | TopchoTeam/OnlineStore | /OnlineStore.Client/Core/Commands/TransferMoneyCommand.cs | 3.34375 | 3 | namespace OnlineStore.Client.Core.Commands
{
using System;
using Utilities;
using Models;
using Data;
using System.Linq;
public class TransferMoneyCommand
{
public string Execute()
{
if (!Authorization.Instance.ValidateIsUserLoggedIn())
{
... |
8ae165dbe2c06ba57259c1d9d77dad0d201b2db5 | C# | VarianAPIs/Varian-Code-Samples | /webinars & workshops/Developer Workshop 2018/DocumenServiceSample/Helpers/TokenValidator.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Helpers
{
public class TokenValidator : IArgumentValidator
{
public bool ValidateAuthenticationArgs(ref string validationDetails)
{
if (string.I... |
282d8f77c89c65386f6e0487f55c67267c5cbc9b | C# | pCYSl5EDgo/SaveManager | /Assets/Plugins/Yumineko/Fader/Fader.cs | 2.609375 | 3 | using System.Collections;
using UniRx.Async;
using UnityEngine;
using UnityEngine.UI;
public class Fader : SingletonMonoBehaviour<Fader> {
private Canvas faderCanvas = null;
private Image blackImage = null;
private UniTask fade = default;
void Reset () {
gameObject.name = "Fader";
gam... |
48431bff23aa13d1c1c04d1458e4ab0628dc400f | C# | agamat/Payroll | /Payroll.Repository/DatabaseProvider.cs | 2.875 | 3 | using Payroll.Repository.Entities;
using Payroll.Repository.Interface;
using System.Configuration;
using System.Data;
using System.Data.Common;
namespace Payroll.Repository
{
public class DatabaseProvider
{
private DbConnection _connection = null;
private readonly IDatabase _database;
... |
1f188468c33b94eac9c97705291444b3325ec158 | C# | SanyaPacman/CreateRoomVR | /Assets/WithoutWR/Scripts/ChangeChildNumber.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeChildNumber : MonoBehaviour
{
public int minimumChildCount;
public void CloneLastChild()
{
var clone= transform.GetChild(transform.childCount - 1);
Instantiate(clone, clone.position, clone.rota... |
4624faeefe2492767b56dc49faaad2e4081821b4 | C# | gpdoud/Asset-Management-System | /AssetManagementSystem/Migrations/Configuration.cs | 2.703125 | 3 | namespace AssetManagementSystem.Migrations
{
using AssetManagementSystem.Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<AssetManagementSystem.Models.AssetManagementSystemCont... |
62e54016eaa057865b8db12a582b3ef66f07f160 | C# | shendongnian/download4 | /code4/714634-17270638-42624421-2.cs | 2.625 | 3 | public class MyClass: IDisposable
{
public MyClass()
{
//Do the work
}
public void Dispose()
{
// Clean stuff up.
}
}
|
7f4e44225b1954b008b17621b53de0f37df0c24d | C# | evangelism/SillyBlogReader | /SillyBlogReader/Model/Blog.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml.Linq;
using Windows.Data.Html;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
using Windows.Web.Http;
namesp... |
d3b546e871f3b4029c13a2c954d602023227d328 | C# | bryant1410/BoC | /Src/Commons/ComponentModel/TypeExtension/ExtendWithTypeAttribute.cs | 2.546875 | 3 | using System;
namespace BoC.ComponentModel.TypeExtension
{
public class ExtendWithTypeAttribute : Attribute
{
private readonly Type with;
public ExtendWithTypeAttribute(Type with)
{
this.with = with;
}
public Type With
{
... |
cc43941651d2e42362ec28bed092cd31600b419f | C# | tamirdresher/DistributedBalancedPartitionQueueAssignment | /Consumer/EventConsumerWorker.cs | 2.625 | 3 | using Microsoft.Extensions.Logging;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Consumer
{
internal class EventConsumerWorker
{
private readonly string _queue;
private readonly IModel _channel... |
135558573ebc18e4868777646b1aa374dcada241 | C# | String03/LUG-PIM2_Ana-Laura-Moyano | /LUG-PIM2_Ana-Laura-Moyano/LUG_PIM2_Ana-Laura-Moyano.DAL/SqlCommands/PaquetesCanalesSqlCommandBuilder.cs | 2.625 | 3 | using LUG_PIM2_Ana_Laura_Moyano.Modelos;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LUG_PIM2_Ana_Laura_Moyano.DAL.SqlCommands
{
public class PaquetesCanalesSqlCommandBuilder : ISqlCommandBuilder<PaquetesCa... |
3c51cde804e12becf791aa1fdc8b2452e731280a | C# | shendongnian/download4 | /code3/478649-10904455-25211395-2.cs | 2.828125 | 3 | StringBuilder sb = new StringBuilder();
foreach (DataGridViewCell cell in dgvC.SelectedCells)
{
sb.AppendLine(cell.Value.ToString());
}
MessageBox.Show(sb.ToString());
|
809fd50328967bc44ff7b48fe2c599225ebf3dd0 | C# | rishabhverma123/Save-The-Bunny | /Assets/Scripts/PlayerController.cs | 2.671875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class PlayerController : MonoBehaviour
{
Rigidbody2D rd;
float xInput;
public float moveSpeed;
Vector2 newPosition; //variable of type vector2 can store two valu... |
814c4c532e1b68cea4df1b26a696911a097d9193 | C# | DanielLatimerUns/Stocky | /StockyManagementSystem/Stocky.Utilitys/Utility/CSVExporter.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Reflection;
namespace Stocky.Utility
{
public class CSVExporter
{
public List<dynamic> List { get; set; }
public string FileName { get; set; }
... |
d64c86158cf36965ee9d472e0cdc7f6fae81cec9 | C# | tankero/Vann-Neumann-Machines | /Assets/Scripts/Base/TargetObjectList.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using System;
[Serializable]
public class TargetInfo
{
public Vector3 LastKnownLocation;
public bool CurrentlyTracking;
[Range(1, 10)]
public int Priority;
}
[Serializable]
public class TargetObjectDi... |
bedcd2644f8c3ecb11bbfa0b8a984ffb0a2a58c6 | C# | rcruzeiro/CRZ.Orders | /CRZ.Orders.Domain/OrdersAggregate/Address.cs | 2.578125 | 3 | using System;
namespace CRZ.Orders.Domain.OrdersAggregate
{
public class Address : BaseValueObject
{
public string Street { get; private set; }
public string Number { get; private set; }
public string ZipCode { get; private set; }
public string Complement { get; private set;... |
446010a345875c0f742f889542521d91594cbd98 | C# | oduma/Sciendo.Common | /Sciendo.IOC.Configuration/IOCConfigurationSection.cs | 2.546875 | 3 | using System.Configuration;
namespace Sciendo.IOC.Configuration
{
public class IOCConfigurationSection:ConfigurationSection
{
[ConfigurationProperty("assemblies")]
public IOCAssembliesConfigurationCollection Assemblies
{
get { return (IOCAssembliesConfigurationCollection)th... |
b593df100bf76e2025dc51eda28353a1c8aa1ab8 | C# | svreinoso/currencies | /Currencies.Data/SeedDatabase.cs | 2.640625 | 3 | //using Currencies.Data.Entities;
//using Microsoft.Extensions.DependencyInjection;
//using Microsoft.Extensions.Logging;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//namespace Currencies.Data
//{
// public class SeedDatabase
// {
// public static void Initialize(IServicePro... |
7e6ed3c291f9691718477af9eb3e24f3815083c8 | C# | o0-RbR-0o/monoKrom | /PartyParser/PartyParser.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Xml;
/*
Simple quick and dirty parser for messages going from Partymeister to the screen server.
Version: 0.4
Author : 2016 by Kim Oliver "RbR" Schweikert
License: CC-by-nc
*/
namespace monoKrom.PartyParser
{
///<summary>
///A small piece of ... |
c8713641f8f9418ead4e545406cd052ff945c83c | C# | tvaras/TLS | /TLS-Datos/ProyectoDAL.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TLS_Entidades;
namespace TLS_Datos
{
public class ProyectoDAL
{
public ResultadoDTO Crear(Proyecto dto)
{
ResultadoDTO r = new ResultadoDTO();
try
... |
83bed5d1b84462f56ccf7ea7125d7fd2ec5a8586 | C# | Pawel-Paterak/FileManagementSoft | /JsonSoft/Xml/XmlService.cs | 2.609375 | 3 | using FMSoft.Xml.Reader;
using FMSoft.Xml.Writer;
using FMSoft.File;
namespace FMSoft.Xml
{
public class XmlService
{
private readonly XmlReader xmlReader = new XmlReader();
private readonly XmlWriter xmlWriter = new XmlWriter();
private readonly FileManagement fileManagement = new Fil... |
23dcf3337cf498c09c66d2ffc9b933ebc5f0978a | C# | VanHakobyan/OnlineShop1000Plus | /OnlineShop/OnlineShop.Dal/Repositories/Implementation/UserManagementDAL.cs | 2.640625 | 3 | using System.Collections.Generic;
using System.Linq;
using OnlineShop.Common;
using OnlineShop.Common.DbModels;
using OnlineShop.Dal.Repositories.Interfaces;
namespace OnlineShop.Dal.Repositories.Implementation
{
public class UserManagementDAL : BaseDAL, IUserManagementDAL
{
public UserManagementDAL(O... |
daa18826b82003bb25405fb8fe68659a110fc98d | C# | rags/playground | /DotNet/Remote/RemoteObject.cs | 2.625 | 3 | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
//[Serializable]
public class RemoteObject : MarshalByRefObject
{
public enum ExitFlags
{
EWX_LogOff= 0,
EWX_SHUTDOWN = 1,
EWX_REBOOT= 2,
EWX_FORCE= 4,
EWX_POWEROFF= 8
}
... |
e1221bdeff36c4aab99d1bec9cb46d48b933f8e3 | C# | schil227/TetrisAdvanced | /TetrisAdvanced/Services/Factories/ShapeFactory.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using TetrisAdvanced.Data;
using TetrisAdvanced.Interfaces.Factories;
namespace TetrisAdvanced.Services.Factories
{
public class ShapeFactory : IShapeFactory
{
public IReadOnlyCollection<Shape> GetShapeTypes()
{
ret... |
f896dde6b063456801688287956e662619ea65ff | C# | tshevka/tcone | /tcone/TConecs.cs | 3.5625 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace tcone
{
class TCone : TCircle
{
private double height;
public double Height
{
get
{
return height;
}
set
{
if (valu... |
c9ddfba9dd9ea239f2d5b91da7242942a89ae6bc | C# | hanhaitao/PdfConverter | /PDF Convert/AnimatorImage.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
namespace PDF_Convert
{
///
/// 表示一类带动画功能的图像。
///
public class AnimateImage
{
Image image;
FrameDimension frameDimension;
/// ... |
79b129cf62480d8a0c0374efab620befdd4124b8 | C# | s-kyper/CSharp6sem | /first3/first3/Matrix3x3.cs | 3.21875 | 3 | using System;
namespace first3
{
public struct Matrix3x3
{
private CoVector3[] cv;
private Vector3[] v;
private Vector3 v1;
private Vector3 v2;
private Vector3 v3;
public double X1 => v1.X;
public double Y1 => v1.Y;
public double Z1 => v1.Z;
... |
5e95f012490295ab738f04631d1b0306b96581e0 | C# | rickinator9/DawnOfCivilisation | /Assets/Source/Contexts/Game/Model/Map/ILandTile.cs | 2.75 | 3 | using System.Collections.Generic;
using System.Linq;
using Assets.Source.Contexts.Game.Model.Country;
using UnityEngine;
namespace Assets.Source.Contexts.Game.Model.Map
{
public interface ILandTile : IHexTile
{
int Population { get; }
ICountry Country { get; set; }
ICountry Controlle... |
53cdb1f3737a95726856b1ff4f54ddc80263fabf | C# | IvanParvanov/Indexed.Everything | /src/Indexed.Everything.Tests/IndexedTests/Ctor_Should.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using AutoFixture;
using Indexed.Everything.Contracts;
using Indexed.Everything.Tests.Misc;
using Moq;
using NUnit.Framework;
namespace Indexed.Everything.Tests.IndexedTests
{
[TestFixture]
internal class Ctor_Should
{
private readonly Fixture fi... |
0a715fc9855d564bed0e9f944ce3c292bb5a48a7 | C# | gcm10000/MovieTime | /MovieTimeApp/Client.cs | 2.921875 | 3 | using Microsoft.AspNet.SignalR.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MovieTimeApp
{
public class Client
{
private HubConnection hubConnection;
//private IHubProxy hub;
public Client()
... |
721e41a7db5d304bfe48144c5688bc881e5dc298 | C# | lavanyathotakura22/MainStructures | /Extensions/Extends1.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExtensionMethods
{
public interface IMyInterface{ //Interface craetion
void MethodB();
}
class A : IMyInterface
{
public void MethodB() { Console.... |
4d42d0e6422b16226980c4c8bb05971df9d25e64 | C# | shendongnian/download4 | /code10/1734461-50298287-173225772-2.cs | 2.796875 | 3 | public interface ISampleRepository : IDisposable
{
IEnumerable<SampleModel> GetAllSamples();
}
public class SampleContext : ISampleRepository
{
public IEnumerable<SampleModel> GetAllSamples()
{
// Implementation
}
}
public interface... |
03a2287e23fe9e5bdbae0b6e64dc351054a5378f | C# | beandrake/crud-exercise | /PassengerManager/PassengerManager/Data/OverallContext.cs | 3.015625 | 3 | // adapted from: https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/intro
using PassengerManager.Models;
using Microsoft.EntityFrameworkCore;
namespace PassengerManager.Data
{
/*
* In the codeschool MVC ASP.NET Core lectures
* (https://www.codeschool.com/courses/try-asp-net-core)
* it seemed... |
fbb2b9a279c76bcff9bed1e5af46137bfe57a02e | C# | alexsp17/SnookerByb | /Awpbs.Web.Data/DataLogic/FeedLogic.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Awpbs.Web
{
public class FeedLogic
{
private readonly ApplicationDbContext db;
public FeedLogic(ApplicationDbContext db)
{
this.db = db;
}
... |
dfffdd247995f4def3adeb3d77539fd60f550d42 | C# | Ryujinx/Ryujinx | /src/Ryujinx.Graphics.Vulkan/NativeArray.cs | 2.765625 | 3 | using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.Vulkan
{
unsafe class NativeArray<T> : IDisposable where T : unmanaged
{
public T* Pointer { get; private set; }
public int Length { get; }
public ref T this[int index... |
fe90d9c485b1a3db7bd136e58a74cc71cd1c061d | C# | Ttasmiyah/Project_JobHunt | /JobHunt/JobDescriptionforcompany.aspx.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace JobHunt
{
public partial class JobDescriptionforcompany : System.Web.UI.Page
{
... |
e538291eaeaafb4a15ac34a1e9a1038a40726ac2 | C# | mmarus-old/BIO-Iris-Recognition | /BIO.Framework/Core/Evaluation/Results/Statistics.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BIO.Framework.Core.Comparator;
namespace BIO.Framework.Core.Evaluation.Results {
public class Statistics {
public class StatisticsSettings {
public double newThresh;
public bool underThresh... |
c9429bb09b65327dd7fac96ba8cafc8dbeb33548 | C# | MaximPeshkur/TRPOProject | /TRPOProject/GetInfoForm.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TRPOProject
{
public partial class GetInfoForm : Form
{
... |
cf48afe512e3ef0062882124570534ff567389fa | C# | digitalnelson/LitStore | /LitStore.Server/PubMedController.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web.Http;
using System.Xml;
namespace LightSwitchApplication
{
public class Art
{
public string Title { get; set; }
... |
ec078deeac8d4290172b734b3f92188b86a5d930 | C# | Illedan/DllCopy | /src/DllCopy/DllCopy/Services/ConfigService.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DllCopy.Models;
using Newtonsoft.Json;
namespace DllCopy.Services
{
static class ConfigService
{
private static Task m_saveTask;
public static async Task<C... |
9eea3d52319c1e2d6a61943a11143901912e0f33 | C# | shendongnian/download4 | /code8/1433904-39335588-126460606-1.cs | 2.578125 | 3 | using UnityEngine;
public class ScriptA : MonoBehaviour
{
public ScriptB anyName;
void Update()
{
anyName.DoSomething();
}
}
----------
using UnityEngine;
public class ScriptB : MonoBehaviour
{
public void DoSomething()
{
Debug.L... |
041e6a4680eeb70a47d87c385ab4c5f5b926ac9b | C# | alexandrupetrut/CsharpFeatures | /CSharp6.Library/e. Exception Filters - new way/Demo.cs | 3.3125 | 3 | using System;
namespace CSharp6.Library.e._Exception_Filters___new_way
{
class Demo
{
// C# 5 => we define a function with proper name followed by statement block
public string GetTime()
{
return "Current Time - " + DateTime.Now.ToString("hh:mm:ss");
}
pu... |
ce80cf408e5652354daa6aa184f98a419d54e019 | C# | SuperBugCompany/politrange.webapi | /src/SuperBug.Politrange.Data/Repositories/SiteRepository.cs | 3 | 3 | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using SuperBug.Politrange.Data.Contexts;
using SuperBug.Politrange.Models;
namespace SuperBug.Politrange.Data.Repositories
{
public class SiteRepository: ISiteRepository
{
public IEnumerable<Site> GetAll()
{
... |
b38bd32f2eba90506fa8a26799ed29e3ade542a3 | C# | nuraalam/C-Sharp.Three-Layer-Architecture | /Department App/Department App/BLL/DepartmentBLL.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Department_App.DLL.DAO;
using Department_App.DLL.Gateway;
namespace Department_App.BLL
{
class DepartmentBLL
{
DepartmentGatway aDepartmentGatway=new DepartmentGatway();
pu... |
921facfe7cdb6d8d4bb5a4be25a918bc6c4ac9d4 | C# | VPolziukov/FindTheWord | /FindWord/FindWord/DAL/Repository/SentenceRepository.cs | 2.671875 | 3 | using System.Collections.Generic;
using System.Threading.Tasks;
namespace FindWord.DAL.Repository
{
public class SentenceRepository : GenericRepository<Sentence>
{
private readonly List<Sentence> _sentence;
public SentenceRepository(ContextDB context) : base(context)
{
}
... |
72f989f4f11892b113ace22e00337b48fdaf4f45 | C# | Wiks00/NET.W.2016.01.Lipai.02 | /Task3/BitNumberLogic.cs | 3.796875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task3
{
public static class BitNumberLogic
{
/// <summary>
/// Method inserts first in second number from prefBit to nextBit.
/// </summary>
/// <param... |
6f30822390b016a159c7c870249f139e7e93ed46 | C# | mistbiu/learngit | /Homework9/project1/Program.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace project1
{
public class Program
{
public static void Main(string[] args)
{
OrderService orderService = new OrderService();
OrderDetails detail... |
5be839303f315f87e157160871ace10d8c7731b2 | C# | LoveLan1314/LeetCode | /LeetCode/SAOA/0658_FindClosestElements.cs | 3.90625 | 4 | using System.Collections.Generic;
namespace LeetCode.SAOA
{
internal sealed class FindClosestElementsSolution
{
public IList<int> FindClosestElements(int[] arr, int k, int x)
{
var right = BinarySearch(arr, x);
int left = right - 1;
while (k-- > 0)
... |
67cdd03216d930de1150d9a81e7bfe0127ff3554 | C# | JoonasLeminen/programming-basics | /loop-statements/loop-statements/task-2/Program.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task_2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Ohjelma laskee N ensimmäistä lukua yhteen.");
string userInput = C... |
e5b08fd06b428686c3f1ea75cfa050970e9f7fbd | C# | jmocon/MRPS | /ajax/MenuItem.aspx.cs | 2.515625 | 3 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class ajax_MenuItem : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
HttpContext.Current.Respons... |
168b56742799010f630f90d6ee29d801f51d8e8d | C# | Vutov/SoftUni | /CSharp Basics/Homeworks/Loops-Homework/05.MathSum/MathSum.cs | 4 | 4 | using System;
class MathSum
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int x = int.Parse(Console.ReadLine());
double sum = 1d;
ulong factorial = 1u;
double rooted = 0d;
for (uint i = 1; i <= n; i++)
{
factoria... |
de158e3e609339e8344fbaf84687194632382b22 | C# | mnikolovski/CC | /10 Common/CC.Common.Base/Exceptions/EmitBaseException.cs | 2.921875 | 3 | using System;
namespace CC.Common.Base.Exceptions
{
/// <summary>
/// Represents base exception
/// </summary>
[Serializable]
public abstract class EmitBaseException : Exception, IErrorInfo
{
private string _mErrorMessage;
/// <summary>
/// User visible error message
... |
1347178a938e760d9ee8f94d1bd4474bcebea6d8 | C# | Bogdansky/Graduate-work | /Graduate-Work/Business Logic Layer/Helpers/TimeHelper.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
namespace Business_Logic_Layer.Helpers
{
public static class TimeHelper
{
/// <summary>
/// Преобразует время формата hh:mm:ss в TimeSpan
/// </summary>
/// <param name="hhmmss">Строк... |
f49f93f00744d774c4bc5c652010934f9d788174 | C# | paulmaidmentuk/WhoLivesInThisHouseLib | /WhoLivesInThisHouseTest/TagTest.cs | 3.046875 | 3 | using NUnit.Framework;
using System;
using WhoLivesInThisHouse;
namespace WhoLivesInThisHouseTest
{
[TestFixture()]
public class TagTest
{
[Test()]
public void it_should_be_considered_equal_to_another_tag_with_identical_attributes()
{
Tag tag1 = new Tag("Test Tag");
... |
e666617bc06d680ea637ccf75816f0666cd5f03f | C# | Drazuul/itse1430 | /labs/Lab1/Itse1430.Maze/Program.cs | 3.09375 | 3 | // Jacob Ivey
// Lab1 Maze
// ITSE 1430
//
// Concept for the maze borrowed from Star Wars freighter
// MY MAP - https://i.gyazo.com/6ab2e5290089cd389ea02717d9023176.png
// ORIGINAL FREIGHTER MAP - https://vignette.wikia.nocookie.net/starwars/images/d/d5/Dynamic-class.png/revision/latest?cb=20080330025657
using Syst... |
12ed5dc7cd37c17d313f2dd4672eaffe80475978 | C# | PGsHub/mathnet-numerics | /src/Numerics/Copulas/EllipticalCopula.cs | 2.515625 | 3 | using System;
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.Random;
using MathNet.Numerics;
using MathNet.Numerics.Properties;
namespace MathNet.Numerics.Copulas
{
public abstract class EllipticalCopula : Copula
{
private MatrixNormal _matri... |
1368c6de08835a4077632c46d38e1f8b008b40c5 | C# | itshivansh/AnalogWatchHackathon | /Hackathon_2/Hackathon_2/Company/Titan.cs | 3.171875 | 3 | using Hackathon_2.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hackathon_2.Company
{
/// <summary>
/// Titan class inheriting Analog interface
/// </summary>
# region implementation
public class Titan:IAnalog
{
void IAnalog.MovingHand()
{
... |
feb8215b357a01c2b03cfa007fec73fb5ecf88e5 | C# | jangocheng/EApp | /EApp.Mvvm/ViewModelBase.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace EApp.Mvvm
{
public abstract class ViewModelBase: INotifyPropertyChanged, IDisposable
{
public string DisplayName { get; protected set; }
publi... |
63131765c8e4f60a8a294352d5e551ebecc53ae9 | C# | alklokov/PatternsHomework | /Lesson24/IIterator.cs | 2.640625 | 3 | namespace Lesson24
{
public interface IIterator<out T>
{
T Current { get; }
bool MoveNext();
bool MovePrev();
void Reset();
}
}
|
b7419bb8f68f6371f04ca83994d9b334b647f39c | C# | Thimoderam/Design-Patterns | /DesignPatternsBoekOpdrachten/Week 2/AdapterPattern/TurkeyAdapter.cs | 3.09375 | 3 | namespace DesignPatternsBoekOpdrachten.Week2.Hoofdstuk_7
{
public class TurkeyAdapter
{
//Should extend Duck so duck methods can be called aswell. However in this code Duck is not an interface.
private readonly Turkey turkey;
public TurkeyAdapter(Turkey turkey)
{
th... |
f9f0d43fe540041f5117e33c58c44b4f63671c62 | C# | LucianoQue/Course_git | /Exec_OO_01_01/Exec_OO_01_01/Program.cs | 3.640625 | 4 | using System;
using System.Globalization;
namespace Exec_OO_01_01
{
class Program
{
static void Main(string[] args)
{
Pessoas x, y;
x = new Pessoas();
y = new Pessoas();
Console.WriteLine("Insira os dados da primeira pessoa:");
Cons... |
05bb4e992590d53169d258d17f2d9ce0d0c6f94c | C# | Gnutz/uni | /semester4/GUI/Lek06/07DataBindingDemos/DataBindingDemos/20_ProcessMonitor/AddPaddingValueConverter.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
namespace ProcessMonitor
{
public class AddPaddingValueConverter : IValueConverter
{
public AddPaddingValueConverter() { }
public object Convert(object value, Type targetType, obje... |
5b8e284b8cff5b47ea0e60305fdfcbee05aa641d | C# | achakravarty/Jalapeno | /Core/Tossd.Jalapeno.Reporting/ImageCapturer.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Tossd.Jalapeno.Reporting
{
public class ImageCapturer
{
private readonly string _screenCaptureImagesPath;
... |
66ea0a8fa2fda96cce37a774645ec6489517725d | C# | rihard11/AlgebraCSharp2019 | /ConsoleApp1/8.2.1_static_zadaca/Static.cs | 3.5625 | 4 | using System;
namespace _8._2._1_static_zadaca
{
internal class Static
{
// PRIVATE konstruktor onemogućava instanciranje
private Static() { }
#region STATIC metode
public static double Zbroj(double broj1, double broj2)
{
return broj1 + broj2;
}
... |
41ef9805ac337849e3e0c3839d22c8a5fff4a2c2 | C# | mitim/sps | /SkyPhotoSharing/model/Enlister.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SKYPE4COMLib;
using System.Windows.Media;
namespace SkyPhotoSharing
{
class Enlister
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.Met... |
f37699eb074eada17ab41e6396dce0c957f2a66d | C# | Spoon-Games/LSHGame-2.1 | /Assets/LSHGame/Util/Effects/ParticleSystemModifier.cs | 2.53125 | 3 | using System;
using UnityEngine;
namespace LSHGame.Util
{
[RequireComponent(typeof(ParticleSystem))]
public class ParticleSystemModifier : MonoBehaviour
{
protected ParticleSystem ps;
protected virtual void Awake()
{
ps = GetComponent<ParticleSystem>();
... |
2d51c3a6831ce3ef9b08ac9c3bbd30f28d015995 | C# | LeoDFT/designPatterns | /ComandPattern/Dispositivos/Stereo.cs | 3.09375 | 3 | using System;
namespace ComandPattern.Dispositivos {
public class Stereo {
public void On() {
Console.WriteLine("Turning on the stereo");
}
public void Off() {
Console.WriteLine("Turning off the stereo");
}
public void Cd(string CdName = null) {
... |
c0fd988773a1d3288d32234cb7427bc002236b1a | C# | ojari/mslearn | /EventHub/Program.cs | 2.78125 | 3 | using Azure.Messaging.EventHubs;
using Azure.Messaging.EventHubs.Consumer;
using Azure.Messaging.EventHubs.Producer;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EventHub
{
class Program
{
private static string connectionString = "Endpoint=sb://ehubn... |
742403f303ea354817b0661bd842e9d4b7bb05b5 | C# | jtneumann/CS4B | /Car RentalBizRulesDataLayer/Data Layer/Entities/Vehicle.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data_Layer.Interfaces;
namespace Data_Layer.Entities
{
public class Vehicle : IVehicle
{
public int Id { get; set; }
public int TypeId { get; set; }
public double B... |
29694b894db6113386e61a8098d2cdc2a26bda27 | C# | cppisking/ffrkx | /client/UI/EnumDataViewGridCell.cs | 2.71875 | 3 | using FFRKInspector.GameData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FFRKInspector.UI
{
public class EnumDataViewGridCell<T> : DataGridViewTextBoxCell, IDataGridViewAutoCompleteSource where... |
4e955192152a451953c406ac653f55d53ae1cfcc | C# | firefield2/Magazyn | /Magazyn/Magazyn/Delivery.cs | 2.65625 | 3 | using Be.Timvw.Framework.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Magazyn
{
public class Delivery
{
private int id;
private string name;
private string code;
private string date;
SortableBindingList<ProductOnMove> prod... |
b43166e24fe721fb6a54ccd719c228018760ee50 | C# | brettski/EntLibCryptoCli | /EntLibCryptoCli/Service/GenerateKeyService.cs | 3 | 3 | using EntLibCryptoCli.Options;
using System;
using System.IO;
using System.Text;
namespace EntLibCryptoCli.Service
{
public static class GenerateKeyService
{
public static int RunGenerate(GenerateKey GenerateKeyOpts)
{
// Checks
int inError = 0;
StringBuild... |
99dd06870fc88ae41fa20cdde68a72238e12b879 | C# | carlkassebaum/LeetCode | /Pairs/Program.cs | 3.125 | 3 | using System;
namespace Pairs
{
class Program
{
static void Main(string[] args)
{
var solution = new Solution();
var result = solution.Pairs(new string[] { "code", "bug" });
foreach (var key in result.Keys)
{
Console.WriteLine($... |
a6bbea17e48141133005f80bd81523909767c417 | C# | ShanahanColin/APR-Calc | /Coding-Test/Program.cs | 3.46875 | 3 | using System;
namespace Coding_Test
{
class Program
{
static void Main(string[] args)
{
int amount = 0;
int apr = 249;
Console.WriteLine("Enter Credit Limit");
int creditLimit = (int)Convert.ToInt64(Console.ReadLine());
Cons... |
cbdd92603b3b88284352ee04dbd0984e93f9973d | C# | randmfun/3I-VS | /SCD_UVSS/ViewModel/SearchViewModel.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Input;
using SCD_UVSS.Dal;
using SCD_UVSS.Dal.DBProviders;
using SCD_UVSS.Model;
using SCD_UVSS.View;
namespace SCD_UVSS.ViewModel
{
public class S... |
f07382b9b4e6b879f2b55fefe421d539dff249b5 | C# | itaibh/WebEngineSharp | /WebEngineSharp/Tokenizer/States/BeforeAttributeValueState.cs | 2.75 | 3 | using System;
using System.IO;
namespace WebEngineSharp.Tokenizer.States
{
// 8.2.4.37 http://www.w3.org/TR/html5/syntax.html#before-attribute-value-state
public class BeforeAttributeValueState : BaseState
{
private BeforeAttributeValueState()
{
}
private static BeforeAttri... |
cb16565150e74941dbcfcf18347e90491a07dc10 | C# | sgkoumassi/AzureDevOpsTrainingCICD | /ConsumingAgetodaysWebService/ConsumingAgetodaysWebService/Default.aspx.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ConsumingAgetodaysWebService
{
public partial class Default : System.Web.UI.Page
{
protected void button1_Click(object sender, EventArgs e)
{
... |
e8a5d53aad9c2d70bb0294ddecce7108dcbeb759 | C# | lionelherrerobattista/practica_C_sharp | /intro_c_sharp/05_Funciones/5_09_Funciones_utiles/5_9_2_Funciones_mate/Ej_05_09_02_10.cs | 3.5625 | 4 | /*(5.9.2.10) Crea un programa que "dibuje" un círculo dentro de un array
* de dos dimensiones, usando las ecuaciones
* x = xCentro + radio * coseno(ángulo),
* y = yCentro + radio * seno(ángulo). Si tu array es de 24x79,
* las coordenadas del centro serían (12,40).
* Recuerda que el ángulo se debe indicar en ra... |
3db0eaf134858ea8df50b3a4629dcfae233880f5 | C# | dlangmeyer/NFLGreats_Dennis | /MainProgram.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Excel = Microsoft.Office.Interop.Excel;
using System.Linq;
namespace ShowBestPlayer
{
public class Program
{
private static Excel.Workbook MyBook = null;
private static Excel.Application MyApp = null;
... |
1f07e36b8b028bf4ecbff11b5d926229cc5ac632 | C# | hylasoft-usa/KeyenceIQSConnector | /KeyenceSimulation/Dto/KeyenceLine.cs | 3.109375 | 3 | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace KeyenceSimulation.Dto
{
public class KeyenceLine
{
public Collection<KeyenceLineSegment> Segments { get; private set; }
public KeyenceLine(string prefix, params string[] segments) : thi... |
2da8cbe2616b44ae01d156d29996a3e354207d50 | C# | gampixi/hackcreative2020 | /HackCreativeGame/Assets/Scripts/Simulation/Money.cs | 2.671875 | 3 | using Game.Simulation;
using System;
using UnityEngine;
namespace Assets.Scripts.Simulation
{
public class Money
{
public float Amount { get; private set; } = 1000;
public float CalculateBenefitTax()
{
var amount = 0f;
var benefits = SimulationCont... |
92f8a57dc2a1a087e49548951858e6c95f329182 | C# | chromelyapps/Chromely | /src_5.1/Chromely/Browser/HostTaskRunner.cs | 2.921875 | 3 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Chromely.Browser {
/// <summary>
/// A Helper class for launching Chromely under a seperate thread / task, this helps with
/// cleanup on exit.
/// </summary>
public class HostTaskRunner {
private Task ... |