text
stringlengths
13
6.01M
using System; using System.Collections.Generic; namespace TexturePacker.Editor.Repository { [Serializable] public class Folder { public string Name; public int Depth; public List<Folder> Folders = new List<Folder>(); public List<SpriteDescription> SpriteDescriptions = new List<SpriteDescription>(); publi...
namespace Igorious.StardewValley.DynamicApi2.Constants { public static class Locations { public static readonly string CarpentersShop = "ScienceHouse"; } }
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Puppeteer.UI.External.GraphVisualizer { // Implementation of Reingold and Tilford algorithm for graph layout // "Tidier Drawings of Trees", IEEE Transactions on Software Engineering Vol SE-7 No.2, March 1981 // The implementation has ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MoneyWeb.ViewModels { public class ItemFilterModel: FilterViewModel { public string Nome { get; set; } public int[] ListClassificacao { get; set; } = new int[] { }; public int[] L...
using System; using System.Collections.Generic; using PterodactylEngine; using Xunit; namespace UnitTestEngine { public class TestFlowchartLinkHelper : TheoryData<int, string, string> { public TestFlowchartLinkHelper() { Add(0, "", " --> "); Add(1, "", " --- "); ...
using gView.Desktop.Wpf.Controls; using gView.Framework.UI; namespace gView.Desktop.Wpf.Items { public class WpfViewToolStripItem : System.Windows.Controls.MenuItem { IDockableWindow _window; public WpfViewToolStripItem(string text, System.Drawing.Image image, IDockableWindow window) ...
// NOTE: two consequences of this simplified response model are: // // (a) it's not possible to send 8-bit clean responses (like file content) // (b) it's // must be loaded into memory in the the Content property. If you want to send large files, // this has to be reworked so a handler can write...
using Accounts.Domain.Commands.Public; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Linedata.Foundation.Messaging; using Accounts.Domain.Events.Public; using Linedata.Foundation.Messaging.Endpoints.Dup...
using Kuromori.DataStructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using Kuromori.InfoIO; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Kuromori { /// <summary> /// Wrapper for events /// </summary> ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace LTTQ { public partial class ProcessBar_ForFun : UserContro...
namespace training { class Program { static void Main(string[] args) { int n = int.Parse(System.Console.ReadLine()); int sum = 0, biggestSum = 0; int data; for (int i = 0; i < n; i++) { data = int.Parse(System.Console....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Unidade6 { class Complementar6Exe3 { public static int opc; public static double peso,altura; public static string homem, mulher; public static void Yol...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using RetenionApp.Models; using RetenionApp.Services; using System; using System.Threading.Tasks; namespace RetenionApp.Controllers { [ApiController] public class UserController : Controller { pri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; namespace QTouristik.PlugIn.OVH_V3.Search.LM { public partial class OHV_V3_SearchEntities { public OHV_V3_SearchEntities() : base(GetConnectionString())...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using WebApplication1.Models; namespace WebApplication1.Service { public class Handle { public string connectionString = ConfigurationManager....
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BankApp.Services { public class CsvReport : Report { public CsvReport(byte[] data) : base(data) { } } }
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebStore.Controllers { public class ErrorController : Controller { //public IActionResult Error() //{ // return View(); //} publ...
namespace GraderBot.WebAPI { public class CodeSubmitDto { } }
using System; using System.Collections.Generic; using System.Linq; namespace Comics.Core.Persistence { public interface IComicsRepository { Comic GetLastImportedComic(ComicType type); void InsertComic(Comic comic); IReadOnlyCollection<Comic> GetLatestComics(ComicType type, i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; using System.Data; namespace Proyecto_conexión_SQL_Server { class Conexion { //Conexión a la base de datos private string cadena = "data source = ALE...
namespace Entities.DbEntities { public class JournalEntry { public string Id { get; set; } public string EntryContent { get; set; } public bool IsDeleted { get; } public string UserId { get; set; } public ApplicationUser User { get; set; } } }
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using Conversive.Verbot5; using System.Speech; using System.Speech.Synthesis; using MySql.Data.MySqlClient; using System.Runtime.InteropServices; using System.Text.RegularExpression...
using SFA.DAS.Http.Configuration; namespace SFA.DAS.ProviderCommitments.Configuration { public class ApprovalsOuterApiConfiguration : IApimClientConfiguration { public string ApiBaseUrl { get; set; } = null!; public string SubscriptionKey { get; set; } = null!; public string ApiVersion...
using System; namespace FoodPricer.App { class Program { public static void Main(string[] args) { // see tests } } }
// Copyright (c) 2020, mParticle, Inc // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
using System; namespace Frank.Scheduler.Client.Configuration { public class SchedulerRestConfiguration { public Uri BaseUrl { get; set; } public string ApiVersion { get; set; } public bool ExtendedLogging { get; set; } public bool ForceInternalToken { get; set; } pu...
using Kafka1.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Core.IServices.IOrderServices { public interface IProcessOrderServices { Task<string> CreateOrderAsync(OrderRequest orderRequest, CancellationToken ca...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Cashflow9000.Models; namespace Cashflow9000.Adapters { public class TransactionTypeAdapter : Ba...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Cont...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using Xunit; using Xunit.Abstractions; namespace Terminal.Gui.ViewTests { public class ScrollBarViewTests { readonly ITestOutputHelper output; public ScrollBarViewTests (ITestOutputHelper output) { this.outpu...
using UnityEngine; using System.Collections; public class PanelData: MonoBehaviour{ public GameObject currentPanel; public int totalCard { get; set; } public int redCard { get; set; } public int blueCard { get; set; } public int greenCard { get; set; } public void updateCardPanelData() {...
using System; using System.Collections.Generic; using System.Linq; using Lecture08.BlogPosts.EntityFramework.Domain; using Lecture08.BlogPosts.EntityFramework.Repositories; namespace Lecture08.BlogPosts.AspNetMvc.Repository { public class MemoryBlogPostRepository : IBlogPostRepository { private readon...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace InitCalculator { public partial class MainPage : ContentPage { private double firstNo, secondNo; int state; st...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Its.Recipes; using System; using System.Collections.Generic; using System.Xml.Linq; using Vipr.Core; namespace ODataReader.v4UnitTests { public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exercicio21 { class DigitoDeControlo { static void Main(string[] args) { { int Numero = Convert.ToInt32(Console.ReadLine()); ...
using System; using System.Collections.Generic; using SharpArch.Domain.DomainModel; namespace Profiling2.Domain.Prf.Sources { public class FeedingSource : Entity { public virtual string Name { get; set; } public virtual bool Restricted { get; set; } public virtual byte[] FileData { get...
using System; using LuaInterface; namespace GFW { public class ScriptAllStateListner : IGameStateListner { protected GameStateMachine m_state_machine; protected LuaFunction m_state_enter_func; protected LuaFunction m_state_exit_func; public ScriptAllStateListner(GameStateMachin...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WAP_Exercicio2 { public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { } protected void...
using System.Collections.Generic; using System.Text; namespace LineWrapping { public class LineBreakerBase { public List<string> ClassDivide(string text) { var outp = new List<string>(); var sb = new StringBuilder(); int wsl = 0; fo...
using Terraria; using Terraria.ID; using Terraria.ModLoader; using Microsoft.Xna.Framework; using System; namespace DuckingAround.NPCs.Bosses { public class EyeDestruction : ModNPC { private static Vector2 zeroVector = new Vector2(0f, 0f); private static bool moveDelay = false; private...
using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace DuckingAround.Items.Weapons.Melee { public class DuckyWrath : ModItem { public override void SetStaticDefaults() { Tooltip.SetDefault("Rain extra-dimensional duckies on your foes..."); } public overri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HotelManagement.BusinessObject { public class KhachHangInFo { private string m_MaKhachHang; public string MaKhachHang { get { return m_MaKhachHang; } set...
using System; using System.Data; using System.Data.SqlClient; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using Elmah; namespace CreamBell_DMS_WebApps { public partial class frmCartOperatorMaster : System.Web.UI.Pa...
using Autofac; using Autofac.Builder; using EmberKernel.Plugins.Components; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; namespace EmberKernel.Services.Configuration { public static class PluginOptionsExtensions ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Anywhere2Go.DataAccess.Entity { public class TaskPicture { public long PictureI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace CrawlerTest.Commands { public class AsyncCommand : IAsyncCommand { public event EventHandler CanExecuteChanged; private readonly F...
using Microsoft.Extensions.Logging; using SnowBLL.Enums; using SnowBLL.Models; using SnowBLL.Service.Interfaces; using System; using System.Collections.Generic; namespace SnowBLL.Service.Concrete { public class BLService : IBLService { protected readonly ILogger<BLService> _logger; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace _4._4_Binary_serialization { class Program { static void Main(string...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TeamCityChangeNotifier.Helpers { public static class Tasks { /// <summary> /// Not sure if this is great code or terrible code. But it works I think. /// It aims to extract out a acommon patte...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; namespace DA.Empresa { public class DAOFactory : IDAOFactory { private String cadena_conexion = @"Initial Catalog=SGA_PRW; Server=VIRTUAL-SQLSRV; User ID=sa; Password=prow...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace St.Eg.Day2.M0.Ex4.Polymorphism.ex03 { public class Abstraction { private int _someState; private void algorithm() { // do something that changes private state ...
using gView.Framework.IO; using gView.Framework.system; using System; using System.Collections.Generic; using System.Windows.Forms; namespace gView.Framework.UI.Controls { internal enum ToolbarPanel { top = 0, bottom = 1, left = 2, right = 3, flow = 4 } public class ToolbarStrip : ToolStrip, IToolbar, IPlugInW...
using System; namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual { /// <summary> /// Representa el objeto response de Empresa Vinculada /// </summary> /// <remarks> /// Creación : GMD 20171009 <br /> /// Modificación : <br /> /// </remarks> public class ...
#if NETFX namespace Tutorial.CategoryTheory { using System; using System.Reactive; using System.Reactive.Linq; using System.Windows; using System.Windows.Input; public static class UIElementExtensions { public static IObservable<EventPattern<MouseEventArgs>> MouseDrag (t...
namespace OldMacDonald.NUnitTests.BL { #region using System; using Moq; using NUnit.Framework; using OldMacDonald.BL; using OldMacDonald.BL.Interfaces; using OldMacDonald.Domain; #endregion [TestFixture] public class AnimalManagerFixture { private readonly stri...
using Alabo.Cloud.People.UserRightss.Domain.Enums; using Alabo.Cloud.People.UserRightss.Domain.Services; using Alabo.Domains.Entities; using Alabo.Domains.Enums; using Alabo.Mapping; using Alabo.UI; using Alabo.UI.Design.AutoTables; using Alabo.Web.Mvc.Attributes; using System; using System.Collections.Generic; using ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Mapster; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Newtonsoft.Json...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using CarRental.API.DAL.Entities; namespace CarRental.API.DAL.DataServices.Clients { public interface IClientsDataService { Task<ClientsItem> GetAsync(Guid id); Task<IEnumerable<ClientsItem>> GetA...
using libairvidproto; using libairvidproto.model; using Network.ZeroConf; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WpfCommon; namespace WinAirvid { public class ServerVM : ResourceVM { private AirVidServer _...
using System.Reflection; using iSukces.Code.Interfaces; using JetBrains.Annotations; namespace Sample.AppWithCSharpCodeEmbedding.AutoCode { internal class JetbrainsAttributeNullValueChecker : AbstractMemberNullValueChecker { protected override bool HasMemberNotNullAttribute(MemberInfo mi) { ...
using System; namespace F_Delegation { public class Car { int speed = 0; public event EventHandler<CarArgs> TooFastDriving; //public delegate void TooFast(int currentSpeed); //private TooFast tooFast; public void Start() { speed = 10; } ...
using System; using System.Threading.Tasks; using MediatR; using Xunit; namespace IntegrationTests { public abstract class DisconnectedClientTests<T, R> : BaseTest<T> where T : ClientServerFixture where R : DummyRequest<R>, new() { public DisconnectedClientTests(T fixture) : base(fixtu...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Configuration; using System.Threading.Tasks; namespace Client { /// <summary> /// Класс подключения для клиента /// </summary> public class ClientConnection : IDisposable { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Web; using Newtonsoft.Json; using Tweetinvi.Events; using TwitterAnalytics.DataAccess; using TwitterAnalytics.Domain.Models.SentimentAna...
using System; using System.Collections.Generic; using System.Linq; using System.IO; namespace ChallengeReview { internal class extents { private static void Main(string[] args) { var extentsFileLines = File.ReadAllLines("extents.txt"); var extentsFileSize ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Diagnostics; namespace WebTest.Code { public class Setting { public static string GetVersion() { return CRL.Base.GetVersion().ToString(); string path = HttpContext.Current....
using System; using System.Collections.Generic; using System.Text; using ComponentFactory.Krypton.Toolkit; using System.Windows.Forms; using System.Drawing; namespace AC.ExtendedRenderer.Toolkit.Charting { [System.Drawing.ToolboxBitmapAttribute(typeof(System.Windows.Forms.Control))] public class Kry...
using Microsoft.Xna.Framework.Graphics; using StardewModdingAPI; namespace SkillPrestigeCookingAdapter { // ReSharper disable once ClassNeverInstantiated.Global public class SkillPrestigeCookingAdapterMod : Mod { /// <summary> /// The cooking skill icon. /// </summary> inte...
using System; using System.Collections.Generic; using Kattis.IO; public class Problem { static public int[] arr; static public int[] mem; static public bool[] comp; static public int max_sum(int i) { if (i == 0) { return arr[i]; } if (comp[i]) { return m...
using Chess.v4.Engine.Interfaces; using EngineTests.Models; using EngineTests.Utility; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EngineTests.Tests.EngineTests { [TestClass] public class CheckTests : TestBase { private IGameStateService _gameStat...
using System; namespace Fuzzing.Fuzzers.Impl { public class DateTimeFuzzer : TypeFuzzer<DateTime> { public override DateTime Fuzz() { var bytes = new byte[8]; RandomNumberGenerator.GetBytes(bytes); var ticks = BitConverter.ToInt64(bytes, 0); return new DateTime(ticks); } } }
using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Transforms; [UpdateAfter(typeof(PlayerControllerSystem))] public class RocketPlayerFollowSystem : JobComponentSystem { private EntityQuery _playerQuery; protected override void OnCreate() { _playerQuery = GetEntityQuery( ComponentTyp...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebAppWood.Models.JsonModels { public class JsonMedida { [JsonProperty("id")] public int id { get; set; } [JsonProperty("tipo")] public string tipo { get; set; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Coin : MonoBehaviour { GameObject player; public float Value; // how much the player gets if they hit the coin private void Start() { if(Value<=0) { Value = 5.0f; } ...
using System; using System.Collections.Generic; using UnityEngine; public class RailBuilder : MonoBehaviour { public List<RailPiece> railPieces; public int segmentCount; public GameObject prefab; public List<bool> editors; [ExecuteInEditMode] public void Refresh() { if...
namespace CarDealer.Models.BindingModels.Supplier { public class SupplierAddBM { public string Name { get; set; } public string IsImporter { get; set; } } }
using Assets.Scripts.Ui; using System.Collections; using UnityEngine; using UnityEngine.Advertisements; namespace Assets.Scripts.UI.Interactive { public class BedPanel : View { public GameObject SetSpawnButton; public GameObject DreamButton; public GameObject TmeUpButton; publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; namespace PROG1_PROYECTO_FINAL { class S_Proveedores : Proveedor { private Connection conexion = new Connection(); SqlDataReader l...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Script encargado de hacer que el Dron siga al jugador /// </summary> public class DroneMovement : MonoBehaviour { private Transform player; private Rigidbody2D rBody; private float dirInX; private float dir...
using System.Linq; using ApartmentApps.Data; using ApartmentApps.Data.DataSheet; namespace ApartmentApps.Api { public class IncidentStatusesSearchEngine : SearchEngine<IncidentReportStatus> { [Filter(nameof(CommonSearch), "Search")] public IQueryable<IncidentReportStatus> CommonSearch(IQueryab...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class WindZone2D : MonoBehaviour { public enum Direction {LEFT = -1, RIGHT = 1}; public Direction windDirection = Direction.RIGHT; private Direction currentDirection; public float density = 2.5f; public float intensity = 10.0f;...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Sentry : Enemy { public Transform firePoint; public LineRenderer lineRenderer; public float attackRadius = 20f; public float loadTime = 3f; public float fireDurati...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Xml.Serialization; using KartObjects.Entities; namespace KartObjects { /// <summary> /// Ассортиментная карточка /// </summary> [Serializable] public class Assortment:Sim...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HighScore : MonoBehaviour { public Text hscoreTxt; public int scr; private void Start() { scr = PlayerPrefs.GetInt("High Score"); } // Update is called once...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cr1p.Cryptography.Ciphers { public abstract class VigenereCipher { public static char[] Crypt(char[] buffer, char[] key, bool encrypt) { buffer = new stri...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace BanSupport { public static class SliderExtension { private static bool CreateSliderExIfNotExist(Slider slider, out SliderEx sliderEx) { if (slider == null)...
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Text; namespace TimeTableApi.Core.Entities { public class TimeTable : Generic { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } ...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; namespace Question { public class MyContext:DbContext { public DbSet<Question> Questions { get; set; } public DbSet<Answer> Answers { get; set; } protected override void OnConfigur...
using BusVenta; using DatVentas; using EntVenta; 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 VentasD1002 { public partial class frmSer...
using System; using UnityEngine; namespace UnityAtoms.BaseAtoms { /// <summary> /// Variable of type `GameObject`. Inherits from `AtomVariable&lt;GameObject, GameObjectPair, GameObjectEvent, GameObjectPairEvent, GameObjectGameObjectFunction&gt;`. /// </summary> [EditorIcon("atom-icon-lush")] [Creat...
using Dorisol1019.MemorialArchiver.Shared.Models.Memorials; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Dorisol1019.MemorialArchiver.Client.Stores.Memorial { public class FetchMemorialItemsCompleteAction<T> { public T[] Memorials { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Web; namespace Lecture07.BlogPosts.WebApi.Models { [DataContract] public class AuthorDataTransfer { [DataMember] public Int32 Id { get; set; } [DataMember] p...
namespace ScratchTutorial { public interface ILessonReader : IHeaderReader { Lesson ReadLesson(string lessonPath); } }
using System.Windows.Controls; namespace VMDiagrammer.Interfaces { /// <summary> /// A interface for drawable objects /// </summary> public interface IDrawingObjects { /// <summary> /// Routine to draw a drawable object /// </summary> /// <param name="c"...
using System.Collections; using UnityEngine; public class WeaponManager1 : MonoBehaviour { public float switchDelay = 1f; public GameObject[] weapon; //무기의 게임 오브젝트 배열 private int index = 0; // 무기의 인덱스 private bool isSwitching = false; // 딜레이를 확인하기 위함. // Use this for initialization private...
using System; using System.Collections.Generic; using System.Threading; using Framework.Core.Common; using Tests.Pages.Oberon.Contact; using Tests.Projects.Oberon.MyVoterInfo; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; namespace Tests.Pages.Oberon { public...
using System; namespace DesignPatterns.Memento.Example1 { public class Customer { public int Id { get; set; } public string Name { get; set; } //This is just one possible implementation. public Customer Clone() { return MemberwiseClone() as Customer; ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using PatientWebApp.Controllers.Adapter; using PatientWebApp.Settings; using RestSharp; namespace PatientWebApp.Controllers { [Authorize] [Route("api/[controller]")] [ApiController] public clas...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BookListController : MonoBehaviour { public Text Title, Author, ISBN, Category, Description, Section, Copy; }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class CharacterForBlue : MonoBehaviour { public bool colorChange; public static float hitCount = 0; public static bool bouncy; bool once = true; Vector3 orgPos, up; // Start...