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 |
|---|---|---|---|---|---|---|
6fb0129805d9022e43f7543243faa2b875e369d7 | C# | bgoonz/UsefulResourceRepo2.0 | /MY_REPOS/INTERVIEW-PREP-COMPLETE/notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/__MY_OPRIGINAL_DS/_Extra-Practice/09_dynamic_programming/csharp/01_longest_common_subsequence/Program.cs | 2.765625 | 3 | using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
if (word_a[i] == word_b[1])
{
cell[i][j] = cell[i - 1][j - 1] + 1;
}
else
{
cell[i][j] = Mat... |
3c7ec0f582a519901e54ca0ceadab6e532c08198 | C# | larrynPL/RankOne-Umbraco-SEO-Tool | /src/RankOne.SEO.Tool/Analyzers/Performance/JavascriptMinificationAnalyzer.cs | 2.578125 | 3 | using HtmlAgilityPack;
using RankOne.Attributes;
using RankOne.ExtensionMethods;
using RankOne.Helpers;
using RankOne.Interfaces;
using RankOne.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace RankOne.Analyzers.Performance
{
[AnalyzerCategory(SummaryName = "Pe... |
a971db15459c01a0077a6592df38b27940367a87 | C# | yagizayer/Fps_Reflex_Game_v03 | /Assets/Scripts/Helpers/Extesions.cs | 2.578125 | 3 | using UnityEngine;
using System.Collections.Generic;
namespace Helper
{
public enum Vector3Values
{
X, Y, Z, XY, XZ, YZ, XYZ
}
public static class Extesions
{
public static Vector3 Modify(this Vector3 oldValues, Vector3Values axis, float newValue)
{
switch (axi... |
f46247c3b71905f90fdf8259a1ec6150e94ee41e | C# | ahristoff/Database-Advanced | /3_CODE-FIRST/Exercises/P01_HospitalDatabase/StartUp.cs | 2.765625 | 3 | using P01_HospitalDatabase.Data;
using P01_HospitalDatabase.Data.Models;
using System;
using System.Linq;
using System.Text;
namespace P01_HospitalDatabase
{
class StartUp
{
static void Main(string[] args)
{
Console.OutputEncoding = Encoding.UTF8;
using (var context = ... |
f5c78c70b2a6e74637fa8a6f46a436e7b4146747 | C# | madhu0699/StockMarket | /StockMarketApi/StockMarket.AdminAPI/Services/StockExchangeService.cs | 2.578125 | 3 | using StockMarket.AdminAPI.Models;
using StockMarket.AdminAPI.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StockMarket.AdminAPI.Services
{
public class StockExchangeService : IStockExchangeService
{
private IStockExchangeRepos... |
e6a6637c9b0bcf738997323a4dbeee66497040da | C# | dkoudela/unity-programming-theory | /Assets/Scripts/Health.cs | 2.78125 | 3 | using UnityEngine;
public class Health : MonoBehaviour
{
// ENCAPSULATION
private int health;
private string healthTextPrefix = "Health: ";
// Start is called before the first frame update
void Start()
{
if (gameObject.CompareTag("Player"))
{
health = 10;
}... |
c9217ec6250198c879db77d0dcd25a2ffe261453 | C# | y497068561/Inflexion2 | /00-Examples/EF/CommonDomain/Domain/EntityB/EntityB.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Inflexion2.Domain;
using System.ComponentModel.DataAnnotations;
namespace CommonDomain
{
[Serializable]
public class EntityB : AggregateRoot<EntityB, int>, IEntityB
{
private string name;
[Required... |
4f7e55b17dcb34edb62c923e410835626c2ce07a | C# | adecker794/Serial-Transfer-Program | /Serial Transfer Program/Receiving/ReceivingData.cs | 3.453125 | 3 | using System.Configuration;
using System;
using System.IO;
using System.IO.Ports;
using System.Windows.Forms;
namespace Serial_Transfer_Program
{
class ReceivingData
{
public static string comport = Settings1.Default.ComPort;
public static int baudrateInt = Settings1.Default.BaudRate;
... |
20766b0ca331ab92d4abbff8e0c7778e364effcc | C# | GelyaTh/lab4_a | /PrimitivesSearch.cs | 2.75 | 3 | using Emgu.CV;
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
using Emgu.CV.Util;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab4_AOCI
{
class PrimitivesSearch
{
private Image<Bgr, b... |
d0833f25eb11d9322dc8e3244f21b28f78c953f7 | C# | aurelioromeu/P3Image | /TesteP3Image/TesteP3Image/Models/NHibernate/CamposRepository.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NHibernate;
using NHibernate.Criterion;
using NHibernate.Linq;
namespace TesteP3Image.Models.NHibernate
{
public class CamposRepository
{
public IList<Campos> ObterTodos()
{
using (ISession s... |
d234946aa47aed35711c0c40dbec23c4ef327e0b | C# | nikhilmurthy/CPTS-421-423 | /NewITSDemo/NewITS_v21/NewITS/Building.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewITS
{
public class Building
{
private int id;
private string sname;
private string lname;
public int ID
{
get { return id; }
... |
b46eba4033e1c38f3bc3c0b374421e6203752521 | C# | 2014-sed-team3/term-project | /project/Src/NodeXL/ExcelTemplate/EventArgs/Commands/RunNoParamCommandEventArgs.cs | 2.578125 | 3 |
using System;
using System.Diagnostics;
namespace Smrf.NodeXL.ExcelTemplate
{
//*****************************************************************************
// Class: RunNoParamCommandEventArgs
//
/// <summary>
/// Provides information for a command that needs to be run, where the command
/// does not require any ... |
98ba74005654673b3d0eb57672419c6f1591f60d | C# | BruceBayne/Friday.NET | /Friday.Base/ValueTypes/Percent.cs | 3.25 | 3 | using System;
using System.Diagnostics.Contracts;
using System.Runtime.Serialization;
namespace Friday.Base.ValueTypes
{
[Serializable]
public struct Percent : IComparable<Percent>, ISerializable, IEquatable<Percent>
{
public readonly decimal Value;
private Percent(decimal value)
{
Value = value;
}
... |
16c0f354ec7bdb1d5cb96f939493c5ba6cd774b8 | C# | felipejunges/Formula1 | /Formula1.Domain/Extensions/CriptoExtensions.cs | 2.84375 | 3 | namespace Formula1.Domain.Extensions
{
public static class CriptoExtensions
{
public static string GetBCrypt(this string senha, int salt = 12)
{
return BCrypt.Net.BCrypt.HashPassword(senha, BCrypt.Net.BCrypt.GenerateSalt(salt));
}
public static bool CheckBCrypt(this... |
213678f31e1e11225be4f7da7c17de55e1185d4a | C# | PalmeR147/TowerDefense | /TDPalm/TDPalm/TDPalm/Tiles.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
namespace TDPalm
{
public static class Tiles
{
public static List<Tile> Tiless = new List<Tile>();
... |
d4b190aa24772a7ffb3afed85fb8f8c1a75505ab | C# | eladj/UnityProjects | /HootOwlHoot3D/Assets/Tests/EditMode/GameLogicTest.cs | 2.75 | 3 | using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
public class GameLogicTest
{
[Test]
public void InitDefaultTest()
{
GameLogic gameLogic = new GameLogic();
gameLogic.InitGame();
Assert.Are... |
24fe89b1062e1996da732fa573e3181f5426e228 | C# | Omlet144/army_ | /Shields/ShieldAbstruct.cs | 2.96875 | 3 | namespace Shields{
public class ShieldAbstruct{
public int DefendHP { get; set; }
protected ShieldAbstruct(int defendHP){
this.DefendHP = defendHP;
}
public void Defend(Soldiers.SoldierAbstruct holder, int damage){
holder.HP -= (this.DefendHP - damag... |
14f610fbf216c59437950111ee2b9caeff3e9f77 | C# | PatrykOlejniczak/WPK.TransportSystem | /Business.Services/AuthenticationCustomerManager.cs | 2.71875 | 3 | using System;
using System.Linq;
using System.ServiceModel;
using Business.Contracts;
using Business.Entities;
using Core.Common.Secure;
using Data.Core.Repository;
using Data.Core.UnitOfWork;
namespace Business.Services
{
public class AuthenticationCustomerManager : ICustomerAuthenticationService
{
p... |
65733851e1c0105634540e9c9d277a1c3af60dcf | C# | hatelove/expectedObjects | /src/ExpectedObjects.Specs/ObjectShouldNotMatchSpecs.cs | 2.65625 | 3 | using System;
using ExpectedObjects.Specs.TestTypes;
using Machine.Specifications;
namespace ExpectedObjects.Specs
{
public class when_comparing_different_types_with_same_member_for_equality_with_actual_as_subject
{
static TypeWithString2 _actual;
static Exception _exception;
static ExpectedObject _e... |
400e1a78e6e944a8ce24b3822bc52fd95e392c23 | C# | cassiofariasmachado/pi-api | /src/Pi.Api/Controllers/GpioController.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Unosquare.RaspberryIO;
using Unosquare.RaspberryIO.Gpio;
using RaspberryPi = Unosquare.RaspberryIO.Pi;
namespace Pi.Api.Controllers
{
[ApiController]
[Route("api/[... |
46c7924a8c5b4ec5dc0342fe0a8195d46cf51b85 | C# | Pandinosaurus/C2_Collaboration_V1 | /Assets/Plugins/DeepMotion/Runtime/DemoScripts/MathUtils_FOP.cs | 3.140625 | 3 | using System;
public static class MathUtils_FOP
{
//This function need to be later changed to me more flexible on min max mapping direction
//Remap range, with the option of clamping the output
public static int Remap(int value, int a1, int a2, int b1, int b2, bool clamp = true)
{
int ret = (v... |
0b5591521935de84d2a977e835e7acb2e1f4b2d4 | C# | PMinkova/SoftUni-tasks-and-projects | /C# Programming Basics/17. Programming Basics Sample Exam - 24 November 2019/01/Problem01.cs | 3.40625 | 3 | using System;
namespace _01
{
class Program
{
static void Main(string[] args)
{
double moneyFoodforOneDay = double.Parse(Console.ReadLine());
double moneySouvenirsforOneDay = double.Parse(Console.ReadLine());
double moneyHotelForOneDay = double.Parse(Console... |
80ca6ff7e8629105cc5387f7131378929df7b403 | C# | lewismcg/BreakThoseBricks | /Assets/Scripts/LevelManager.cs | 2.640625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelManager : MonoBehaviour {
public GameObject[] bricks;
public int count = 0;
private GameManager gameManager;
public string FinishTime;
// Use this for initialization
void Start () {
}
// Update is called on... |
43a74eb500a533b868282bbfe37c4977d6abc740 | C# | PreciseNZ/GildedRose-Refactoring-Kata | /csharp/GildedRoseTest.cs | 2.609375 | 3 | using System.Collections.Generic;
using NUnit.Framework;
namespace csharp
{
[TestFixture]
public class GildedRoseTest
{
[Test]
public void BaseItem_WhenExpired_DecreasesByTwo()
{
var items = new List<Item> {new Item {Name = "Potion", SellIn = 0, Quality = 4}};
... |
30d86087a4eb2199b35bfedc72d5a6a7bb2de7c5 | C# | CodeDrivesUs/DurbanlockAssignment | /DurbanlockAssignment/Models/DocumentDbRepository.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
namespace DurbanlockAssignment.Models
{
public ... |
86a6b3cc94e1aa7e63eabdc880d54dd562a99bf0 | C# | Babelz/blackjack-sharp | /src/Blackjack-Sharp/Card.cs | 3.6875 | 4 | namespace Blackjack_Sharp
{
/// <summary>
/// Class that represents a standard French playing card defined by it's
/// suit and face.
/// </summary>
public sealed class Card
{
#region Properties
/// <summary>
/// Gets the face of the card.
/// </summary>
... |
d99af961a1949900bd184eeab7563dd48adcfbbd | C# | TheOnlyGithubEnjoyer/Quiz | /Program.cs | 3.296875 | 3 | using System;
WriteCentered("QUIZ (PRESS ENTER TO START)");
Console.ReadLine();
static void WriteCentered(string text)
{
// string text = "Hello world!";
int numberOfSpaces = Console.WindowWidth / 2 - text.Length /2;
int i = 0;
while (i < numberOfSpaces)
{
i++;
Console.Write(" ... |
cbb16578bff4801405b28a0e1a158468e1b71897 | C# | Birdistheword/BeeeHave | /BeeeHave/Assets/Scripts/Flower/FlowerSpawner.cs | 2.53125 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class FlowerSpawner : MonoBehaviour
{
[SerializeField] int xRange = 100;
[SerializeField] int yRange = 100;
[SerializeField] int xspawnDistance;
[SerializeField] int zspawnDistance;
[SerializeField] GameObject flowerSpawn... |
3f4ab2d825296d884e8e88d29082baeafe30e68c | C# | Leaktor/TetrisWinForm | /TetrisWinForm/Cell.cs | 3.25 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace TetrisWinForm
{
class Cell
{
int cellsize = 25;
int filledcellsize = 20;
int startpointy;
int startpointx;... |
f63bc4a19cf497db679b3b732a8ff2706c5c7747 | C# | shendongnian/download4 | /code5/803829-33040314-101460585-2.cs | 3.15625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Management.Automation;
namespace ExampleNameSpace
{
[Cmdlet(VerbsCommon.Get, "Something")]
[OutputType("PSCustomObject")]
public c... |
96ede70705bf50849b22c4ec8a176c0b610361a7 | C# | unzueta/guineu | /Source/Guineu.Runtime.Desktop/Functions/UPPER.cs | 2.671875 | 3 | using Guineu.Expression;
namespace Guineu.Functions
{
class UPPER : FunctionBase
{
override internal void Compile(Compiler comp)
{
GetParameters(comp, 1);
}
override internal Variant GetVariant(CallingContext context)
{
if (Param[0].CheckString(context, false))
return new Variant(VariantType.Cha... |
3d1656590e14f264d1ad6f5800c46ec8236d4a6f | C# | tungvodoi/Vtc-Freelancer | /Services/RequestService.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Vtc_Freelancer.Models;
namespace Vtc_Freelancer.Services
{
public class RequestService
{
private MyDbContext dbContext;
public RequestService(MyDbContext dbContext)
{
... |
2741b3872fe9c02095b165a4ff6e549b39057358 | C# | michaelmahung/Roguebeat | /RogueBeat/Assets/Scripts/Bosses/TileBoss/Tiles/TileAttacks/GridAttack.cs | 2.734375 | 3 | public class GridAttack : TileAttack
{
bool gridSwitch;
int totalLoops;
public override void Attack(TileController.OnAttackFinished listener, BossTiles[,] tiles)
{
allTiles = tiles;
_listener = listener;
tileGridSize = tiles.GetLength(0);
SetValues();
currentSta... |
b5a6ee8aedd5aa77b0936671b696c9abfc7f96a1 | C# | jeremiahflaga/simple-shape-REST-api | /ShapesApi/Shapes.Api/Controllers/Shapes/ShapeViewModelFactory.cs | 3.078125 | 3 | using Shapes.Domain.Model;
using Shapes.Domain.Model.Shapes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Shapes.Api.Controllers.Shapes
{
public static class ShapeViewModelFactory
{
public static ShapeViewModel CreateFrom(Shape shape)
... |
20ce44d0b6d884306552895bc7be8cb3ae527349 | C# | jgglg/Razor | /src/Microsoft.AspNet.Razor/TagHelpers/TagHelperDesignTimeDescriptor.cs | 2.546875 | 3 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Razor.TagHelpers
{
/// <summary>
/// A metadata class containing design time information about a tag helper.
/// ... |
743a85dca0f8da34a74f2b7770cc999ddf4175d9 | C# | NewVoxel/Project-Euler | /ProjectEulerSolutions/Problem005.cs | 4 | 4 | using System;
using System.Diagnostics;
namespace ProjectEulerSolutions
{
/// <summary>
/// 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
/// What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?
/... |
bccbb76853a8e9d50ba771a808b7bc611bd483bc | C# | Chillisoft/splunk4net | /source/splunk4net/StringExtensions.cs | 2.8125 | 3 | using System.Text.RegularExpressions;
namespace splunk4net
{
// kudos to mindplay.dk, http://stackoverflow.com/questions/188892/glob-pattern-matching-in-net
// provides a shim for simple glob matching to Regex
public static class StringExtensions
{
public static bool Like(this string str, stri... |
0271b76f8489a02c4f65032c37ef4ab1c17c13f5 | C# | carloscadena/Data-Structures-and-Algorithms | /Data-Structures/BinaryTree/BinaryTree/Classes/BinarySearchTree.cs | 3.625 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace BinaryTree.Classes
{
public class BinarySearchTree
{
public Node Root { get; set; }
public BinarySearchTree(Node node)
{
Root = node;
}
public int Search(int num)
{
... |
a5afdd61c017292e490da698aea9781c64ecaa77 | C# | shendongnian/download4 | /code9/1641938-46416703-156988145-2.cs | 2.859375 | 3 | public class MyColor{
public MyColor(string color, float maxSize){
Color = color;
MaxSize = maxsize;
}
public string Color { get; }
public float MaxSize { get; }
}
|
e1b1066c7cc3a00945eb590986aa6a24bf13b77a | C# | dotnetcore/Util | /src/Util.Core/Helpers/File.cs | 3.09375 | 3 | namespace Util.Helpers;
/// <summary>
/// 文件流操作
/// </summary>
public static class File {
#region ToBytes
/// <summary>
/// 流转换为字节数组
/// </summary>
/// <param name="stream">流</param>
public static byte[] ToBytes( Stream stream ) {
stream.Seek( 0, SeekOrigin.Begin );
... |
49b0c5590135dc3503ac4b5874e7f028b8918386 | C# | kaloqnkolev555/xml-generator | /src/KPMG.XmlGenerator.Core/Extensions/SqlDatabaseTypeSizeAttribute.cs | 2.890625 | 3 | namespace KPMG.XmlGenerator.Core.Extensions
{
using System;
/// <summary>
/// SqlDatabaseTypeSizeAttribute class
/// </summary>
/// <seealso cref="System.Attribute" />
[AttributeUsage(AttributeTargets.Property)]
public class SqlDatabaseTypeSizeAttribute : Attribute
{
private re... |
3f9322649355f7a086c8a828d1a8abb0d83d3f98 | C# | DmitryZinchenko/blog-WrappedHttpActionResult | /Acme.Web/Api/Controllers/CalcController.cs | 2.609375 | 3 | using System;
using System.Web.Http;
using Acme.Web.Api.Helpers;
using Acme.Web.Domain;
namespace Acme.Web.Api.Controllers
{
public class CalcController : ApiController
{
private readonly ICalcEngine _calcEngine;
public CalcController(ICalcEngine calcEngine)
{
... |
012223eb45814581da7efa8813a3bbba78698b60 | C# | slavisharper/DictionariesHashTablesAndSets | /Phonebook/TextReader.cs | 3.484375 | 3 | namespace Phonebook
{
using System.Collections.Generic;
using System.IO;
public class TextReader
{
private StreamReader reader;
private List<string> textLines;
private string path;
public TextReader(string path)
{
this.path = path;
}
... |
9c5d16ea1017096e3ce798c8abf8f36ef771fbfe | C# | AtiBahrani/CompareIT | /Blazor Tier I/Blazor Tier I/WebApplication/Data/Wishlist.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication.Data
{
public class Wishlist
{
public Wishlist()
{
AddWish (new UserWish { ID = "claire", Title = "Claire", URL = "the link is that" });
}
publi... |
9fdf4144cdbdf9fe5b6c934398fcb6522217fcc0 | C# | rtstreinamentos/git-remote-add-origin-https---github.com-renatoadsumus-aplicacao | /Reference/DynamicData/Futures/Attributes/.svn/text-base/LocalizedDisplayNameAttribute.cs.svn-base | 2.578125 | 3 | using System.ComponentModel;
using System;
namespace Microsoft.Web.DynamicData {
public class LocalizedDisplayNameAttribute : DisplayNameAttribute {
private ResourceProxy ResourceProxy { get; set; }
public LocalizedDisplayNameAttribute(Type resourceManager, String resource)
: base("Ne... |
22cf5ef7ef0be09b232678d300a5099b094c2de5 | C# | flame78/TelerikAcademy | /HQC/Exam/Computers-problem/Computers.Tests/Computers.Motherboar.SquareNumber.Test.cs | 2.703125 | 3 | namespace Computers.Tests
{
using System;
using Computers.Lib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
var vc = new Mock<IVideoCard>();
st... |
29d2d996a06952fa073bee81d875495de2f1be9b | C# | FooKittens/Team_Practice | /Teamcollab/Teamcollab/Engine/WorldManagement/Cluster.cs | 2.5625 | 3 | using Teamcollab.Engine.Helpers;
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Teamcollab.Resources;
using System.Runtime.InteropServices;
namespace Teamcollab.Engine.WorldManagement
{
public enum ClusterType : byte
{
Undefined = 0,
Evergreen,
}
[Seriali... |
25cd55cd06faf05e41075baf08f451bcdd64cf35 | C# | espermichael/quadratic | /Program.cs | 3.859375 | 4 | using System;
namespace quadratic
{
class Program
{
static void Main(string[] args)
{
//opening statement
Console.WriteLine("Solve the roots of a quadratic, Ax^2 + Bx + C = 0");
//collect values of A, B, and C
Console.WriteLine("Enter value of A:... |
e1566e73578f0c8b44c27f8228ada9f58dd04aa8 | C# | take91/csharp | /HelloWorld/Test3/Program.cs | 3.1875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test3
{
class Program
{
static void Main(string[] args)
{
int sum = 0;
for (int i = 0; i < 10; i++)
{
Console.Writ... |
2cf43f8b4986f2621077c9aa7191eacf21728370 | C# | muraczewski/Trainings | /RestApiCoreTrainings/Common/Exceptions/HttpCustomException.cs | 2.828125 | 3 | using System;
namespace Common.Exceptions
{
public class HttpCustomException : ApplicationException
{
public int StatusCode { get; }
public HttpCustomException(int statusCode) : this("Problematic status code", statusCode)
{
}
public HttpCustomException(string message,... |
f2781ae0ef94ed53143a2ac8e0a08feeb806e867 | C# | tecsun-chenjiayin/YT-2020-02-27-2_new | /YTH/Functions/TimeTag.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YTH.Functions
{
/// <summary>
/// 时间标记
/// </summary>
class TimeTag
{
private string tag = "";
public string updateTag()
{
tag = GetTime();
return tag;
... |
db654e15776b9a2fdc7c66c7a3aa9b8b63956006 | C# | Brixel/QuizMaster | /QuizMaster.Shared/Exceptions/NotFoundException.cs | 2.578125 | 3 | using System;
using QuizMaster.Shared.Models.Base;
namespace QuizMaster.Shared.Exceptions
{
public class NotFoundException<T> : Exception where T : Model
{
public int IdNotFound { get; set; } = -1;
public NotFoundException()
{
}
public NotFoundException(string ... |
43c1fc643be6040792335d08107997844b94027c | C# | shendongnian/download4 | /latest_version_download2/247783-56243164-198181708-2.cs | 2.625 | 3 | var controller = new ValuesController();
controller.Configuration = new System.Web.Http.HttpConfiguration();
controller.Request = new System.Net.Http.HttpRequestMessage();
var result = controller.Get(1);
var response = result.ExecuteAsync(new System.Threading.CancellationToken());
St... |
dfc6a78ee7e138e2f3f805e525e9b18754f7665c | C# | amcp9/ForestShooter | /Server/Shooter_Server/Stats/BaseStat.cs | 3.015625 | 3 | using System;
using System.Collections;
using System.Linq;
using System.Collections.Generic;
using Common;
namespace War_Server.Stats
{
public class BaseStat
{
public List<StatBonus> BaseAdditives { get; set; }
public BaseStatType StatType{ get; set; }
public int BaseValue{ get; set; }
... |
7487d7c5bf87138f50413ab418b4a496d6a5cfc3 | C# | linsen1983/adobe-pdf-library-samples | /DotNET/Sample_Source/ContentCreation/MakeDocWithICCBasedColorSpace/MakeDocWithICCBasedColorSpace.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Datalogics.PDFL;
/*
* This sample demonstrates creating a file containing an ICC-based color space.
*
* For more detail see the description of the ColorSpace sample programs on our Developers site,
* http://dev.datalogics.co... |
3dd5a6b40d6dfcda5e48cd3ba21451f01c94f5e9 | C# | Toocanzs/Mooncord-Game-Jam-2020 | /Assets/Scripts/Entities/HealthComponent.cs | 2.921875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthComponent : MonoBehaviour
{
public delegate void OnHealthChange(int difference);
public OnHealthChange on_health_change;
public int max_health;
private int current_health;
public int Health {
... |
4aef5b0d33a4fbf72e2aa0b80810a59fd469ef31 | C# | cucumber/gherkin | /dotnet/Gherkin/Ast/Scenario.cs | 2.515625 | 3 | using System.Collections.Generic;
namespace Gherkin.Ast
{
public class Scenario : StepsContainer, IHasTags
{
public IEnumerable<Tag> Tags { get; private set; }
public IEnumerable<Examples> Examples { get; private set; }
public Scenario(Tag[] tags, Location location, string key... |
7f2260a4ed2dbf10cd87c48311fa181539fb5590 | C# | alexander-t/swss | /Assets/Scripts/PulseLight.cs | 3.046875 | 3 | using System.Collections;
using UnityEngine;
/**
* Pulses a light by modifying its intensity.
*/
[RequireComponent(typeof(Light))]
public class PulseLight : MonoBehaviour
{
public float waitTime = 0.1f;
private bool pulsingUp = true;
private new Light light;
public void Awake()
{
... |
0e1d29a2ea3a392533fcecc8a58552e506fdbd90 | C# | bearinarmor/TestPlayer | /TestPlayer/MusicSource.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
namespace TestPlayer
{
public class MusicSource
{
private List<Music> Music = new List<Music>();
private int CurrentSongIndex=0;
private void GetSongNameAndUrl(string SongUrl)
... |
f076436fb7ac0055d8cfd849e719a6e00b0de898 | C# | sadipgiri/3D-Models | /Form1/Form1/Form1.cs | 2.75 | 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 Form1
{
public partial class Form1 : Form
{
public Form1()
{
... |
46433813338743865d462c61333a4187432ace83 | C# | nidza0/HealthCareSystem | /SIMS/Repository/CSVFileRepository/Csv/Converter/HospitalManagementConverter/TimeTableConverter.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SIMS.Model.UserModel;
using SIMS.Util;
namespace SIMS.Repository.CSVFileRepository.Csv.Converter.HospitalManagementConverter
{
class TimeTableConverter : ICSVConverter<TimeTable>
{
... |
b40f2f0a75b96307c122204460e83a12d26acfa4 | C# | horker/pscntk | /source/Horker.PSCNTK/MsgPack/MsgPackSerializer.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using MsgPack.Serialization;
namespace Horker.PSCNTK
{
public class MsgPackSerializer
{
private static Dictionary<string, Tuple<float[], int[]>> ConvertToSerializableObject(DataSourceSet ds... |
f887d2522069d14687c5a5c40ddc31ca1fb64da8 | C# | zhyt1985/slowandsteadyparser | /SlowAndSteadyParser/VBAEngine/Utl/PerformanceBalance.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Threading;
namespace SlowAndSteadyParser
{
public class Balancer : IDisposable
{
//PerformanceCounter
private PerformanceCounter m_pc = null;
//希望保持的CPU占用率
pri... |
c58a00d1e65bfd5efa62e6a302c8c5e4af2bdcfe | C# | lsikkes/HealthInformatics1 | /Visual Studio - Map/Visualizer/Visualizer/Surroundings/Tree.cs | 3.0625 | 3 | // <copyright file="Tree.cs" company="HI1">
// Copyright © 2016
// </copyright>
// <summary></summary>
// ***********************************************************************
namespace Visualizer.Surroundings
{
using System.Windows.Media;
using System.Windows.Shapes;
/// <summary>
/// Class T... |
70d0fd43f69d7b5561b38a61c5dee2ce6c06e5c4 | C# | myangmi/Sales501 | /Individual Submissions/PA2 CIS 501 Brandon Shaver/CIS 501 project 1/Item.cs | 3.40625 | 3 | using System;
namespace CIS_501_project_1
{
public struct Item
{
// Constructors:
public Item(string name, int id, double cost, string description = "") : this()
{
Name = name;
ID = id;
Cost = cost;
Description = description;
}
... |
ef660f025576208e7e37f692d9f646a9928b359f | C# | hanbo1904/1612.netA- | /HospitalScheds/HospitalScheds.Serverce/VacationServerce.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HospitalScheds.IServerce;
using HospitalScheds.Model;
using Microsoft.EntityFrameworkCore;
namespace HospitalScheds.Serverce
{
//public class VacationServerce : IVacationServerce
//{
// DataContext db = new Dat... |
8661ae2ba48c2a6f519cc4f1cd0347231715d633 | C# | SAGARPATWAL/VirtualChemistry | /ExternalResources/Apparatuses/Chemical.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExternalResources.Apparatuses
{
public abstract class Chemical
{
protected double _volume;
protected string _chemicalName;
private string _experiments;
... |
740ce4d5c261b511ebcd1b7b7d2be7ae8563fd79 | C# | Shal1928/useabilities | /UseAbilities/UseAbilities.WPF/Converters/TimeSpanToDateTimeConverter.cs | 2.75 | 3 | using System;
using System.Globalization;
using System.Windows.Data;
using UseAbilities.WPF.Converters.Base;
namespace UseAbilities.WPF.Converters
{
[ValueConversion(typeof(TimeSpan), typeof(DateTime))]
public class TimeSpanToDateTimeConverter : ConverterBase<TimeSpanToDateTimeConverter>
{
... |
1895e7690919eaa057176b5cb857c8c4588a7a7b | C# | avaneszdes/RazorUdpChat | /RazorUdpChat/MessageManager.cs | 2.90625 | 3 | using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace RazorUdpChat
{
public class MessageManager: IDisposable
{
private readonly UdpClient _updClient;
private readonly IPEndPoint _interlocutorEndpoint;
public MessageManage... |
3b5d324c87c8c5bea6135f10262385af5571020e | C# | shankarpratap/yuwahack2017 | /yuwa/OneWebApp/OneWebApp/Models/StudentDetail.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace OneWebApp.Models
{
public class StudentDetail
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string NickName { get; se... |
67eac094b98e26db0d7e45c118d928c246c28acd | C# | Zrp200/SharpExtensions | /SharpExtensions45.Tests/DateTimeExtensionsTests.cs | 2.5625 | 3 | using System;
using NUnit.Framework;
namespace SharpExtensions.Tests
{
[TestFixture]
public class DateTimeExtensionsTests
{
[Test]
public void FromUnixTime()
{
var dateTime = 100L.FromUnixTime();
Assert.IsTrue(dateTime == new DateTime(1970, 1, 1, 0, 1, 40, D... |
87eb3bdb05b7e3c902baedbabac8ac255ab7a06b | C# | reallyfancy/unity-fmod-examples | /UpdateEventParameterWithKeyPresses.cs | 3.390625 | 3 | using UnityEngine;
using FMODUnity;
// This is a simple example of how to update a parameter of your FMOD event using scripting.
// In this example we increase the value of the parameter every time the space bar is pressed.
// Instructions for use:
// 1. Place this script on the same GameObject as the StudioEventEmi... |
261723b700d20f99c61d88d23c5c0b2ea6ead2f2 | C# | mathjeff/SCGSim | /Hearthstone/HearthstoneReferee.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Knows the rules of Hearthstone
namespace Games
{
class HearthstoneReferee : Referee
{
public HearthstoneReferee()
{
this.StartingHealth = 30... |
01eb4b770daf5287eb7924af68660c1862d90811 | C# | BobbyWeaver2015/SuperConfig | /exporter/exporter/ExporterCS.cs | 2.734375 | 3 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NPOI.SS.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
namespace exporter
{
public static partial class Exporter
{
s... |
72d1bb40b3958b33b390793b3484d725cf832db9 | C# | nkyurkchiyski/Calculator | /Calculator/Calculator.App/Commands/Memory/RetrieveMemoryCommand.cs | 2.8125 | 3 | using Calculator.App.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace Calculator.App.Commands.Memory
{
public class RetrieveMemoryCommand : ICommand
{
private IMemoryController memoryController;
public RetrieveMemoryCommand(IMemoryController memoryContro... |
ac7fa3910c0c14f452aaf854613b8348c5eb57b3 | C# | VicenzoMartinelli/seisicite-api | /Application.Api/Messages/IdentityErrorDescriber.cs | 2.53125 | 3 | using Domain.Core.Enumerators;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
namespace Application.Api.Messages
{
public class PersonalIdentityErrorDescriber : Microsoft.AspNetCore.Identity.IdentityErrorDescriber
{
private IdentityError GetErrorByRetur... |
5e45dd8aeca46325d986b6d1d5ec2b4bb466c2f2 | C# | scopely/leaderboard-csharp | /Leaderboard/Redis/RedisConnectionManager.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BookSleeve;
namespace Leaderboard.Redis
{
public class RedisConnectionManager : IRedisConnectionManager
{
private volatile RedisConnection _connection;
private readonly object _connectionLock = new obje... |
6f6869ac80078ec07e4dcb20601ca553dc384c3f | C# | joecamp/Tactical-RPG | /Assets/Scripts/Utilities.cs | 2.890625 | 3 | public static class Utilities {
public static float Normalize (float val, float min, float max) {
return (val - min) / (max - min);
}
} |
ce581111d658286d515bb750cf03ddfb560082d3 | C# | lanicon/sharpneat-refactor | /src/SharpNeat/Graphs/IActivationFunctionLibrary.cs | 2.59375 | 3 | /* ***************************************************************************
* This file is part of SharpNEAT - Evolution of Neural Networks.
*
* Copyright 2004-2020 Colin Green (sharpneat@gmail.com)
*
* SharpNEAT is free software; you can redistribute it and/or modify
* it under the terms of The MIT License (M... |
e4b9cb5e24aa46dc266f1caab2d77e0e9ef4ca86 | C# | mattorus/CodingPatterns | /ListNode.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace CodingPatterns
{
public class ListNode
{
public int Val { get; set; }
public ListNode Next { get; set; }
public ListNode(int val = -1, ListNode next = null)
{
Val = val;
Next =... |
d2b7f60b8e8bc4f25d74bb3d417f31cba30b64d1 | C# | venkidamon/CSharp_EntityFramework_MSSQL_WebApplication | /CarPoolingV1/Repository/RideRepository.cs | 2.890625 | 3 | using CarPool.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity.Validation;
using System.Linq;
using System.Web;
namespace CarPool.Repository
{
public class RideRepository : IRideRepository
{
private RideDbContext db;
public RideRepository(RideDbConte... |
ab28810e1dea9eb0388c7572a8d4203c55e9b093 | C# | Taqmuraz/2D_Engine_Full | /2DEngine/Game/Rendering/TextRenderer.cs | 2.828125 | 3 | namespace _2DEngine.Game
{
public sealed class TextRenderer : Renderer
{
protected override int queue => int.MaxValue;
protected override bool isActive => true;
public string text { get; set; } = "New Text";
public Color32 color { get; set; } = new Color32(1f, 1f, 1f, 1f);
public Vector2 screenSpacePositi... |
3c1c99abe15d17cd83a544a394c4550ad15418e3 | C# | Zealdequar/tvprogviewer | /src/TVProgViewer/Classes/Statics.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using TVProgViewer.TVProgApp.Dialogs;
using TVProgViewer.TVProgApp.Logger;
using TVProgViewer.TVProgApp.Properties;
namespace TVProgViewer.TVProgApp.Classes
{
static ... |
91fab6d34c34531f7d8f319f8febc413cab45d0f | C# | ComputationalReflection/StaDyn | /Wrong Test Cases/KnownIssues/Partially.Fixed.Unboxing.ObjectAttr.cs | 3.140625 | 3 | using System;
namespace Boxing.CastExpression
{
public class Program
{
public object attr;
public static void Main(string[] args)
{
Program p = new Program();
p.attr = 220;
//Causes a silent error. Condition is false ('unbox.any int32' missing aft... |
5138a54c35c37da16d2dbdf5d62e86592fd2df22 | C# | AbrahamMolleda/ProyectoRedesTercerParcial | /Controllers/AlumnosControllers.cs | 2.546875 | 3 | using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Alumnado.Models;
using Alumnado.Data;
namespace Alumnado.Controllers
{
//api/alumnos
[Route("api/alumnos")]
[ApiController]
public class AlumnosControllers : ControllerBase
{
private readonly IAlumnadoRepo _repository;
... |
c73d74df68050cd6a139cdbdbb527d5004760368 | C# | Juchnowski/TheCommonLibrary | /TCL.Extensions.Tests/MathTests.cs | 2.734375 | 3 | using NUnit.Framework;
using System;
using TCL.Extensions;
namespace TCL.Extensions.Tests
{
[TestFixture]
public class MathTests
{
[TestCase("2.3000000E-2", 0.023)]
[TestCase("2.3E2", 230)]
[TestCase("2.453E-5", 0.00002453)]
public void ConvertFromStringValid(string input, ... |
761d82bffa15a067c86aa7881fe31a8cc51f217e | C# | umardev0/FabLabReservationSystem | /client/PWPClient/PWPClient/RESTfulHandler.cs | 2.828125 | 3 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PWPClient
{
public class Users
{
}
public class RESTfulHand... |
fce2b5323e3e3a6e637570ed7a01e9a04eb635f1 | C# | phanvanthong/NNLT | /AutomataLib/State.cs | 2.875 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace AutomataLib
{
public class State : BaseMouseHandler, Selectable
{
int _X, _Y;
int _mouse_dx, _mouse_dy;
List<Transition> _transiti... |
9dbdbd5bfea17053e416c3b8fcc6ba8f137c7bc9 | C# | sjarske/Forum1 | /DAL/UserSQLContext.cs | 2.734375 | 3 | using DAL.Interface;
using Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Text;
namespace DAL
{
public class UserSQLContext : IUser
{
private readonly string _connectionString = @"Server=mssql.fhict.local;Database=dbi389621_forum;Us... |
c21cf6c076ac6c6f5f04221fb9841a4378d3d065 | C# | andreysamsykin/WeatherDiary | /Result.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Windows.Forms;
using System.Linq;
namespace WeatherDiary
{
public partial class Result : Form
{
public Result(GenerateDiary form)
{
... |
aab56c95bba148df3d6524a9227d59f942f4732d | C# | mwoden/ChopshopSignin | /ChopshopSignin/Person.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Text.RegularExpressions;
namespace ChopshopSignin
{
sealed internal class Person : IEquatable<Person>
{
public enum RoleType { Invalid, Student, Mentor }
publ... |
8cffcb98a3ccfce8b9e61c15b222898731a0a14e | C# | Bojidarist/RemoteController | /RCDesktopUI/ValueConverters/IntToVisibilityConverter.cs | 3.203125 | 3 | using System;
using System.Globalization;
using System.Windows;
namespace RCDesktopUI.ValueConverters
{
public class IntToVisibilityConverter : BaseValueConverter<IntToVisibilityConverter>
{
/// <summary>
/// Converts integer value to visibility (0 = Collapsed, 1 = Hidden, 2 = Visible)
... |
754bdca056d4541d103eb9e450b6bf77bcdaa862 | C# | jxnkwlp/DotnetSpiderLite | /src/DotnetSpiderLite.HtmlAgilityPack/PageExtensions.cs | 2.546875 | 3 | //using DotnetSpiderLite;
//using HtmlAgilityPack;
//using System;
//namespace DotnetSpiderLite.HtmlAgilityPack
//{
// public static class PageExtensions
// {
// //public static HtmlDocument ToHtmlDocument(this string html)
// //{
// // var doc = new HtmlDocument();
// // doc.... |
518b5723dd75fec6dfb4555d8d320e503fa14e3e | C# | C-Kennelly/HaloSharp | /Source/HaloSharp/Model/HaloWars2/Metadata/CampaignLog/CampaignLog.cs | 2.734375 | 3 | using System;
namespace HaloSharp.Model.HaloWars2.Metadata.CampaignLog
{
[Serializable]
public class CampaignLog : IEquatable<CampaignLog>
{
public int Id { get; set; }
public bool Equals(CampaignLog other)
{
if (ReferenceEquals(null, other))
{
... |
abb293121fb41f7c663712afabeeefaea51c309d | C# | hevey/Sharpie | /src/Sharpie/Models/Elements/Head.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
namespace Sharpie.Models.Elements
{
public class Head : HtmlElement
{
public Head()
{
AllowedSiblingTypes = new List<Type>
{
typeof(Body)
};
}
public override string? Render()
... |
daa28eca97cd37a324918d3c63a0cbc403e4a516 | C# | vophiminhhieu/__VoPhiMinhHieu__ | /Source/Test_C_sharp_Co_Ban/Test_C_sharp_Co_Ban/Program.cs | 3.21875 | 3 | using System;
/// VÕ Phi Minh Hiếu. Thời gian kết thúc 11:00
// Các tính năng chưa có: GUI đẹp
// Xử lý đầu vào chưa hiệu quả, ví dụ nhập số thực nếu nhập tùm lum thì bug
// Chỉ có 4 tính năng cộng trừ nhân chia
namespace Test_C_sharp_Co_Ban
{
class Program
{
... |
af233db20c60d72d685262ec4c2b45e531e4b1dd | C# | scriptorum/LD38 | /Assets/Scripts/BombManager.cs | 2.59375 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Spewnity;
public class BombManager : MonoBehaviour
{
public GameObject bombPrefab;
public List<GameObject> bombs;
private Vector2 guide;
private float spacing = 10f;
public void Awake()
{
guide = transform.Find("BombGuide")... |
e605ed22ca4f05490b317e8a4ec5e104ed1a391f | C# | rita0222/FK | /CLI/2017/Test/FK_CLI_Audio/Audio.cs | 2.609375 | 3 | using System;
using FK_CLI;
namespace FK_CLI_Audio
{
class Program
{
static void Main(string[] args)
{
// マテリアル初期化
fk_Material.InitDefault();
// ウィンドウの各種設定
var win = new fk_AppWindow();
WindowSetup(win);
... |
026018a599b92e076b329cf74ee2486d70105af1 | C# | EntangledBits/mui | /1.0/FirstFloor.ModernUI/FirstFloor.ModernUI/Presentation/CommandBase.cs | 3.1875 | 3 | using System;
using System.Windows.Input;
namespace FirstFloor.ModernUI.Presentation
{
/// <summary>
/// The base implementation of a command.
/// </summary>
public abstract class CommandBase
: ICommand
{
/// <summary>
/// Occurs when changes occur that affect whether or no... |
950b741081030344be758200d2a932ffb861754c | C# | MinhTranCA/FarNet | /Zoo/FarNet.Tools/SubsetForm.cs | 2.890625 | 3 |
// FarNet.Tools library for FarNet
// Copyright (c) Roman Kuzmin
using System;
using System.Collections.Generic;
using FarNet.Forms;
namespace FarNet.Tools
{
/// <summary>
/// A form to select an ordered subset from a set of input items.
/// </summary>
/// <remarks>
/// Create the form, set its <see cref="Item... |