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 |
|---|---|---|---|---|---|---|
53666dda2cb7193645941b7cd47fb0d622893ccd | C# | signature-opensource/CK-StObj | /CK.StObj.Model/StObjService/IStObjServiceClassDescriptor.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
namespace CK.Core
{
/// <summary>
/// Describes the final type that must be resolved and whether
/// it is a scoped or a singleton service.
/// </summary>
public interface IStObjServiceClassDescriptor : IStObjFinalClass
{
/// <summary>
... |
7459f84f67f0c9222710ad8dfdd9e84348f8d620 | C# | twsouthwick/Factly | /src/Factly.DataAnnotations/DataAnnotationExtensions.cs | 2.71875 | 3 | // Copyright (c) Taylor Southwick. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.ComponentModel.DataAnnotations;
namespace Factly
{
/// <summary>
/// Extensions to add well known DataAnnotation constraints.
/// </su... |
83c2d8feb34f7aae58865980c22fc6b652a9ba72 | C# | Yotzovv/SoftwareUniversity | /04. C#Fundamentals/01. C#Advanced/06. RegEx/04. Replace a tag/Program.cs | 3.203125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace _04.Replace_a_tag
{
class Program
{
static void Main(string[] args)
{
string input;
string pattern = @"<a ... |
afa90d02e545e1e841a3501e29ae37dd18d1a421 | C# | lzcj4/Window-Explorer | /WCFServer/PersonService.cs | 3.203125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WCFServer
{
public class PersonService : IPersonService
{
IList<Person> persons = new List<Person>
{
new Person() { Name = "AA", Id = 11, Address = "-... |
58acc31c3698b1e28b6789edc8568e8a11b1387a | C# | ursachevlad/ZooProject | /Zoo/AnimalsActivity.cs | 3.8125 | 4 | using System;
namespace AnimalsActivity
{
public class Horse : IAnimalsActivity
{
public void Drive(int miles)
{
Console.WriteLine("Horse activity in a day is : " + miles.ToString() + "km");
}
}
public class Dog : IAnimalsActivity
{
public void Drive(in... |
544ac6f92e83d6b1a0bd9add70da6fb03e21b7e4 | C# | 1244952898/CSharp | /ReflectionDemo/动态加载和使用类型/MyCustomBinder.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ReflectionDemo.构造泛型类型的实例
{
public class MyCustomBinder:Binder
{
public override MethodBase BindToMethod(BindingFlags bindin... |
5c4e2a8ebbbf168550699d397462feb9de1df06a | C# | Clelland92/Sector4 | /Sector4/Sector4Data/Characters/MissionNpc.cs | 3.109375 | 3 |
#region Using Statements
using System;
using Microsoft.Xna.Framework.Content;
#endregion
namespace Sector4Data
{
/// <summary>
/// An NPC that does not fight and does not join the party.
/// </summary>
public class MissionNpc : Character
{
#region Dialogue Data
/// <summary>
... |
6f11ad1b9d75e359acdff4b9e61d51dfaa7eedc5 | C# | jiejie-dev/FreeRoo | /FreeRoo.TemplateEngine/Utils/ArgCreator.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace FreeRoo.TemplateEngine
{
public class ArgCreator
{
public object Create(string argName, Type argType, IDictionary<string,object> temp)
... |
8942cb9bb967293a7cc143e1cb225156a805693c | C# | JeffDarchuk/SCTokenManager | /Source/TokenManager/Data/TokenDataTypes/IntegerTokenData.cs | 3.25 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TokenManager.Data.Interfaces;
namespace TokenManager.Data.TokenDataTypes
{
public class IntegerTokenData : ITokenData
{
/// <summary>
/// Creates a field that gathers an integer from the use... |
ae96558e1aab5792cf964a8f87e99fceeea9ce59 | C# | knifecaojia/CoinsPro | /Src/CryptoCurrency/KFCC/BackTest/BackTesting.Model/ExecutionHandlers/IExecutionHandler.cs | 2.953125 | 3 | namespace BackTesting.Model.ExecutionHandlers
{
using BackTesting.Model.Events;
/// <summary>
/// The ExecutionHandler abstract class handles the interaction
/// between a set of order objects generated by a Portfolio and
/// the ultimate set of Fill objects that actually occur in the
/// mark... |
3754128e0ae9608ff9df5cdf89c0d3b0e84e2c9c | C# | jbienzms/FeatureEngine | /Lib/Microsoft.FeatureEngine/Entities/Link.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.FeatureEngine
{
/// <summary>
/// Represents a link to a resource including URL, title and alternate text.
/// </summary>
[TypeConverter(... |
19c5ef9eba6473bd72b4d49a9274c466c05a15ee | C# | SebSabix/Dota2Heroes | /Dota2Search.cs | 3.421875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dota2Heroes
{
partial class Program
{
public static void AddHero(Hero h) //
{
Hero[] temp = new Hero[heroes.Length + 1];
for (int i = 0; i < heroes.Length; i++)
... |
06089cdfccbed332499e93ebf49f14b568bcc10c | C# | kulkarna/MDS | /Dev/Business/MarketManagement/UtilityManagement/WebScraperManagement/MessageFormatter.cs | 2.625 | 3 | namespace LibertyPower.Business.MarketManagement.UtilityManagement
{
using System.Text;
using LibertyPower.Business.CommonBusiness.CommonRules;
public class MessageFormatter
{
private BrokenRuleException brokenRuleException;
public MessageFormatter( BrokenRuleException exception )
{
brokenR... |
8b0dc2b025cbf728e536385bb3f343f4b018e6e6 | C# | mario-hines/Framework | /Framework.Data/Interfaces/IUnitOfWork.cs | 2.671875 | 3 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IUnitOfWork.cs" >
// </copyright>
// <summary>
// Contract for UnitOfWork pattern.
// For more information see http://martinfowler.com/eaaCatalog/unitOfWork.html
// and http... |
17dcdd2d12d999e112d369c3e80f60c06ee65c0c | C# | garapani/TheHindu_WP | /TheHindu/CategoriesHelper.cs | 2.8125 | 3 | using System;
using System.IO;
using System.Xml.Serialization;
using TheHindu.Utils;
namespace TheHindu.Helper
{
public class CategoriesHelper
{
private ListOfCategories _listOfcategories;
public ListOfCategories ListOfCategories
{
get
{
return ... |
2aec6343de01b76274f8f8acffb05eeaa3bce534 | C# | llownall/DrawDots | /DrawDots/Models/MyPoint.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using Newtonsoft.Json;
namespace DrawDots.Models
{
public class MyPoint
{
public readonly int x;
public readonly int y;
[JsonConstructor]
p... |
2d0731061fca68b018af62f8e70d2d6e58916b6b | C# | Ziretech/OnionMaster | /EntityLayer/Frame.cs | 3.28125 | 3 | namespace EntityLayer
{
public class Frame
{
public Frame(TileSetCoordinate coordinate, TileDimension dimension, int time)
{
TileSetCoordinate = coordinate;
TileDimension = dimension;
Duration = time;
}
public TileSetCoordinate TileSetCoordin... |
5efba64b2849d32b8d1a9db1719008d5dc9769e8 | C# | sabsantina/NewWiz | /BasicMechanicsDemo/Assets/Scripts/Pickup/ItemPickup.cs | 2.671875 | 3 | /*
* A class for item pickups.
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Ensure the object has a collider so we can pick it up
[RequireComponent(typeof(Collider))]
//[RequireComponent(typeof(AudioSource))]
public class ItemPickup : MonoBehaviour {
public ItemClass m_Item = ... |
b1d33cb583a31e4ef02335112561e0cbb95b2ec6 | C# | mahuidong/c-1200-II | /MR2/MR/08/334/SQLDelete/SQLDelete/Frm_Main.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using System.Data.SqlClient;
namespace SQLDelete
{
public partial class Frm_Main : Form
{
public Frm_Mai... |
2262f180b0eda25a59a62d543722634b600f5204 | C# | joshysnow/balloon-strike-wp | /GameFramework/Sun.cs | 2.546875 | 3 | using System;
using System.IO;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Xml.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using GameCore;
namespace GameFramework
{
public enum SunMood : byte
{
SuperHappy = 0x01,
Happy = 0x02,
... |
8d012f1f9ad48d33af76d3d96047da0b60245044 | C# | Stonedheart/PlanUp | /PlanUp/Converters/MusicConverter.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Google.Apis.YouTube.v3.Data;
using PlanUp.Models;
namespace PlanUp.Converters
{
internal class MusicConverter
{
private static Random _random;
private const int SongsQuantity = 50;
private bool _isSongInList;
... |
13a3097ce607cb55fe01feab08525afb662d0ba5 | C# | gpanassol/Projeto-Nautical | /Projeto-Nautical/.svn/pristine/c0/c0f31ce412412783b91e7bec3ab912b954b3ef6c.svn-base | 2.515625 | 3 | using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Projeto
{
public partial class FormConsultaFornecedor : Form
{
//VARIAVEIS GLOBAIS
private PoolConexoes pool... |
d1490d0b853bee409984638075322ccce00a4f26 | C# | robertst01/MLSystemManager | /MLSystemManager/Algorithms/InstanceBasedLearner.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MLSystemManager.Algorithms
{
public class InstanceBasedLearner : SupervisedLearner
{
private bool Distance { get; set; }
private int K { get; set; }
priva... |
4cb6854656a0c1b555f59db7fb48837588100eda | C# | Zinckar/ShkolaSoftheme | /CSharpHW/Lection20/LibraryAttributes/LibraryAttributes/Program.cs | 2.96875 | 3 | //using System;
//using System.Runtime.InteropServices;
//namespace Library
//{
// class Program
// {
// static void Main()
// {
// var library = new Library();
// ShowLibraryInfo(library);
// library[0] = new Book("Interesting book");
// ShowLibraryI... |
fef31449a6b6db13997f4eaf87e92e8637d1a2f5 | C# | TheDoct0r11/Yupi | /Yupi/Emulator/Game/Catalogs/Interfaces/CatalogItem.cs | 2.625 | 3 | using System.Collections.Generic;
using System.Data;
using System.Linq;
using Yupi.Emulator.Game.Items.Interfaces;
namespace Yupi.Emulator.Game.Catalogs.Interfaces
{
/// <summary>
/// Class CatalogItem.
/// </summary>
internal class CatalogItem
{
/// <summary>
/// The club o... |
d6cae99f78d40122f4ef79e27abf670a6b9e6b47 | C# | TsvetomirSlavov/TelerikAcademy | /CSharp/31. UnitTesting/School.Test/School.Tests.cs | 3.015625 | 3 | namespace School.Test
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class SchoolTests
{
[TestMethod]
public void School_ConstructorTest()
{
School myTestSchool = new School();
Assert.IsNotNull(myTestSchool);
... |
daf319f11922d74131819b163e0339eebde326c9 | C# | iluzyanin/OnlineStore | /src/OnlineStore.Core/Models/Cart.cs | 3.1875 | 3 | using System;
using System.Linq;
using System.Collections.Generic;
namespace OnlineStore.Core.Models
{
public class Cart
{
private IList<CartItem> cartItems;
private int cartItemIndex;
public Cart()
{
this.cartItems = new List<CartItem>();
this.cartItemI... |
b0876c8a9c4d80715812172d7f58974865f3a445 | C# | GeorgiVKirov/C-Sharp-Basics | /02_Airplane.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Airplane
{
class Program
{
static void Main(string[] args)
{
int hourDeparts = int.Parse(Console.ReadLine());
int minutesDeparts = int.Parse(Cons... |
2b71e8048f51d6e312c93723c87ae3cf69ca9bb3 | C# | kangwl/KANG.Frame | /Test/Office/ConsoleApp.Office/Program.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Office.Core;
using PowerPoint=Microsoft.Office.Interop.PowerPoint;
using Microsoft.Office.Interop.Word;
namespace ConsoleApp.Office {
class Program {
static void Main(strin... |
99e3c42c340f3cdefe2a1d35cd8ac0a4e7edbea5 | C# | MikeLake1999/ProjectEvent | /DAL/EventDetails.cs | 2.625 | 3 | using System;
using System.Text.RegularExpressions;
using MySql.Data.MySqlClient;
using System.Collections.Generic;
using Persistence;
using System.Threading.Tasks;
namespace DAL
{
public class EventDetails
{
//private string query;
private MySqlConnection connection = DbConfiguration.OpenConne... |
7254c98e3d902a35f32f9bac096c7a0742432c2d | C# | retolador/StockTracking | /StockTracking/FrmProduct.cs | 2.578125 | 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;
using StockTracking.BLL;
using StockTracking.DAL.DTO;
namespace StockTracking
{
public partial class... |
651ac088dff7e42cbaeeccd68f9eb8bc4b2c871f | C# | wolfbytestudio/HND-Application-And-Design-Project | /Final Project/FinalPoject/com/people/Person.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalPoject.com.people
{
/// <summary>
/// The person class contains variables to define a person
///
/// Author - Zack Davidson - 30008095
/// </summary>
public class... |
ab47578f2416973357f6a519d4f2739dd6a6d4d4 | C# | MManPham/Xamarin_UserManagers | /UserManager/UserManager/Models/LoginAccept.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace UserManager.Models
{
public class LoginAccept
{
public string admin_name { get; set; }
public string admin_password { get; set; }
public LoginAccept(string _name, string _password)
{
th... |
1e4e6044ee02ea90a7116f0365cc3e53ca244106 | C# | aifang/SportsStore_mvc5 | /SportsStore.Domain/Concrete/EFDbContext.cs | 2.609375 | 3 | using SportsStore.Domain.Entities;
using System.Data.Entity;
namespace SportsStore.Domain.Concrete
{
/// <summary>
/// 类似数据库里面的sql窗口,可以执行sql,作为事务中的内容,确定后可以提交,EFDbContext名称必须跟webconfig中的connectstring的名字一致
/// </summary>
public class EFDbContext : DbContext
{
/// <summary>
/// 属性名 Pr... |
1350b0fe21c2a8b31447707723730c209d92b7a0 | C# | Svetloslav15/Softuni-Programming-Fundamentals | /10.Arrays - Exercises/06. Max Sequence of Equal Elements/Program.cs | 3.890625 | 4 | using System;
using System.Linq;
namespace _06._Max_Sequence_of_Equal_Elements
{
class Program
{
static void Main(string[] args)
{
int[] nums = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int startIndex = 0;
int currentLength = 1;
... |
9a67cac349c1dbe1f693b30d09d09d950be479e4 | C# | CFLightning/Dynamics-NAV-Parser | /NAV_Comment_tool/NAV_Comment_tool/saveTool/SaveTool.cs | 2.953125 | 3 | using NAV_Comment_tool.parserClass;
using NAV_Comment_tool.repositories;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
namespace NAV_Comment_tool.saveTool
{
class SaveTool
{
public static bool SaveObjectsToFiles(string path)
{
string objPath = ... |
2016d495e2ff8209f72171157b6ab1b2eeb8c8a0 | C# | MatthewPuneky/411-MVC | /FoamMVC/FoamMVC/BLL/CRUD/StagedItemsOperations/StagedItemBLL.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FoamMVC.BLL.CRUD.ItemOperations;
using FoamMVC.DAL.CRUD.ItemOperations;
using FoamMVC.DAL.CRUD.StagedItemOperations;
using FoamMVC.DTOs;
using FoamMVC.ExtensionMethods;
using FoamMVC.Models;
using FoamMVC.ViewModels;
namespace ... |
836251e95bf707399570578d38432350bbb4462b | C# | shendongnian/download4 | /code2/361270-7794901-38494837-2.cs | 3.21875 | 3 | var dt = new DataTable();
var dns = new List<dynamic>();
foreach (var item in dt.AsEnumerable())
{
// Expando objects are IDictionary<string, object>
IDictionary<string, object> dn = new ExpandoObject();
foreach (var column in dt.Columns.Cast<DataColumn>())
{
... |
0e7469c46b3e5f3e79c42e0210c9a108bec3873a | C# | junaidameen23/Prototype | /BlogTest.Data/UnitOfWork/UnitOfWork.cs | 2.84375 | 3 | using BlogTest.Data.DbContext;
using BlogTest.Data.Model.Entities;
using BlogTest.Data.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTest.Model.Entities;
namespace BlogTest.Data.UnitOfWork
{
public class UnitOfWork : Dispo... |
5d37dff0838de266e927f1a9252ecb92651e7370 | C# | Boheminsan/Portfolio | /Portfolio.Data/Concrete/EFCore/EFUnitOfWork.cs | 2.546875 | 3 | using Portfolio.Data.Abstract;
using System;
namespace Portfolio.Data.Concrete.EFCore
{
public class EFUnitOfWork : IUnitOfWork
{
private readonly PortfolioContext dbContext;
public EFUnitOfWork(PortfolioContext _dbContext)
{
dbContext = _dbContext ?? throw new ArgumentNullE... |
5f2ce7f313737692925a5abf9156f881db4f64ac | C# | id-rachev/oop-homeworks | /TeamWork/PythonKaa/PythonKaa/IndestructableWall.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TeamGame
{
public class IndestructableWall : GameObject
{
//Fields
public new const string CollisionGroupString = "IndestructableWall";
public char[,] IndestructableBody = {{'|'}};
... |
cbf75e123434744394bf1c961840ddfcdef759c3 | C# | wojciesh/Fullscreener | /THPS_Fullscreener/Form1.cs | 2.5625 | 3 | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Fullscreener
{
public partial class Form1 : Form
{
// This static method is required because legacy OSes do not support SetWindowLongPtr
public static IntPtr SetWindowLongPtr(Han... |
3e387331b0e335009a7ad5e84222c4add63816cc | C# | RetineCocaj/Coding-Dojo | /Projects & Algorithms/Trees/ToDo1/BST.cs | 3.4375 | 3 | using System;
namespace ToDo1
{
public class BST
{
public BTNode Root;
public int size;
public BST()
{
Root = null;
size = 0;
}
public BTNode Add(int value)
{
if (Root != null)
{
BTNode runn... |
0a95e4431f34cfb450a1a34c0a527c1f963309ff | C# | monsendag/underakillingmoon | /Assets/_scripts/_decisionTree/_properties/NearbyAgents.cs | 2.75 | 3 | using UnityEngine;
using System.Collections;
using System.Linq;
using System;
public class NearbyAgents<T> : IProperty
{
public static float Radius = 5.0f;
public static int OutputNumber = 3;
public int Get(Agent agent)
{
int agentCount = (int)agent.GetAgentsInArea(Radius).Where(a => a.GetType() ==... |
be7eded5b1ae8b84d40c01ea1604cc21810c842e | C# | jpobst/Kipunji | /Kipunji/Models/DocumentationModels/BaseDocModel.cs | 2.515625 | 3 | //
// Authors:
// Jonathan Pobst (monkey@jpobst.com)
//
// Copyright (C) 2010 Jonathan Pobst
//
// 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 l... |
392ab15062153051a2a37d3824763d399cb8bb38 | C# | FabianNitsche/Jace | /Jace.Tests/OptimizerTests.cs | 2.671875 | 3 | using Jace.Execution;
using Jace.Operations;
using Jace.Tokenizer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jace.Tests
{
[TestClass]
public class... |
f0172eb2aac0ee54bfa5beb6ca4b95f117484a2d | C# | ebrand/vMap | /vMap.Voronoi/Counts.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace vMap.Voronoi
{
public class Counts
{
public HashSet<MetricItem> Items { get; set; }
public MetricItem[] DisplayableItems
{
get { return this.Items?.Where(i => i.Display).ToArray(); }
}
public Counts()
{
this.Items = new ... |
2669c8346397d8fe37f1cc37188ab62af48465e7 | C# | Vita7y/VirtualTerminal | /VirtualTerminal/VirtualTerminal/Stend.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Windows.Forms;
using VirtualTerminal.Core;
namespace VirtualTerminal
{
public partial class Stend : Form
{
private readonly Human _human = new Human();
private readonly Core.Vi... |
c6ad455f9c4e8d8bd284132e5222e6ed2baec738 | C# | test-mass-forker-org-1/GroupCacheDotNet | /GroupCache/ILogger.cs | 2.90625 | 3 | using System;
namespace GroupCache
{
public interface ILogger
{
/// <summary>Logs a message with severity Debug.</summary>
void Debug(string message);
/// <summary>Logs a formatted message with severity Debug.</summary>
void Debug(string format, params object[] forma... |
7087afb3903e2872bb4392c22f28bdcae97a3742 | C# | zerq98/FactoryPattern | /FactoryPattern/Generators/DocumentGenerator.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace FactoryPattern
{
public abstract class DocumentGenerator
{
public abstract Document CreateDocument();
public Page CreatePage(string title,int number)
{
return new Page { Title = title, Number = nu... |
6d266d8bc6a5c0a620c6a76514a3b60e240f2646 | C# | automotiveMastermind/condo | /src/AM.Condo/Tasks/SaveFile.cs | 2.765625 | 3 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SaveFile.cs" company="automotiveMastermind and contributors">
// © automotiveMastermind and contributors. Licensed under MIT. See LICENSE and CREDITS for details.
// </copyright>... |
e16f92f60f34e920ffdd971afcb30b19b1082e7d | C# | zmrchariwala/assignment2AB | /UpdateStudent.aspx.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Assignment2ab
{
public partial class UpdateStudent : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
stri... |
a01ae8bb6be0adf359184e170724781efd2862b0 | C# | Esperadoce/Burning | /Burning.DofusProtocol/Network/Messages/ExchangeHandleMountsMessage.cs | 2.578125 | 3 | using FlatyBot.Common.IO;
using FlatyBot.Common.Network;
using System;
using System.Collections.Generic;
namespace Burning.DofusProtocol.Network.Messages
{
public class ExchangeHandleMountsMessage : NetworkMessage
{
public List<uint> ridesId = new List<uint>();
public const uint Id = 6752;
public int a... |
0831f4fe1ed47fb6206e455b1a212d45f4d983c8 | C# | jakyle/AHBC_DOTNET_Q4_2020_Examples | /Api-intro/FinalSpaceClient.cs | 2.9375 | 3 | using Api_intro.Models.ApiModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
namespace Api_intro
{
public class FinalSpaceClient
{
private readonly HttpClient _client;
public FinalSpaceClient(... |
d376a7d3326f09939a154a1dfa28b456c5884529 | C# | nupsi/CrocoBrush | /CrocoBrush/Assets/CrocoBrush/Scripts/Events/RegisteredBehaviour.cs | 3.109375 | 3 | using System.Collections.Generic;
using UnityEngine;
namespace CrocoBrush
{
/// <summary>
/// Base class for registered components.
/// Starts and stops listening to the given events in the event manager.
/// Use Actions property to initialize m_actions dictionary which contains
/// the event name... |
6d0d85ca073586e642980cbf71d3d24bd3953be4 | C# | rocklee2015/RicoSamples | /13-linqpad/00-sample/02-linq pad sample lib/cs6queries/[23] Chapter 23 - Parallel Programming/[01] PLINQ/[02] Calculating prime numbers - ordered.linq | 3.34375 | 3 | <Query Kind="Statements" />
// Calculate prime numbers with ordered output.
IEnumerable<int> numbers = Enumerable.Range (3, 1000000-3);
var parallelQuery =
from n in numbers.AsParallel().AsOrdered()
where Enumerable.Range (2, (int) Math.Sqrt (n)).All (i => n % i > 0)
select n;
int[] primes = parallelQuery.ToArr... |
1dbf92bf4e15d94a8fe2bb46bce1084965b0f1a5 | C# | Sokoula/SoulServerPublic | /DatabaseProxy/AgentPackets.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SunCommon;
namespace DatabaseProxy
{
public static class AgentPackets
{
public static void CreateCharacterPacket(string userIdStr, string charName, string classCodeStr, string heig... |
075428f156902dab4b470bd88c1f4eda657c34a5 | C# | BenGab/IssutrackingCalculator | /Source/IssueDueCalculator/IssueDueDateHourCalculator.cs | 3.4375 | 3 | using System;
namespace IssueDueCalculator
{
/// <summary>
/// The Hour calculation base implementation
/// </summary>
public class IssueDueDateHourCalculator : IIssueDueDateCalculator
{
private readonly uint _startWorkingHour;
private readonly uint _endWorkingHour;
public... |
b50ede5ed0356b7bcff70f98617e420b0b422e54 | C# | mdamri/dragon | /proj/Files/src/Dragon.Files.AzureBlobStorage/AzureBlobStorage.cs | 2.640625 | 3 | using System;
using System.IO;
using Dragon.Files.Exceptions;
using Dragon.Files.Interfaces;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Dragon.Files.AzureBlobStorage
{
public class AzureBlobStorage : IFileStorage
{
private readonly IFileRestriction _file... |
0b911329a78ba758764e24b08d1f76709a976845 | C# | DjiNDjiN/Chapter10 | /Chapter10/Ex3/Program.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ex3
{
class Program
{
static void Variations(int[] output, int n, int iter, int start)
{
if (iter >= output.Length)
{
... |
e3993ce569cf442c2283b6beab1eab3de8a2fce8 | C# | gitdb2/redes_2 | /Commons/Comunicacion/Payload.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Comunicacion
{
public class Payload
{
public const int MAX_PAYLOAD_LENGTH = 10000;
public String Message { get; set; }
public virtual List<char[]> GetBytes()
{
var... |
4938845188e9fd25dc3047866efc0de0ab6d739d | C# | Laczko/Kassza | /Progi/Verziók/05.06/Kasse/Termekek.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Oracle.DataAccess.Client;
using System.Windows.Forms;
namespace Kasse
{
class Termekek
{
protected OracleCommand oc;
OracleConnection conn = new OracleConnection... |
3eb3b28bab19527e985d6e319dcbff4f8e0cc375 | C# | pduy99/Batch-Rename | /Main Windows/StringOperationContract.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.ComponentModel;
using PropertyChanged;
using System.Windows;
namespace Main_Windows
{
public class StringArgs
{
}
public class... |
61c2be49f8dae1d85798b353c0654b705d9611c1 | C# | human109/helloCsharp | /HelloClient/HelloAsyncClient.cs | 2.796875 | 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;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace HelloClient
{
public p... |
2ec7eddf2ddfa16e60c354531376ff790b310663 | C# | oika/CHaserGuiClient | /CHaserGuiClient/Line/ResponseData.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Oika.Apps.CHaserGuiClient.Line
{
public class ResponseData
{
public bool IsGameSet { get; private set; }
public ReadOnlyCollection<CellKind> Cells { get; priva... |
959ba243f1c34ee728309220078057540018423e | C# | mmihaylov82/Programming-Fundamentals | /06. Arrays/08. Most Frequent Number/08. Most Frequent Number.cs | 3.6875 | 4 | using System;
using System.Linq;
namespace _08.Most_Frequent_Number
{
class Program
{
static void Main(string[] args)
{
int[] elements = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int longestSequence = 1;
int mostFrequentPosition... |
3d05ba3b69ae34779abed96a228c1a97c482041d | C# | SonnyBurnett/codechallenge2 | /eduard/Assignment03/GEP.CodingChallenge.Ship.Tests/Helpers/OrderBuilder.cs | 2.84375 | 3 | using System;
using GEP.CodingChallenge.Ship.Models;
namespace GEP.CodingChallenge.Ship.Tests.Helpers
{
public class OrderBuilder
{
public int CustomerId { get; private set; }
public string Name { get; private set; }
public string Product { get; private set; }
... |
cde448414bfd6020d880d2b98d850265d61a7be7 | C# | Dianaaaf/LojaVirtual_DianaDaSilvaAlves | /LojaOnline/LojaOnline/DTO/CategoriaDTO.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LojaOnline.DTO
{
public class CategoriaDTO
{
//id, nome, descrição
//atributos
private int id;
private string nome, descrição;
//metódos padrões
public int Id { get =... |
cc1dbf1fc9482c94a5c93f1273ef239f4b2a6a17 | C# | Hitakashi/hitaBot-Refit | /Model/MediaStatus.cs | 2.75 | 3 | using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace hitaBot.Refit.Model
{
/// <summary>
/// </summary>
[DataContract]
public class MediaStatus
{
/// <summary>
/// Gets or Sets MediaIsLive
/// </summary>
[DataMember(Name = "medi... |
82017929e2133b77b5048e040763efd4bfc27317 | C# | prodaniucandrei/DATC-2017 | /Prodaniuc Andrei/PROIECT/Online/IrrigationApp/IrrigationWorker/Worker.cs | 2.53125 | 3 | using IrrigationWorker.Services;
using System;
using System.Collections.Generic;
using static IrrigationWorker.Services.DAL;
namespace IrrigationWorker
{
public class Worker
{
private List<string> usersId;
private List<AreaModel> areas;
private List<SensorModel> sensors;
priva... |
492918c064a228e3377245f7dfc7b60ae9c03c83 | C# | adhikari-chayan/data-structures-and-basic-programming | /Coding Patterns/C#/ProtectingSharedResourceFromConcurrentAccess/ProtectingSharedResourceFromConcurrentAccess/Program.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ProtectingSharedResourceFromConcurrentAccess
{
class Program
{
static int Total = 0;
static void Main(string[] args)
... |
12fa338e875e4c65c25137c7a7984e0169d79181 | C# | AlexanderFar/news360_test | /news360.Tests/Services/ValidateServiceTests.cs | 2.671875 | 3 | using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using news360.Services;
namespace news360.Tests.Services
{
[TestClass]
public class ValidateServiceTests
{
[TestMethod]
public void valid_equation()
{
// arrange
var equations = new[]
{
"6=-0",
"x=... |
3bc79c5c18974ff5010e417c6c087cb7f6cbf221 | C# | SkillsFundingAgency/das-admin-service | /src/SFA.DAS.AdminService.Web.UnitTests/Extensions/DateTimeExtensionTests.cs | 2.703125 | 3 | using NUnit.Framework;
using SFA.DAS.AdminService.Common.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SFA.DAS.AdminService.Web.Tests.Extensions
{
public class DateTimeExtensionTests
{
[TestCase(1, 1, 2021, "01.01.2021")]
... |
52b924078cc5ccfec942d5b418b07ddbda727bc6 | C# | shendongnian/download4 | /code8/1391474-37738516-120099364-4.cs | 2.703125 | 3 | Player me = new Player { Name = "Me" };
var allMatches = new List<Match>
{
new Match
{
Participants = new List<Player>
{
me,
new Player { Name = "Some Other Dude"}
}
},
new Match
{
Participants = new List<Player>
{
me,
new Player { Name = "My Rival" }
}
}
};
v... |
57bae1c837ec96c83402e8616a0d747605199b6f | C# | kibreabg/ChaiEthERP | /Chai.WorkflowManagment.DataAccess/Resource/ForecastDao.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Chai.ZADS.CoreDomain.Resource;
namespace Chai.ZADS.DataAccess.Resource
{
public class ForecastDao : BaseDao
{
public ForecastInfo GetForecastInfoById(int id)
{
string sql = "SELECT SELECT ... |
e89f0e8476d7e81a6f360f133ae6031736cb1bff | C# | BijayAcharya10/BusinessManagementSystem | /BusinessManagement/ManageCategory.cs | 2.765625 | 3 | using BLL;
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 BusinessManagement
{
public partial class ManageCategory : Form
{
p... |
0dcfe7449ff7bb3926f45496fd032abafbb2c54a | C# | DutchDylan/FHICT-S4-GD-GTO | /Ass3b - Multiplayer/CorrectBaseImport_Multiplayer/Assets/GridModule/Map.cs | 2.953125 | 3 | using UnityEngine;
public class Map : MonoBehaviour
{
public int SizeX;
public int SizeY;
public float TileOffset;
public Cell Prototype;
public void Start()
{
Spawn();
}
public void Spawn()
{
float xOffset = 0;
for (int x = 0; x < SizeX; x++)
{
float yOffset = 0;
for (int y = 0; y < SizeY... |
7693bd81c4c51bfbc7c037c4405df6709d93dbef | C# | Vandana-T/GildedRose | /DataWarehouse/OrderService.svc.cs | 3.515625 | 4 | namespace DataWarehouse
{
using System;
public class OrderService : IOrderService
{
/// <summary>
/// Implementation of the GetItems method to return all items in the repository
/// </summary>
/// <returns>Response for the requested operation</returns>
public Respo... |
0a2063a532440f1c784527092f4596c06f64c768 | C# | shendongnian/download4 | /code6/1134481-29882166-89075429-12.cs | 2.515625 | 3 | public ActionResult Index()
{
List<PostImageModel> postsWithImages = new List<PostImageModel>();
var posts = db.Posts.Where(p => p.BlogUserEmail == User.Identity.Name).Include(p => p.BlogUser).Include(p => p.Category);
foreach (var item in posts)
{
... |
a3f01b55a32d63c83ef0f20f2607119d84ad046b | C# | xabikos/BrazilWC2014 | /WorldCup/Extensions/EnumerableExtensions.cs | 3.5625 | 4 | using System;
using System.Collections.Generic;
namespace WorldCup.Extensions
{
/// <summary>
/// Contains extensions methods for IEnumerable
/// </summary>
public static class EnumerableExtensions
{
public static IEnumerable<T> FindSandwichedItem<T>(this IEnumerable<T> items, Predicate<T... |
833a5192f86e35b6eb917dd4527f5e9bb06fb7e4 | C# | Paul-dev-ru/DB-interaction | /ItsMyProject/Product.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ItsMyProject
{
class Product
{
public int counter = 0;
public double Price { get; set; }
public string Name { get; set; }
public string Manufacturer {... |
8fba74327629372399ad30b8e4a5cd8175985470 | C# | mhsalves/derivrun | /Assets/Scripts/Controllers/LifeController.cs | 2.65625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Controladores {
public class LifeController : MonoBehaviour {
public int vidas = LifeController.minVidas;
public int vidasCorrente = LifeController.minVidas;
public static int minVidas = 1;
public static int maxVidas =... |
5a40afabef25339ad2d9e1ba58495aa4abb7a6ec | C# | pobeirne/GradFolio | /GradFolio Application/GradFolio/GradFolio.Infrastructure/Repository/CurriculumVitaeRepository.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using GradFolio.Core.DTO;
using GradFolio.Core.Model;
using GradFolio.Core.Repository;
using GradFolio.Infrastructure.Data;
namespace GradFolio.Infrastructure.Repository
{
public class CurriculumVitaeRepository... |
c4be094c4dca49bd3d06f0ae3f890464530539d8 | C# | HTNhu/ShoppingOnline | /MVC_ShoppingGlasses/MVC_ShoppingGlasses/Controllers/ShoppingCartController.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MVC_ShoppingGlasses.Models;
using MVC_ShoppingGlasses.ViewModel;
namespace MVC_ShoppingGlasses.Controllers
{
public class ShoppingCartController : Controller
{
SalesGlassesDataContext db = n... |
6589c4f5ec02419f61dfe60acc1790144828e5a2 | C# | powerhai/TomatoStudy | /Tomato.Services/WordFileReader.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Windows;
using Aspose.Words;
using log4net;
using Models;
using NetOffice.WordApi.Enums;
using WordRemember.Domain;
using Document = NetOffice.WordApi.Document;
using Style = NetOffice.WordApi.Sty... |
8b34a2d62ac75598df97b18f0200a0963c131f5e | C# | AhmadAyaad/Simplified-Driver | /SimplifiedDriver.Common/Validation/BaseValidator.cs | 2.921875 | 3 | using SimplifiedDriver.Common.Enums;
using SimplifiedDriver.Common.Helpers;
using System.Linq;
using static SimplifiedDriver.Common.Helpers.Constants;
namespace SimplifiedDriver.Common.Validation
{
public class BaseValidator : Validator
{
public override bool IsASCIICharsInRange(string parameter)
... |
740b7c2f49713b03818df9e527f658344d3d7b4c | C# | marioanchevski/vizuelno-programiranje | /course/kol2_vezbi/ColorRectangles/ColorRectangles/RectangleDoc.cs | 3.328125 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ColorRectangles
{
public class RectangleDoc
{
public List<Rectangle> items { get; set; }
public RectangleDoc() {
items = new List<Rec... |
74b13179af66b2ce59758662eee0a5d95ae99a1d | C# | ChristianB97/P-AI-WIP | /AI Projekt/Assets/Skripte/DayCycle/DayCycleData.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/DayCycleData")]
public class DayCycleData : ScriptableObject
{
[SerializeField]private TimeUnit[] timeUnits;
private int lastIndex = -1;
public TimeUnit GetDataByHour(int h... |
a00a192d2dd6038e36bfe2d8e60d1fbd3764bcc6 | C# | goaldus/IW5 | /IWManager/IWManager.BL/Mapper.cs | 2.71875 | 3 | using System;
using System.Linq;
using IWManager.BL.Models;
using IWManager.DAL.Entities;
namespace IWManager.BL
{
class Mapper
{
public CourseListModel MapEntityToListModel(Course entity)
{
return new CourseListModel()
{
Id = entity.Id,
... |
98737f7281050cc586b1c6d976700a5e61cdaecf | C# | Bowerbird/bowerbird-web | /Src/Bowerbird.Core/Validators/GeoCoordinatesAttribute.cs | 2.640625 | 3 | using System;
using System.ComponentModel.DataAnnotations;
using Bowerbird.Core.ViewModels;
namespace Bowerbird.Core.Validators
{
[AttributeUsage(AttributeTargets.Property)]
public class GeoCoordinatesAttribute : ValidationAttribute
{
protected override ValidationResult IsValid(object value, Vali... |
b80ad03792ee17beed2f979b5b7a92c36cedc793 | C# | thyphenj/bfGen | /bfGen/BF.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace BFgenerator
{
static class BF
{
public static char plus = '+';
public static char minus = '-';
public static char left = '<';
public static char right = '>';
public static char brace = '[';
... |
df1126d9a65cab57e2619d15b4c41d89691f9ee5 | C# | rask0ne/BatteryInfo | /Battery.cs | 2.6875 | 3 | using System;
using System.Windows.Forms;
namespace Battery
{
public partial class Battery : Form
{
private readonly BatteryManager _manager = new BatteryManager();
public Battery()
{
InitializeComponent();
}
private void Battery_Load(object sender, EventA... |
4516220b81301e2ec63e61f2b6ad2a45ad7927e5 | C# | cmccandless/ExercismSolutions-csharp | /pov/Pov.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
public class Tree
{
public string Value { get; }
public Tree Parent { get; set; }
public Tree[] Children { get; }
public Tree (string root, params Tree[] children)
{
this.Value = root;
this.Children = ch... |
ff51bf370c622d5edf1610c4b98833ff851a0111 | C# | Sakul/design-patterns | /CreationalPatterns/Builder/_Builder.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Builder
{
public interface IVehicleBuilder
{
Product GetResult { get; }
void BuildPartA();
void BuildPartB();
}
public class MotorCycleBuilder : IVehicleBuilder
{
public Product GetResult ... |
147235ba0a8b0fa3bdd678fe0a47f7a3760f447c | C# | xray27/RayTracer | /Camera.cs | 3.21875 | 3 | using System;
using System.Numerics;
namespace RayTracer
{
public class Camera
{
public Vector3 pos; // Camera position
public Vector3 dir; // Camera direction
public Vector3 up; // Upwards direction of camera, has direction from screen center to top of screen.
priv... |
ee5bb723b67f66713471ddaa9b9cd703972f4ae5 | C# | lastivkagame/Console_c-sharp | /8/Homework_8/task_5/Program.cs | 3.375 | 3 | /*Створити клас AppSettingHelper, який у бінарному режимі(за допомогою BinaryWriter, BinaryReader)
дозволяє записувати та зчитувати налаштування додатку(колір консолі, назву вікна, розміри вікна).
Створити додаток для демонстрації роботи класу AppSettingHelper.*/
using System;
using System.IO;
namespace task_5
{
... |
ae78ade66a98d10fea3a048ae6e57cdc3d044568 | C# | damirovich/EFSOLL | /004Task3ASP/Startup.cs | 2.5625 | 3 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks... |
b50741258032ebe86a00cef618e685bf885319e6 | C# | coding-chain/coding-chain-worker | /CodingChainWorker.Domain.Tests/TestExecution/CSharpCodeAnalyzerTests.cs | 2.546875 | 3 | using Domain.TestExecution.OOP.CSharp;
using NUnit.Framework;
namespace CodingChainWorker.Domain.Tests.TestExecution
{
public class CSharpCodeAnalyzerTests
{
private CsharpCodeAnalyzer _analyzer;
[SetUp]
public void SetUp()
{
_analyzer = new CsharpCodeAnalyzer();
... |
b4ae540cede24ab9e9a896818819662ca67d74d4 | C# | maxtex123/Math-Expressions | /homework-3-assignment-maxinet123/Homework-3-F19-Math-Expressions/LiteralNode.cs | 3.109375 | 3 | /*
* LiteralNode.cs
* By: Maxine Teixeira
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KansasStateUniversity.TreeViewer2;
namespace KSU.CIS300.Math.Expressions
{
public class LiteralNode :INode
{
/// <su... |
bd7d29eeacbb98086e380263596c22d35d7081c7 | C# | saeedmaghdam/DynaLock | /DynaLock/SemaphoreSlim.cs | 3.125 | 3 | using DynaLock.Framework;
using System.Threading;
using System.Threading.Tasks;
namespace DynaLock
{
/// <summary>
/// DynaLocker Monitor to create and manage semaphoreSlims dynamically in run-time
/// </summary>
public class SemaphoreSlim : DynaLocker, ISemaphoreSlim
{
private static ICon... |