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 |
|---|---|---|---|---|---|---|
548f88ef24d3f8d148c997e14bec36bba8e9b843 | C# | commonsensesoft/CommonSenseSoft.Log | /Error.cs | 2.78125 | 3 | /*
Copyright (C) 2016 Nicholas Blake.
This work is licensed under the Apache License, Version 2.0; you may not use this work except in compliance with the License.
A copy of the License is included in LICENSE file and can also be obtained at http://www.apache.org/licenses/LICENSE-2.0.
See the NOTICE file distributed w... |
f7aaa7264c9fb66131b3a952ee5cf3328e247e0a | C# | WxyCliff/XamarinFormsChart | /MicrochartsSample/ViewModels/LineChartViewModel.cs | 2.65625 | 3 | using Microcharts;
using MicrochartsSample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace MicrochartsSample.ViewModels
{
public class LineChartViewModel : BaseViewModel
... |
a43e4e19e77b39678caaa9dda70affc9c883125d | C# | ivxs12/SU-Fundamentals | /Data Types and Variables - Lab/CharsToString/Program.cs | 3.109375 | 3 | using System;
namespace CharsToString
{
class Program
{
static void Main(string[] args)
{
string result = "";
for (int i = 0; i < 3; i++)
{
char n = char.Parse(Console.ReadLine());
result += n;
}
Consol... |
342f347c61cbbb5a0103cbe970e18a2980c6e35e | C# | omikad/omikad-stuff | /ProblemSets/ProblemSets/ComputerScience/DataTypes/Trie.cs | 3.578125 | 4 | using System.Collections.Generic;
using System.Linq;
namespace ProblemSets.ComputerScience.DataTypes
{
public class Trie
{
public readonly NodeString Root;
public Trie(IEnumerable<string> strings)
{
// O(m^2 * n)
// n is a number of strings
// m is a max length
var root = new NodeString("");
... |
6e5dd23b9644e8435b88a75dcf7ec791d0f80538 | C# | daszat/zetbox.Parties | /Zetbox.Parties.Common/Products/ProductActions.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zetbox.API;
namespace Zetbox.Basic.Products
{
[Implementor]
public static class ProductActions
{
[Invocation]
public static void ToString(Zetbox.Basic.Products.Product obj, MethodReturnEventArgs<Syst... |
47e7af1eb1a6a3a9cfd1ea12dbfd326e823b5cff | C# | dyzhang16/CS170Project | /Assets/Scripts/Levels/Level6Arcade/old_BasketballGameplay.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class old_BasketballGameplay : MonoBehaviour
{
// Attach Unity Objects
public old_BasketballMovement basketball;
public old_BasketballNet basketballNet;
public Button startButton;
public Button exitButton;... |
b697ecb205b943768465ddc1c3bd2acea777e5bd | C# | ColanCoke/Amanda_Mollare_Prov | /Amanda_Mollare_Prov_PRR2/Amanda_Mollare_Prov_PRR2/Program.cs | 3.75 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Amanda_Mollare_Prov_PRR2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("A costumer comes in wanting to sell a book.");
C... |
751960f0abda454c6cec6c39e74f7f20309dfdf0 | C# | giladreich/DesignPatternsExamples | /src/creational/AbstractFactoryMethodPattern/Notebooks/NotebookFactory.cs | 3.21875 | 3 | using System;
namespace AbstractFactoryMethodPattern.Notebooks
{
public abstract class NotebookFactory
{
// The factory method pattern to do the initialization decision for us.
public static Notebook CreateNotebook(NotebookManufacture manufacture)
{
switch (manufacture)
... |
5335fd60f1a93c92522ded4313840a14ba70f157 | C# | ady249/TechnicalTestLotteryAPI- | /TechnicalTestLotteryAPI/LotteryDraw.BusinessLogic/WinningNumberRules/Primary/IsPrimaryWithinRange.cs | 2.65625 | 3 | using System.Linq;
using LotteryDraw.BusinessLogic.Interfaces;
using LotteryDraw.Models.Interfaces.Models;
namespace LotteryDraw.BusinessLogic.WinningNumberRules.Primary
{
public class IsPrimaryWithinRange : IWinningNumbersRule
{
private ILotteryDrawWithResults _lotteryDrawWithResults;
... |
2a938453f6b295f64c76a15407fcc438560bc188 | C# | kathleenwest/FileManagerDemo | /FileManagerServerHost/Program.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
using FileManagerServiceLibrary;
namespace FileManagerServerHost
{
/// <summary>
/// This program launches the file manager
/// service by creating a host and sta... |
1346bff74125576cad2744fc5de81b9f03fc0484 | C# | seiyoo/ImageProccessing | /ImageProc.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ImageProccessing
{
static class ImageProc
{
public static byte[] Bitmap32ToByteArray(t... |
6a4fba7be8ab53862f87924eadaa406f6a37378e | C# | dongzhaosheng73/NaughtyKidFramwork | /NaughtyKid/MyTools/InIConfingHelper.cs | 3 | 3 | using System.IO;
using System.Text;
using NaughtyKid.WinAPI;
namespace NaughtyKid.MyTools
{
public class InIConfingHelper
{
#region 变量
/// <summary>
/// INI路径
/// </summary>
private static string InIsPath { set; get; }
#endregion
#region INI
/// ... |
7ec2a2a1e55933fb5c35eab8b9ab9835511e6c72 | C# | vaughanr/Blog-Diagnostics | /Diagnostics/Service/IPhoneBook.cs | 2.828125 | 3 | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Diagnostics.Service
{
public interface IPhonebook
{
Task<long> Get(string name);
}
public class Phonebook : IPhonebook
{
... |
a69266bab10908a30a6f1112a6a8bf560a03b2cd | C# | Pajansson/SchoolProject | /OOAD_assignment_1/Services/FakeTimeProvider.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OOAD_assignment_1.Services
{
public class FakeTimeProvider : ITimeProvider
{
private DateTime CurrentTime { get; set; }
public FakeTimeProvider()
{
ResetTime();
... |
2849b7a82f21075dbf7291eb2a5b5c9d1c7b8c61 | C# | thomasgaozx/archive-projects | /Forest/NForest/BinaryTree.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Forest
{
public class BinaryTree<T> : ISearchTree<T> where T:IComparable
{
#region Nested Type
private class BinaryNode
{
public T Value { get; s... |
8f8e02e015839c68467448c72c026823818cbbea | C# | Mirmillon/ANN | /AppDesktop/Classes/Items.cs | 2.546875 | 3 |
namespace AppDesktop.Classes
{
public class Items : System.ComponentModel.INotifyPropertyChanged
{
int cleArticle;
string refArticle;
int typeArticle;//vetement homme , femme, enfant
int categorie;//veste, jupe, robe etc...
int genderArticle;
int color;
... |
e37ce4efd821b4dd7e3dc9698fbcd0aef9705a64 | C# | YandyZaldivar/CyxorReference | /Cyxor/Cyxor.Networking/Cyxor.Networking/Cyxor/Networking/Config/NameConfig.cs | 2.625 | 3 | /*
{ Cyxor } - .NET Core Backend Framework <http://www.cyxor.com/>
Copyright (C) 2017 Yandy Zaldivar
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
Licen... |
87ade6ef399739b832f5dc7297d07cf20d1678e1 | C# | FOX-Player/Bencode2Json | /Examples/TorrentFileParser/TorrentFileParser/TorrentFile.cs | 2.546875 | 3 | using Bencode2Json;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace TorrentFileParser
{
class TorrentFile
{
public static TorrentFileInfo Parse(string fileName)
{
var bencode = new BencodedData(new FileStream(file... |
b8e925b90c546a739d483002b845352f13984b44 | C# | ofekbs/Parliament | /Parliament/Server/Server.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FireSharp.Config;
using FireSharp.Interfaces;
using FireSharp.Response;
namespace Parliament
{
class Server
{
static IFirebaseConfig config = new FirebaseConfig
... |
6d277b74fc798a28a3ebdcfe469250cdc1a05c06 | C# | RuzmanovDev/Telerik-Academy-Season-2016-2017 | /Modul-II/01.High-Quality-Code/04.Design-Patterns/DIi.NET_SourceCode/ComplexCommerce/CommerceDomain/RepositoryBasedBasketDiscountPolicy.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ploeh.Samples.Commerce.Domain
{
public class RepositoryBasedBasketDiscountPolicy : BasketDiscountPolicy
{
private readonly DiscountRepository repository;
public RepositoryBasedBasketDiscountPolicy(... |
738b4dab8534e8fa6483f142f5fca40b1fe66949 | C# | Banana1600/EngEdu | /EngEdu/EngEdu/Program.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EngEdu
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Year 2561 semster 1, I am an EngEdu freshman.");
Console.WriteLine... |
50acfde27becf5c880ffb81977b52752ed949c80 | C# | microsoft/botframework-solutions | /sdk/csharp/libraries/microsoft.bot.solutions/Responses/SpeechUtility.cs | 2.75 | 3 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Bot.Solutions.Responses
{
using System;
using System.Collections.Generic;
using AdaptiveCards;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using Microsoft.Bo... |
636f2218e38805732f47231a73fc73ab91369619 | C# | fighting1015/yd_commerce_webapi | /ecommerce/Vapps.ECommerce.Core/Products/ProductExtensions.cs | 2.609375 | 3 | using Abp;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vapps.Media;
namespace Vapps.ECommerce.Products
{
public static class ProductExtensions
{
/// <summary>
/// 获取产品图片
/// </summary>
... |
c6bec8532585aa72e18f39a90ed837a68c3db70f | C# | wesenu/CSharp-Fundamentals-3 | /C# OOP Basics/MyExam18.03.18/Structure_Skeleton (.NET Core)/DungeonsAndCodeWizards/Entities/Characters/Character.cs | 2.953125 | 3 | using DungeonsAndCodeWizards.Constants;
using DungeonsAndCodeWizards.Entities.Bags;
using DungeonsAndCodeWizards.Entities.Items;
using System;
namespace DungeonsAndCodeWizards.Entities.Characters
{
public abstract class Character
{
private const double DefaultRestHealMultiplier = 0.2;
private... |
3ff24174dcf795173f3389aeba09dfb92ac18b34 | C# | diamondo25/mapler.me | /branches/WZ Files extractor for phpVana/WzLib/WzProperties/WzExtendedProperty.cs | 2.859375 | 3 | using System.IO;
using MapleLib.WzLib.Util;
namespace MapleLib.WzLib.WzProperties
{
/// <summary>
/// A wz property that extends to a different property
/// </summary>
public class WzExtendedProperty : IWzImageProperty
{
#region Fields
internal IWzImageProperty extendedProperty;
internal int en... |
df6222f0fa4a54a55b98a2327468c242cd53cb6b | C# | shldn/assembly | /Assembly/Assets/Scripts/Test/TestOctree.cs | 2.71875 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class TestClass
{
public TestClass(Vector3 pos_) { pos = pos_; }
public Vector3 pos;
}
public class TestOctree {
static public void RunTests() {
if (!TestMultipleInsert())
Debug.LogError("TestMulti... |
4b34f6d1e8db9413cfdaa51de493cfd495120188 | C# | adalbus/EntityFramework.BulkLoad | /Source/EntityFramework.BulkLoad/EntityBulkLoader.cs | 2.875 | 3 | namespace EntityFramework.BulkLoad
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.SqlClient;
using System.Threading.Tasks;
public class EntityBulkLoader// : IDataLoader
{
#region Fields
/// <summary>
... |
fc944873029cbd60ca7cea1be0cb9bf8073e58bd | C# | kkkati/lab4_zadanie3 | /Zadanie3/Program.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zadanie3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите число А");
int a = Convert.ToInt32(Console.ReadLine());
... |
7139ab439e3d0f56e5cb04943f97d5042ee1eab6 | C# | evisar/NET.Training | /Day5.Architecture/CommandExecution.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Day5.Architecture
{
public class CommandExecution
{
public void Execute<TCommand, TObject>(TCommand arg, TObject obj)
where TCommand: ICommand<TObject>
{
... |
dcdcd603392d230b138b1b1f55215a7fa97d87ea | C# | alexey-aristov/AndroidCar | /TcpCatcher/ConvertorUtil.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
namespace TcpCatcher {
public static class ConvertorUtil
{
/// <summary>
/// Co... |
6f25660207279784b8306b869842a11c1a553bf7 | C# | seiroise/UniTeddy | /Assets/UniTeddy/Core/2D/Chord2D.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UniTriangulation2D;
using UnityEngine;
namespace UniTeddy {
public class Chord2D {
public Vertex2D src { get; set; }
public Vertex2D dst { get; set; }
public Edge2D srcEdge { get; set; }
public Edge2D dstEdge { get; set; }
public Face2D ... |
3becedeb7c95fa6879f544aca0d85a213e4f5505 | C# | patryk-uszynski/SewingCourses | /SewingCourses/Models/Course/Course.cs | 2.828125 | 3 | using SewingCourses.Forms;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SewingCourses.Models
{
public abstract class Course
{
[Key]
[DatabaseGenerated(DatabaseGeneratedO... |
d4f69896746aa26cbc9c8ccdf1bc9abc1801513d | C# | shendongnian/download4 | /code6/1033668-26586237-76359000-2.cs | 2.6875 | 3 | private void button1_Click(object sender, EventArgs e)
{
new Thread(testCapture).Start();
}
public void testCapture()
{
for (int i = 0; i < 200; i++)
{
Screenshot s = _captureProcess.CaptureInterface.GetScreenshot();
... |
dcd2482363f0b7a976907372a617d7b8bc27ec6b | C# | OpenRealEstate/OpenRealEstate.NET.Transmorgrifiers.Csv | /src/OpenRealEstate.Transmorgrifiers.Csv/JsonConvertHelpers.cs | 2.59375 | 3 | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Collections.Generic;
namespace OpenRealEstate.Transmorgrifiers.Csv
{
internal static class JsonConvertHelpers
{
private static JsonSerializerSettings JsonSerializerSettings => new JsonSerializerSettings
{
... |
1d66be26915e3a2ee8096a509aea3703eb578498 | C# | mackenzieweaver/Komodo | /Komodo/Services/BTProjectService.cs | 2.578125 | 3 | using Komodo.Data;
using Komodo.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Komodo.Services
{
public class BTProjectService : IBTProjectService
{
private readonly Appli... |
f82eb83769f128eaa4ed38e21f7265d451302a79 | C# | myrp-alexandre/ContasApi-1 | /TesteProj/TesteHub/TesteHub/DAO/ContaDAO.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using TesteHub.Models;
namespace TesteHub.DAO
{
public class ContaDAO: IDisposable
{
private SqlConnection conexao;
public ContaDAO()
{
this.conexa... |
4b40a556963c0e6716c3de7773f50293f23c35dd | C# | KirillTcoi/Zachet1712 | /Program.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
namespace BibliotekaIKIT
{
class Program
{
static void Main(string[] args)
{
List<Student> Students = new List<Student>();
List<Book> Books = new List<Book>()... |
257f46ed51b6208562cb5ea934cca83abf8575c6 | C# | solorinpedro/Asignacion3Aplicada_1 | /Ejercicio3.xaml.cs | 2.828125 | 3 | using System;
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;
using System.Windows.Media.Imaging;... |
da629722e83dfff2b0b9ff6ee24d1a2f21773fd0 | C# | deanagan/CodeKata | /countvowels/csharp/countvowels.cs | 3.609375 | 4 | using System;
using System.Linq;
class VowelCounter {
public static int countVowels ( string args )
{
return args.ToList().Count(ch => "aeiouAEIOU".IndexOf(ch) != -1);
}
public static void Main(string[] args)
{
string inputStr = "hello";
Console.WriteLine("Counting the vo... |
1a21364023fb9fc3e1758a7568443faa3d11a48b | C# | shendongnian/download4 | /first_version_download2/248840-19727893-50574648-2.cs | 2.734375 | 3 | namespace A
{
public class B
{
string productIdStr1 = Request.QueryString["productID"];
}
}
}
public IQueryable<Product> GetProduct()
{
int? productId;
string productIdStr =productIdStr1 ;
if (productIdStr != null)
produ... |
c4d7c8528d5807c38eb2c92aeec49a25e9651d6a | C# | shendongnian/download4 | /code3/519432-11954853-27976347-2.cs | 2.84375 | 3 | var sb = new StringBuilder();
while (sqlReader.Read())
{
sb.AppendLine(sqlReader.GetString(0));
}
nameTextBlock.Text = sb.ToString();
|
f0867fd6e258a17b432df57156c88417d62c2c3a | C# | TomBina/TrainingShoeby01 | /TrainingShoeby01/HeapStack/Exercise.cs | 2.890625 | 3 | namespace TrainingShoeby01.HeapStack
{
public class EventBus
{
private string _lastSentEvent;
public bool Send(string evt)
{
evt = evt.ToUpper();
_lastSentEvent = evt;
var messageBus = new MessageBus();
messageBus.SendEvent(evt);
... |
fbc2aa198c670989bae72226ea7ce630bf238b1a | C# | garryto/JobLoggerSolution | /LoggerClassProject/Persistance/AdoNetTransactions.cs | 2.6875 | 3 | using LoggerClassProject.Core;
using System;
using System.Data;
namespace LoggerClassProject.Persistance
{
public class AdoNetTransactions : ITransactions
{
private IDbTransaction _transaction;
private readonly Action<AdoNetTransactions> _rolledBack;
private readonly Action<AdoNetTrans... |
7550a1efde20d12459470171c316de2efde9c535 | C# | isabellanux/StudentDB | /ContactInfo.cs | 2.796875 | 3 | //////////////////////////////////////////////////////////////////////////////////////////////////////////
// Date Developer Description
// 2021-02-10 bellatn --created StudentDB and began working alongside video 10a
// 2021-02-10 bellatn ... |
08e763fac5617f0945305019c5f5b1d42872c592 | C# | Nothing-Works/CSharp | /Challenges/CSharpIND3/CSharp2/Anonymous/CapturedVariables.cs | 3.03125 | 3 | using System;
namespace Challenges.CSharpIND3.CSharp2.Anonymous
{
public class CapturedVariables
{
public static void Go()
{
string captured = "before X is created";
Action x = delegate
{
Console.WriteLine(captured);
captured... |
31368fcfcb972a9fbfdfaaaddb9bde96449d1156 | C# | Prongt/Zeph | /Zeph/Assets/Scripts/ProgressScripts/MosaicPickUp.cs | 2.515625 | 3 | using UnityEngine;
using UnityEngine.SceneManagement;
/// <summary>
/// Updates players current progress
/// </summary>
public class MosaicPickUp : MonoBehaviour
{
public LevelProgress playerProgress;
// Start is called before the first frame update
void Start()
{
playerProgress = GameObject.F... |
7bde9c28c0d44b6dbbd2b24f2ebed2d4596410a6 | C# | bangush/RemoteDesktopViewer | /RemoteDesktopViewer/Functionality/GroupManager.cs | 2.921875 | 3 | using Newtonsoft.Json;
using RemoteDesktopViewer.Model;
using System.Collections.Generic;
using System.IO;
namespace RemoteDesktopViewer.Functionality
{
public static class GroupManager
{
public static string GROUP_PATH = $"{Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Locat... |
99461f00807f85ed39d899cb1e064d338a0fbb2d | C# | DariaNazarenko/CoffeClub | /Back/CoffeeClub/CoffeeClub/Validation.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CoffeeClub.Domain.Entities;
namespace CoffeeClub
{
public static class Validation
{
public static bool ValidateEntity(Coffee coffee)
{
bool c... |
88055fe0c5a7c582a8645574f782dac2b56defa8 | C# | Ilirmb/JourneyToBlackwood | /JTB/Assets/Scripts/LightGroup.cs | 3.171875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// The LightGroup script essentially monitors and manages a group of lights. The colliders themselves reference their own instance of this script to activate and deactivate large groups of lights
/// </summary>
public class... |
0855c0bd566fe19c29c7db9bdca0ed62271ca5cd | C# | ademirt/NET_Core_Csharp | /Csharp.Curso.Struct/Csharp.Curso.Struct/Program.cs | 3.59375 | 4 | using System;
namespace Csharp.Curso.Struct
{
class Program
{
static void Main(string[] args)
{
Ponto p;
p.X = 2;
p.Y = 3;
Console.WriteLine(p);
p = new Ponto();
Console.WriteLine(p);
//Nullable
... |
f3745ca0a60b156185dde0b017c08f6dd9cd23d7 | C# | lanrof/tumblr | /Tumblr.WP/Tumblr.WP/ViewModels/MainViewModel.cs | 2.578125 | 3 | using Caliburn.Micro;
using System;
using System.IO.IsolatedStorage;
using System.Windows.Controls;
using System.Windows.Data;
namespace Tumblr.WP.ViewModels {
public class MainViewModel : PropertyChangedBase {
#region fields
private readonly INavigationService _navigationService;
private... |
6b2363930dd619f347aba118ff0adcd13acb2853 | C# | ecylmz/nyp | /NYT-kod-02/6-ekstra/k03_karakter_dizisi.cs | 3.21875 | 3 | using System;
namespace Uzay1
{
class Sinif1
{
static void Main()
{
string gunler = "pzt,sal,car,per,cum,cts,paz";
// Split fonksiyonu, String sinifinda yer alan ve statik
// olmayan bir fonksiyondur. Bu sinifin bir nesnesi olan
// (str... |
ca4d580b1bbb273fd8cf87780156a6108f9e2990 | C# | JordanTallon/Codewars | /C# - Medium Level/Anagram Finder.cs | 3.640625 | 4 | /*Challenge:
Write a function that will find all the anagrams of a word from a list. You will be given two inputs a word and an array with words.
You should return an array of all the anagrams or an empty array if there are none. For example:
anagrams('abba', ['aabb', 'abcd', 'bbaa', 'dada']) => ['aabb', 'bbaa']*/
usi... |
54440fd5cc967d4830bd6f6f12511240b2de7b7b | C# | bstaykov/Telerik-CSharp-Part-1 | /Loops/8.Greatest-Common-Divisor/Program.cs | 3.9375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8.Greatest_Common_Divisor
{
class Program
{
static void Main(string[] args)
{
// Write a program that calculates the greatest common divisor (GCD)
... |
b17e9c8228c08ad390cffb090add360f5bd99340 | C# | AdhamAwadhi/DataConnectors | /DataConnectors/Converters/Base/ValueConverterBase.cs | 2.53125 | 3 | using System;
namespace DataConnectors.Converters
{
public abstract class ValueConverterBase
{
public virtual object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return value;
}
public virtual object ConvertBa... |
38e461dfd156a1256a2798fcd6821587568a4f4f | C# | Euler-KB/BusWork | /BookingSystem.API/ThumbnailGenerator.cs | 2.828125 | 3 | using BookingSystem.API.Helpers;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Hosting;
namespace BookingSystem.API
{
public class ThumbnailGenerator
{
pub... |
c25e0e09d4bfd3887e5b3b250cb74f29f4b5fe26 | C# | ChocoDream/individual-assignment | /Indivudella-uppgift/SpaceBodyAdapter.cs | 2.921875 | 3 | namespace Indivudella_uppgift
{
internal class SpaceBodyAdapter : ITarget
{
private readonly string spaceBodyName;
public SpaceBodyAdapter(string spaceBodyName)
{
this.spaceBodyName = spaceBodyName;
}
public int Convert()
{
int idx = 0;
... |
4dd9145010111f335af606f5f67a1764ea64506a | C# | BryanCAlcorn/MovieOrganizer | /UnitTests/DALUnitTest.cs | 2.9375 | 3 | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MovieOrganizer;
namespace UnitTests
{
/// <summary>
/// Summary description for DALUnitTest
/// </summary>
[TestClass]
public class DALUnitTest
{
... |
569469d542ed65d79073d0e3e82473884a58c403 | C# | lcodev/CSharp | /Methods/SumDigitsInInteger/SumDigitsInInteger/Program.cs | 4.3125 | 4 | using System;
namespace SumDigitsInInteger
{
class Program
{
static void Main(string[] args)
{
// Prompt user for an integer
Console.Write("Enter an integer: ");
long n = long.Parse(Console.ReadLine());
// display sum
int result = su... |
2a249add831b0a597a38d341f943127867c1352b | C# | VictoriaSivko/Training-tasks | /NET.A.2019.Sivko.11-12/BookLib/BookLib/BookListStorage.cs | 3.59375 | 4 | using NLog;
using System.Collections.Generic;
using System.IO;
namespace BookLib
{
/// <summary>
/// Contains methods for writing and retrieving objects from a file.
/// </summary>
public static class BookListStorage
{
private static readonly Logger logger= LogManager.GetCurrentClassLogger... |
d594d804e314e5c5609c3cba1342f60b4ebf9d74 | C# | shendongnian/download4 | /code4/765299-18659762-46763574-2.cs | 2.921875 | 3 | string[] splitted = str.Split("},{");
for(int i = 0; i < splitted.Count ; i++)
{
if(i != 0)
{
Console.WriteLine("{");
}
Console.WriteLine(curr[i]);
if(i != splitted.Count - 1)
{
Console.WriteLine("}");
}
}
|
4b21b12679e6daee4c9cf87ca4acdb6a9ca7bdf8 | C# | diegotenoriodev/vetclinproject | /VeterinarianClinic/VeterinarianClinic.DataBase/XML/RepositoryImplementation.cs | 2.90625 | 3 | using System.Collections.Generic;
using System.Linq;
using VeterinarianClinic.Domain;
using System;
namespace VeterinarianClinic.Repository.XML
{
public class RepositoryImplementation : IRepository
{
private DBDataContext DB;
internal RepositoryImplementation(string fileName)
{
... |
e4795672024e850b1259f93dbd5c9adcef656b82 | C# | grae22/Dorothy | /ui/MainForm.cs | 2.53125 | 3 | using System;
using System.Windows.Forms;
using System.Collections.Generic;
using Dorothy.Data;
namespace Dorothy.UI
{
public partial class MainForm : Form
{
//-------------------------------------------------------------------------
//-------------------------------------------------------------------... |
bf41e4879c92a41f5f78dd4ac84a9bdc8aad49d5 | C# | foivz/pi21-thlevnjak-eduranec-mkustele1 | /Software/FindAndLearn/Klase/Obavijest.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FindAndLearn.Klase
{
public class Obavijest
{
public int Id { get; set; }
public Termin Termin { get; set; }
[DisplayName("Naslov"... |
fbac8f4df0508eca8634e0e6704b5f6f201dbe11 | C# | nikolaStanojkovski/Find_Your_Petrol | /Mockups, Architecture, Prototype/Technical Prototype/Find_Your_Petrol1/Models/FromLocationToDestination.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Find_Your_Petrol1.Models
{
public class FromLocationToDestination
{
public double usersLatitude { get; set; }
public double usersLongitude{ get; set; }
public double stationsLatitude { get; s... |
ceefca56c92c8bc46fb485f89a33fbb47bc8ebe5 | C# | philazzi44/DnDCS | /DnDCS.Libs/Persistence.cs | 2.703125 | 3 | using System;
using System.IO;
using System.Xml.Serialization;
using DnDCS.Libs.PersistenceObjects;
using DnDCS.Libs.SimpleObjects;
namespace DnDCS.Libs
{
public static class Persistence
{
public static bool SaveClientData(ClientData clientData)
{
try
{
... |
998e821c4c99d513d551238e90e823731f79d113 | C# | AlistairDevine/EFCoreTestingEnvironment | /ContosoPets/ContosoPets/Program.cs | 3.09375 | 3 | using System;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using ContosoPets.Data;
using ContosoPets.Models;
namespace ContosoPets
{
class Program
{
static void Main(string[] args)
{
using ContosoPetsContext context = new ContosoPetsContext();
... |
05f2ed4642cdc74a7192e02879c3bd204e9a5669 | C# | NeiD1993/public | /Bomberman/Assets/Entities/FieldObjects/FieldObject/PowerUp.cs | 2.578125 | 3 | using Assets.Entities.FieldObjects.FieldObject.FieldObjectsTypes;
using UnityEngine;
namespace Assets.Entities.FieldObjects.FieldObject
{
class PowerUp
{
private Field field;
private GameObject gameObject;
public PowerUp(PowerUpTypes powerUpType, Field field, GameObject gameObject)
... |
de04869cf0fd6359d8413da8e487017c6574d565 | C# | brunolauze/System.Management | /System.Management/System.Management/CimTypeConverter.cs | 2.609375 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace System.Management
{
internal static class CimTypeConverter
{
private static Dictionary<Type, CimType> _dotNetTypeToScalarCimType;
static CimTypeConverter()
{
CimTypeConverter.InitializeDotNetTypeToCimT... |
d09f694e3364770cba6e63bc38841db4052b8ca7 | C# | AndrianaTodorova/CSharp-Fundamentals | /C#-OOP-Basics/08.InheritanceExercises/03.ManKind/Worker.cs | 3.6875 | 4 | using System;
using System.Text;
public class Worker : Human
{
public Worker(string firstName, string lastName, double salary, double hours) : base(firstName, lastName)
{
this.WeekSalary = salary;
this.WorkingHours = hours;
}
private double weekSalary;
public double WeekSalary
... |
798786956d86362e74828d16433c2e125ab7dfb8 | C# | xmariia55x/Grupo02PCSAS | /Mensaje.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grupo02PCSAS
{
public class Mensaje
{
private static string BD_SERVER = Properties.Settings.Default.BD_SERVER;
private static string BD_NAME = Properties.Settings.Defau... |
71390ddd0223e4ab633b539076f8401e3b236942 | C# | llitt/Platformer | /Assets/UpDownPlatform.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UpDownPlatform : MonoBehaviour
{
Rigidbody rb;
Vector3 pos;
public float height=3, speed=.5f;
int up = 1;
// Start is called before the first frame update
void Start()
{
rb = GetComponent<Rigidbod... |
3543902560c7929db29a64a4a9698b0d453f7853 | C# | capjan/CoreLib | /Core.Test/GenericRelated/TypeCheckerTest.cs | 2.59375 | 3 | using Core.Generic;
using Xunit;
namespace Core.Test.GenericRelated;
public class TypeCheckerTest
{
[Fact]
public void BasicTest()
{
// ReSharper disable once UnusedParameter.Local
bool IsStringOrInt<T>(T value)
{
var typeChecker = new TypeChecker<T>(typeof(string), typ... |
d57a0d5fe83e33c9bb303bd853262ce3befbdf55 | C# | bonomali/SeniorProject | /SchoolToHomeBehaviorTracking/SchoolToHomeBehaviorTracking/Client/PasswordRecovery.xaml.cs | 2.546875 | 3 | using System.Windows;
using System.Windows.Controls;
namespace SchoolToHomeBehaviorTracking_Client
{
/// <summary>
/// Interaction logic for PasswordRecovery.xaml
/// Parent for resetting and changing password
/// </summary>
public partial class PasswordRecovery : Window
{
delegate voi... |
0d34b4653fc9fc6fdf6a8846173aa134bce05883 | C# | joemagiv/game-off-2016 | /Muntz/Assets/Scripts/Typewriter.cs | 2.59375 | 3 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Typewriter : MonoBehaviour {
public float timeBetweenNextText;
public Text textBox;
public GameObject logo;
public GameObject gameStartUI;
public Animator tvAnimator;
private MusicManage... |
ff67fcd0568cdcca85beb43b41464df1ac0fc026 | C# | maraf/Pisqorks | /Pisqorks.Core/Game.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pisqorks.Core
{
public class Game
{
public Guid ID { get; set; }
public DateTime Created { get; set; }
public DateTime? Started { get; set; }
... |
7649c966e05b505a605c836ffe1ad24935738ce3 | C# | MalinaD/SoftUni_CSharp_Homeworks | /Conditional Statements/02NumbersNotDivisibleby3and5.cs | 3.96875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Problem 2. Numbers Not Divisible by 3 and 7
//Write a program that enters from the console a positive integer n and prints
//all the numbers from 1 to n not divisible by 3 and 7, on a single line, se... |
3300f1608a9a07a9b44f4e140d58687aefcc3f37 | C# | 20chan/OldProjects | /VSCodeCount/VSCodeCount/Form1.cs | 2.734375 | 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 VSCodeCount
{
public partial class Form1 : Form
{
public Form1()
{
... |
15fec2a362fd12488ecc0b24689ce2cf9d9ed04d | C# | dlotake/StationaryManagement | /GeneralStore/Store/ViewModel/CustomerVM.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Store.Models;
namespace Store.ViewModel
... |
d8adbc9f48a4c4c117acea8b0467d82fc877d66d | C# | bgjehu/CS5001_Project_DataMiningApp | /CS5001_Data_Mining_Project/Classes/FPTree.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CS5001_Data_Mining_Project.Classes
{
class FPTree
{
public Arff Source;
public int MinimumCoverage;
public int MaximumItemSetSize;
public double Minimum... |
15c00d9948a397dd3e3583ce533870b3c3430d46 | C# | shendongnian/download4 | /latest_version_download2/4713-566089-4644323-1.cs | 3.296875 | 3 | You can use [System.Management.MangementObjectSearcher][1] to get the process ID of a service and [System.Diagnostics.Process][2] to get the corresponding Process instance and kill it.
The KillService() method in the following program shows how to do this:
using System;
using System.ComponentModel;
using System.Diagnos... |
405c0571a17045cf958e4ff4532bae93e81d0fd2 | C# | ale-donofrio/TennisGame | /TennisGame/Tennis.cs | 3.625 | 4 | using System;
namespace TennisGame
{
/// <summary>
/// This class is used to manage a tennis game
/// </summary>
public class Tennis
{
private int player1Points = 0;
private int player2Points = 0;
public PlayerEnum? GetLeadingPlayer()
{
PlayerEnum? lead... |
9ecfb3224375be8a851aa88c679cbd2804f41b2e | C# | niing/Flog | /Flog.Web/Server/Infrastructure/FileSystemDocumentStore.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
namespace Flog.Web.Server.Infrastructure
{
public class FileSystemDocumentStore : IDocumentStore
{
public void Put<T>(T document) where T : IIdentifiable
{
var stor... |
e60e42ca877b6bab9e8aee7a85bc4470525072aa | C# | gtyd/LeetCode | /ConsoleApp/CoinChangeSolution.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApp
{
public class CoinChangeSolution
{
/// <summary>
///
/// </summary>
/// <param name="coins"></param>
/// <param name="amount"></param>
/// <returns></returns>
publi... |
7417fbb376bebf514f4f5233cd1e964f69139269 | C# | Wiladams/NewTOAPIA | /TOAPIToppers/NewTOAPIA.GL/Lighting/GLMaterial.cs | 2.875 | 3 |
namespace NewTOAPIA.GL
{
using NewTOAPIA.Drawing;
using NewTOAPIA.Graphics;
public struct GLMaterial
{
ColorRGBA fAmbient;
ColorRGBA fDiffuse;
ColorRGBA fSpecular;
ColorRGBA fEmissive;
float fShininess;
/// <summary>
/// Create a material with ... |
84723b30156253392667121178be22ec33257365 | C# | Recensys/ReviewIT-backend | /ReviewIT-Backend/BibliographyParserCore/ItemChecker/DefaultItemChecker.cs | 2.765625 | 3 | using System.Linq;
using BibliographyParserCore.FieldValidators;
using RecensysCoreRepository.DTOs;
namespace BibliographyParserCore.ItemChecker
{
/// <summary>
/// Default <see cref="IItemChecker"/> implementation for when no custom checker is specified.
/// When all fields contained by the studySourceIt... |
915579367830f3d4a9464859439b8ec3b63d3906 | C# | EnsignPayton/TinyRayTracer | /Tiny.RayTracer.Core/Vector3Extensions.cs | 3.0625 | 3 | using System;
using System.Numerics;
namespace Tiny.RayTracer.Core
{
public static class Vector3Extensions
{
public static Vector3 ProjectOnto(this Vector3 a, Vector3 b)
{
var dot = Vector3.Dot(a, b);
var mag = b.Magnitude();
var scale = dot / mag;
... |
87a3d91f2a850cbac0ba7bfa7588737ea6a05b9c | C# | RendleLabs/Simple.Data.Core | /test/Simple.Data.Core.Tests/ThingTest.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Simple.Data.Core;
using Simple.Data.Core.Commands;
using Xunit;
namespace Simple.Data.Core.Tests
{
public class ThingTest
{
private static readonly dynamic Thing = new SimpleData().Open("Foo", typeof(DummyAdapter));
... |
38fb80149cc9a9207d19381218e0e5c99ebafb68 | C# | ZachPerkitny/web-scraper-framework | /src/RestFul/Http/HttpContext.cs | 2.75 | 3 | using System;
using System.Net;
using RestFul.Serializer;
namespace RestFul.Http
{
public class HttpContext
{
/// <summary>
/// Gets an object that represents the client's request
/// </summary>
public HttpRequest Request { get; private set; }
/// <summary>
///... |
82e13d80cc4da86520568bdc067cd1f804134643 | C# | aKimtsPro/ProjNetAngular | /DeomPOO/Program.cs | 2.75 | 3 | using DemoPOO.Encapsulation;
using DemoPOO.Indexeur;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoPOO
{
class Program
{
static void Main(string[] args)
{
//Moteur m = new Moteur();
//m... |
ada8e7317b12050f08a7fd40147e56a481b47960 | C# | KolesoPrivet/ScaleModeling | /ScaleModeling.WebUI/Controllers/ShopController.cs | 2.515625 | 3 | using System.Linq;
using System.Web.Mvc;
using ScaleModeling.Domain.Abstract;
using ScaleModeling.Domain.Entities;
namespace ScaleModeling.WebUI.Controllers
{
public class ShopController : Controller
{
private IRepository<Product> productRepository;
public ShopController(IRepository<Product>... |
4423148612266e8735790ab633278ba7243c0d4d | C# | aamartin2k/AReporte | /ARDAL/Reader/DescriptorMapper.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using AReport.Support.Interface;
namespace AReport.DAL.Reader
{
public abstract class DescriptorMapper<T> : MapperBase<T>
{
protected abstract IDescriptor GetEntity { get; }
protected abstract st... |
35a2052816fba8d345b16942653aa0713d0cc5fd | C# | jabbo/Jabbo | /server/Newtonsoft.Json/Linq/JProperty.cs | 2.546875 | 3 | #region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... |
7dcbadad3eaae2978753025a691ef38075f34131 | C# | gitter-badger/hotchocolate | /src/Core/Execution/Utilities/VariableValueBuilder.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using HotChocolate.Language;
using HotChocolate.Types;
namespace HotChocolate.Execution
{
// http://facebook.github.io/graphql/draft/#sec-Coercing-Variable-Values
internal sealed class VariableValueBuilder
{
private readonly ISchema... |
79922fdbab7b72f880a2cd639afa0bb5c1ab0e55 | C# | LaneSBarnes/NeuralNetwork | /NeuralNetwork/Layer.cs | 2.90625 | 3 | namespace NeuralNetwork
{
public class Layer
{
public Neuron[] Neurons { get; set; }
public Layer(int neuronsCount)
{
Neurons = new Neuron[neuronsCount];
for (int i = 0; i < Neurons.Length; i++)
{
Neurons[i] = new Neuron();
... |
79603cb424d6e7774750cb975f6bfc8de1696d67 | C# | SkyDreamX/PersonnelManagement | /Personnel_ManagementApi/Personnel_ManagementCommon/SecurityHelper.cs | 2.9375 | 3 | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Web.Security;
namespace Traffic.Utility
{
/// <summary>
/// Description: 安全相关操作类
/// Version: 1.0
/// Created: 2014/12/17
/// Author: zlf
/// Company: 北京博奥中... |
fa5b600a4f448c386778984c7179a2b1b4c6f458 | C# | yael-veksler/summary-evaluation | /Algorithm/metrics/Rouge/RougeW.cs | 2.828125 | 3 | using SummaryEvaluationAPI.Infrustructure.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SummaryEvaluation
{
class RougeW : Rouge
{
public static double f(double k)
{
return k * k;
}
... |
df02f1d62c2388b31a0820031d988da941e8ad64 | C# | gustavoosantoos/Jurify.Advogados.Api | /Jurify.Advogados.Api/Dominio/ObjetosDeValor/Descricao.cs | 2.84375 | 3 | using Flunt.Validations;
using Jurify.Advogados.Api.Dominio.Base;
using System.Collections.Generic;
namespace Jurify.Advogados.Api.Dominio.ObjetosDeValor
{
public class Descricao : ObjetoDeValor
{
public string Valor { get; private set; }
private Descricao()
{
Valor = stri... |
3413ca77a9df172df0aab509967a59d266a27554 | C# | svvvk/SoftUni-CSharp-Basics | /PrimitiveDataTypesAndVariables/08 QuotesInStrings/Quotes.cs | 3.90625 | 4 | /*Declare two string variables and assign them with following value:
The "use" of quotations causes difficulties.
Do the above in two different ways: with and without using quoted strings.*/
using System;
class Quotes
{
static void Main(string[] args)
{
string firstQuotes = "The \"use\" of quotation... |
7f53e341eead5355dcbe6fe4c8f33c2148d20409 | C# | Prince269090/azure-sdk-for-net | /sdk/eventhub/Azure.Messaging.EventHubs/src/Errors/EventHubsException.cs | 2.71875 | 3 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Globalization;
namespace Azure.Messaging.EventHubs.Errors
{
/// <summary>
/// Serves as a basis for exceptions produced within the Event Hubs
/// context.
/// </summary>
... |