text
stringlengths
13
6.01M
namespace Rhino.Mocks.Tests.FieldsProblem { using Xunit; /// <summary> /// Reproduces a problem with indexers reported by Ted. /// </summary> /// <remarks> /// See also http://groups.google.com/group/rhinomocks/browse_thread/thread/5c9d8fcf529d33e3. /// </remarks> public class FieldProblem_Ted { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Interactable : MonoBehaviour { public int interactType; private float interactRadius; public float type0Radius = 3.0f; public float type1Radius = 6.0f; public bool isFocus = false; public bool hasIn...
using ReactMusicStore.Core.Domain.Interfaces.Specification; namespace ReactMusicStore.Core.Domain.Entities.Specifications.ArtistSpecs { public class ArtistNameIsRequiredSpec : ISpecification<Artist> { public bool IsSatisfiedBy(Artist artist) { return artist.Name.Trim().Length > 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Client.Internal { public static class ComboBoxBindingModelBuilder { public static List<KeyValuePair<int, string>> FromEnum(Type @enum, bool translate = true) { ...
namespace TripLog.Test.Acceptance { using System; using System.Linq; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using TripLog.Models; using TripLog.Services; [TestClass] public class RestTripLogDataServiceTests { public static TripLog...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace com.Sconit.Web.Models.SearchModels.INV { public class LocationLotDetailSearchModel : SearchModelBase { public string itemFrom { get; set; } public string itemTo { get; set; } public string M...
/* * Создано в SharpDevelop. * Пользователь: vlunev * Дата: 02.06.2016 * Время: 16:42 */ using System; using System.Drawing; using System.Windows.Forms; using Worker; namespace DesignationRecognition { /// <summary> /// Форма для переименования файла /// </summary> public partial class FormRename : Form { ...
using System; using System.Collections.Generic; using System.Linq; /* * tags: segment tree, binary search * Time(nlogn), Space(n) * segment range max tree */ namespace leetcode { public class Lc699_Falling_Squares { public IList<int> FallingSquares(int[,] positions) { int n = p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace testprog { class Program { static void Main(string[] args) { int x1 = 0; int a = 10, b = 10; x1 = a + b; Console.Writ...
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 PacketDotNet; using SharpPcap; namespace MyPacketCapture { public partial class frmCapture : F...
using System.Web.Mvc; namespace AttendanceWebApp.Controllers { public class VaccinationController : Controller { // GET: Vaccination public ActionResult UploadVaccinationCertificate() { if (Session["EmpUnqId"] != null && Session["UserRole"] != null) { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Couche_Middleware { public class TrackPerformance { // Variable de performance private PerformanceCounter...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using AcceptanceTests.Common.Configuration.Users; using AcceptanceTests.Common.Driver.Drivers; using AcceptanceTests.Common.Driver.Helpers; using AcceptanceTests.Common.Model.Participant; using AcceptanceTests.Common.Test.Steps;...
using System; using System.Text.RegularExpressions; namespace _02._Boss_Rush { class Program { static void Main(string[] args) { var regex = @"\|([A-Z]*)\|\:\#([A-Za-z]* [A-Za-z]*)\#"; var numberOfLines = int.Parse(Console.ReadLine()); for (int i = 0; i < nu...
using System; using System.Collections.Generic; using System.Text; using Btf.Data.Model.Base; namespace Btf.Data.Model.User { public class Permission : BaseEntity { public string PermissionCode { get; set; } public string PermissionName { get; set; } public string PermissionType { get;...
#region Related components using System; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Concurrent; using Microsoft.Extensions.Logging; using Microsoft.Extension...
using System.Collections.Generic; using System.IO; using System.Linq; namespace DaDo.Command { class CleanFileCollector { public List<string> ToDelete; public List<string> ToExclude; public void Collect(IEnumerable<string> exclusions, string outputFolder) { ToDelete ...
#region using Xamarin.Forms; #endregion namespace XamJam.Nav { /// <summary> /// /// </summary> /// <typeparam name="TNavScheme"></typeparam> public interface IDestination<out TNavScheme> where TNavScheme : INavScheme { object ViewModel { get; } TNavScheme NavScheme { get; ...
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Constant of type `string`. Inherits from `AtomBaseVariable&lt;string&gt;`. /// </summary> [EditorIcon("atom-icon-teal")] [CreateAssetMenu(menuName = "Unity Atoms/Constants/String", fileName = "StringConstant")] public sealed ...
using Core.Utilities.Results; using Entities.Concrete; using System; using System.Collections.Generic; using System.Text; namespace Business.Abstract { public interface IFactoryTransactionService { IDataResult<List<FactoryTransaction>> GetAll(); IDataResult<FactoryTransaction> GetById(int fact...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Common { public class EventParams : Dictionary<string, KeyValuePair<System.Object, System.Type>> { } }
using System; namespace Capistrano.Net.Web.Status { public class StatusResource { public bool OK { get; set; } public DateTime LastDeployed { get; set; } public string Version { get; set; } public string Message { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using V50_IDOMBackOffice.AspxArea.Booking.Controllers; namespace V50_IDOMBackOffice.AspxArea.Booking.Forms { public partial class DocViewPopUpForm : System.Web.UI.Page { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntMob.Models { public class User { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("name")] public ...
namespace gView.Framework.Data.Filters { public interface IBufferQueryFilter : IQueryFilter { IQueryFilter RootFilter { get; } IFeatureClass RootFeatureClass { get; } double BufferDistance { get; } gView.Framework.Carto.GeoUnits BufferUnits { get; } } }
using System; namespace S3.AutoBatcher { /// <summary> /// Token given to identify the batch aggregator /// </summary> /// <summary> /// Every contributor to an specific batch needs to obtain a token from the batch that is used to add items to the batch and to request execution when its completed /// ...
using StarBastardCore.Website.Code.Game.Gameplay; namespace StarBastardCore.Website.Code.Game.Gameworld.Units.Starships { public class ConstructionStarship : UnitBase, IStarship { public int Movement { get; set; } public ConstructionStarship(Player playerOwner) { Owner = p...
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 UgyfelNyilvantartas { public partial class form_Ugyfel : Form { public form_Ug...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EasyDev.BL; namespace SQMS.Services { public class WorkStatusService:GenericService { protected override void Initialize() { this.BOName = "WO...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class HUD : MonoBehaviour { public Text score = null; public Text highScore = null; public Text health = null; // Unity Script Singleton: private static HUD instance = null; void Awake () { if (instance == null) { GameObject.D...
// File Prologue // Name: Darren Moody // CS 1400 Section 005 // Project: CS1400 Project 4 // Date: 10/10/2013 // // I declare that the following code was written by me or provided // by the instructor for this project. I understand that copying source // code from any other source constitutes cheating, and that I...
using TrainingWheels.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using TrainingWheels.Data; namespace TrainingWheels.WebApi.Controllers { [Authorize(Roles = SecurityRoles.Admin)] public class ManageUsersController...
/* CustomizeSteakosaurusBurger.xaml.cs * Author: Agustin Rodriguez */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Window...
public class Solution { public IList<IList<string>> Partition(string s) { var res = new List<IList<string>>(); DFSHelper(s, 0, new List<string>(), res); return res; } private void DFSHelper(string s, int index, IList<string> currRes, IList<IList<string>> res) { if (index...
using OrgMan.Common.DynamicValidationService.DynamicValidationModel.Enum; namespace OrgMan.Common.DynamicValidationService.DynamicValidationModel { public class DynamicValidationCriteria { public CriteriaTypeEnum CriteriaType { get; set; } public object Value { get; set; } } }
using Data.Common.QueryBuilder; using Data.Models.Interfaces; using Microsoft.EntityFrameworkCore.Query; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Data.Services.Contracts { public interface IDataService<T> : IDataService ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Wind : MonoBehaviour { [SerializeField, Range(1.0f, 1000.0f)] float wind_force = 500.0f; [SerializeField] Vector3 _direction = new Vector3(); private void OnValidate(){ _direction.Normalize (); } private void OnTr...
using System; namespace Com.Colin.Demo.DataStruct { /// <summary> /// 自定义集合类 /// </summary> /// <typeparam name="T"></typeparam> public class MyList<T> { // 常量 const int defaultCapacity = 4; // 字段 T[] items; int count; // 构造函数 public My...
using System; namespace Uintra.Features.Navigation.Models.MyLinks { public class MyLinkItemViewModel { public Guid Id { get; set; } public int ContentId { get; set; } public Guid? ActivityId { get; set; } public string Name { get; set; } public string Url { get; set; } ...
using Company.Interface; namespace Company.Models { abstract class RegularEmployee : Employee, IRegularEmployee { protected RegularEmployee(string id, string firsName, string lastName, decimal salary, Department department) : base(id, firsName, lastName, salary, department) { } } }...
namespace TripLog.ViewModels { using System.ComponentModel; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Models; public abstract class BaseViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected vir...
namespace VisitorReal.Model { public interface IVisitor { void Visit(Element element); } }
using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Action of type `Color`. Inherits from `AtomAction&lt;Color&gt;`. /// </summary> [EditorIcon("atom-icon-purple")] public abstract class ColorAction : AtomAction<Color> { } }
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Carmotub.Model { public class CustomerPhoto { public int identifiant { get; set; } public int identifiant_client { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UnlockerMenu : MonoBehaviour { //public string[] names; public Sprite[] sprites; public Animator vaultAnimator; public Image newSkin; public Text newSkinName; public T...
using Xunit; using ZKCloud.Test.Base.Core.Model; namespace ZKCloud.Test.Domain.Repositories { public class DataBaseTest : CoreTest { [Fact] public void CreateDataBase() { // var repositoryContext = ZKCloud.Helpers.Ioc.Resolve<IRepositoryContext>(); // var ...
using UnityEngine; using UnityEngine.Events; using System.Collections.Generic; public static class EventManager { // freeze event support private static List<PickupBlocks> _freezeEffectInvokers = new List<PickupBlocks>(); private static List<UnityAction<int>> _freezeEffectListeners = new List<UnityAction<...
using System; using System.Collections.Generic; namespace BonusLab_16 { public class CarApp { List<Car> cars = new List<Car>(); public CarApp() { } public void GetCarInfo() { Console.Write("How many cars are you entering?: "); int num = ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [RequireComponent(typeof(AudioSource))] public class Signaling : MonoBehaviour { [SerializeField] private float _speedSound; private AudioSource _signaling; private Coroutine _coroutine; private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum BuildResources { Wood, TrapInstant, TrapTick }
using System.ComponentModel.DataAnnotations; using Pobs.Domain.Entities; namespace Pobs.Web.Models.Tags { public class TagValueModel { public TagValueModel() { } public TagValueModel(Tag tag) { this.Name = tag.Name; this.Slug = tag.Slug; } ...
using System; namespace AnalogDisplay { /// <summary> /// Summary description for CPUMonitor. /// </summary> public class CPUMonitor : Monitor { private System.Diagnostics.PerformanceCounter pm; public CPUMonitor() { pm = new System.Diagnostics.PerformanceCounter("Processor", "% Processor T...
using Alabo.Web.Mvc.Attributes; using System.ComponentModel.DataAnnotations; namespace Alabo.Data.People.UserTypes.Enums { /// <summary> /// 用户类型状态 /// </summary> [ClassProperty(Name = "用户类型状态")] public enum UserTypeStatus { /// <summary> /// 待审核 /// </summary> ...
using System; using System.IO; using System.Web; using System.Text.RegularExpressions; namespace Asnmnt01 { class Program { public static int goodrow = 0; public static int badrow = 0; public static int flag = 0; public static int finalgoodrow = 0; public sta...
using SGCFT.Dominio.Entidades; using SGCFT.Utilitario; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SGCFT.Dominio.Contratos.Servicos { public interface IVideoServico { Retorno InserirVideo(Video video); Retorno Al...
using System.Windows.Forms; namespace WinFormsMvpExample.Infrastructure { public class WinFormView : Form, IView { public IView ParentView { get => MdiParent as IView; set => MdiParent = value as Form; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AlgorithmProblems.StringProblems { /// <summary> /// Check whether one of the different permutations of a string is a palindrome /// </summary> class PalindromeInStringPermutat...
using System.Collections; using System.Collections.Generic; using UnityEngine; //! 유틸리티 상수 public static partial class KDefine { // 씬 관리자 public static readonly string NAME_UI_CAMERA = "UI Camera"; public static readonly string NAME_MAIN_CAMERA = "Main Camera"; public static readonly string NAME_SCENE_MANAGER = "...
using ElanWaveBookstore.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ElanWaveBookstore.Controllers { public class UserController : Controller { UserContext db = new UserContext(); [AllowAnonymous] public A...
using System; using Uintra.Features.CentralFeed.Models; namespace Uintra.Features.Groups.Links { public class GroupActivityTransferCreateModel : ActivityTransferCreateModel { public Guid GroupId { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleSzamologep { class Program { static void Main(string[] args) { int szam = 0; int szam2 = 0; string muvelet = ""; ...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace GardenControlApi.Migrations { public partial class init : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AppSetting", ...
using System; using System.IO; using System.Threading.Tasks; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public struct Controls { public KeyCode Up; public KeyCode Down; public KeyCode Right; public KeyCode Left; } public class PlayerController : Mono...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Level3Controller : LevelControllerBase { public Level3Data LevelData; protected override void Awake() { base.Awake(); GameData.CurrentLevelData = LevelData; } }
using System.Web.Mvc; using Shop.Models.Northwind; namespace Shop.Controllers { // [Authorize] public class HomeController : Controller { private readonly IUnitOfWork _unitOfWork; public HomeController(IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; } ...
namespace NStandard { internal class BitOperations { public static uint RotateLeft(uint value, int offset) { return (value << offset) | (value >> (32 - offset)); } public static uint RotateRight(uint value, int offset) { return (value >> offset) ...
namespace gView.system.UI.Framework.system.UI { }
using MyForum.Infrastructure; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace MyForum.Web.Models.News { public class NewsCreateViewModel { public string Id { get; set...
using System.Collections.Generic; using FluentAssertions; using NUnit.Framework; namespace Hatchet.Tests.ParserTests { [TestFixture] public class NestedObjectTests { [Test] public void Parse_NestedObjects_ObjectsAreNestedWithTheirProperties() { // Arrange va...
using UnityEngine; using System.Collections; using UnityEditor; //using System; public class MultiApply : EditorWindow { public static MultiApply instance; [MenuItem("Edit/Object Active Change %g")] static void Init() { Object[] objList = GetSelectedObject(typeof(GameObject)); for (int...
using HtmlAgilityPack; using System; namespace Fraser.GenericMethods { public class HtmlDocumentHandler { private static DateTime timeOfLastScrape; private const int minimumTimeBetweenScraping = 2000; public static HtmlDocument GetDocumentOrNullIfError(string url) { ...
using System; using System.Linq; using Microsoft.CQRS; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Concurrent; using Microsoft.UnifiedPlatform.Service.Common.Models; using Microsoft.UnifiedPlatform.Service.Common.Telemetry; namespace Microsoft.UnifiedPlatform.Service.Appli...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using LuaFramework; using System.Security.Cryptography; using System.IO; using System.Text; using UnityEditor; using GFW; namespace CodeX { public class AppUtil : MonoBehaviour { /// <summary> /// 取得数据...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using SnowBLL.Models; using SnowBLL.Models.Auth; using SnowBLL.Models.Users; using SnowBLL.Service.Interfaces; using System.Net; using System.Threading.Tasks; namespace SnowAPI.Controllers { /// <summary> /// Controller for users action...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.SceneManagement; using Sirenix.OdinInspector; using UnityEditor.SceneManagement; using System; public class DrawScenesGuiTools : Editor { [InitializeOnLoadMethod] private static vo...
using Devil_Cookies_3D.Models; 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 Devil_Cookies_3D.Forms { public partial class ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using TryHardForum.Models; namespace TryHardForum.Data { public interface IPostRepository { Task CreatePost(Post post); Task DeletePost(int id); Task Arc...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnerFondo : MonoBehaviour { public GameObject prefabFondo; float ratio = 19.9f; // Start is called before the first frame update void Start() { InvokeRepeating("SpawnFondo", 0, ratio); } ...
using AbiokaScrum.Actions; using AbiokaScrum.Api.Authentication; using AbiokaScrum.Authentication; using System; using System.Net.Http; using System.Security.Principal; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Filters; namespace AbiokaScrum.Filters { publi...
#if UNITY_2019_1_OR_NEWER using UnityEditor; using UnityAtoms.Editor; namespace UnityAtoms.Mobile.Editor { /// <summary> /// Constant property drawer of type `TouchUserInput`. Inherits from `AtomDrawer&lt;TouchUserInputConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`. /// </summary> [CustomPrope...
public class Solution { public int MaxProfit(int[] prices) { int n = prices.Length, k = 2; // localMaxProfit[i][j] denotes the maximum profit with at most j transactions and selling on day i // globalMaxProfit[i][j] denotes the maximum profit with at most j transactions. no restriction on th...
using UnityEngine; using UnityEngine.UI; using UnityEditor; using Ardunity; [CustomEditor(typeof(SliderSnap))] public class SliderSnapEditor : Editor { [MenuItem("ARDUnity/Add Utility/UI/SliderSnap", true)] static bool ValidateMenu() { if(Selection.activeGameObject == null) return false; if(Selection.ac...
using System; using BankofKK.Interface; namespace BankofKK.Models { public abstract class Account : IAccount { protected Account(Customer customer, decimal balance, decimal intRate) { this.Customer = customer; this.Balance = balance; this.InterestRate = intR...
using Newtonsoft.Json; namespace MinistryPlatform.Translation.Models.DTO { public class MpCapacityDto { [JsonProperty(PropertyName = "Age_Bracket_Key")] public string CapacityKey { get; set; } // Nursery, 1Yr, etc [JsonProperty(PropertyName = "Attendance")] public int CurrentP...
using UnityEngine; using System.Collections; public class Bird : MonoBehaviour { public float speed = 10; private float dir = 1; // Use this for initialization void Start () { var cam = Camera.main; dir = Mathf.Sign(transform.position.x - cam.transform.position.x); transf...
using System; using System.Collections.Generic; using System.Text; namespace DataAccessLayer.dbDTO { public class QuestionSearchResults { public int id { get; set; } public string title { get; set; } public string body { get; set; } public int score { get; set; } public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System.Linq; public class ButtonController : MonoBehaviour { public bool shipSelected; public bool turretSelected; public bool soldierSelected; public bool mechSelected; public Quaternion rot...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RemixMenuCameraFocusScript : MonoBehaviour { private static List<RemixMenuCameraFocusScript> instances = new List<RemixMenuCameraFocusScript>(); private float initZoom; private Vector3 initPos; public float Zoom; publi...
using Prism.Commands; using RxDM.Entities.Queries; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using MvcBootstrap.Controls; using System.Linq.Expressions; namespace MvcBootstrap { /// <summary> /// Extension class for encapsulation all bootstrap helpers (@Html.Bootstrap().*) /// and adding the helpers...
using System; class MatrixOfNumbers { static void Main() { Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!"); while (true) { uint iN; Console.Write(@"Enter positive integer number N (1 <= N <= 20). : "); if (uint.TryParse(Conso...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class JerBenno : MonoBehaviour { public float speed; public GameObject explosionPrefab; void Update() { transform.position += new Vector3(Input.GetAxis("Horizontal"), Inp...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using CIBDigiTechAssessment.WebAPI; namespace CIBDigiTechAssessme...
namespace Common.Repositories { // Pode usar o Dapper, EF4 ou o ADO.Net na mão. public class VendaRepository { } }
using Backend.Model.Enums; using System; namespace Model.Users { public class Admin : User { public Admin() { } public Admin(string jmbg, string name, string surname, DateTime dateOfBirth, GenderType gender, City city, string homeAddress, string phone, string email, string username, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace Dodge { class Stone { private const int clientSizeX = 500; private const int clientSizeY = 500; private Bitmap stone = Properties.Resourc...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bullets : MonoBehaviour { public Vector3 dir; private float speed = 10f; private float life = 3f; // Start is called before the first frame update void Start() { } // Update is called once pe...
using UnityEngine; using System.Collections; public class GameController : MonoBehaviour { public GameObject hazard; public Vector3 spawnValues; public int hazardCount; public float spawnWait; public float startWait; public float waveWait; void Start() { StartCoroutine (spawnWaves ()); } IEnumerator ...
using System; using System.Collections.Generic; namespace MetodosOrdenacao { public class BubbleSort { public BubbleSort() { } public static void Sort(List<int> l) { bool troca; do { troca = false; fo...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class Names : MonoBehaviour { private string PathFirstNameGirl="Assets/Resources/GirlNames.txt"; private string PathFirstNameBoys="Assets/Resources/BoyNames.txt"; private string PathLastName= "Assets/Re...