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 |
|---|---|---|---|---|---|---|
1dd107ffa1367d973eadf02ecdd0d0f93a549115 | C# | sgyalta/dotNet-turbo | /src/Qoollo.Turbo/Threading/PartialThreadBlocker.cs | 2.828125 | 3 | using Qoollo.Turbo.Threading.ServiceStuff;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Qoollo.Turbo.Threading
{
/// <summary>
... |
13ef8cf574649801cc4fdcc5ee1e516f8010375b | C# | ButinVladimir/Training-Algorithms | /Algorithms/Fun 4/MarsExploration.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms.Fun_4
{
public static class MarsExploration
{
public static int Solve(string s)
{
int m = 0;
int result = 0;
for (int i ... |
c76c2dbfbce89ab7fd1bbcf5e2d828340a1d3adc | C# | MaximePerso/AppForceSensor | /Classe/ClassXml.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace K2000Rs232App
{
class ClassXml
{
public static void Serialize(Object data, string fileName)
{
Type type = ... |
d0d238fcc29ea0aa6945aa745b09893b0187ec21 | C# | William-Larsson/dotnet-advertiser-subscriber-api | /advertising/Models/CurrencyConverter.cs | 2.90625 | 3 | using System;
using System.IO;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace advertising.Models
{
public class CurrencyConverter
{
// Rapid API info for API calls.
public string APIKey = E... |
0a6b3d5a3a513fbfdbd686c5d74850f49c2e3172 | C# | PeterSolnet/PIP | /Provisioning/Extensions/StringExtensions.cs | 3.828125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Provisioning.Extensions
{
public static class StringExtensions
{
/// <summary>
/// Returns a new string containing the leftmost <paramref name="len"/> characters of thi... |
457a6bf550c8515ba4cfc3bbf7ee7bb98edd0190 | C# | mFireworks/Mystery-Dungeon-Engine | /Assets/Scripts/GameEngine/DungeonEngine/DungeonGen/DungeonLevel.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Assets.GameEngine.DungeonEngine.DungeonGen.Generators;
using Assets.GameEngine.DungeonEngine.DungeonGen.Enviroment;
using Assets.GameEngine.Entities;
namespace Assets.GameEngine.DungeonEngine.DungeonGen
{
public class DungeonLeve... |
b279cf6c66ab0269d97c9b05ec2d4eef497b361d | C# | thewakingsands/SaintCoinach | /SaintCoinach/Text/Expressions/GenericExpression.cs | 3.125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SaintCoinach.Text.Expressions {
public class GenericExpression : IValueExpression {
public static readonly GenericExpression Empty = new GenericExpression(null);
private r... |
bf88e56c88b7d1e6a4c339d965265e8545d23034 | C# | Morales-10/Morales.CompulsoryAssignment1PetShop | /Morales.CompulsoryPetShop.Domain/Services/PetService.cs | 2.671875 | 3 | using System.Collections.Generic;
using Morales.CompulsoryPetShop.Core.IServices;
using Morales.CompulsoryPetShop.Core.Models;
using Morales.CompulsoryPetShop.Domain.IRepositories;
namespace Morales.CompulsoryPetShop.Domain.Services
{
public class PetService : IPetService
{
private IPetRepository _petR... |
8d3da76803d7124fbd468212f4043b9a401205f3 | C# | Ciuriya/WonderJam-Hiver-2020 | /Assets/Code/Components/WordCleaner.cs | 2.515625 | 3 | using System.Collections;
using UnityEngine;
using Photon.Pun;
/*
* Detects combo breaks and deletes words that require deletion.
*/
public class WordCleaner : MonoBehaviour
{
[Tooltip("The score handler linked to this combo break updater")]
public ScoreHandler Score;
[Tooltip("The active set of words ... |
9d1244993c2d6ace49e0e06baba7576fc13614c7 | C# | PakornAbiz/GoLogger | /GoLogger/CreateTable.cs | 2.625 | 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 GoLogger
{
public partial class CreateTable : Form
{
public CreateTable()
... |
abb0cd0540606dd065a529db541c8d1a706eaece | C# | PatrykPodworski/Mieszkando | /MarklogicDataLayer/XQuery/Sequence.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MarklogicDataLayer.XQuery
{
public class Sequence : Expression
{
readonly List<Expression> _elements;
public Sequence(IEnumerable<string> strings)
: this(strings.Select(x => new Literal... |
b46bda5422a50a299612d17ffef26616c106da09 | C# | Berk1034/ObjFormatParcer | /ObjFormatParcer/Types/Face.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace ObjFormatParcer.Types
{
public class Face
{
private char indexesSeparator = '/';
public List<int> VertexIndexes { get; private set; } = new List<int>();
public L... |
22ee740a5f6295cdbb20789bb6740c80bf6e9079 | C# | jenha88/practice2 | /PartPractice/PP3/MainWindow.xaml.cs | 2.9375 | 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;... |
4c2e70cb1373fb5b34c046e1e77a3aa83be19ab2 | C# | ovidiu-porumb/RememberTheDate | /OP.RememberTheDate.Storage.SQL/SqlReadStorage.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using NPoco;
using OP.RememberTheDate.Storage.Contracts;
using OP.RememberTheDate.Storage.Model;
// ReSharper disable InconsistentNaming
namespace OP.RememberTheDate.Storage.SQL
{
// ReSharper disable ClassNeverInstantiated.Global
public clas... |
0d78d6f81f9c275cfa94b2867c8d0fe59417453f | C# | NewLifeX/X | /NewLife.Core/Log/LogLevel.cs | 2.859375 | 3 |
namespace NewLife.Log
{
/// <summary>日志等级</summary>
public enum LogLevel : System.Byte
{
/// <summary>打开所有日志记录</summary>
All = 0,
/// <summary>最低调试。细粒度信息事件对调试应用程序非常有帮助</summary>
Debug,
/// <summary>普通消息。在粗粒度级别上突出强调应用程序的运行过程</summary>
Info,
... |
f1d391ff70f8a5481a5aaa3d1cb9fc0ddf6cbd38 | C# | fabien-chevalley/RaspberryPi.IoT | /MMALSharp/src/MMALSharp.Common/Handlers/StreamCaptureHandler.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
namespace MMALSharp.Handlers
{
/// <summary>
/// Processes the image data to a stream.
/// </summary>
public abstract class StreamCaptureHandler : ICaptureHandler
{
/// <summary>
/// A Stream instance that we can proc... |
0259a38da0b2cb73809689ef29ae4bb1fca49fa2 | C# | shuheydev/XamarinEssentialsCompassTest | /XamarinEssentialsCompassTest/XamarinEssentialsCompassTest/MainPage.xaml.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace XamarinEssentialsCompassTest
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeCo... |
0a61529d173d2cd7a1767ea5e1cb320d8b5510bc | C# | zzxxhhzxh/EmergenceGuardian.Encoder | /FFmpeg/Models/CloseProcessEventArgs.cs | 2.546875 | 3 | using System;
using HanumanInstitute.FFmpeg.Services;
namespace HanumanInstitute.FFmpeg
{
/// <summary>
/// Represents a method that will be called when a process needs to be closed.
/// </summary>
public delegate void CloseProcessEventHandler(object sender, CloseProcessEventArgs e);
/// <summary... |
ac20200e853b7ba70f2449c42ce06dd623893506 | C# | patrickCode/Design-Patterns | /PipelineFramework.v2/PipelineFramework/Shared/Common/Enum/MiddlewareStatus.cs | 2.796875 | 3 | namespace PipelineFramework.Common.Enum
{
public class MiddlewareStatus: Enumeration
{
private readonly string _description;
private readonly bool _isExecutionCompleted;
public string Description { get => _description; }
public bool IsExecutionCompleted { get => _isExecutionCom... |
b17ed03e839d86e740f44b39eb0b448a2c630e11 | C# | flufy3d/Akvfx | /Assets/Akvfx/Internal/XYTable.cs | 2.625 | 3 | using Microsoft.Azure.Kinect.Sensor;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace Akvfx
{
//
// Per pixel ray table ("XY table") used to unproject depth samples to the
// 3D camera space
//
// This directly invokes a native method in libk4a to avoid double symbol
... |
77013b054b088c293077a91ec78a308497dde6dc | C# | trayburn/BlogPosts | /DictionaryAdapterIsLove/Part2/IUserData.cs | 2.71875 | 3 | using System;
using Castle.Components.DictionaryAdapter;
using System.Collections.Generic;
using System.Collections;
namespace Part2
{
[NestedDictionaryGetterBehavior]
public interface IUserData
{
[Key("UserId")]
int Id { get; set; }
[Key("UserName")]
IUserNam... |
dc0323d7c7757c1197f2fbe28a53465a13dfb10b | C# | ibnuS78/TestKaryaMurni | /KaryaMurniTask/Services/TaskToDoServices.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
using System.IO;
using KaryaMurniTask.Helper;
using KaryaMurniTask.Models;
namespace KaryaMurniTask
{
public class TaskToDoServices : ITaskToDoServices
... |
c4a9fda91d94ae431287fd23d267cc1da307abd2 | C# | veilandwp/DOAJ | /AM/AMsolution/WinformAM/Tool/Tools.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
namespace WinformAM.Tool
{
class Tools
{
/*************************************************************************/
/*描 述:从给定的一串字符中提取出位于开始标识符和结束标识符之间的所有字符
... |
7b6848637a77a067e5f44397d0ad89078ddc0612 | C# | rog1039/UniqueDb-ConnectionProvider | /src/UniqueDb.ConnectionProvider.Tests/UnitTestBaseWithConsoleRedirection.cs | 2.578125 | 3 | using System.Text;
using Xunit.Abstractions;
namespace UniqueDb.ConnectionProvider.Tests;
public class TestOutputHelperToTextWriterAdapter : TextWriter
{
ITestOutputHelper _output;
public TestOutputHelperToTextWriterAdapter(ITestOutputHelper output)
{
_output = output;
}
public override En... |
31f62afef5be3dadb467643068b97aedcbff4400 | C# | Bmalone100/Shop-UI | /Shop.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
namespace ShopUI{
public class Shop{
private Guid _UniqueID;
public Guid UniqueID{
get{
return _UniqueID;
}
set{
_UniqueID = value;
}
}
private string _N... |
f12be312b5f43348ea8cdbf8ffdfff8a9a18cdf7 | C# | A-Dln/project2mvc | /PROJECT2MVC/Controllers/ProductenController.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PROJECT2MVC.Models;
namespace PROJECT2MVC.Controllers
{
[Authorize]
public class ProductenController : Controller
{
private CRMEntities db =... |
198a0beed416cbfaf2bc02f7c52d0ab3545c2be8 | C# | toraleap/farmtick | /FarmTick/Friends.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Text.RegularExpressions;
using FarmTick.Properties;
namespace FarmTick
{
/// <summary>
/// 解析、维护好友列表数据类
/// </summary>
public static class... |
983c7656a66ea84c5a465859053d0c1a76830ec6 | C# | eriksena16/MonitorPrint | /MonitorPrint/Form1.cs | 2.796875 | 3 | using System;
using System.Windows.Forms;
using System.Printing;
using System.IO;
using System.Xml;
namespace MonitorPrint
{
public partial class Form1 : Form
{
private const string ARQUIVO = @"C:\Users\erik_\Documents\Disco E\log";
int ANTERIOR;
public Form1()
{
... |
2db7f6c64c14aa00f020b825a7da938bb59b3be5 | C# | vlucaciu/FeaaAutomationCourse | /PageObjects/LoginPage.cs | 2.5625 | 3 | using OpenQA.Selenium;
namespace UnitTestProject1.PageObjects
{
public class LoginPage
{
private IWebDriver driver;
public LoginPage(IWebDriver browser)
{
driver = browser;
}
//TODO: move it in a generic class
private IWebElement BtnSignIn()
... |
1bed74855583c55f9e4626cfc4bbf0173c9d8c9e | C# | amironov73/ManagedIrbis | /Source/Classic/Libs/AM.Core/AM/FuncUtility.cs | 2.515625 | 3 | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* FuncUtility.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using di... |
7afbdcdb88b5f53076df6ef09b3dab83b3394a08 | C# | wfowler1/Unity3D-BSP-Importer | /Runtime/External/LibBSP/LibBSP/Source/Structs/Common/Lumps/Entities.cs | 3.046875 | 3 | using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
namespace LibBSP
{
/// <summary>
/// Class representing a group of <see cref="Entity"/> objects. Contains helpful methods to handle Entities in the <c>List</c>.
/// </summary>
[Serializable]
public class Entities :... |
7e0817fd41aa7713f15ab814da52e3149808e75f | C# | yarzakimi/Bars-Test-Task | /TestTaskBars/ConnectPostgres.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using Npgsql;
namespace TestTaskBars
{
class ConnectPostgres
{
private readonly string _serverName;
private readonly string _connectionParams;
public ConnectPostgres(string serverName, string connectionParams)
... |
03f0d7b9789150a3e21257c500bc1458b770173d | C# | KevinByrd-28/GoldBadge_Challenges | /Challenge6_GreenPlan/RealGreenCar.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Challenge6_GreenPlan
{
public enum Color { Green, LimeGreen, DarkGreen, BrightGreen, NeonGreen, ArmyGreen }
public class RealGreenCar : GasCar
{
public decimal PriceDiscoun... |
6d88d0c24cac546c7797d9210a7d198c5aa5e6f5 | C# | shendongnian/download4 | /first_version_download2/170703-50088101-172353091-1.cs | 2.734375 | 3 | using Routing.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Routing.Controllers
{
public class StudentsController : ApiController
{
static List<Stud... |
65e5ed4c63e245cc3b07b1b914141d0e4dc9efa4 | C# | gohce/computergame_gce | /Practical 2/Assets/Scripts/GameController.cs | 2.609375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class GameController : MonoBehaviour
{
public TextMeshProUGUI victoryText;
public TextMeshProUGUI text;
public GameObject textDisplay;
public int score = 0;
public void changeScore(int gemValue)
... |
c5bb68ae82826167f7efcfdf37d8a7e21aa8cffd | C# | TN8001/SimpleAudioPlayer | /SimpleAudioPlayer/View/MarqueeControl.xaml.cs | 2.625 | 3 | using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace SimpleAudioPlayer
{
public partial class MarqueeControl : UserControl
{
[Category("Common Properties")]
[Description("この要素のテキスト内容を取得または設定します。")]
... |
0757acec61db7edcfb5f9724464b440c6cc2613f | C# | kiyo7447/SETools | /Console/Program.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Reflection;
using System.Diagnostics;
using System.Collections;
using System.Threading;
namespace SConsole
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("p[^܂B... |
afc337137d2eb08acf4ab4403b000032ff09cc5b | C# | ChrisMenning/Stego_Crypto | /StegoCryptoUnitTesting/RoundtripTest.cs | 2.6875 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StegoCrypto;
using System.Drawing;
using System.Threading.Tasks;
namespace StegoCryptoUnitTesting
{
[TestClass]
public class RoundtripTest
{
[TestMethod]
public void TestRoundtrip()
{
// ARRANGE
... |
f87f486a8ab4d034e73802fed8b9353734801b27 | C# | RodrigoUngo/RAUM_00075419_2EP | /SourceCode/Parcial02/VerOrdenes.cs | 2.65625 | 3 | using System;
using System.Windows.Forms;
namespace Parcial02
{
public partial class VerOrdenes : UserControl
{
public VerOrdenes()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
... |
c7a228588a2710373cd56f9895440b4326a523b0 | C# | Plan9-Archive/SixthCircle | /SixthCircle/DataViewer.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SixthCircle
{
public unsafe class DataViewer
{
byte[] _data;
public DataViewer (byte[] data)
{
_data = data;
}
pu... |
f0d449052d3dc0b089737d08d88e9143b1962aff | C# | Kvseshwary/ShopBridge | /ShopBridge/ShopBridge.Models/ItemModel.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace ShopBridge.Models
{
public class ItemModel
{
public int ItemId { get; set; }
[Required]
[MaxLength(20,ErrorMessage ="You need to keep t... |
4bbae15fe5ecae1b9ef391b2dae437ee24b72f94 | C# | skytecgames/SkillTestProject | /Assets/Scripts/GameCore/Pathfinding/ZStar/SquareZone.cs | 3.265625 | 3 | using UnityEngine;
using System.Collections;
namespace Pathfinding.ZStar
{
//Класс для работы с квадратной областью с тайлами (не обязательно связанными)
public class SquareZone
{
public const int size = 8;
public int x_min;
public int y_min;
public int x_max { get { retu... |
2533d88692146aacc62d4900b31b65cce0987beb | C# | edge33/Materiale-didattico | /C#/CentroResidenziale/CentroResidenziale/CentroResidenziale.cs | 2.8125 | 3 | using CentroResidenziale.Models;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
using System.Transactions;
namespace CentroResidenziale
{
public class CentroResidenziale
{
private List<Studente> StudentiImmatricolati { get; set; }
priv... |
05ffdf035ab20fa80d4d347e04ac6a41dc47559d | C# | EmilieMacary/ProjetGit | /DecouverteEntityFrameworkCodeFirst/Models/Costumer.cs | 2.546875 | 3 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DecouverteEntityFrameworkCodeFirst
{
public class Customer
{
public int Id { get; set; }
[Required]
[MaxLength(30)]
public string Name { get; set; }
... |
a4b25a2c9f8c9d6f4a7ca481753e60b81e412578 | C# | HathWallace/LeetCode | /CSharp/SolutionLib/0101-0200/142. 环形链表 II/Solution.cs | 3.1875 | 3 | using System.Collections.Generic;
namespace SolutionLib._142._环形链表_II
{
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;
* public ListNode next;
* public ListNode(int x) {
* val = x;
* next = null;
* }
... |
ba8cee938e6727e20c34d77d48b6384c25f8da8e | C# | hillinworks/tabml | /Source/TabML.Parser/Parsing/Bar/RhythmSegmentParserBase.cs | 2.515625 | 3 | using TabML.Core.Logging;
using TabML.Parser.AST;
namespace TabML.Parser.Parsing.Bar
{
abstract class RhythmSegmentParserBase<TNode> : ParserBase<TNode>
where TNode : RhythmSegmentNodeBase, new()
{
public bool OptionalBrackets { get; }
protected RhythmSegmentParserBase(bool optional... |
054831378a2d72da86128558aa3487c40dcc0f53 | C# | andreaskoumoundouros/HydroBot | /Hydrobot/Program.cs | 2.6875 | 3 | using System;
using System.Reflection;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Discord.Commands;
using Microsoft.Extensions.Configuration;
namespace Hydrobot {
public class Program {
private DiscordSocketClient client;
private CommandService commands;
... |
ffc22eae31901b04f553c55ef7ae440cb51fb62f | C# | mohan-1990/Open-API-Visual-Studio-Solution-Creator | /Open_API_VisualStudio_Solution_Creator/Program.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace BSG_API_Solution_BoilerPlate_Tool
{
class Program
{
public static string pwd = System.IO.Directory.GetCurrentDirectory();
static void Main(string[] args)
{
Console.WriteLine("Hello... |
94eabd663064422dfed5e6f0c089b80f923e359a | C# | grenadin/WinFS | /WindowsFormsApp1/WindowsFormsApp1/Form1.cs | 2.65625 | 3 | using System;
using System.Windows.Forms;
using System.IO;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if(sav... |
7971954d19c7ea8e60bef1f73ea64468e3f13c59 | C# | andreltgribeiro/SenaiCarfel | /CheckPoint/Senai.Projeto.Carfel.CheckPoint.MVC/Repositorios/UsuarioRepositorioCSV.cs | 2.90625 | 3 | using System.Collections.Generic;
using System.IO;
using Senai.Projeto.Carfel.CheckPoint.MVC.Interfaces;
using Senai.Projeto.Carfel.CheckPoint.MVC.Models;
namespace Senai.Projeto.Carfel.CheckPoint.MVC.Repositorios
{
public class UsuarioRepositorioCSV : IUsuario
{
public UsuarioModel EmailSenha(string e... |
543efa006b7ca4272bf1898061e3b360f2c5d632 | C# | stkona/testrepo | /TDDProject/Program.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
namespace TDDProject
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var newList = new List<string[]>()
{
new string[] { "Tom", "Python", "Junior"},
... |
a22b07432d1d4e8582c2f185eff76debb21320c3 | C# | prasanjeetd/CTM | /CTM/Conference.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CTM
{
public class Conference
{
#region " CONSTRUCTORS "
public Conference()
{
this.TalksToSchedule = new List<Talk>();
this.ScheduledT... |
38281876e736fe32e0d8a57b4943c39dd10328ed | C# | yanyitec/yitec | /Yitec/Compiling/FileSource.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yitec.Compiling
{
public class FileSource : ISource
{
public FileSource(string filename) {
this.Filename = filename;
}
public string Filename { get... |
9897af724e3d75fbb784aa79e1602a3e4197d0f7 | C# | BrianArdila/Ejercicios-en-Visual-Studio | /appEvalUnitTest_Brian_Ardila/appEvalUnitTest_Brian_Ardila/Program.cs | 2.75 | 3 | using appEvalUnitTest_Brian_Ardila.SaludDelosPerros;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace appEvalUnitTest_Brian_Ardila
{
class Program
{
static void Main(string[] args)
{
ProgramPerros Call = n... |
cca92a6135735ca3662c7fa793cb056a2c9544e7 | C# | shendongnian/download4 | /latest_version_download2/66280-12161050-28519852-3.cs | 2.671875 | 3 | var result = A.Concat(B)
.GroupBy(x => x.Id)
.Select(g => new {
id = g.Key,
isShipCollected = g.Any(m => m.IsChipCollected == 1),
isShirtCollected = g.Any(m => m.IsShirtCollected == 1),
isPackCollected = g.Any(m => m.IsPackCollec... |
c63607499962e5defa01c1199342867a3585c46f | C# | avifarah/MySync | /MySync/ProgramArgs.cs | 3.046875 | 3 | using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
namespace MySync
{
public class ProgramArgs : IProgramArgs
{
public ProgramArgs(string primary, string secondary, string skipTil)
{
if (primary != null && Directory.Exists(primary))
MySyncConfiguration.Inst.PrimaryDir = P... |
fd610834e4aa3ab7d424c299d1410beac67252cb | C# | ssurucu/ProducerConsumerMultiProcesses | /MainProcess/Program.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Configuration;
namespace MainProcess
{
class Program
{
static void Main(string[] args)
{
... |
cc027e9ef8296cadc12eef36e80b83088f4b4eb4 | C# | koryakinp/cnn | /Cnn.Example/MnistReader.cs | 3 | 3 | using System.Collections.Generic;
using System.IO;
namespace Cnn.Example
{
public static class MnistReader
{
private const string TrainImages = "mnist/train-images.idx3-ubyte";
private const string TrainLabels = "mnist/train-labels.idx1-ubyte";
private const string TestImages = "mnist/... |
2049e8fdd0c37b5c58327b61c186f6c42003e380 | C# | NickSegalle/crane | /src/Crane.Core/Commands/Resolvers/SolutionPathResolver.cs | 2.671875 | 3 | using System.IO;
using System.Linq;
using Crane.Core.Commands.Exceptions;
namespace Crane.Core.Commands.Resolvers
{
public class SolutionPathResolver : ISolutionPathResolver
{
public string GetPathRelativeFromBuildFolder(string rootFolder, params string[] ignoreDirs)
{
var root = n... |
a667885cd498692bec84500b878f1a958d545887 | C# | DavidAllanDev/Custom-Manual-ORM | /Custom.Manual.ORM.Base/Data/SQL/SQLBase.cs | 2.640625 | 3 | using System.Collections.Generic;
using Custom.Manual.ORM.Base.Data.Fields;
using Custom.Manual.ORM.Base.Interfaces;
namespace Custom.Manual.ORM.Base.Data.SQL
{
public abstract class SQLBase<T, TId> where T : IIdentifiable<TId>
{
private readonly string _sqlSelectFrom = "SELECT * FROM";
protec... |
ac5a0b3c472fc1382e36aa01bdab0500315dca4e | C# | BenjaminHamon/Overmind | /Games/Mods/Overmind.Games.Chess/Player.cs | 2.984375 | 3 | using Overmind.Core;
using Overmind.Games.Engine;
using System;
using System.Drawing;
using System.Linq;
namespace Overmind.Games.Chess
{
public class Player : Engine.Player
{
public Player(Game game, string name, Color color)
: base(game, name, color)
{ }
public void Move(Piece source, Vector destination... |
80d7f063516ece862f18012371965d8617b766f0 | C# | wasabii/GLibSharp | /GObject.Introspection/Library/Model/ReturnValueElement.cs | 2.59375 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace GObject.Introspection.Library.Model
{
/// <summary>
/// Return value of a callable.
/// </summary>
public class ReturnValueElement : Element, IHasDocumentation
{
public static IEnumerable<ReturnValueEle... |
f0de5dfeb7c68eb6532b6fc2bf6b6e10028eabd4 | C# | GrigoriyBykovskiy/SteganographyJPEG | /SteganographyJPEG/DKP.cs | 3.046875 | 3 | using System;
namespace SteganographyJPEG
{
public static class DKP
{
public static double[,] Dkp(byte[,] one)
{
int n = one.GetLength(0);
double[,] two = new double[n, n];
double U;
double V;
double temp;
for (int v = 0; ... |
30c703468a2d4d108faf3fd17b46fe21237fb00f | C# | maniero/SOpt | /CSharp/Linq/General.cs | 3.15625 | 3 | using static System.Console;
using System.Collections.Generic;
using System.Linq;
public class Program {
public static void Main() {
var produtos = new List<Produto> { new Produto {ProdutoId = 1, Descricao = "P1", Preco = 10.00M, Estoque = 10 },
new Produto {ProdutoId = 2, ... |
948f9d94de05ef4b698f6c41bf00f55ac0921362 | C# | shendongnian/download4 | /first_version_download2/230455-18097962-44953113-2.cs | 3.125 | 3 | void go()
{
int i = 5;
int i1 = i; //note this
ThreadPool.QueueUserWorkItem(delegate
{
for (int j = 1; j <= 1000; j++)
Console.Write(i1); //and note this
});
for (int k = 1; k <= 1000; k++)
... |
a95a49cadf2fbcaf6ba21f75b65394fe5f05ae37 | C# | pvcbuild/pvc | /Pvc.Core/Pvc.cs | 2.703125 | 3 | using Minimatch;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Humanizer;
using System.Text.RegularExpressions;
using Edokan.KaiZen.Colors;... |
b8229c8b33e44bff90b27f1f33e4371173425b2d | C# | fbuether/GoodNight2 | /service/GoodNight.Service.Storage/Serialisation/ReferenceConverterFactory.cs | 2.671875 | 3 | using System;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using GoodNight.Service.Storage.Interface;
namespace GoodNight.Service.Storage.Serialisation
{
public class ReferenceConverterFactory : JsonConverterFactory
{
private Store store;
public ReferenceConverterFactor... |
64e43bb8a586b56948e3bc3e32efb924cb763ea7 | C# | slorion/multiagent-system-example | /DLC.Multiagent/Rxx/System/Reactive/Subjects/ReadOnlyListSubject.cs | 2.71875 | 3 | using System.Collections.Generic;
#if !PORT_40
using System.Collections.Specialized;
#endif
using System.ComponentModel;
using System.Diagnostics.Contracts;
namespace System.Reactive.Subjects
{
/// <summary>
/// Provides a read-only wrapper around an <see cref="IListSubject{T}"/>.
/// </summary>
/// <typepara... |
906fef0f40ea862f1b6c36544ba76949b130af46 | C# | jacob-carrier/ZanyZebras | /Zany Zebras/ScreenManager.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Zany_Zebras
{
public class ScreenManager
{
private List<GameScreen> _screens;
public ScreenManager()
{
_screens = new List<GameScreen>();
... |
fc8c172fa30e91ab5c9ce535efed6aec60a45e9e | C# | Infarh/MathCore.EF7 | /MathCore.EF7.Interfaces/Entities/INamedEntity.cs | 2.546875 | 3 | using System.ComponentModel.DataAnnotations;
namespace MathCore.EF7.Interfaces.Entities
{
/// <summary>Именованная сущность</summary>
/// <typeparam name="TKey">Тип первичного ключа</typeparam>
public interface INamedEntity<out TKey> : IEntity<TKey>
{
/// <summary>Имя</summary>
[Requir... |
c87605b0197aa6a6c900cd7d39461101c53c292e | C# | mhdr/SelectionMaker | /SelectionMaker/DialogeBoxModificationDetected.xaml.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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;
using System.Windows.Shapes;
... |
ca95c5d74d1040386f0d450f30feee1548ad177c | C# | Darituan/CSharpLabs | /Lab05/Tools/Sorting/PropertyGetterHelper.cs | 3.109375 | 3 | using System;
using System.Collections.ObjectModel;
using System.Text;
namespace Lab05.Tools.Sorting
{
internal static class PropertyGetterHelper
{
internal static ObservableCollection<PropertyGetter> GetPropertyGetters(Type type)
{
var getters = new ObservableCollection<PropertyGe... |
a27787e8f519f15596e9f9c873f582f6a68cfe1f | C# | MikhailSasnavikSandbox/SampleUITestFramework.Net | /BBCTests/BBCTests/Insfrastructure/WebDriverManager.cs | 2.75 | 3 | using BBCTests.Helpers;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Concurrent;
namespace BBCTests.Insfrastructure
{
public static class WebDriverManager
{
private static ConcurrentDictionary<string, IWebDriver> driverDicti... |
030bbda054bc68326b13f616066086ab9b01e1c2 | C# | shendongnian/download4 | /first_version_download2/120506-8460082-18980295-2.cs | 2.640625 | 3 | SocketError error;
byte[] buffer = new byte[512]; // Custom protocol max/fixed message size
int c = this.Receive(buffer, 0, buffer.Length, SocketFlags.None, out error);
if (error != SocketError.Success)
{
if(error == SocketError.MessageSize)
{
// The message was to large ... |
4597593eba132333d0e45dbbe40954fae0e8bbf8 | C# | gueguet/BotnetVisuVR | /Assets/Scripts/BotnetScript/GraphManager.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class GraphManager : MonoBehaviour
{
// GameObject
public GameObject map_arkansas;
public GameObject substation_prefab;
public GameObject substation_malicious_prefab;
publ... |
80c23f595627957cd43231fe44b9b37e40fca350 | C# | icedt89/Queryfy | /Source/Queryfy/Inspection/MetadataResolution/PropertyMetadataFactory.cs | 2.71875 | 3 | namespace JanHafner.Queryfy.Inspection.MetadataResolution
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using Attributes;
using Toolkit.Common.ExtensionMethods;
/// <summary>
/// The <see cref="PropertyMetadataFactory"/> class.... |
3456ff71a32b6744b497ebe702ec0e4d63cff284 | C# | StephMoody/Moody.Snake | /Moody.Snake/Converter/FieldContentToFillConverter.cs | 2.890625 | 3 | using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
using Moody.Snake.Model;
namespace Moody.Snake.Converter
{
public class FieldContentToFillConverter : IValueConverter
{
public object Convert(object value, Type targetType, obj... |
ab30dd44b8e9222ffb748402b72d44551452835c | C# | AzureDay/2017-WebSite | /TeamSpark.AzureDay.WebSite.App/Service/CountryService.cs | 2.6875 | 3 | using System.Collections.Generic;
using System.Linq;
using TeamSpark.AzureDay.WebSite.App.Entity;
namespace TeamSpark.AzureDay.WebSite.App.Service
{
public sealed class CountryService
{
private readonly List<Country> _countries = new List<Country>
{
new Country {Id = 1, ImageUrl = "https://azureday2017ua.blo... |
19449c2cf5768caf572025b99b14bf97c2bb4d17 | C# | lethanus/HeroGame2 | /HeroesGame.Core/FightingMechanism/Skills/AttackFrontLineSkill.cs | 2.671875 | 3 | using System.Collections.Generic;
using System.Linq;
using HeroesGame.Characters;
namespace HeroesGame.FightMechanizm
{
public class AttackFrontLineSkill : Skill
{
public List<ICharacterInTeam> GetTargets(List<ICharacterInTeam> liveCharacters)
{
var targets = liveCharacters.Where(x... |
7404b68bf47c3c1a847fb7aef53de7f7da91eb67 | C# | HelloNetWorld/DroneStore | /DroneStore.Services/Services/Discounts/DiscountService.cs | 2.609375 | 3 | using Ardalis.GuardClauses;
using DroneStore.Core.Entities.Discounts;
using DroneStore.Data;
using System.Collections.Generic;
namespace DroneStore.Services.Services.Discounts
{
public class DiscountService : IDiscountService
{
private readonly IRepository<Discount> _discountRep;
public DiscountService(IReposi... |
cfd0b381606e5f1372451d3603d8ad7871c2a93d | C# | ironman27/TestApp | /TestApp/Classes/String/CompareString.cs | 3.6875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestApp.Classes.String
{
class CompareString
{
public static void Compare()
{
var s1 = string.Format("{0}{1}", "abc", "cba");
var s2 = "abc" + "... |
537be173f42b555657e383e46b25671a5985aaa8 | C# | tsjishan/XamarinMovies | /Movies/Utilities/PopulateMovie.cs | 2.8125 | 3 | using Android.Content;
using Android.Views;
using Android.Widget;
using System.Json;
using System.Threading.Tasks;
using Android.Graphics;
using FFImageLoading;
using FFImageLoading.Views;
using System;
namespace Movies.Utilities
{
public static class PopulateMovie
{
//retrieve movies to movie list
... |
d23762cfbf9007307bb9a29a8f7bca8ede3cd560 | C# | l1honghui/Dotnet.SampleCode | /src/SampleCode/ThreadSynchronization/AutoResetEventDemo.cs | 3.40625 | 3 | using System;
using System.Threading;
namespace SampleCode.ThreadSynchronization
{
/// <summary>
/// AutoRestEvent
/// </summary>
public class AutoResetEventDemo
{
/// <summary>
///
/// </summary>
private readonly AutoResetEvent _event1 = new AutoResetEvent(true);
... |
9f792b86c79db34854ddbce061472f435623df17 | C# | efclappe/Movie-Finder | /MovieFinderApp/Classes/MovieFinder.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TMDbLib.Client;
using TMDbLib.Objects.General;
using TMDbLib.Objects.Movies;
using TMDbLib.Objects.Search;
//Class used for finding movies. Search term is entered by the user and data for all matched movies is returned.
//Uses TMDbLi... |
50ec71d3018ae31e9e47b6b99f4634e7b040d6c9 | C# | GameDev-TAY/Ex_8 | /Assets/Scripts/2-player/KeyboardMoverByTile.cs | 2.71875 | 3 | using System.Collections;
using UnityEngine;
using UnityEngine.Tilemaps;
/**
* This component allows the player to move by clicking the arrow keys,
* but only if the new position is on an allowed tile.
*/
public class KeyboardMoverByTile: KeyboardMover {
[SerializeField] Tilemap tilemap = null;
[SerializeF... |
88724d8c3e49f6f671a1d0375c38b40f3a08892c | C# | balalaikaproject/AmbulatoryEEG | /Application/Electroencephalograph/gapService.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Devices.Enumeration;
using Windows.Devices.Enumeration.Pnp;
using System.Collections.Generic;
using System.Threading.Tasks;
usin... |
87a88d76f808b70b287571321f86dc37729688da | C# | vansickle/dbexplorer | /commons/Commons.Utils/ArrayUtils.cs | 3.203125 | 3 | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Commons.Utils.Delegates;
namespace Commons.Utils
{
public static class ArrayUtils
{
public static bool ArraysEqual(byte[] a1, byte[] a2)
{
if (a1 == a2)
return true;
if (a1 == null || a2 == null)
... |
b4621647785c667912d98572f92503eecd69e6c8 | C# | SyncFall/UndefinedProject | /solution/feltic/Main/TestMain.cs | 2.578125 | 3 | using feltic.Language;
using feltic.Visual;
using System;
using System.Diagnostics;
using System.Threading;
namespace feltic
{
public class MainTest
{
public static int Main(string[] args)
{
SourceList sourceList = new SourceList();
//.Add(SourceText.FromFile("test1.bee... |
f2ff61f45280d747217852f36ff9002f5b7e846b | C# | ttafa/Rock-Paper-Scissors | /RockPaperScissorsGame/Helper/ExtensionHelper.cs | 3 | 3 | using RockPaperScissorsGame.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using static RockPaperScissorsGame.Models.GameAction;
namespace RockPaperScissorsGame.Helper
{
public class ExtensionHelper
{
private PlayerAction GenerateRandomAction()
... |
4de170606731a121c2aab0607677dac627369812 | C# | HeyGitHub/UtinyRipper | /uTinyRipperCore/Parser/Classes/Texture2D/StreamingInfo.cs | 2.65625 | 3 | namespace uTinyRipper.Classes.Textures
{
public struct StreamingInfo : IAssetReadable
{
public void Read(AssetReader reader)
{
Offset = reader.ReadUInt32();
Size = reader.ReadUInt32();
Path = reader.ReadString();
}
public void Read(AssetReader reader, string path)
{
Size = reader.ReadUInt32();... |
1990be39470b6cea3286ffba809979e2e0fc2a53 | C# | WWWcool/dtf_hack | /Assets/Scripts/PauseSystem.cs | 2.765625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseSystem : MonoBehaviour
{
private static PauseSystem instance = null;
private bool isPaused = false;
private int pausedCount = 0;
public static PauseSystem Instance
{
get
{
... |
11ba78acef830cb4110df6dc52f3bf87e02dbfb6 | C# | bharath1097/Fast-Parser-Combinators | /ParserGeneratorLinq/Parsing/Internal/UnsafeParsers/BlittableBulkParser.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
namespace Strilanc.Parsing.Internal.UnsafeParsers {
/// <summary>
/// BlittableBulkParser is used to parse arrays of values when memcpy'ing them is valid.
/// Using memcpy is possible when the in-memory representation exactly matches the serialized represent... |
9c1dad95f8cbe85bac7fd6564cb2b406d27449fe | C# | Elmah55/IT-Company-Simulation | /Assets/Scripts/Logic/Misc/Defines.cs | 2.53125 | 3 | using System.Collections.Generic;
using UnityEngine;
using ITCompanySimulation.Project;
/// <summary>
/// This file contains definitons of enum and types used
/// in other classes as well as utlities classes for these
/// definitions
/// </summary>
/*Enums*/
namespace ITCompanySimulation.Project
{
/// <summary>... |
4aa74453b28c2556b27812a8038d500143494320 | C# | melma/MikuMikuWorld | /MikuMikuWorldLib/Physics/Bullet.cs | 2.5625 | 3 | using BulletSharp;
using MikuMikuWorld.GameComponents;
using OpenTK;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MikuMikuWorld.Physics
{
public static class Bullet
{
public static Vector3 Gravity
... |
85720d49cc8f2fbf13364978f7ab02faabb98123 | C# | zxyao145/LeetCode | /C#/Problems/Problem18.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode.Problems
{
/// <summary>
/// 最长公共前缀
/// </summary>
class Problem18
{
public static... |
f3469d6789612e453bc121dd6efcf3f3f8dd7826 | C# | ykpgrr/Object_ORIENTED_CSHARP | /Lesson-Codes/9.hafta/Point, Line, Square/ConsoleApplication1/Line.cs | 3.515625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Line
{
public point Point1 { get; set; }
public point Point2 { get; set; }
public Line(point point1, point point2)
... |
eed745c1e59cdd0c34aa9b270f02ff0fafa7d63d | C# | RuairiOKeefe/Fredrick | /Fredrick/src/Drawing/DrawManager.cs | 2.65625 | 3 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fredrick.src
{
public class DrawManager
{
public struct DrawInfo
{
Sprite... |
55ace58990e8d22c82396541b27b00b9ab6bb4e3 | C# | KHCmaster/PPD | /Win/PPDEditor/PPDEditor/PPDSheet.cs | 2.53125 | 3 | using System;
using System.Drawing;
using System.Collections.Generic;
using System.Text;
using SlimDX;
using SlimDX.Direct3D9;
using PPDFramework;
using PPDEditor.Forms;
namespace PPDEditor
{
public class PPDSheet
{
public enum Direction
{
Up = 0,
Left = 1,
... |
d3ba391166065d31308644e68b6e473a6a3c9f58 | C# | thuyhk/ThuanThienVN | /Source/HGT.Admin/Extensions/ModExtensions.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HGT.Admin.Extensions
{
public static class ModExtensions
{
#region EqualsIgCase
/// <summary>
/// Equals Ignore Case
/// </summary>
public sta... |
a41e1938c66701168eac9943806adb0abe6a7d74 | C# | MagusSolutions/KS.Foundation | /Collections/ThreadsafeEnumerator.cs | 2.75 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Threading;
namespace KS.Foundation
{
public struct ThreadsafeEnumerator<T> : IEnumerator<T>
{
public T Current
{
get { return _current; }
}
/**... |