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 |
|---|---|---|---|---|---|---|
f540ac66b95f6cb42d9a92875d6d40c0a6d98340 | C# | takepara/RazorDoIt | /RazorDoIt/Data/SiteRepository.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Database;
using System.Data.Entity.Infrastructure;
using System.Linq;
using RazorDoIt.Data.EfCodeFirst;
using RazorDoIt.Models;
namespace RazorDoIt.Data
{
public interf... |
3caac7b4a3300c770e1588e1b2f494b338e11eab | C# | Sora2455/Sora-s-Nerd-Den | /Testing/ConcurrentDictionaryOfCollectionsTests.cs | 2.59375 | 3 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Concurrency;
//using Microsoft.Concurrency.TestTools.UnitTesting;
//using Microsoft.Concurrency.TestTools.UnitTesting.Chess;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assert = Microsoft.Concurrency.TestTools... |
07353a497abdf36a8d979c6dc7a751097afb7852 | C# | FubuMvcArchive/FubuCsProjFile | /src/FubuCsProjFile/MSBuild/MSBuildItemGroup.cs | 2.515625 | 3 | using System.Collections.Generic;
using System.Xml;
namespace FubuCsProjFile.MSBuild
{
public class MSBuildItemGroup : MSBuildObject
{
private readonly MSBuildProject parent;
internal MSBuildItemGroup(MSBuildProject parent, XmlElement elem)
: base(elem)
{
... |
d872438a48f241c16f10c72868e6cf46f0676510 | C# | Vick-edit/InsuranceTestServer | /ServiceCore.Tests/AutoMockingContainer.cs | 2.609375 | 3 | using SimpleInjector;
using System;
using Moq;
namespace ServiceCore.Tests
{
public class AutoMockingContainer
{
public static Container GetNew()
{
var container = new Container();
container.ResolveUnregisteredType += ResolveUnregisteredType;
return containe... |
9ccef22baadf6c6b7c5f52545d1304e7bcb3b944 | C# | CrimsonScythe/su19-kkk | /SU19-Exercises/Galaga-Exercise-2/Player.cs | 2.828125 | 3 | using System.Collections.Generic;
using System.IO;
using System.Net;
using DIKUArcade.Entities;
using DIKUArcade.EventBus;
using DIKUArcade.Graphics;
using DIKUArcade.Math;
namespace Galaga_Exercise_2 {
public class Player : IGameEventProcessor<object> {
public Entity Entity { get; private set; }
... |
adc2a1126a91dfdd65af63b5684f5442c4af541a | C# | e310905-Saimia/digitrade-test-2019 | /IfTasks/IfTask32/IfTask32/Program.cs | 3.28125 | 3 | using System;
namespace IfTask32
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Ohjelma laskee N lukujen summan");
Console.Write("Syötä luku: ");
int userInput = int.Parse(Console.ReadLine());
Console.WriteLine("FOR -----... |
0eabfed26531140e75451e82c96dd2a66683e3a6 | C# | PaulMcPhee79/AwesomePirates-Win-Xbox360 | /AwesomePirates/src/Audio/SfxChannel.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Media;
using System.Diagnostics;
namespace AwesomePirates
{
class SfxChannel : IDisposable
{
public SfxChannel(SoundEffectInstance instance, float volume = 1f, float masterVolume = 1f)
... |
f6eddf2625a8a3d86be9daac6ccac8d87f7de7cf | C# | Harksa/Ludum-Dare-44 | /Assets/Scripts/ObjectPool.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class ObjectPool : MonoBehaviour {
[SerializeField] private List<GameObject> _objectList;
[SerializeField] private GameObject _gameObject;
[SerializeField] private int totalObjectInPool;
private... |
33362ee5485759172d1f6a072376373b49791d4e | C# | YaniStaykov/DavidAcademy | /DavidAcademy/28.SoftwareAcademy/Models/Academy.cs | 3.3125 | 3 | namespace _28.SoftwareAcademy
{
using System.Collections.Generic;
public class Academy
{
public Academy(string name)
{
this.Name = name;
Students = new List<Student>();
Courses = new List<Course>();
}
public string Name { ge... |
74dad60d55aae20e27a052edd13fe801054158bf | C# | GhostBusterPL/ShelterInzynierka | /ShelterInzynierka/ValueConverters/OnlyYearMonthDay.cs | 2.53125 | 3 | using Renci.SshNet.Messages;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace ShelterInzynierka.ValueConverters
{
class OnlyYearMonthDay : IValueConverter
{... |
02bf43dbf7ab39fcbc9ccda0002cf61f9bbd3c70 | C# | devilheaven/smapi-mod-dump | /source/~Mizzion/PetWaterBowl/PetWaterBowl/PetWaterBowl.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using SObject = StardewValley.Object;
namespace PetWaterBowl
{
public class PetWaterBowl : Mod
{
private Config _config;
private bool de... |
938123da8ce21e9e0cdcef8ed92a506ac34c70ed | C# | seangwright/talks-framework-features-anti-pattern-demos | /ASPNETCoreMVC.FeatureFocus.Web/Features/Customers/EcommerceContext.cs | 2.53125 | 3 | using Microsoft.AspNetCore.Http;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace ASPNETCoreMVC.FeatureFocus.Web.Features.Customers
{
public class EcommerceContext : IEcommerceContext
{
private readonly ICustomerRepository repository;
private readonly int? currentCustom... |
d4f8d4fb2ce2ef4d5c958c9f9be716a612475a8c | C# | RauhoferE/SnakeInSignalR | /NetworkLibrary/EventArgs/ClientSnakeMovementEventArgs.cs | 2.703125 | 3 | //-----------------------------------------------------------------------
// <copyright file="ClientSnakeMovementEventArgs.cs" company="FH Wiener Neustadt">
// Copyright (c) Emre Rauhofer. All rights reserved.
// </copyright>
// <author>Emre Rauhofer</author>
// <summary>
// This is a network library.
// </summary... |
afc8ad414d9360a6c3e2d7fdb7a00e94d7c5fc15 | C# | vebin/NewPOS | /stockitem.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace NewPOS
{
public class stockitem
{
public int amountsold, currentstock;
summaryreportTableA... |
41f84b83d0d7a84d1a8d303ef1fcf31dc79eaf45 | C# | zhoujunxian/CSharpHomework | /homework4/program2/OrderService.cs | 2.921875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace program2
{
public class OrderService
{
public void AddOrder(string OrderNum , string OrderName,string OrderBuyer )
{
Order.OrderNum.Add(OrderNum);... |
07778cf2d423218a07ffb39e1ce7f2a1a0d5b30a | C# | chris11kgf/Anvil | /Project_Anvil/Assets/_scripts/Utility/ReadLocationFile.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO;
using Mapbox.Geocoding;
using System.Text;
using Mapbox.Json;
using Mapbox.Platform;
using Mapbox.Utils.JsonConverters;
using Mapbox.Utils;
using Mapbox.Unity;
public class ReadLocationFile : MonoBehaviour
{
... |
5032a15ee4ca5d5d113bebb6646712d5d6ddcdca | C# | johngt66/CodeKatas | /JT.CodeKataClasses/BuildTower.cs | 3.09375 | 3 | using System;
public class BuildTower
{
public static string[] TowerBuilder(int nFloors)
{
string[] tower = new string[nFloors];
for(int i = 0; i < nFloors; i++)
tower[i] = $"{new string(' ',nFloors-i-1)}{new string('*',(i+1)*2-1)}{new string(' ',nFloors-i-1)}";
return towe... |
845b61ba6492def1dc4435e08b387d20a067d823 | C# | nfsiam/OnlineBusTicketBookingSystem | /Backend/OnlineBusTicketBookingSystem/Controllers/ReportController.cs | 2.546875 | 3 | using OnlineBusTicketBookingSystem.Attributes;
using OnlineBusTicketBookingSystem.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace OnlineBusTicketBookingSystem.Controllers
{
[RoutePrefix("api/reports"),BasicA... |
7dc8cda6aa321b8943c0b4c94b56944fc06fdaba | C# | xuzhg/Moutain | /SupermarketManagement/UseCases/RecordTransactionUseCase.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UseCases
{
public class RecordTransactionUseCase : IRecordTransactionUseCase
{
public RecordTransactionUseCase(
ITransactionRepository transactionRepository,
... |
a53a01e41e7529df699f935372073b34ceac6e40 | C# | InVale/ManuMilitari | /Assets/Scripts/Manager/AnimationManager.cs | 2.53125 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnimationManager : MonoBehaviour
{
public static AnimationManager Instance;
List<AbilityTickable> _abilitiesToTick = new List<AbilityTickable>();
void Awake()
{
if (Instance)
... |
5e9c5f6fe9c2b51f5dc5c9ec3f7f9a03fa89d62b | C# | diffix/explorer | /src/explorer/Queries/ColumnProjections/DatetimeProjection.cs | 2.921875 | 3 | namespace Explorer.Queries
{
using System;
using System.Text.Json;
public class DatetimeProjection : ColumnProjection
{
private readonly string dateInterval;
private readonly Random rng = new Random();
public DatetimeProjection(string column, int index, string dateInterval)
... |
df72396fe34f5d9761105594b879d4438c50972d | C# | Chimnii/Algospot | /Problems/Programmers/Lv2.70129.cs | 3.640625 | 4 | using System;
using System.Linq;
public class Solution
{
public string int_to_binary(int one)
{
string s = "";
while(one > 0)
{
s += (one % 2 == 0 ? 0 : 1);
one /= 2;
}
return new string(s.Reverse().ToArray());
}
public int[] solution(stri... |
da9cb8cceb4ed2b8831dac83a81929797f1ce8d3 | C# | wei772/Lync | /Lync/Kiosk/Converters/LyncPresenceTextConverter.cs | 2.609375 | 3 | /* Copyright (C) 2012 Modality Systems - All Rights Reserved
* You may use, distribute and modify this code under the
* terms of the Microsoft Public License, a copy of which
* can be seen at: http://www.microsoft.com/en-us/openness/licenses.aspx
*
* http://www.LyncAutoAnswer.com
*/
using System;
using System.... |
c0881ab2e6a5f8d3cfe314a395029680ee700470 | C# | Phoenix-Game/ValheimMP | /ValheimMP/Framework/Extensions/PrivateAreaExtension.cs | 2.671875 | 3 | namespace ValheimMP.Framework.Extensions
{
public enum PrivateAreaAllowMode
{
Private = 0,
Clan = 1 << 0,
Party = 1 << 1,
Both = Clan | Party,
}
public static class PrivateAreaExtension
{
public static PrivateAreaAllowMode GetAllowMode(this PrivateArea pri... |
bc94352f07a39f3e32be9138b0b884aeeea9234e | C# | kontax/ListToolbox | /BIApps.ListToolbox.WpfFrontend/ViewModel/MergeViewModel.cs | 2.609375 | 3 | using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using BIApps.DialogService;
using BIApps.ListToolbox.ListHelpers;
using BIApps.ListToolbox.ListHelpers.Operators;
using BIApps.ListToolbox.ListHelpers.Savers;
using BIApps.ListToolbox.WpfFrontend.Helpers;
using GalaSoft.MvvmLight.CommandWpf;
... |
c907aa95c09d2fcf96b82e9ae385ba59a4914f3e | C# | fengjixuchui/AssemblyDefender | /src/AssemblyDefender.Net/Fusion/AssemblyEnumerator.cs | 2.515625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AssemblyDefender.Common;
namespace AssemblyDefender.Net.Fusion
{
public class AssemblyEnumerator : IEnumerable<AssemblyName>, IEnumerator<AssemblyName>
{
#region Fields
private AssemblyName _cu... |
34c410190c5911138a76e01a57d6650794c2a3e5 | C# | JaredsRydalch/DemonicPursuit | /Book of the Dead/Form1.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Book_of_the_Dead
{
public partial class Form1 : Form
{
public string name;
public Form1()
{
... |
0dd53c98cbc877b8853931a3038c9de2bd02fe11 | C# | kleevs/user-manager-api | /src/Tool/Security/Hasher.cs | 2.78125 | 3 | using System.Security.Cryptography;
using System.Text;
namespace Tool
{
public class Hasher : IHasher
{
private SHA256 _SHA256;
public Hasher()
{
_SHA256 = SHA256.Create();
}
public string Compute(string text)
{
return System.Convert.ToB... |
d606b26e7ad07cd83bed1cdbf30fc9ac658e188e | C# | deadbatterygames/system-fault | /Assets/Scripts/Combat/Explosion.cs | 2.546875 | 3 | using System.Collections;
using UnityEngine;
//
// Explosion.cs
//
// Author: Eric Thompson (Dead Battery Games)
// Purpose: An explosion that damages anything in a certain radius
//
public class Explosion : MonoBehaviour {
const float DAMAGE = 250f;
const float FORCE = 100f;
float damageRadius;
v... |
a50a50bf0c2201da2c150bbb8d0366940193ba38 | C# | mattdoller/RandomData | /RandomData/Categories/RandomLocation.cs | 2.765625 | 3 | using System;
using RandomData.Data;
using RandomData.Extensions;
using RandomData.Generators;
namespace RandomData.Categories
{
public class RandomLocation : RandomCategoryBase
{
public RandomLocation(IRandomGenerator random)
: base(random)
{
}
public string AddressLine1()
{
return St... |
eca81cee316668bc0b9470aa40186da8fc8ac19d | C# | Mezion/WhatsYourAddiction | /Log635Lab03_Winform/Log635Lab03_Winform/KNN2.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//////////////////////////////////////////////////////////////////////
using System.IO;
using MathNet.Numerics.Statistics;
namespace Log635Lab03_Winform
{
... |
db8ed4c478216fe9f7936cec4efe25b19678c221 | C# | spencewalters/hobby | /ProvingGrounds/HobbyGame/CycleTimer.cs | 3.03125 | 3 | using System;
using System.Diagnostics;
namespace HobbyGame {
class CycleTimer {
private Stopwatch stopWatch;
private UInt32 count;
public double CyclesPerSecond { get; internal set; }
public UInt32 SecondsPerCalculation;
public CycleTimer() {
SecondsPerCalcul... |
56741c895384036a18d86e487a8f290e3fc6941a | C# | LYLStudio/LYLCore | /LStudio.Core/LStudio.Core/Core/ObjectExtensions.cs | 3.109375 | 3 | namespace LStudio.Core
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
public static class ObjectExtensions
{
/// <summary>
/// 物件屬性複製,自己複製到其他
/// </summary>
/// <typeparam name="TSrc">來源類別</... |
5a19c95dafd5164f0a4c125f0cb10d04224fdd6c | C# | Ku6epnec/Lesson5 | /Assets/Scripts/Enemy.cs | 2.796875 | 3 | using UnityEngine;
public class Enemy : IEnemy
{
#region Fields
private const float KPower = 1.2f;
private const float KMoneyPower = 0.7f;
private string _name;
private int _countMoney;
private int _countHealth;
private int _countPower;
private int _countCrime;
#endregion
... |
7f41e0eff7517329a85cd4989d95815d4c059a39 | C# | sapphire119/SoftUni | /techModule/Conditional Statements and Loops ДР/11.FiveDiffrentNumbers/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _11.FiveDiffrentNumbers
{
class Program
{
static void Main(string[] args)
{
var input = int.Parse(Console.ReadLine());
var second = int.Parse(Co... |
a77ee9311fc6781bbe60465061052a6cee7927e5 | C# | NickSegalle/crane | /src/Crane.Core/Configuration/ServiceLocator.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using Autofac;
using Crane.Core.Api;
using Crane.Core.Configuration.Modules;
namespace Crane.Core.Configuration
{
/// <summary>
/// In the powershell cmdlet, havn't figured out a way to wire up
/// the ioc engine, so using ServiceLocator until we do.
///... |
d93ec2c0fe703309598adeaa8e7b402900dfa9e5 | C# | FoKycHuK/cs101-lectures | /Term2/Lecture06/S04.cs | 3.25 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S04
{
class Angle
{
double value;
public static Angle operator+(Angle a, Angle b)
{
return new Angle { value=a.value+b.value };
}
p... |
78fcadcfe615669dff16fa96fd45b477b4f1fd06 | C# | cmdrmander/Manderplan | /Masterplan/Data/PowerAction.cs | 2.546875 | 3 | using System;
namespace Masterplan.Data
{
[Serializable]
public class PowerAction
{
public const string RECHARGE_2 = "Recharges on 2-6";
public const string RECHARGE_3 = "Recharges on 3-6";
public const string RECHARGE_4 = "Recharges on 4-6";
public const string RECHARGE_5 = "Recharges on 5-... |
0e35e1c30bf6deae8f15bd1555e8cc768a9b596f | C# | davidsl4/AmongUs-YouTubeIL | /YouTubeIL/Options/CustomOption.String.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using UnityEngine;
namespace YouTubeIL.Options
{
internal interface IStringOption
{
public void Increase();
public void Decrease();
public string GetText();
}
internal sealed class CustomStringOption : CustomOption, IStringOpt... |
da31e325c97706c3c921f65471760630b78a95cc | C# | ThomasMathew1993/Learning | /LinkedListUser.cs | 3.71875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructure
{
public class LinkedListUser
{
private Node head;
private Node tail;
private int length;
public LinkedListUser(int value)
{
... |
2ef0c0d7d05e27c228c1ae82a43afa3819dd22f1 | C# | shendongnian/download4 | /first_version_download2/539876-50681226-174882175-2.cs | 2.640625 | 3 | public static IObservable<T> When<T>(this IObservable<T> source, IObservable<bool> gate)
{
return
source.Publish(ss => gate.Publish(gs =>
gs
.Select(g => g ? ss : ss.IgnoreElements())
.Switch()
.TakeUntil(Observable.Amb(
ss.Select(s => true).Materialize().LastAsync(),
gs.Materializ... |
d4ce8e3709b43d8dd16d2bc3ec40fbf6f3248466 | C# | Rbeninche/RestaurantMenu | /ConsoleUI/MenuItem.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace ConsoleUI
{
//price, description, and category
class MenuItem
{
public double Price { get; set; }
public string Description { get; set; }
public string Category { get;... |
a8f62863499ebdf8042dd39e07331a9765859b4e | C# | goblinfactory/konsole | /src/Konsole.Samples/Samples/WindowClientServerSamples.cs | 2.984375 | 3 | using Konsole.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.ConsoleColor;
namespace Konsole.Samples
{
public static class WindowClientServerSamples
{
public static void Demo()
{
var con = Window.OpenBox("client ... |
8e00f01c72a981b3ca4bf6d5d085cc256514f753 | C# | yang872546/ego.nefsedit | /VictorBush.Ego.NefsLib/Header/NefsHeaderPt5Entry.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VictorBush.Ego.NefsLib.DataTypes;
namespace VictorBush.Ego.NefsLib.Header
{
/// <summary>
/// Purpose of part 5 entries are unknown.
/// </summary>
public class Ne... |
d94b590434802a801fad5aba76491e7a2847e50f | C# | kirbycope/sdetqa-framework-c-sharp | /FrameworkCommon/Toolbox/JsonUtils.cs | 3.3125 | 3 | using Newtonsoft.Json.Linq;
namespace FrameworkCommon.Toolbox
{
public class JsonUtils
{
/// <summary>
/// Serializes the JArray into a string.
/// </summary>
public string JsonArrayToString(JArray jArray)
{
return jArray.ToString();
}
/// <... |
05e5c1243d486bdee32fc6f6414401010f9b56fe | C# | AleXFiLforGB/SoftwareDesignPattern | /Pattern/015Iterator/SimpleIterator/Program.cs | 3.59375 | 4 | using static System.Console;
using System.Linq;
namespace SimpleIterator
{
class Program
{
static void Main()
{
var array = Enumerable.Range(1, 10).ToArray();
//foreach (var item in array) Write($"{item} ");
// Ошибка CS1579 Оператор foreach н... |
3c96f17fa34cb30a010cf85faa3400d98e3980b1 | C# | bannadude/Condurance | /TDD/MyStack.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
namespace TDD
{
internal class MyStack
{
Stack<object> stack_items;
public MyStack()
{
stack_items = new Stack<object>();
}
public void push(object item)
{
stack_items.Push(item);
... |
f88bb690560d18e0552c8d516f41cebce8444ba7 | C# | rjesquivias/OSRSPredator | /Application/Util/Random.cs | 2.859375 | 3 | namespace Application.Util
{
public class Random
{
private static readonly System.Random random = new System.Random();
private static readonly object syncLock = new object();
public static int RandomNumber(int min, int max)
{
lock(syncLock) { // synchronize
... |
8fa1c36e48935f6ff59d72ad2a6d7a8ef37dc3b9 | C# | noplisu/DirectXMonster | /MonsterTextured/Form1.cs | 2.765625 | 3 | using System;
using System.Drawing;
using System.ComponentModel;
using System.Windows.Forms;
using System.IO;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using Direct3D = Microsoft.DirectX.Direct3D;
namespace MonsterTextured
{
public partial class Form1 : Form
{
Device ... |
d2a5f42b892b136d64234fcc88effb8628bda6a6 | C# | daniel-schukies/Magic-Marshmallows | /Assets/Scripts/collide.cs | 2.703125 | 3 | using UnityEngine;
using System.Collections;
public class collide : MonoBehaviour
{
private Vector3 startPosition;
public float minDistance;
private bool active = false;
void OnCollisionEnter(Collision collisionInfo)
{
Debug.Log("Enemy Collision");
Destroy (this.gameObject, 0.5f);
}
// Use this for in... |
1856289831dcfdba18e3dae3975472239ac5de36 | C# | martynagryga/lab-2-programowanie | /ConsoleApp1Wsadowo/LED Numbers/Program.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LED_Numbers
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
for (int i = 1; i <= 3; i++)
{
... |
9b969a0412a7406a59f245e3b64ce740e62edbe4 | C# | CePur/Exercism | /csharp/protein-translation/ProteinTranslation.cs | 2.859375 | 3 | using System.Collections.Generic;
public static class ProteinTranslation
{
private readonly static Dictionary<string, string> dict = new Dictionary<string, string>()
{
{ "AUG","Methionine" },
{ "UUU","Phenylalanine" },
{ "UUC","Phenylalanine" },
{ "UUA","Leu... |
819219aa74377a3eabd6fccfb0598ec723bba67a | C# | vladdziun/Exclusion | /Assets/Scripts/LookAt.cs | 2.5625 | 3 | using UnityEngine;
using System.Collections;
//[RequireComponent(typeof(CharacterController))]
public class LookAt : MonoBehaviour {
public Transform target;
// Use this for initialization
void Start ()
{
// if no target specified, assume the player
if (target == null) {
if (GameObject.FindWithTag... |
599f6d240eb143e33c43e2292526bcbe512389a1 | C# | johelfoosCR/WebSiteASADA | /WebAsada/Models/GeneralEntities/PersonType.cs | 2.59375 | 3 | using WebAsada.BaseObjects;
namespace WebAsada.Models
{
public class PersonType : GeneralEntity
{
private PersonType()
{
}
public PersonType(string shortDesc, string longDesc, string officialId, string nemotecnico, string personTypeCode, bool isActive)
: base(shor... |
4718e812dec8eaf7f454275e1bc848c51462d222 | C# | tom10987/Unity.SpaceFighter | /Project.SpaceFighter/Assets/Scripts/GameObject/Machine/MachineType.cs | 3.234375 | 3 |
using System.Collections.Generic;
//------------------------------------------------------------
// TIPS:
// マシンの型式を表すパラメータです。
//
// 特殊攻撃ボタンを押した時の効果をコメントとして記入しています。
//
//------------------------------------------------------------
public enum MachineType
{
/// <summary> X: 広範囲にショット攻撃 </summary>
Ba... |
b067c81e22c1d9be415066dce7c976a33d6a7ffa | C# | ananth039/Anantha-Kumar-.net-Practice-programs | /old programs/ananth.acer.laptop.examples.partialclasses/Flag/Program.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Flag
{
class Program
{
static void Main(string[] args)
{
String name = "John";
String password = "letmein";
Boolean fl... |
39fc92cfbc90641dd4be3e1487423be791403002 | C# | RabidChinchilla/Unity-3D-Game-Mechanic---Weapons-Testing-Ricochet-gun-and-Gravity-well-gun- | /Weapons testing/Assets/Scripts/Score.cs | 2.6875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Score : MonoBehaviour {
public GameObject door;
public static int scoreValue = 0;
Text scoreText;
// Use this for initialization
void Start () {
//set the text box
scoreTex... |
6aa4631ed854de569cc7a20c643bfee89b532217 | C# | mustafahicyilmaz35/NewXamarinSupport | /Sekreter/Sekreter.Core/ViewModels/SendSmsPageViewModel.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace Sekreter.Core.ViewModels
{
public class SendSmsPageViewModel
{
// public string messag... |
af17716328659bcb613698a21f1ea4e66096f0bd | C# | DivyaKumari1/EventBriteWithDockerAndTokenService | /EventBash/EventCatalogAPI/Data/EventContext.cs | 3.09375 | 3 | using EventCatalogAPI.Domains;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EventCatalogAPI.Data
{
public class EventContext : DbContext
{
//add de... |
ccaf392edcb9353548568bc1e84ddb9c48ea0b97 | C# | Bratyun/Hotel-Epam | /DAL/EntityClasses/Request.cs | 2.765625 | 3 | using DAL.Account;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.EntityClasses
{
public enum RequestStatus
{
None,
... |
badce838fbdb049c52a33fa15ce8e95a28045618 | C# | ricantar/ProgIIFinalProject | /ProgIIFinalProject/ProgIIFinalProject/TempMat.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgIIFinalProject
{
public class TempMat
{
private string _area;
private string _codigo;
private String _nombre;
public string Area
{
... |
980a19a6ac5035d1eda49734029db57b6b3850c3 | C# | fullstackbeast/MatrixBank | /MyBMS/Domain/Repository/AccountRepository.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using MySql.Data.MySqlClient;
using MyBMS.Interface.Repository;
using MyBMS.Models.Entities;
using BMSEFDB.Models;
namespace MyBMS.Domain.Repository
{
public class AccountRepository : IAccountRepository
{
private r... |
38ee137a25141f4bad2fe9c1660d6cd249c58b8b | C# | tomasfriz/Prog-Labo_2 | /Rueda.Matias/PracCasaClase/MiClass.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PracCasaClase
{//acordate de q la clase y programa el mismo modificador, en este caso public ambos
public class MiClass
{
//atributos
//si no es public y static no apar... |
573f02089ac1e07d9f57aad7402caa1edb9ee3a3 | C# | araucanosland/MDN-Microservices | /src/Services/CompaniesOps/CompaniesOperations.API/Model/Lead.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
namespace CompaniesOperations.API.Model
{
/// <summary>
/// Created By @Charlie
/// </summary>
public class Lead
{
/// <summary>
///
/// </summary>
public Lead(){}
/// <summary>
///
/// </summa... |
1ca02a60a06a2037dc7a561e3fd76a8a9c4a35ed | C# | CarolineAntonello/GeradorDeProvas | /Mariana/GeradorDeProvas.Domain/Serie.cs | 3.21875 | 3 | using GeradorDeProvas.Domain.Abstract;
using GeradorDeProvas.Domain.Helper;
using System;
namespace GeradorDeProvas.Domain
{
public class Serie : Entidade
{
public string Nome { get; set; }
public override void Validar()
{
if (Nome.Length < 1 || String.IsNullOrEmpty(Nome))
... |
39de8d83993a1d47c3e49d02266406979b4cfbd9 | C# | trbenning/Foundatio | /src/Core/Serializer/ISerializer.cs | 2.859375 | 3 | using System;
using System.Text;
using System.Threading.Tasks;
using Foundatio.Extensions;
namespace Foundatio.Serializer {
public interface ISerializer {
Task<object> DeserializeAsync(byte[] data, Type objectType);
Task<byte[]> SerializeAsync(object value);
}
public static class Serializ... |
e2b0ef0702036930e280ae9d6e12c26ca5269f64 | C# | Tuscann/Coding-101 | /18.C# Basics Exam 20 December 2014/03. Boat/03.01 Boat.cs | 3.625 | 4 | using System;
class Program
{
static void Main()
{
int number = int.Parse(Console.ReadLine());
//draw sail
int sailCurrentW = 1;
bool middlePointReached = false;
for (int c = 0; c < number; c++)
{
Console.WriteLine("{0}{1}{2}", new string('.', num... |
afd784e5340f59e93dca6e402b36c158aa370a86 | C# | pepinho24/TelerikAcademyHomeworks2015 | /C# OOP/04. OOP Principles - Part 1/01.SchoolClasses/Person.cs | 3.5625 | 4 | namespace _01.SchoolClasses
{
using System.Collections.Generic;
public abstract class Person : ICommentable
{
private Name name;
private ICollection<Comment> comments;
public Person(Name name)
{
this.Name = name;
this.Comments = new List<Comment>();... |
da728c8d935c5920499b68270db94aa2ac3799ae | C# | valterc/lings | /LiNGSServer/GameClient.cs | 2.703125 | 3 | using LiNGS.Common;
using LiNGS.Common.Network;
using LiNGS.Server.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace LiNGS.Server
{
/// <summary>
/// Represent a client.
/// </summary>
public class GameClient
{
... |
e27cee83bb1eb55a1962561271977d12b3e5c06c | C# | phillrog/lista-telefonica | /ListaTelefonica.Applications/PersonPhoneAppService.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using ListaTelefonica.Applications.Interfaces;
using ListaTelefonica.Domain.Entities;
using ListaTelefonica.Domain.Interfaces.Services;
namespace ListaTelefonica.Applications
{
public class... |
e2e70eea54b57fb37a3acf6b8ee6a693d463e54a | C# | ktilk/FeedApp | /DAL/DataContext.cs | 2.828125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.ServiceModel.Syndication;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using DAL.Services;
using Domain;
using HtmlAgilityPack;
namespace DAL
{
public class... |
97e3bede4f5017e7cae41744e5465ec4c07d3959 | C# | ostrichgull/WebApiMovie | /WebApiMovieTests/MovieDbContextTests.cs | 2.8125 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebApiMovie.Models;
using WebApiMovie.Controllers;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Moq;
namespace WebApiMovieTests
{
[TestClass]
public class MovieDbContextTests
{
[TestMethod]
pu... |
4b366e7bd781d86526fa9d8edee897c28562d0e4 | C# | harbinger965/ProcGenRPG | /Assets/Scripts/MapGen/Chest.cs | 2.625 | 3 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
/**
* Chests can hold subclasses of Item
*/
public class Chest : Interactable {
/**
* The number of items all chests can store
*/
private static readonly int SLOTS = 10;
private static readonly int minBytes ... |
6f87d122de1b94cfa4140fa1d19b8db690452394 | C# | CrypToolProject/CrypTool-2 | /CrypPlugins/ChaCha/Helper/Converter/MultiSequentialValueConverter.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace CrypTool.Plugins.ChaCha.Helper.Converter
{
/// <summary>
/// Extension of SequentialValueConverter.
/// First converter is IMultiValueConverter. Next converters are IValueCon... |
1913c8adacd233545f4bb3f3793fb5f233da69b5 | C# | mbohekale/CShape-Programming | /LoopingArrays/Integers.cs | 3.640625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Looping.cs
{
class Program
{
static void Main(string[] args)
{
for (int i=0; i<10; i++)
{
if (i==7)
... |
7ca284d768816d4fcbdd910e8447d709a493366e | C# | guivern/ApiTest | /Data/DataContext.cs | 2.796875 | 3 | using ApiTest.Models;
using Microsoft.EntityFrameworkCore;
namespace ApiTest.Data
{
/// <summary>
/// Aqui configuramos el contexto de nuestra bd.
/// </summary>
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options) : base(options)
{}
... |
360f580c020d2865afb52bd3db9499a32107e8d7 | C# | jackrust/AFLTipper | /Utilities.Tests/StringyTests.cs | 3.046875 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Utilities.Tests
{
[TestClass]
public class StringyTests
{
[TestMethod]
public void ShouldReturnOneHundredCharacterSpacePaddedString()
{
//Arrange
const string inString = "Just 10 characters long";... |
74bce25fd918c9239756bae4671e41cce597c077 | C# | oxalorg/scratch | /gtk-ui/BookView.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gtk;
using Barrkel.ScratchPad;
using System.IO;
namespace Barrkel.GtkScratchPad
{
public static class Stringhelper
{
public static string EscapeMarkup(this string text)
{
return (text ?? "").Replace("&", "&").Repla... |
3a013210c1b6a5950f4530a352308c28708eaf5b | C# | thirty25/commandline-mediatr | /src/CommandLineApp/CommitOptions.cs | 2.984375 | 3 | using System;
using System.Threading;
using System.Threading.Tasks;
using CommandLine;
using MediatR;
namespace CommandLineApp
{
[Verb("commit", HelpText = "Record changes to the repository.")]
public class CommitOptions : IRequest<int>
{
[Option('m', "Message", HelpText = "Message for commit")]
... |
dfbe551fc8f859f31c218595fc0dc9182d8221aa | C# | YourGamesBeOver/LEDControllerUWP | /LEDControllerUWP/DeviceListEntry.cs | 2.75 | 3 | using Windows.Devices.Enumeration;
namespace LEDControllerUWP {
public class DeviceListEntry
{
public string DisplayName => DeviceInformation.Properties["System.ItemNameDisplay"] as string;
public DeviceInformation DeviceInformation { get; }
public string DeviceSelector { get; }
... |
e152ba1bd1fea977e6deee472936e3b2f9b945a7 | C# | pixey/Pixey.DhcpClient | /LibDHCPServer/HardwareAddressTypes/GenericClientHardwareAddress.cs | 2.59375 | 3 | /// The MIT License(MIT)
///
/// Copyright(c) 2017 Conscia Norway AS
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
/// in the Software without restriction, including without limitation the rights
... |
c440cdaa38854a1020450d06de87e4219469e99c | C# | shendongnian/download4 | /code2/351641-7532994-16654269-2.cs | 2.609375 | 3 | private Dictionary<object, Func<TrackingRecord, DbCommand>> conversionFunctions = new Dictionary<object, Func<TrackingRecord, DbCommand>>();
public void RegisterConversionFunction<T>(Func<T, DbCommand> conversionFunction) where T : TrackingRecord
{
conversionFunctions.Add(typeof(T), tr => conversion... |
2f4d12bdabc89ef8371488dda4c2640434b904f8 | C# | ztodorova/Telerik-Academy | /C#OOP/OOP_PrinciplesPart1/AnimalHierarchy/Tomcat.cs | 2.5625 | 3 |
namespace AnimalHierarchy
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Tomcat : Cat
{
public Tomcat(string name, int age) : base(name,age,Sex.male)
{
}
}
}
|
946e3995b0679babbeca57c9f963b6ddcbeacf12 | C# | noptran/pcm | /Common_Objects/Models/GradeModel.cs | 3.109375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Common_Objects.Models
{
public class GradeModel
{
public Grade GetSpecificGrade(int gradeId)
{
Grade grade;
var dbContext = new SDIIS_DatabaseEntities();
try
{
... |
3936e55a288ee3c7247a60b91a6efcb0170c0882 | C# | dnsk83/curecon | /curecon/curecon.Models/CurrencyListModel.cs | 2.546875 | 3 | using curecon.Core;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace curecon.Models
{
public class CurrencyListModel
{
ICountriesService CountriesService;
public List<CurrencyModel> CurrencyModels { get; set; }
public CurrencyListModel()
... |
72021b3b28b8e28fb2e9ae6cd02e1e80e4cf12cd | C# | Foggyy/Software-development-labworks | /Лабораторная работа №3/Лабораторная работа №3/Лабораторная работа №3/Program.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Лабораторная_работа__3
{
class Program
{
static void Main(string[] args)
{
... |
f62866bd42bbe716d2a40b3d236df3242c649df8 | C# | CrazyMachine2/FriendOrganizer | /FriendOrganizer.DataAccess/Configurations/ProgrammingLanguageConfiguration.cs | 2.53125 | 3 | using FriendOrganizer.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace FriendOrganizer.DataAccess.Configurations
{
class ProgrammingLanguageConfiguration : IEntityTypeConfiguration<ProgrammingLanguage>
{
public void Configure(EntityTypeBuilde... |
a33d531c1f65803849526a59f126ed9271847e43 | C# | robert-adrian99/Restaurant | /Restaurant/ViewModels/SignInViewModel.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using Restaurant.Helps;
using Restaurant.Models;
using Restaurant.Models.BusinessLog... |
751746218efa54fceb6068811a5f9cacef1647f4 | C# | maratovS/CarDealerCore | /CarDealerCore/Controllers/SaleController.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CarDealerCore.Data;
using CarDealerCore.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace CarDealerCore.Controllers
{
public class S... |
e7f79f0e4393656553f7dd3c8cebe7ef1d510ade | C# | dartagnanjr/TesteVscodeFluenteHibernate | /Program.cs | 2.84375 | 3 | using System;
using MyProjectNHibernate2.Entities;
namespace MyProjectNHibernate2
{
class Program
{
static void Main(string[] args)
{
Person per = new Person();
PersonProject dao = new PersonProject();
Console.WriteLine("Iniciando a inserção");
... |
9e887d8b99cf871b619fca5746fe6bc84787a3eb | C# | karthik-Undi/ComplaintsAPI | /ComplaintsAPI/Repositories/CompRepos.cs | 2.90625 | 3 | using ComplaintsAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ComplaintsAPI.Repositories
{
public class CompRepos : ICompRepos
{
private readonly CommunityGateDatabaseContext _context;
public CompRepos()
{
... |
c5486439528b26fc1cf3d7209cb67301864df88f | C# | QualiSystems/Toscana | /Toscana/ToscaTopologyTemplate.cs | 2.84375 | 3 | using System.Collections.Generic;
namespace Toscana
{
/// <summary>
/// A Topology Template defines the structure of a service in the context of a Service Template.
/// A Topology Template consists of a set of Node Template and Relationship Template definitions
/// that together define the topology ... |
495c4ebbbd24da7dcca89aa9991aeaf00ce17264 | C# | shendongnian/download4 | /code4/706475-17037374-41977186-2.cs | 2.671875 | 3 | namespace _17036954
{
class Program
{
static void Main(string[] args)
{
AppDomain testApp = AppDomain.CreateDomain("testApp");
try
{
args = new string[] { };
string path = Configuratio... |
40a53f51a4396111cf8efc967baa90c01f85e71c | C# | guih2127/c--poo-classes | /POOclasses/POOexercices/FinalExercice01/FinalExercice01/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalExercice01
{
class Program
{
static void Main(string[] args)
{
Conta c;
Console.WriteLine("Vamos criar a sua conta! Deseja fazer um depósi... |
7818c15e7f9af002ea0d4bad13e2a225805a5dff | C# | crazybaz/r2d2 | /Assets/src/tools/ComponentExtention.cs | 2.953125 | 3 | using System.Collections.Generic;
using UnityEngine;
public class ComponentExtention
{
public static T CopyComponent<T>(Component sourceComponent, GameObject target) where T : Component
{
var type = sourceComponent.GetType();
var targetComponent = target.AddComponent(type);
foreach (v... |
5a55af916298aa528820ace7a241beba63c01a59 | C# | kodomcnuggets/TicTacNeo | /TicTacNeo/TicTacToeContract/TicTacToeContract.cs | 2.90625 | 3 | using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Services.Neo;
using System.Numerics;
namespace TicTacToeContract
{
public class TicTacToeContract : SmartContract
{
#region Models - Do not change here; Change in TicTacToe project, then copy here
public enum LocationMarker
... |
557fb69c0db53fc18dbe4131e94b12fbb10ee60b | C# | tomkerkhove/azure-databricks-client | /csharp/Microsoft.Azure.Databricks.Client/EventsRequest.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Microsoft.Azure.Databricks.Client
{
public class EventsRequest
{
/// <summary>
/// The ID of the cluster to retrieve events about. This field is requi... |
4e53b27b86752af59c82833098b9c8b82d642c87 | C# | NServiceKit/NServiceKit.Logging | /src/NServiceKit.Logging.NLog/NLogFactory.cs | 2.625 | 3 | using System;
using NServiceKit.Logging;
namespace NServiceKit.Logging.NLogger
{
/// <summary>
/// ILogFactory that creates an NLog ILog logger
/// </summary>
public class NLogFactory : NServiceKit.Logging.ILogFactory
{
/// <summary>
/// Initializes a new instance of the <see cref="... |
bc64108a219e808a66310abeb86f16c6a6a503ee | C# | LQVinh9/ApplicationSellsPhones | /dao/OrderDetailDao.cs | 2.703125 | 3 | using ProjectNhom.dto;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectNhom.dao
{
class OrderDetailDao
{
string strConnection;
public string getConnectionString... |
cd966ed3986fdc52d1af8c4e56ed6fe83c57a3c8 | C# | mstresses/DeliveryCORE | /BLL/Validators/ProdutoValidator.cs | 2.71875 | 3 | using Common;
using DTO;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace BLL.Validators
{
public class ProdutoValidator : AbstractValidator<ProdutoDTO>
{
public ProdutoValidator()
{
List<Error> error = new List<E... |