text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UrTLibrary.Shaders.Directives.Attributes { public sealed class AlphaFuncType { public static readonly AlphaFuncType GT0 = new AlphaFuncType("GT0"); public static readonly AlphaFuncType LT128 = new Al...
using System; using DAL; using System.Linq; using Microsoft.AspNetCore.Mvc; namespace gym.Controllers { [Route("api/[controller]")] public class NoticesDataController : Controller { [HttpGet("[action]")] public JsonResult ApprovedNotices(){ using(var context = new GymCo...
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; using System.Windows.Markup; namespace Grisaia.SpriteViewer.Converters { public class ZeroWhenFalse : MarkupExtension, IValu...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RelicPage : Page_Base { void Start () { } void Update () { } protected override void OnClose(){ print ("RelicPage關閉"); } protected override void OnOpen(){ print ("RelicPage開啟"); } }
namespace SchoolSystem.Contracts { public interface IDataBase { IStudent GetStudentById(int id); void AddStudent(IStudent student); bool RemoveStudentById(int id); ITeacher GetTeacherById(int id); void AddTeacher(ITeacher teacher); bool RemoveTeacherById(int...
// // - PropertyTreeNodeWriterTest.cs - // // Copyright 2010 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache...
using ProConstructionsManagment.Core.Entities.Base; using System; namespace ProConstructionsManagment.Core.Entities { public class ProjectRecruitment : BaseEntity { public Guid ProjectId { get; set; } public Guid PositionId { get; set; } public int RequiredNumberOfEmployees { get; set;...
/* .-' '--./ / _.---. '-, (__..-` \ \ . | `,.__. ,__.--/ '._/_.'___.-` FREE WILLY */ using Automatisation.Model.Validation; using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Automatisation.Model { public class Sett...
using System; using Paralect.Schematra.Exceptions; namespace Paralect.Schematra { public class TypeResolver { /// <summary> /// Name of the type (can be namespace qualified name (i.e. full name) or short name) /// </summary> private String _name; /// <summa...
namespace Plus.Communication.Packets.Outgoing.GameCenter { internal class JoinQueueComposer : MessageComposer { public int GameId { get; } public JoinQueueComposer(int gameId) : base(ServerPacketHeader.JoinQueueMessageComposer) { GameId = gameId; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System; public static class LeaderboardSystem { public static void SaveHighscore(List<HighScoreData> leaderBoard) { string path = Application.per...
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using SFP.Persistencia.Dao; using SFP.Persistencia.Model; namespace SFP.SIT.SERV.Dao.TABADM { public class SeguimientoDAO : BaseDao { public SeguimientoDAO(DbConnection cn, DbTransaction transaction, String d...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Net; using System.Net.Mail; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; using System.We...
namespace ns17 { using System; internal interface Interface8 { byte[] imethod_0(); } }
using DynamicData; using System; using System.Windows; using System.Windows.Threading; using TableTopCrucible.Core.Models.Sources; using TableTopCrucible.Core.Helper; using TableTopCrucible.Domain.Models.ValueTypes.IDs; namespace TableTopCrucible.Core.Services { public interface INotificationCenterService { ...
using Imposto.Core.Data; using Imposto.Core.Domain; using Imposto.Core.Service; 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 TesteImposto {...
using Microsoft.VisualStudio.TestTools.UnitTesting; using programmersdigest.MT940Parser; using programmersdigest.MT940Parser.Parsing; using System; using System.IO; using System.Text; namespace MT940ParserTests { [TestClass] public class StatementParserTests { #region Input checks [TestMet...
using System.Text; using aspnet3.Autofac; using aspnet3.Data; using Autofac; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using ...
using Tortuga.Chain; namespace Tests { public abstract class TestBase { private readonly SQLiteDataSource m_DataSource; protected TestBase() { m_DataSource = new SQLiteDataSource("Data Source=SQLiteTestDatabase.MS.sqlite;"); } public SQLiteDataSource DataSo...
using System; using System.Linq; using System.Text; using ConsoleTable.Core.Extensions; using ConsoleTable.Settings; using ConsoleTable.Settings.Border; namespace ConsoleTable.Core.Drawer { public class ConsoleTableDrawer : IConsoleTableDrawer { private const string NewLine = "\r\n"; private ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TE18A_Arrayer { class Program { static void Main(string[] args) { string[] roomDescriptions = { "KITCHEN - dirty and smelly, dishes everywhe...
using AutoFixture.Xunit2; using Crt.Data.Database; using Crt.Data.Repositories; using Crt.Domain.Services; using Crt.Model.Dtos.Tender; using Moq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Crt.Tests.UnitTests.Tender { ...
using UnityEngine; using System.Collections; [RequireComponent(typeof(SteamVR_TrackedObject))] public class PickupParent : MonoBehaviour { SteamVR_TrackedObject trackedObj; SteamVR_Controller.Device device; //this adds a property under the left controller's Pickup Parent script //under the "Inspector" pane pu...
using MXDbhelper.Common; using System; using System.Collections.Generic; using System.Linq; namespace MXQHLibrary { [TableView("Sys_Login")] public class LoginAll { /// <summary> /// Session /// </summary> [ColumnProperty(Key.True)] public string LoginKey { get; set...
using System; using Microsoft.AspNetCore.Mvc; using BookShelf.Services; using BookShelf.Models.AuthorViewModels; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using BookShelf.Models; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using BullsAndCows.Interfaces; using System.Security.Claims; using BullsAndCows.Data; namespace BullsAndCows.Controllers { public class HomeController : Controller { private readonly IGame _gameService; ScoreStatisticsData _sc...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.Common; using RealEstate.BusinessObjects; namespace RealEstate.DataAccess { public class PostContractDA { #region ***** Init Methods ***** public PostContractDA() { } #end...
using BPiaoBao.AppServices.ConsoContracts.SystemSetting; using BPiaoBao.AppServices.ConsoContracts.SystemSetting.DataObjects; using BPiaoBao.Common; using BPiaoBao.Common.Enums; using BPiaoBao.SystemSetting.Domain.Models.Notice; using JoveZhao.Framework; using System; using System.Collections.Generic; using System.Lin...
using System.Collections; using System.Collections.Generic; using UnityEngine; using DragonBones; public class IAFishThrower : MonoBehaviour { public UnityArmatureComponent armature; public int AttackImpulse_X = 2000; public int AttackImpulse_Y = 0; bool _attacked = false; // Use this for initiali...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using System.Reflection; using System.Runtime.InteropServices; #endregion [assembly: AssemblyTitle("DotNetNuke.Providers.C...
using Game.Models; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GameAPI.Controllers { [Route("api/draws")] [ApiController] public class GamesAPIController : ControllerBase { public static void Main...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace abc_of_asp.net_mvc.Models { public class Customer { private string _Code; private string _Name; private double _Amount; public string Code { set { ...
namespace ConstraintsInGenerics.ConstraintsExamples.HelpMaterial { public interface ISum <T> { T Quantity { get; set; } } }
 using ObservationStudyTool.Models; using System.Linq; namespace ObservationStudyTool.Helpers { public class Mapper { public static string GetApplication(string desc) { var colonIndex = desc.IndexOf(':'); if (colonIndex > 0) { return desc.Su...
using System; using System.Collections.Generic; using System.Text; namespace DiscordBotTest.Helpers { public static class RunescapeAccountList { private static readonly Dictionary<string, string> RunescapeAccounts; private const string TestUser = "TheSweMasterX#5203"; static RunescapeA...
using Microsoft.AspNet.Identity.Owin; using Microsoft.Graph; using Microsoft.Owin.Security; using personal_site.Models; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading....
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using DotNetNuke.Entities.Content.Workflow.Entities; namespace DotNetNuke.Entities.Content.Workflow.Repositories { ...
using Pchp.Core; using System; using System.Collections.Generic; using System.Text; namespace OCP.Http.Client { /** * Interface IClient * * @package OCP\Http * @since 8.1.0 */ public interface IClient { /** * Sends a GET request * @param string uri ...
using Entities.Concrete; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Core.Utilities.Results; namespace Business.Abstract { public interface IPacketService { IDataResult<List<Packet>> GetAll(); ...
using FastSQL.App.UserControls; using FastSQL.App.UserControls.Schedulers; using FastSQL.Core; using FastSQL.Core.UI.Events; using FastSQL.Core.UI.Interfaces; using Prism.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace F...
using AutoMapper; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using Promact.Oauth.Server.Constants; using Promact.Oauth.Server.Data; using Promact.Oauth.Server.Data_Repository; using Promact.Oauth...
using System; using System.Xml; using System.Net.Http; using System.Threading.Tasks; using System.Collections.Generic; namespace MCCForms { public partial class HttpHelper { public async Task<List<RssFeedItem>> GetTweakersRssFeed() { var foundRssItems = new List<RssFeedItem> (); HttpResponseMessage respo...
using DataModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Repository { public interface IRepository { #region Product IEnumerable<Product> GetProducts(); IEnumerable<Product> GetProducts(Category cat);...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lib { [Serializable] public class StructureOfProblem { // 问题数据结构 private string questionName; private string timeLimitIndex; private string memoryLi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Strategy { //策略模式 // interface Strategy { void Sort(List<int> list); } }
using UnityEngine; using UnityEngine.TestTools; using NUnit.Framework; using System.Collections; [Category("Tools")] [TestOf(typeof(V3BezierCurve))] public class TestBezierCurve { V3BezierCurve curve; [SetUp] public void SetUpBezierCurve() { curve = new V3BezierCurve(); } [Test] pub...
using SDL2; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SharpDL.Input { public enum MouseButtonState { Pressed = SDL.SDL_PRESSED, Released = SDL.SDL_RELEASED } }
using System; /* Write a method that calculates the number of workdays between today and given date, passed as parameter. Consider that workdays are all days from Monday to Friday except a fixed list of public holidays specified preliminary as array.*/ class CalculateWorkdays { static void Workdays(D...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QualificationExaming.Entity { /// <summary> /// 资料表 /// </summary> public class Source { /// <summary> /// 资料ID /// </summary> public int So...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TowerShootAI : MonoBehaviour { [SerializeField] private int damage = 20; [SerializeField] private float stoneSpeed = 30; [SerializeField] private float attackRange = 18; [SerializeField] ...
using System; using System.Collections.Generic; namespace Skaitykla.Domains { public class Author { public Author(string name, string surname) { Name = name; Surname = surname; WrittenBooks = new List<Book>(); } public Guid Id { get; set; }...
using System; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Windows.Forms; namespace Course_work_DB { public partial class MainForm : Form { public MainForm() { InitializeComponent(); } string Constring = Constr.GetConnectionStri...
using System; using System.IO.Ports; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace MonitorNode { public class Runner { public static void Main() { Runner monit...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BlinkAndHide : MonoBehaviour { public GameObject m_objToBlink; public float m_blinkDuration; public AnimationCurve m_blinks; public float m_blinkThres; private float m_timer; // Use this for initial...
using StructureMap; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace JoveZhao.Framework.Email { public class EmailServiceFactory { static EmailServiceFactory() { var emailConfig = JZFSection.GetInstances().Email; ObjectFactory.C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataProcessingLibrary.SerialPort { /// <summary> /// 串口信息类 /// </summary> public class SerialPortInfo { // 可用串口 public string PortName { set; get; } ...
using System; namespace CompressionStocking { public class ConsoleInput { ConsoleInput() { } public void await_user_input() { ConsoleKeyInfo console_key; Console.WriteLine("Compression Stocking Control User Interface"); Console.Writ...
namespace BankClassLib { class MoneyMarketAccount : Account { public MoneyMarketAccount(int accountNumber, string name) { this.AccountNumber = accountNumber; this.Name = name; this.AccountType = AccountType.MoneyMarketAccount; } public overri...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class DialogueHandler : MonoBehaviour { public string[] intro_dialogue; public string[] firsttrap_dialogue; public string[] skeleton_dialogue; public string[] zombie_dia...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* Abstract factory pattern is a creational factory pattern in which interfaces are created without specifying actual implementations Type: Creational Design Pattern */ namespace AbstractFactory...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; using Voronov.Nsudotnet.BuildingCompanyIS.Entities.RelationTables; namespace Voronov.Nsudotnet.BuildingCompanyIS.Entities { [Table("bcis.Or...
using System; using Server.Items; namespace Server.Items { public class DustBunny : Item, ICommodity { int ICommodity.DescriptionNumber { get { return LabelNumber; } } bool ICommodity.IsDeedable { get { return true; } } [Constructable] public DustBunny() : this( 1 ) { } [Constructable]...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RestSharp; using RestSharp.Deserializers; namespace Gamecloud { /// <summary> /// A class for containing gamecloud callbacks /// </summary> public class GamecloudCallbacks { // The Singleton-require...
using Common; using SharpDX; using SharpDX.Direct3D11; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Buffer = SharpDX.Direct3D11.Buffer; namespace D3D11._1.Application { interface Itransformable { Vector3 Rotatio...
using UnityEngine; using System.Collections; using LockingPolicy = Thalmic.Myo.LockingPolicy; using Pose = Thalmic.Myo.Pose; using UnlockType = Thalmic.Myo.UnlockType; using VibrationType = Thalmic.Myo.VibrationType; public class ShootWithRender : MonoBehaviour { float xPos =0; float yPos = 0; float zPos = 0; pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KPI.Model.ViewModel { public class KPITreeViewModelAdminLevel { public KPITreeViewModelAdminLevel() { this.children = new List<KPITreeViewModelAdminLevel>();...
using Contoso.Domain.Entities; using Contoso.Forms.Configuration.DataForm; using Contoso.XPlatform.Maui.Tests.Helpers; using Contoso.XPlatform.Services; using Contoso.XPlatform.ViewModels.Factories; using Contoso.XPlatform.ViewModels.ReadOnlys; using Microsoft.Extensions.DependencyInjection; using System; using System...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.SceneManagement; using UnityEngine.EventSystems; public class PauseMenu : MonoBehaviour, IPointerClickHandler { public GameObject MenuPanel; public void OnPointerClick(PointerEventData eventData...
using System; using CoreGraphics; using UIKit; namespace App1 { public sealed class SimpleTableView : UITableView { public SimpleTableView() { TranslatesAutoresizingMaskIntoConstraints = false; BackgroundColor = UIColor.Brown; ScrollEnabled = true; }...
using System; using System.Collections.Generic; using System.Text; namespace NekoUchi.BLL.Constants { public class FieldTranslations { enum WordEnglish { Meaning, Kanji, Kana, Level }; enum WordCroatian { Značenje, Kanji, Kana, Ra...
using System; using GalaSoft.MvvmLight; using HandyControl.Controls; #if netle40 using GalaSoft.MvvmLight.Command; #else using GalaSoft.MvvmLight.CommandWpf; # endif namespace HandyControlDemo.ViewModel { public class SplitButtonDemoViewModel : ViewModelBase { public RelayCommand<string> SelectCmd => ...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Drawing; using System.Drawing.Imaging; using System.Runtime.InteropServices; namespace TankBot { public class Trajectory : ArrayList { publ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { [Header("Score calculation variables")] public int playerScore; public int previousPlayerScore; public int pointsToAdd = 0; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class lightRotate : MonoBehaviour { public GameObject light1; private float time; private void Update() { RotateLight(); if (time > 180) { time = 0; ...
using System; using System.Linq; using System.Windows; using Kit.Enums; using Application = System.Windows.Application; using Kit.WPF.Services; using Serilog; using System.Reflection; using Kit.Services.Interfaces; using Kit.Dialogs; using Kit.Services.BarCode; namespace Kit.WPF { public class Tools...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Project1 { public interface ButtonProperties { void buttonProperties(); void removeButtonKeyboard(FlowLayoutPanel flowLayout1); } }
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SaveGameInteractableObject : MonoBehaviour, IInteractable{ // Use this for initialization public GameObject savePanel; bool interacting = false; void Start() { savePan...
using Raiding.Exceptionn; using Raiding.Factories; using Raiding.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Raiding.Core { public class Engine:IEngine { private ICollection<BaseHero> heroes; public Engine() { HeroF...
using Application.V1.Models.Commands; using FluentValidation; namespace WebAPI.Models.V1.Models.Validators { public class EditModelValidator : AbstractValidator<EditModel.Command> { public EditModelValidator() { RuleFor(x => x.Name) .NotEmpty() .With...
namespace DAL.Repositories.Extensions { using Models.Domain.Models; using Models.Filters; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Text; public static class UserFilterExtensions { public static FilterDefinition<User> BuildFilters(this U...
using System; namespace Produtos { class Program { static void Main(string[] args) { Console.WriteLine("Compras \n"); string verificar; do { Console.WriteLine("Qual produto você escolheu?"); string produto = Conso...
using System.Collections; using System.Collections.Generic; using UnityEngine; using GoogleARCore; public class SceneController : MonoBehaviour { // Start is called before the first frame update void QuitOnConnectionErrors() { if (Session.Status == SessionStatus.ErrorPermissionNotGranted) ...
using MongoDB.Bson.Serialization.Attributes; using System; using System.ComponentModel.DataAnnotations; namespace UBS.EmployeeData.Abstraction { public class Employee { [BsonId] [Required ] public string Id { get; set; } [Required(ErrorMessage = "Name is Required")...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Millo.Models.Social { public class RelationshipStatus { public int Id { get; set; } public bool Engaged { get; set; } public bool InAnOpenRelationship { get; set; } public bool InARel...
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using SampleApp1.Infrastructure.Middlewares; namespace SampleApp1 { public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost Build...
using Newtonsoft.Json; using ProtoBuf; namespace com.defrobo.salamander { [ProtoContract] public struct Order { [ProtoMember(1)] public decimal Price; [ProtoMember(2)] public decimal Size; } [ProtoContract] public struct OrderBookUpdate { [ProtoMemb...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Duello { //inheritance dari class budget public class Income : Budget { //penerapan liskov substitution berupa class income dan expense dapat digunakan tanpa mengubah behav...
namespace EpamTask4.DAL.Repository { using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; public class GenericRepository<T> : IGenericRepository<T> where T : class { DbContext context; DbSet<T> dbSet; private bool disposed = false...
using Newtonsoft.Json.Linq; using System; using System.Net; using System.Runtime.Serialization; namespace CloudinaryDotNet.Actions { [DataContract] public class ListResourcesResult : BaseResult { [DataMember(Name = "resources")] public Resource[] Resources { get; protected set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NextLevelTransition : MonoBehaviour { public Text parentText; public string nextSceneName; // Start is called before the first frame update void Start() { if (Player...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Items/New Item")] public class ItemProperties : ScriptableObject { public string ItemName; public float Weight; public float Value; public string Description; public ItemCategory Category; } ...
using System; using System.Text; namespace ShortestWordInString { class Program { static void Main(string[] args) { string input = "turns out random test cases are easier than writing out basic ones"; Console.WriteLine(FindShort(input)); } public stati...
using System; //For MethodImpl using System.Runtime.CompilerServices; namespace Unicorn { public class Transform { // Native handle for this component private IntPtr native_handle = IntPtr.Zero; //// Vector3 custom types //private Vector3 position = new Vector3(); //private Vector3 rotation =...
namespace VAT.Business.Model { public class Branch : Location { protected override bool CanTransferTo(Vehicle vehicle) { return vehicle is Truck || vehicle is Van; } } }
using System; using System.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; namespace NetFabric.Hyperlinq { public static partial class ValueReadOnlyCollectionExtensions { [MethodImpl(MethodImplOptions.AggressiveInlining)] public stat...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using AcessarCep.DTO; using AcessarCep.Interfaces; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace AcessarCep.Controllers { [Route("")] public class CepContr...
/* * Copyright 2019 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license * * Unless required by appli...
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
using LazyVocabulary.Common.Entities; using LazyVocabulary.DataAccess.Interfaces; using LazyVocabulary.Logic.OperationDetails; using System; using System.Collections.Generic; using System.Linq; namespace LazyVocabulary.Logic.Services { public class LanguageService { private IUnitOfWork _database { get...