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 |
|---|---|---|---|---|---|---|
f43684bcda01fe05cb4ab0644201e3e4e9d11058 | C# | sootie8/Serialise-Work | /Assets/JsonDotNet/Extras/CustomConverters/ResolutionFullConverter.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using UnityEngine;
namespace JsonDotNet.Extras.CustomConverters
{
public class ResolutionFullConverter : JsonConverter
{
public override void WriteJson(JsonWriter wr... |
4603a816f5a33567b1f13b26515cc95ff7d37539 | C# | masterpoi/scsharp | /tools/brute.cs | 2.84375 | 3 | using System;
using System.IO;
using System.Threading;
using MpqReader;
using System.Reflection;
public class Brute {
const int MAX_COUNT = 45;
static string allowable = "()\\/._0123456789abcdefghijklmnopqrstuvwxyz";
static StreamWriter sw;
static int entry_count = 0;
static object iolock = new object ();
st... |
42482eb7c207e1477f04f1cfeaacdf7f03bb9126 | C# | webdude21/Homework | /C# part two/StringsAndTextProcessing/FillWithAsterisk/FillWithAsterisk.cs | 4.59375 | 5 | // Write a program that reads from the console a string of maximum 20 characters. If the length of the string
// is less than 20, the rest of the characters should be filled with '*'. Print the result string into the console.
namespace FillWithAsterisk
{
using System;
using System.Text;
internal class Fi... |
b1c65a033da2fae6542f489cef25364288f5b2a5 | C# | OleksiiPankov/FirstHomeTask | /ConsoleApplication1/Program.cs | 3.4375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Задайте размер массива");
int n = Convert.ToInt32(Con... |
ddc3e7946ada9c1637ad5cc841232cefd3d5c14f | C# | jdidderen/TennisTableWPF | /TennisTableWPF/bin/Debug/A_Classements.cs | 2.71875 | 3 | using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using TennisTable.Classes;
namespace TennisTable.Acces
{
/// <summary>
/// Couche d'accès aux données (Data Access Layer)
/// </summary>
public class AClassements : ABase
{
public AClassements(string sChaineCo... |
238a94fba898ea0b60fb69b817000d60bc32bcb7 | C# | jai-x/aoc2020 | /Day4.cs | 3.21875 | 3 | using System;
using System.Linq;
using System.Globalization;
using System.Collections.Generic;
namespace aoc2020
{
public class Day4 : Day
{
private class Passport
{
private Dictionary<string, string> fields;
private Dictionary<string, Func<string, bool>> fieldValidatio... |
a6b1e6dd257d7b744fafd67101f139c29ac0728e | C# | mckeepa/SignalRChat | /ClientDesktop/Program.cs | 2.671875 | 3 | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.Extensions.Configuration;
namespace ClientDesktop
{
class Program
{
static void Main(string[] args)
{
var sessionId = "715c5034-e97c-4... |
1f508d6aa2d663459bf28b420d7fabe3f83250c9 | C# | CraigChant/CD-Library | /Controllers/CDLibraryAPIController.cs | 2.9375 | 3 | using System;
using System.Collections.Generic;
using System.Web.Http;
using CD_Library.Models;
namespace CD_Library.Controllers
{
public class CDLibraryAPIController : ApiController
{
// CD Library repository
private ICDLibraryRepo _repository;
// Dependency Injection constructor
... |
0a472b8f617b7a392a4ca6549b7dbf6108e1b0ed | C# | iamal12/quiz | /quiz.core/ResultImpl.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using quiz.entities;
using quiz.api;
namespace quiz.core
{
/// <summary>
/// Class <see cref="ResultImpl "/> implements <see cref="IResult"/>
/// </summary>
public class ResultImpl:IResult
{
... |
7c95b1a02847caa54b780723d70af27fd2035bcc | C# | debsoft/RMS | /RMSAdminFinal/Database/InventoryKitchenStockReportDAO.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Common.ObjectModel;
using RMS.DataAccess;
namespace BistroAdmin.DAO
{
public class InventoryKitchenStockReportDAO:BaseDAO
{
public void InsertInventoryKitchenStock(List<InventoryStockReport... |
5eabe069643890aa899af133271ce9ca5e604b8a | C# | tandak/software-craftmanship | /Tests/Lib.UnitTests/UserProcesserShould.cs | 2.578125 | 3 | using FluentAssertions;
using software_craftsmanship.DesignPatterns.Behavioral_Design_Patterns.ChainOfResponsiblity;
using software_craftsmanship.Lib.ChainOfResponsibility.Validation;
using Xunit;
namespace software_craftsmanship.Lib.UnitTests
{
public class UserProcesserShould
{
private readonly User... |
7e5a805e4c60cecaa911fc4b9b470ea9a6f3d9ed | C# | Newville23/RFIDapp | /lector1/Program.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.caen.RFIDLibrary;
using MySql.Data.MySqlClient;
namespace ConsoleApplication1
{
class DBConnect
{
private MySqlConnection connection;
private string server;
private string database;
... |
2e0d01f1b2b40247283c8822165e83605761b2af | C# | peekabooASH/Exception-Handling | /FileOperation/FileOperation/Program.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileOperation
{
class Program
{
static void Main(string[] args)
{
StreamReader sr= null;
try
{
sr =... |
6e3663de2d059d0c6d5b3d0e6a22543a9aae16df | C# | jy-repo/NewsABGN | /NewsABGN/NewsABGN.Console/Program.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewsABGN.Logic;
namespace NewsABGN.Console
{
class Program
{
static void Main(string[] args)
{
Test();
}
private static void Test()
{
... |
012a931e82bba723fec0c672769cf888a152bd9e | C# | Slion/SharpLibStreamDeck | /Project/Library/Exceptions.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpLib.StreamDeck
{
/// <summary>
/// Base class for all StreamDeckSharp Exceptions
/// </summary>
public abstract class BaseException : Exception
{
public BaseEx... |
18bf2ce3b05f57ebcb6cb87dfc4ad652d2bbf1e4 | C# | Tsjunne/Physics | /src/PackageTest/WhenUsingPackage.cs | 2.75 | 3 | using Physics;
using Physics.Systems;
using System;
using System.Diagnostics;
using Xunit;
namespace PackageTest
{
public class WhenUsingPackage
{
[Fact]
public void CheckFullyDefinedSIPerformance()
{
var sytem = SI.System;
var W = sytem["W"];
var h ... |
54060a41b52debd6ebccbefad3aacce6e8041292 | C# | SeoDongWoo1216/SmartFactory-Edu | /20200909_004/Book.cs | 2.859375 | 3 | class Book
{
public string Name { get; set; }
public int Price { get; set; }
public Book(string _Name, int _Price)
{
Name = _Name;
Price = _Price;
}
} |
57c4304f4e17144ab617e2f6279ab636eac56309 | C# | remillner/HalloweenGame | /HalloweenGame/CharacterClasses/Vampire.cs | 2.671875 | 3 | using System;
namespace HalloweenGame
{
//>>Not Currently Used<<
class Vampire : Entity
{
public static int Vampires = 0;
string[] atkName = { "Drain Blood", "Swarm of Bats", "Glamour" };
//int[] attack = { 4, 12, 5 };
public Vampire(int lvl)
{
Vampires... |
3afc46392882b4ddde1b307e449321a67f0948ed | C# | andersrosbaek/OOP2-ME | /WindowsFormsApplication1/WPF_GUI/Vehicles/RegisterVehicle.xaml.cs | 2.8125 | 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;... |
de561dd07ab7ed65748d1ab4b617ffa0d4bad94c | C# | JerryXia/ML | /src/ML NET20/Xml/XmlHelper.cs | 2.984375 | 3 | using System;
using System.Xml;
namespace ML.Xml
{
public class XmlHelper : IDisposable
{
private XmlDocument xmlDoc;
#region 初始化XML文件
public XmlHelper()
{
xmlDoc = new XmlDocument();
}
public XmlHelper(string xmlFilePath)
{
xml... |
41f2e2c9d4c4fdcdba3894eb9e63930336d0e5a5 | C# | deflis/OpenSolar | /Solar/DateTimeConverter.cs | 2.9375 | 3 | using System;
using Ignition.Presentation;
namespace Solar
{
class DateTimeConverter : OneWayValueConverter<DateTime, string>
{
protected override string ConvertFromSource(DateTime value, object parameter)
{
if (value.DayOfYear == DateTime.Now.DayOfYear)
return value.ToString("HH:mm:ss");
else if (val... |
789b230ae3d3a334b401f05f91c805dfc64f3140 | C# | StefaanAvonds/Encryptors | /Encryptors/Interfaces/IEncrypt.cs | 2.625 | 3 | namespace Encryptors.Interfaces
{
public interface IEncrypt
{
/// <summary>
/// Encrypt a text.
/// </summary>
/// <param name="text">The text to encrypt.</param>
/// <returns>The encrypted text.</returns>
string Encrypt(string text);
}
}
|
3f9dc9bbba565441462fdf54384f532cdb971828 | C# | bt7s7k7/Space | /Assets/PlayerStatsDisplay.cs | 2.609375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerStatsDisplay : MonoBehaviour {
public Text display;
public bool multiline = true;
public bool showMoney = true;
public bool showLevel = true;
void Update() {
string show = "";
GameManager... |
f5f025dfe97120220b565e862add2a94c55a258b | C# | trarck/DataBinding | /DataBinding/DataBinding/BindingProviders/PropertyProviders/SameTypeProvider.cs | 2.53125 | 3 | using System;
using System.Reflection;
namespace DataBinding.PropertyProviders
{
public class SameTypeProvider<T> : PropertyBindingProvider<T, T>
{
public override void SyncTarget()
{
m_TargetSetter(m_SourceGetter());
}
public override void SyncSource()
{
if (m_BindType == BindType.TwoWay)
{
... |
752ac4acbbb1f3fc850009820c23e999b20eb968 | C# | xray/Chorizo | /tests/Logger/Output/Console/ConsoleOutTest.cs | 2.5625 | 3 | using System;
using Chorizo.Logger.Output.Console;
using Moq;
using Xunit;
namespace Chorizo.Tests.Logger.Output.Console
{
public class ConsoleOutTest
{
private const string TestText = "Test";
private DateTime _testTime = new DateTime(1997, 12, 02, 03, 32, 00, DateTimeKind.Utc);
private... |
5d0f29fdafddd550cba5aa6c4134c29d7626a18d | C# | GreatisNate/RavenNest | /src/RavenNest.BusinessLogic/Game/Managers/IServerManager.cs | 2.609375 | 3 | using Microsoft.EntityFrameworkCore;
using RavenNest.BusinessLogic.Data;
using RavenNest.BusinessLogic.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RavenNest.DataModels;
namespace RavenNest.BusinessLogic.Game
{
public interface IServerManager
{
... |
d3dcd429794572d2e5069114e4d8423cc889f447 | C# | nov30th/LizhiRedBaoFiddlerPlugin | /LizhiRedBaoFiddlerPlugin/DesUtil.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace LizhiRedBaoFiddlerPlugin
{
public class DesUtil
{
private static readonly string encryptKey = "0fe3";
//字符串加密
... |
01239dd46424c6f0558073054e49c9ee95af1920 | C# | Janbaz-khan/EServices | /EServices/CustomClasses/RandomValue.cs | 2.84375 | 3 | using EServices.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EServices.CustomClasses
{
public class RandomValue
{
public int GeneratePassword()
{
Random rndm = new Random();
int min = 10000;
int max =... |
ccc8aead3dabc27164252b82f00fe45e70eb2725 | C# | lotosbin/payment | /src/Essensoft.AspNetCore.Payment.Security/SHA1.cs | 2.53125 | 3 | using System;
using System.Text;
namespace Essensoft.AspNetCore.Payment.Security
{
public class SHA1
{
public static string Compute(string data)
{
if (string.IsNullOrEmpty(data))
{
throw new ArgumentNullException(nameof(data));
}
... |
e5a77202de5fcbea9ee1cf20f5877060334aebe3 | C# | OpenRIAServices/OpenRiaServices | /src/VisualStudio/Tools/Framework/DomainServiceWizard/CodeGenContext.cs | 2.640625 | 3 | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.CSharp;
using Microsoft.VisualBasic;
namespace OpenRiaServices.VisualStudio.DomainServices.T... |
dfd6d3c0b09ba9b723db93144d2e057b3ec1a30d | C# | andrewdoyle19/RfsForChromeService | /src/RfsForChrome.Service/OrderAndModelIncidents.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using RfsForChrome.Service.Extensions;
using RfsForChrome.Service.Models;
namespace RfsForChrome.Service
{
public interface IOrderAndModelIncidents
{
IEnumerable<Incident> Cr... |
321443ef69bb7954a411800a448eff8a7275983d | C# | jhosehprendon/flyadealapp | /server/Newskies.WebApi/Extensions/SessionBagExtensions.cs | 2.703125 | 3 | using Newskies.WebApi.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Newskies.WebApi.Extensions
{
public static class SessionBagExtensions
{
public async static Task<string> GetCustomSessionValue(this ISessionBagService sessionBagService, string sessionKey)... |
2ca455851e5c5fb26c34f2e94c11391346f945c4 | C# | jillaabhishek/OpenLMBookStoreWebApi | /OpenLMBookStore/Dtos/BookModel.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace OpenLMBookStore.Dtos
{
public class BookModel
{
public string BookId { get; set; }
[Required]
public string Name { get; set; }
... |
1ca087107907d3d49bbedd0fe7c315494b78d361 | C# | caioavidal/chip8-interpreter | /Chip8/Chip8/CPU/Stack.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Chip8.CPU
{
public class MemoryStack
{
private Stack<ushort> Stack = new Stack<ushort>(16);
public ushort ReturnFromSubroutine() => Stack.Pop();
public ushort CallSubroutine(ushort address)
{
... |
f1fab6d36dc29a934aab4222829a92afb6809000 | C# | choi98772/pathtest | /CUnit.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace pathtest
{
//고양이와 쥐를 표현할 유닛
class CUnit
{
public int [] m_iPos = null; //현재 위치
private List<CNaviNode> m_vecPath; //A*알고리즘에 의해서 찾아진길의 노드
bool m_bMove; //현재 목표점으로 이동... |
00ef10033679801e5695c08f49f8b9a0836850ba | C# | cryply/explorer | /unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/QuestsHUD/QuestTaskUIEntry.cs | 2.53125 | 3 | using TMPro;
using UnityEngine;
namespace DCL.Huds
{
public class QuestTaskUIEntry : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI description;
[SerializeField] private RectTransform stepsContainer;
[SerializeField] private QuestStepUIFactory factory;
public void Pop... |
9b6cdd6f3204b3662220e618d924cf7a0c1b119c | C# | CruzSanchez/CarLotSim | /CarLotSim/Car.cs | 3.515625 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace CarLotSim
{
class Car : Vehicle
{
public string Honk { get; set; }
public static int NumOfCars { get; set; } = 0;
public Car(string _name, int _year, string _honk)
{
Name = _name;
... |
f8ec5921024a2346af330bd16b7df3c7f3dfbd62 | C# | dotnetfan/FluentSpotifyApi | /src/FluentSpotifyApi.Core/Utils/SpotifyTimeSpanConversionUtils.cs | 3.234375 | 3 | using System;
namespace FluentSpotifyApi.Core.Utils
{
/// <summary>
/// The set of TimeSpan conversion utilities intended for FluentSpotifyApi library usage.
/// </summary>
public static class SpotifyTimeSpanConversionUtils
{
/// <summary>
/// Converts specified value to whole mill... |
4cfbd352acf14bbd6f1efee89d8346b9a16a45d0 | C# | hc-ro/LemmaGenerator-std | /Test/Program.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using LemmaSharp;
using Test.Classes;
namespace Test
{
class Program
{
static void Main(string[] args)
{
// Create readable file
var currentDirectory = Directory.GetCurrentDirectory();
var dat... |
a47eb71ef032235371d5eef700ab45b060ac5658 | C# | chavo12/EvaluacionDeDesempeno | /EvaluacionCelistics/LBSFramework/Helppers/Validaciones.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace LBSFramework.Helppers
{
public class Validaciones
{
//----------------Metods Privados-----------------------
/// <summary>
/// retorna verdadero si se... |
515d2056f7ea78ce911a8dccd6fdf67d4d2bb086 | C# | 2She2/CSharpPartTwo | /06.TextFiles/03.InsertNumberOnEachLine/InsertNumberOnEachLine.cs | 3.984375 | 4 | // 03. Write a program that reads a text file and inserts line numbers in front of each of its lines.
// The result should be written to another text file.
using System;
using System.Text;
using System.IO;
namespace _03.InsertNumberOnEachLine
{
class InsertNumberOnEachLine
{
static void Main()
... |
d4f7c680bcfe79f5cfc7d1386b4357bd710e0b0e | C# | DenisLevitin/ShootServ | /ShootServWeb/Models/Cup/ViewCupModelLogic.cs | 2.546875 | 3 | using System.Collections.Generic;
using System.Web.Mvc;
using BL;
using BO;
namespace ShootServ.Models.Cup
{
public class ViewCupModelLogic
{
private readonly EntryForCompetitionsLogic _entryLogic;
private readonly ShooterLogic _shooterLogic;
private readonly ShootingClubLogic _clubLog... |
6285f4233d2b11b9347b692689b1427245aac155 | C# | Okuru1/xt_epam_KondidatovD | /xt_epam_Task02_KondidatovD/task2.2_Triangle/task2.2.cs | 3.8125 | 4 | using System;
using OtherClasses;
namespace task2_2
{
public class Program
{
public static void Main()
{
Console.WriteLine("Task 2.2 for XT_EPAM" + "\n\r--------------------");
double a, b, c;
Console.WriteLine("Enter A:");
a = InputFromConsole.I... |
7759cf29dc8ce37e233038618c78d1124922f9b5 | C# | paulsmithkc/Shenanigans2017 | /Assets/Scripts/Barbarian.cs | 2.625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Barbarian : Hero
{
protected override float getPointsForProperty (string property)
{
float points;
switch (property) {
case "Beer":
case "Strength-Increasing" :
points = MAXIMUM_PURCHASE_POINTS;
break... |
4de811748a3775e9f98a49b08467ba7878bf82ac | C# | mateuszokroj1/FileSizeEnumerator | /FileSizeEnumerator/UI/Views/MainView.xaml.cs | 2.515625 | 3 | using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Windows;
using System.Windows.Data;
namespace FileSizeEnumerator.UI
{
/// <summary>
/// Represents main window of app
/// </summary>
public partial class MainView : Window
{
public MainView()
{
... |
30cc0f9d80c2e04cc7e53196ef1542f1bb507993 | C# | alexeyprov/MCPD | /70-536/Instrumentation/CorrManagerTest/Backup/Program.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
namespace CorrManagerTest
{
class Program
{
static void Main(string[] args)
{
const string ID = "Primary Thread";
Trace.CorrelationManager.StartLogicalOperation(ID);
T... |
a76ab9149c3da5d12b8d0579ba4f8a8c01368207 | C# | gormel/gormel | /TraceMe/TraceMe/Mesh.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace TraceMe
{
public class Mesh : BaseObject
{
public Matrix4 Transformation;
private Vector3[] ve... |
761806c98c34b67bdf55db18a4960a5a5861ba1e | C# | MadalinaPlugariu/CegekaAcademy | /Course7/RentalCars/Program.cs | 2.8125 | 3 | using System;
namespace RentalCars
{
class Program
{
static void Main(string[] args)
{
RentalCars store = new RentalCars("Bucharest");
var customer1 = new Customer("Ion Popescu");
var customer2 = new Customer("Mihai Chirica");
var customer3 = ne... |
9e4c4800824dcf99bc7ffaf33908a06b3ea62984 | C# | nicklatkovich/ChipsBuilder | /Assets/Scripts/Utils.cs | 2.8125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text.RegularExpressions;
public static class Utils {
public static T[ ][ ] Init2DArray<T>(uint width, uint height, T defaultValue) {
T[ ][ ] result = new T[width][ ];
for (uint x = 0; x < width; x++) {
... |
b2072441f323c57e8a2c8e62a93da42ce6dc311c | C# | ewin66/SAE | /CommonLibrary/SAE.CommonLibrary/src/SAE.CommonLibrary.Storage.MongoDB/MongoDBStorage.cs | 2.578125 | 3 | using SAE.CommonLibrary.Json;
using SAE.CommonLibrary.Log;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace SAE.CommonLibrary.Storage.MongoDB
{
/// <summary>
... |
3473c260228eaf8ff6766fd0c0100a89d178cb68 | C# | Hengle/framework | /ActionStreetMap.Maps/Formats/Xml/XmlApiReader.cs | 2.53125 | 3 | using System.Collections.Generic;
using System.Xml;
using ActionStreetMap.Core;
using ActionStreetMap.Maps.Data.Import;
using ActionStreetMap.Maps.Entities;
namespace ActionStreetMap.Maps.Formats.Xml
{
/// <summary> Provides API to parse response of Overpass API backend. </summary>
internal class XmlApiReader... |
dca646c63b00baa217dc29018db6a207acbfafc9 | C# | alialinush99/Projects | /procp-city-traffic-simulation-master/procp-city-traffic-simulation-master/Traffic Application/TrafficDemo/Classes/TrafficLight.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Timers;
using System.Drawing.Drawing2D;
namespace TrafficDemo.Classes
{
[Serializable]
public class TrafficLight
{
private int duration;
pri... |
795f9a3257fe5b3238ae68a0253d502680e0f443 | C# | furinji/Puzzle15 | /Puzzle15/DrawManager.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace Puzzle15
{
public class DrawManager
{
public DrawManager(Form1 form1)
{
_form1 = form1;
}
private Form1 _form1;
private DoubleBufferBitmap ... |
4fc12039cbb87f47d0a2a075f9fd02026fc242a7 | C# | EdwardSalter/ConsoleMenu | /src/ConsoleMenu/ConsoleMenuIOProvider.cs | 3.078125 | 3 | using System;
using System.Diagnostics.CodeAnalysis;
namespace ConsoleMenu
{
[ExcludeFromCodeCoverage]
internal class ConsoleMenuIOProvider : IMenuIOProvider
{
public void WriteMenuItem(char index, string choice)
{
Console.WriteLine("{0}. {1}", index, choice);
}
... |
58bda1f7912b66e7c2b2574eb709aebddfc41701 | C# | thehanu/gongura | /GeneralSamples/GeneralSamples/MyFunction.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
namespace GeneralSamples
{
class MyFunction
{
public static ICollection<RegionalNetworkConfigurationInfo> GetNetworkConfigurationInfoCollection(
... |
542e1d54e91057049a80fea68cc9b6481f9fde9e | C# | JohnNarvaez/TeamDS | /VeterinariaGato.App.Persistencia/AppRepositorios/RepositorioGatosMemoria.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using VeterinariaGato.App.Dominio;
namespace VeterinariaGato.App.Persistencia.AppRepositorios
{
public class RepositorioGatosMemoria : IRepositorioGatos
{
List<Gato> gatos;
public RepositorioGatosMemoria()
{
... |
26e3392e6b28064841ee46854f9223ac3a00aa59 | C# | kdkarki/CS5974 | /DotnetCore_Mac/TrustMgmtSimulation/TrustMgmtSimulation/Entities/ServiceUnit.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace TrustMgmtSimulation.Entities
{
public class ServiceUnit
{
/// <summary>
/// The time the server will be available to server a new customer
/// </summary>
/// <returns></returns>
public double Ne... |
76f8a1f9f58eb801c48b82b8925e4887e42863cd | C# | pttb369/GameDevRepo | /Scripts/GameManager/MusicManager.cs | 2.6875 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace CyberBullet.Events {
public class MusicManager : MonoBehaviour
{
public AudioSource source1; // assign via inspector
public AudioSource source2; // assign via inspector
... |
366e21c73d7c54279abf9ade52f8a618e634dd0a | C# | nuvemtecnologia/fieldclimate-pessl | /src/Fieldclimate.Pessl.Domain/Services/ServiceBase.cs | 2.65625 | 3 | using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Fieldclimate.Pessl.Domain.ExtensionsMethods;
using Fieldclimate.Pessl.Domain.Factories;
using Newtonsoft.Json;
namespace Fieldclimate.Pessl.Domain.Services
{
/// <summary>
///
/// </summary>
public abstract class ServiceBase... |
bec8deb157e89418633ed868cc75f8ebd2de0e7f | C# | johannroth/model-mapper-demo | /ModelMapperDemo/src/GraphQL/Types/EntityGraphQLType.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using GraphQL.Resolvers;
using GraphQL.Types;
using Humanizer;
using ModelMapperDemo.GraphQL.Mappers;
using ModelMapperDemo.Model.Framework;
using ModelMapperDemo.Utility;
namespace ModelMapperDemo.GraphQL.Types
{
/// <summary>
/// The GraphQL representation of a... |
7b3d6dd4f363644ee3261a11efb1bbc17c17de93 | C# | colgreen/sharpneat | /src/SharpNeat/Neat/Genome/IO/NeatPopulationLoader.cs | 2.78125 | 3 | // This file is part of SharpNEAT; Copyright Colin D. Green.
// See LICENSE.txt for details.
using System.IO.Compression;
namespace SharpNeat.Neat.Genome.IO;
/// <summary>
/// For loading/deserializing a population of <see cref="NeatGenome{T}"/> instances from the local filesystem.
/// </summary>
/// <typeparam name... |
e0166d4b9614f36602a9fc9be48323908b9bfb88 | C# | alastairwyse/StandardAbstraction | /StandardAbstraction/NetworkStream.cs | 2.640625 | 3 | /*
* Copyright 2021 Alastair Wyse (https://github.com/alastairwyse/StandardAbstraction)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... |
c6fe3dc8802396e4c5f78c7b3bbda261493b8abf | C# | Open-FL/PluginSystem | /src/PluginSystem/Events/Args/LogMessageEventArgs.cs | 2.5625 | 3 | namespace PluginSystem.Events.Args
{
public class LogMessageEventArgs
{
public LogMessageEventArgs(string message)
{
Message = message;
}
public string Message { get; }
public static implicit operator string(LogMessageEventArgs args)
{
... |
bd8d7f40d6f3df39689807baf189dea4e15ef4aa | C# | ppedvAG/dotnet_berlin_05112019 | /Calc/Calc.Tests/CalcTests.cs | 2.625 | 3 | using System;
using FluentAssertions;
using Microsoft.QualityTools.Testing.Fakes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Calc.Tests
{
[TestClass]
public class CalcTests
{
[TestMethod]
public void Calc_Sum_3_and_4_result_7()
{
var calc = new Calc()... |
d61d797562a47c15ee2b409b3abe0981235a5a0c | C# | kaloyanTry/ProgrammingFundamentals2020 | /DataTypes/Concat2Names.cs | 3.03125 | 3 | using System;
namespace ConcatNames
{
class Concat2Names
{
static void Main(string[] args)
{
string nameFirst = Console.ReadLine();
string nameSecond = Console.ReadLine();
string nameDelimiter = Console.ReadLine();
Console.Write($"{n... |
c650f8513f9b7ae8c3012ebe8bdf2c0f754ce48b | C# | Abhash99/Prepackaging | /Abhash_SeniorProject/Source Files/Sport.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrePackaging
{
/**/
/*
* CLASS DESCRIPTION:
* Represents a sport read from the sports information file.
* PURPOSE:
* Holds the sport (name... |
d6edce801554785dc1558807188b8e521350a550 | C# | iamprovidence/University_Apps | /Image_Processing/Task2/Task2/DomainModels/Filters/Abstract/OperatorFilterBase.cs | 3.125 | 3 | using System;
using System.Drawing;
using Task2.DomainModels.Interfaces;
namespace Task2.DomainModels.Filters.Abstract
{
abstract class OperatorFilterBase : IFilter
{
public abstract string Name { get; }
protected abstract int[,] GetHorizontalFilterMatrix();
protected abstract int[,]... |
f72bbdf0c19507122fedc7985320afb34074ae3d | C# | SerheyDemchuk/TestProject | /TestProject/Program.cs | 3.203125 | 3 | using System;
using System.IO;
using System.IO.Compression;
namespace TestProject
{
public static class ZipArchiveExtensionMethods
{
public static void B(this ZipArchiveEntry zipArchiveEntry)
{
//Some code here
}
}
class Program
{
void A()
{
... |
4ac3e129d8fab7d6eae233087b72af0689a9b18a | C# | ralmeida1070793/cocus_flights_manager | /CocusFlightAPI/Business/Services/AeroplaneService.cs | 2.609375 | 3 | using Entities;
using Entities.Models;
using Business.Mappings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Microsoft.Extensions.DependencyInjection;
namespace Business.Services
{
public class AeroplaneService : ... |
e653e621676ff595af1b7969937d45311f43a6a5 | C# | AvOehsen/Investigator-Academy | /Rules/Actions/IRuleAction.cs | 2.8125 | 3 | using Rules.Actionsets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rules.Actions
{
public interface IRuleAction
{
bool IsDone { get; set; }
IEnumerable<IOption> Options { get; }
string Name { get; }
... |
4d560b20ebdca7851b6748fc173cf9e7747347fd | C# | jiajionline/LeetcodeSolutionWithMultipleLanguages | /0002_Add Two Numbers/AddTwoNumbers.cs | 3.484375 | 3 | namespace LeetcodePracticeCsharpVersion
{
public class AddTwoNumbersQuestion
{
public ListNode AddTwoNumbers(ListNode l1, ListNode l2)
{
if (l1 == null && l2 == null) return null;
ListNode preHead = new ListNode(-1);
ListNode current = preHead;
L... |
cc8fb10d906cc831378516b622a4495bd0784775 | C# | santiaago/pattern-lib | /cs/Composite/Composite.Pattern/Tree.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Composite.Pattern
{
public class Tree : Forest
{
public string Name { get; set; }
public int Leafs { get; set; }
public void Stats() {
Console.WriteLine("{0} has {1} leafs.", Na... |
22e089f684281696653ec5db4cb1384b10d07949 | C# | marcelomesmo/Caieta | /Caieta/Caieta/Entities/Sprites/TextBox.cs | 2.71875 | 3 | using System;
using Caieta.Components.Renderables.Text;
using Caieta.Entities;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Caieta.Entities.Sprites
{
public class TextBox : Entity
{
public Text Text;
public BoxCollider Collider;
public bool FitToBox... |
fc33a388a4644e0fd2ec57b29f98c26e578e05e9 | C# | etijera/RecordRatings | /RecordRating 1.0/Fuentes/Escritorio/RecordRatings/GLUserControls/BasicForm.cs | 2.578125 | 3 | /***
* Formulario : BasicForm
* Proposito : Es la clase base a partir de la cual se hereda para crear los nuevos
* formularios, de tal manera que se especifica el Icono de la ventana y demas
* Características básicas
*
* Fecha : Febrero, 2012
* Fecha Act... |
c5e2791078b8976348f7d4f96c5cf287c5dfd7c2 | C# | Garderoben/MudBlazor | /src/MudBlazor/Components/DatePicker/MudDatePicker.cs | 2.59375 | 3 | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using MudBlazor.Extensions;
using MudBlazor.Utilities;
namespace MudBlazor
{
public class MudDatePicker : MudBaseDatePicker
{
private DateTime? _selectedDate;
/// <sum... |
46862c1b09ca920e10fa136ba880031fcf921a6b | C# | marcelooliveira/marcelo-refactorings | /Refactorings/ComposingMethods/SplitTemporaryVariable/Solution.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace Refactorings.SplitTemporaryVariable
{
//Use different variables for different values. Each variable should be responsible for only one particular thing
class Solution
{
private int height;
private int width;
... |
653828d7cf83dbf613f931b0da03b24280c4bfd2 | C# | dorenz-svg/-s-grammar | /Service/Infrastructure.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service
{
public class Infrastructure
{
public static List<Rule> FillList(string[] arr)
{
List<Rule> res = new List<Rule>();
for (int i = 0; i <... |
b6c545d64debec726caadf5cb512b9a994450a10 | C# | unclefil/Common | /CoreTechs.Common.Std.Tests/DelegateEqualityComparerTests.cs | 3.109375 | 3 | using NUnit.Framework;
namespace CoreTechs.Common.Std.Tests
{
public class DelegateEqualityComparerTests
{
[Test]
public void CanMakeEqualityTest()
{
var first = new ExampleClass {Number = 1, Word = "Hat"};
var second = new ExampleClass {Number = 1, Word = "Sock... |
0ee4800c227f1c4780fcf7faf004329ab5e99f0b | C# | alandrieu/CSHARP_ISITECH | /Projects/CaveProject/CaveLib/Controller/MainController.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Hibernate Lib
using NHibernate.Collection;
using NHibernate.Cfg;
//
using CaveLib.Utils;
namespace CaveLib.Controller
{
/// <summary>
/// Le MainController créer toutes les connexions avec ... |
70a9d9b9be6884549b052601c1f4ee17b0a2e47d | C# | brSaif/PFE2019 | /Code Source/vegaplatform/VEGAACABLE/DAL/Repositories/UserRepository.cs | 2.578125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VEGAACABLE.BL.Domain;
using VEGAACABLE.BL.Repositories;
namespace VEGAACABLE.DAL.Repositories
{
public class UserRepository : Repository<Use... |
8b8063cdd5df83bec90e3d34b182b7a61a449f65 | C# | sunpander/VSDT | /source/Core/Common/Utility/UtilityFile.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
using System.Data;
namespace VSDT.Common.Utility
{
public static class UtilityFile
{
public static string ChooseOneDirectory()
... |
00fba58a58590c508490cec49fdde3089cbea3d2 | C# | shendongnian/download4 | /first_version_download2/427968-37678585-119865783-1.cs | 2.5625 | 3 | protected void Page_Load(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection("Data Source = 'PAULO'; Initial Catalog=ShoppingCartDB;Integrated Security =True");
SqlCommand cmd = new SqlCommand("select ID from CustomerDetails ", conn);
SqlDataAdapter da = new ... |
dba3637142ae66d234f727ec35c51c7d19500928 | C# | daniellepelley/Infrastructure | /Newton.Factory/Newton.Factory/Model/Constraints/Speed/SlowRunningComposite.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newton.Factory;
namespace Newton.Factory
{
public class SlowRunningComposite : ISlowRunning
{
private string title;
/// <summary>
/// The title of the downtime
/// </summa... |
e4df8fa03b3b72a5f3af3af2c1d077610e08d35c | C# | kingshady77/CSharpCourse_1 | /MathematicalOperations/MathematicalOperations/Program.cs | 3.796875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MathematicalOperations
{
class Program
{
static void Main(string[] args)
{
// + - / *
int myvar1 = 15;
int myvar2 = 10;
... |
473afdabc6d2e39e82ce989b3db6bb9893b7a6a6 | C# | MEMOGAMES2019/memogames | /Assets/Scripts/FindTheWay/CameraMove.cs | 2.953125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///<summary>
///It ensures that the cameras change directions following the rhythm of the car
///Se encarga de que las camaras cambien de direcciones siguiendo el ritmo del coche
///</summary>
public class CameraMove : MonoBehaviour {
pub... |
7480234d5b19f91b8d824857d5f8f3b0de5ec751 | C# | 1412183/final_project_design_patterns | /SimpleValidationFramework/SimpleValidationLibrary/Validators/CustomValidator.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace SimpleValidationLibrary.Validators
{
public class CustomValidator : Validator
{
ICustomValidationRule custValidationRule;
protected override Type[] ValidPropertyTypes { get { retur... |
d23986a6b7ebb191dd6e00688e34ad3027937fe6 | C# | Scraniel/chronos | /tests/Core/Unit/TimerFactoryUnitTests.cs | 2.578125 | 3 | using Chronos.Timer.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Chronos.Timer.Tests.Core
{
[TestClass]
public class TimerFactoryUnitTests
{
private TimerFactory _target;
... |
de2c326499b1e56a616172d3343184bf86372a9a | C# | terrorizer1980/GameMechanics | /GameMechanics/GameMechanics.Tests/BoardTests.cs | 3.015625 | 3 | using System;
using Moq;
using NUnit.Framework;
namespace GameMechanics.Tests
{
[TestFixture]
public class BoardTests
{
private const int Width = 10;
private const int Height = 10;
[Test]
public void BoardTest()
{
var board = new Board(Width, Height);
Assert.That(board.Width, Is.EqualTo(Width));
... |
098bb3957a7f687a7115012901b94c62c3006273 | C# | arslan77/FYP | /Attendance System/Attributes/AuthorizeRequestAttribute.cs | 2.59375 | 3 | using Attendance_System.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http.Controllers;
namespace Attendance_System.Attributes
{
public class AuthorizeRequestAttribute : System.Web.Http.AuthorizeAttribute
{
public override bool AllowMult... |
79d6162139ebe377873cbebeef50b20dead15647 | C# | iovation/launchkey-dotnet | /src/iovation.LaunchKey.Sdk/Domain/PublicKey.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
namespace iovation.LaunchKey.Sdk.Domain
{
/// <summary>
/// Represents a public key on a service or directory
/// </summary>
public class PublicKey
{
/// <summary>
/// The unique ID for this public key. Use this when updating/removing... |
e6c5090715114a92e02a0e1dd50598c3b3764893 | C# | pederfo/Bombe | /Bombe/Explosion.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Bombe
{
class Explosion
{
public int Xposition { get; set; }
public int Yposition { get; set; }
public Explosion(int xposition, int ypos... |
43af3dfed76876ac24ab1edeee4c6b430b3d50be | C# | EricVoll/PARRHI | /04_PARRHI_Library/PARRHI/Objects/DataImport.cs | 2.609375 | 3 | using PARRHI.HelperClasses;
using PARRHI.HelperClasses.XML;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace PARRHI.Objects
{
public class DataImport
{
public DataImport()
... |
9c6481e7db8557b3f9cc43eea4d8822f9123d043 | C# | StacyGay/Stacy.Core | /Stacy.Core/Data/Validator.cs | 2.59375 | 3 | using Stacy.Core.Exceptions;
namespace Stacy.Core.Data
{
public abstract class Validator
{
public List<string> Messages { get; set; } = new List<string>();
public string ErrorMessage => "There has been a validation error";
public CoreUserAggregateException GetAggregateException()
... |
10d2d4e45f752db1a72e22426458f1b8b8467c17 | C# | Pengxiaoxi/HouseRent | /DAL/HouseDao.cs | 2.609375 | 3 | using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using Maticsoft.DBUtility;//Please add references
namespace myhouse.DAL
{
/// <summary>
/// 数据访问类:HouseDao
/// </summary>
public partial class HouseDao
{
public HouseDao()
{}
#region BasicMethod
/// <summary>
/// 得到最大ID
... |
33d92f549bfde550c2b4c6c704f1f7b30ce5f9bc | C# | rex1234/ships_online | /Ships/Player.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ships
{
class Player
{
//board codes
public const int EmptyField = 0;
public const int ShipField = 1;
//network codes
public const int Miss = 0... |
c16ebb4bafca48b9e5b39df847b76ab2277a6aae | C# | rajvarma/Sage.unitTest | /Sage-CloudPlatform-Core-/Projects/Sage.Core.Framework/Logging/ILogger.cs | 2.9375 | 3 | namespace Sage.Core.Framework.Logging
{
using System;
public interface ILogger
{
#region Critical method overloads
/// <summary>
/// Logs the given messageContent, tenant id, user id and exception with a Severity of Critical.
/// The entire messageContent and stack trace o... |
75ebc2a1d0c88a38ac618f414ec1509b82b38cfd | C# | GalRabin/csharp-course | /Ex5/GameLogic/Cell.cs | 3.421875 | 3 | using System;
namespace GameLogic
{
public class Cell
{
private readonly string r_CellValue;
private bool m_RevealCellState;
private Player m_PlayerRevealed = null;
private bool m_IsInCheck = false;
private static readonly Random sr_Rnd = new Random();
public C... |
c5c41a923d6be80798897d4d71faef98720b87a5 | C# | otto-krause/guias-de-ejercicios-BrahianSozaki | /Guia 7/E4/Ejercicio/Terence.cs | 2.53125 | 3 | namespace Ejercicio
{
public class Terence : Pajaros
{
private int cantidadDeEnojos;
public Terence( int ira) : base(ira)
{
}
public override void seEnoja() => cantidadDeEnojos++;
public override int fuerza(){
return ira * cantidadDeEnojos * 10;
... |
be29fb519d9f69372f405dd26bb7783e3d5e996d | C# | rgicheva/SoftwareUniversity_Homeworks | /00.C# BASICS/06.Loops/03.MinMaxSumAndAverageOfNNumbers.cs | 4.28125 | 4 | /* Problem 03. Min, Max, Sum and Average of N Numbers
Write a program that reads from the console a sequence of n integer numbers and returns the minimal,
the maximal number, the sum and the average of all numbers (displayed with 2 digits after the decimal point).
The input starts by the number n (alone in a line) fo... |
7688dd1ae91bedb7f71aaa01523abf25411c1b2c | C# | lei130102/GuidelinesVS | /WPF_Command/CustomCommand.xaml.cs | 2.53125 | 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.Med... |