text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; using Sesi.WebsiteDaSaude.WebApi.Interfaces; using Sesi.WebsiteDaSaude.WebApi.Models; namespace Sesi.WebsiteDaSaude.WebApi.Repositories { public class CategoriaRepository : ICategoriaRepository { pub...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebFormsUI { public partial class WebForm2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (TextBox1...
using AutoMapper; using TQ.SaveFilesExplorer.Entities; using TQ.SaveFilesExplorer.Entities.Players; using TQ.SaveFilesExplorer.Entities.TransferStash; using System; using System.Windows.Forms; namespace TQ.SaveFilesExplorer { static class Program { /// <summary> /// Point d'entrée principal de l'application. ...
using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { var userIPAccessLogs = new SortedDictionary<string, Dictionary<string, int>>(); var canContinue = true; while (canContinue) { var input = Console.R...
namespace XMLApiProject.Services.Models.PaymentService.Interfaces { public interface ICanGetResponseRootName { string GetResponseRootName(); } }
using System.Collections; using System.Collections.Generic; using System.Dynamic; using UnityEngine; public class Shield : MonoBehaviour { [SerializeField] string[] _collisionTag; [SerializeField] int m_shieldLife; [SerializeField] GameObject m_explosionPrefab = null; private GameObject _animation; ...
using System.Collections.Generic; namespace Scanner { public class ClassInfo { public ClassInfo(string name, List<string> methods) { Name = name; Methods = methods; } public string Name { get; } public List<string> Methods { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleDemo.Common { public class WeightOperationHelper { } }
namespace NetworkToolkit.Http.Primitives { /// <summary> /// Indicates the type of element read from a <see cref="ValueHttpRequest"/>. /// </summary> public enum HttpReadType { /// <summary> /// Default/uninitialized value. /// <see cref="ValueHttpRequest.ReadAsync(System.Th...
namespace Hybrid.Data { /// <summary> /// Hybrid操作结果 /// </summary> /// <typeparam name="TResultCode"></typeparam> public interface IHybridResult<TResultCode> : IHybridResult<TResultCode, object> { } /// <summary> /// Hybrid操作结果 /// </summary> public interface IHybridResult<TRe...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; public partial class ReBidLog : System.Web.UI.Page { string obj_Authenticated; PlaceHolder maPlaceHolder; UserControl obj_Tabs; UserC...
using System; using System.Collections.Generic; using System.Linq; namespace _03.GroupNumbers { class GroupNumbers { static void Main(string[] args) { int[] numbers = Console.ReadLine().Split(new char[] { ',' }).Select(int.Parse).ToArray(); int[] sizes = new int[3]; ...
using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; using DevHawk.WazStorageExtensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace WazStorageExtension...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; namespace Dao.Mercadeo { public interface IPreciosDetDao : IGenericDao<InvListaPrecioDet> { } }
using DataLayer.Entities; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Repository.Categories { public interface ICategoryRepository { Task<IEnumerable<Category>> GetAllCategoriesAsync(bool trackChanges); Task<Category> GetCategoryAsync(Guid categoryId...
using Labs.WPF.TorrentDownload.ViewModels; using System; using System.Reflection; using System.Windows; using Unity.Attributes; namespace Labs.WPF.TorrentDownload { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); this.Loaded += Ma...
using UnityEngine; using UnityEngine.Serialization; public class MeshDeform : MonoBehaviour { [FormerlySerializedAs("shader")] public ComputeShader Shader; [FormerlySerializedAs("radius")] [Range(0.5f, 2.0f)] public float Radius; int kernelHandle; Mesh mesh; public struct Vertex { pu...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NPC : AbstractNPC { private Animator _anim; private Transform _player; private bool _walking = false; public float Speed, Range; private new void Start() { base.Start(); _player = GameObject.FindGameObjectWithTag("...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class dockProperties : MonoBehaviour { public List<GameObject> shape; // Use this for initialization void Start () { shape.Add(GameObject.FindGameObjectWithTag("dockRotate")); shape.Add(GameObject.FindGameObjectWithTag("d...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
using System; using System.Collections; using System.Collections.Generic; using ReadyGamerOne.Common; using ReadyGamerOne.Script; using ReadyGamerOne.View; using SecondGame.Const; using SecondGame.Model; using SecondGame.Scripts; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.UI; using Object = Unit...
using System; using System.Collections.Generic; namespace Parabox.CSG { internal class CSG_Node { public List<CSG_Polygon> polygons; public CSG_Node front; public CSG_Node back; public CSG_Plane plane; public CSG_Node() { this.front = null; this.back = null; } public CSG_Node(List<CSG_Poly...
using System; namespace Domain.Entities { public class Environment : EntityBase { public DateTime Timestamp { get; set; } public double Temperature { get; set; } public double Humidity { get; set; } public bool Motion { get; set; } } }
using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CheckoutServiceProxy { class CheckoutClient : ICheckoutClient { private String baseUrl; public CheckoutClient(String baseUrl_) { baseUrl = baseU...
using System; using System.Collections.Generic; using UnityEngine; using ListUtility; // Handles the logic for character switching public class TeamManager : MonoBehaviour { #region --Field-- // Public Field public static TeamManager instance; // Private Field // Holds reference to game object ...
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 WindowsFormsApplication1 { public partial class Gratulacje : Form { public Gra...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; namespace MvcMovie.Models { public class MovieReview { public int Id { get; set; } public string Name { get; set; } public string Review { get; ...
namespace solution1.Rapport.Stat { public partial class DataSet_stat { } } namespace solution1.Rapport.Stat { public partial class DataSet_stat { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AllCameras_Controller : MonoBehaviour { public Camera FirstPersonCam, cam2, cam3, cam4, cam5, cam6; public KeyCode key1, key2, key3, key4, key5, key6, keyP, keyESC; private bool isPaused = false; void Pause()...
using System; using System.Collections.Generic; namespace Senai.Senatur.WebApi.Domains { public partial class Pacotes { public int IdPacote { get; set; } public string NomePacote { get; set; } public string Descricao { get; set; } public DateTime DataIda { get; set; } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InterviewQuestions { public class CountNumberOfWords { public static void Test() { var test1 = " Hello, my name is John."; Console.WriteLine(Cou...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CoordControl.Core.Domains; using CoordControl.Forms; using CoordControl.Models; using System.Windows.Forms; using CoordControl.Core; namespace CoordControl.Presenters { public class PlansPres...
using System; namespace Problem1 { class Program { static void Main() { string input = Console.ReadLine(); input = input.TrimStart('0'); input = input.Insert(0, input[input.Length - 1].ToString()); input = input.Remove(input.Length - 1); ...
/*using System; namespace Basiceg { class CalculatorEg { //global float num1 = 80, num2 = 25, result; //method without return type void Add { //local to the method //float num1 = 80, num2 = 25, result; //new space is created for resu...
using System.Collections.Concurrent; using Microsoft.Extensions.Logging; using PlatformRacing3.Server.Extensions; using PlatformRacing3.Server.Game.Client; using PlatformRacing3.Server.Game.Commands; using PlatformRacing3.Server.Game.Lobby; namespace PlatformRacing3.Server.Game.Match; internal sealed class MatchMana...
using Microsoft.Data.Sqlite; namespace TNBase.Repository.UnitTests.TestMigrations { public abstract class TestSqlMigration : ISqlMigration { protected readonly SqliteConnection connection; public TestSqlMigration(SqliteConnection connection) { this.connection = connection;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Model; using Ninject; using Dao.Mercadeo; namespace Blo.Mercadeo { public class ColorBlo : GenericBlo<InvColor>, IColorBlo { private IColorDao _colorDao; public Color...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InventoryData : MonoBehaviour { public delegate void SelectedChangedDelegate(bool val); public int id; public string itemName; public int rewardAmount; public bool isLocked = true; pu...
using System; using System.ComponentModel; using System.Runtime.InteropServices; using Penumbra.Game; using Penumbra.MetaData; using Penumbra.Util; using ImcFile = Lumina.Data.Files.ImcFile; namespace Penumbra.Mods { public enum MetaType : byte { Unknown = 0, Imc = 1, Eqdp = 2, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace baseobject { interface IShape { int Area(); int circumferance(); } }
using UnityEngine; using UnityEngine.UI; namespace Cubes { /// <summary> /// Text component that displays the SpawnCount property of a TargetSpawner. /// </summary> [RequireComponent(typeof(Text))] public class UITargetSpawnDisplay : MonoBehaviour { [SerializeField] [Tooltip("T...
using LitJson; using System; public static class DataWriter { public static WriterAdapter GetAdapter(JsonWriter writer) { return new JsonWriterAdapter(writer); } public static WriterAdapter GetAdapter(LuaWriter writer, string rootName = "Root", bool local = false) { return new LuaWriterApdater(writer, rootNa...
using OpenCvSharp.CPlusPlus; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace LabLife.Editor { public class ImageFrameArrivedEventArgs : EventArgs { pub...
namespace DpiConverter { using System; using System.Linq; using System.Windows.Forms; using DpiConverter.Presenters; internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] internal static vo...
using System.ComponentModel.DataAnnotations; namespace dojoLeague.Models { public abstract class BaseEntity{} public class Dojo : BaseEntity { [Key] public int id {get;set;} [Required] public string name{get;set;} [Required] public string location {get;set;}...
using System.ComponentModel; using System.Runtime.CompilerServices; namespace trpo_lw6 { public class Route : INotifyPropertyChanged { private string _name; private string _description; private string _peak; private int _height; public string Name { ...
using Microsoft.AspNetCore.Mvc; using Politicizer.Api.Abstract.Services; namespace Politicizer.Api.Controllers { [Route("api/[controller]")] public class LegislationController: Controller { private readonly ILegislationService _service; public LegislationController(ILegislationService s...
 using System; using System.ComponentModel; using System.Runtime.Serialization; //using GalaSoft.MvvmLight; using MKService.Updates; using ReDefNet; namespace MKService.Queries { /// <summary> /// The Updatable Model for Session Time. /// </summary> /// <seealso cref="Lwi.ObservableObject" /> /// ...
using AdventureAPI.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AdventureAPI.DTOs { public class AdventureDTO { public int Id { get; set; } public string Name { get; set; } public string Category { get; set; } ...
using System; using System.Collections.Generic; namespace Auction_proj.Models { public class User : BaseEntity { public string UserName { get; set; } public int Userid { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string ...
using System; namespace Whale.Shared.Models.Question { public class QuestionCreateDTO { public Guid MeetingId { get; set; } public bool IsAnonymous { get; set; } public UserDataDTO Asker { get; set; } public string Text { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace CoreComponents.Threading.SubThreading { public abstract class BaseIsolatedWorkerThread : IIsolatedThread { private bool myIsActive; private bool myStopRequested; ...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace fixynetService { class DbClass { public static string cadenaConexion() { Configuration appconfig = ConfigurationMa...
using Microsoft.Xna.Framework; using SprintFour.Sprites; using SprintFour.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SprintFour.HUD { public class Cursor { public SpriteBase sprite; public int Choice { get; set; } public ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkC...
using System; using System.Collections.Generic; using UnityEngine; public class InputController : MonoBehaviour { public static InputController Instance { get; protected set; } Ray mouseRay; public SpaceshipController spaceship; public Vector2 MousePos { get; protected set; } protected Vector2 ...
namespace Lab6 { public enum ModeReport { Daily, EmployeeSprint, TeamLeadSprint } }
using Dz10.Domain; using System; namespace Dz10 { class Program { static void Main(string[] args) { using (var context = new AirContext()) { var airplane = new Airplane { PlaneName = "Boing" }; ...
namespace OCP.Log { /** * Interface ILogFactory * * @package OCP\Log * @since 14.0.0 */ public interface ILogFactory { /** * @param string type - one of: file, errorlog, syslog, systemd * @return IWriter * @since 14.0.0 */ ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; namespace InstagramMVC.Globals { public class AppConst { /// <summary> /// Строка соединения с БД /// </summary> public static string ConnStr = ConfigurationManager....
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Pitstop { public class LUD_PreviewOfScannedObject : MonoBehaviour { public GameObject crystalButtonInDialogueWheel; [SerializeField, Range(0, 1)] float transparenceyOfSprite...
/* * Copyright 2014 Technische Universität Darmstadt * * 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 appl...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Minesweeper { class Field { Cell[,] cells = new Cell[10, 10]; public Field() { Random rand = new Random(); f...
using System; using Logs.Authentication.Contracts; using Logs.Services.Contracts; using Logs.Web.Controllers; using Moq; using NUnit.Framework; namespace Logs.Web.Tests.Controllers.VoteControllerTests { [TestFixture] public class ConstructorTests { [Test] public void TestConstructor_PassEv...
using UnityEngine; using System.Collections; using UnityEngine.UI; using MoLiFrameWork.UI; public class TestOne : BaseUI { private Button btn; // Use this for initialization void Start () { btn = transform.Find("Panel/Button").GetComponent<Button>(); btn.onClick.AddListener(OnClickBtn); }...
using System; using static System.Console; using System.Collections.Generic; using System.Threading.Tasks; using System.Text.RegularExpressions; using System.Net.Http; namespace Task2 { public class AsyncLottoWinNrs { public static IEnumerable<byte> RandomNr() { for (int i = 1; i <...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Colliders_GP3 : MonoBehaviour { public void OnTriggerEnter2D(Collider2D col) { if(col.tag == "Botella") { FindObjectOfType<Botella_Script>().onCollide(); } if(col.tag == "Pla...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; namespace COMP476Proj { /// <summary> /// Static class to run the A* algorithm /// </summary> public static class AStar { /// <summary> /// Helper clas...
using System; using System.Collections.Generic; #nullable disable namespace Quinelita.Entities.DTOs { public partial class TblTeam { public TblTeam() { TblMatchLocalTeams = new HashSet<TblMatch>(); TblMatchVisitorTeams = new HashSet<TblMatch>(); } publ...
using Plus.Communication.Packets.Outgoing.Moderation; using Plus.Database.Interfaces; using Plus.HabboHotel.GameClients; using Plus.HabboHotel.Moderation; namespace Plus.Communication.Packets.Incoming.Moderation { internal class CloseTicketEvent : IPacketEvent { public void Parse(GameClient s...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class AbstractionHoleSnap : Abstraction { private int textureSize = 1024; private Texture2D texture; private RenderTexture renderTexture; private GameObject camera; private GameObject trianglesMesh; priva...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using TrashCollectorApp.ActionFilters; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MongoDB.Bson; namespace PCSamensteller.Models { public class Behuizing : IProduct { public ObjectId Id { get; set; } public double Prijs { get; set; } public string Productnaam { get; set; } ...
using Microsoft.Azure.Cosmos; using Newtonsoft.Json; using System; namespace DotNetDocs.Repository { public class Document { [JsonProperty("id")] public string Id { get; set; } = Guid.NewGuid().ToString(); internal PartitionKey PartitionKey => new PartitionKey(Id); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ENTITY; using OpenMiracle.DAL; using System.Windows.Forms; using System.Data; namespace OpenMiracle.BLL { public class BrandBll { BrandSP SPBrand = new BrandSP(); public decimal BrandAdd(BrandInfo brand...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using WebAppAuthentication; namespace WebAppAuthentication.Controllers { [Authorize(AuthenticationSchemes = Constants.ApiKeySection.AUTHENTICATION_SCHEME)] [Route("api/[controller]")] [ApiController] public class ApiKeyTestContr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YoctoScheduler.Core.Exceptions { public class ConfigurationNotInitializedException : Exception { public override string ToString() { return "ConfigurationNo...
using System; using System.IO; using System.Linq; /*\ * To-do * 1 - create a file validation system * * * * File format * <Number of Columns>, <Number of Rows>, <Total Number of hidden words> * number of lines in document = number of hiddenwords + 1; * <Word>, <Column Co-ordinate of fi...
namespace E01_SchoolClasses { using E01_SchoolClasses.AbstractClasses; public class Discipline : Info { public Discipline(string name, int numOfLectures, int numOfExercises) : base(name) { this.NumOfLectures = numOfLectures; this.NumOfExercises = numOf...
using Microsoft.AspNetCore.Mvc; namespace Ford.Tracker.Api.Controllers { [Produces("application/json")] [Route("api/Ping")] public class PingController : Controller { public IActionResult Get() { return Ok(); } } }
namespace Torshify.Radio.Framework { public class TrackListStreamData : TrackStreamData { public Track[] Tracks { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Console2.G_Code { public class G_027_ReorderString { /* Given an input string and an order string, e.g., “house” and “soup”, print out characters in input string according to charact...
using Synapse.Api.Plugin; namespace BodyEject_Synapse_ { [PluginInformation( Author = "TypicalIllusion", Description = "BodyEject", LoadPriority = 0, Name = "BodyEject", SynapseMajor = 2, <<<<<<< HEAD SynapseMinor = 4, SynapsePatch = 2, Version = "1.2.0" ======= SynapseMinor = 3...
using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operations; namespace Meziantou.Analyzer.Rules; [DiagnosticAnalyzer(LanguageNames.CSharp)] public sealed class DontUseDangerousThreadingMethodsAnalyzer : DiagnosticAn...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Linq; using FluentAssertions; using Microsoft.CodeAnalysis.Sari...
using System.ComponentModel.DataAnnotations; namespace Chushka.ViewModels { public class LoginViewModel { [Required] [StringLength(maximumLength: 30, ErrorMessage = "Username length must be between 5 and 30", MinimumLength = 3)] public string Username { get; set; } [Required] ...
using System; using System.Collections.Generic; using System.Text; namespace ManagerSoftware.CoreEngine { public class Archive { public string Name { get; set; } public DateTime ArchiveDate { get; set; } public int Id { get; set; } public Archive(string Name, DateTime ArchiveD...
using System; using System.Linq; namespace DataHosts { public class Class1 { readonly WebModel ctx = new WebModel(); public Class1() { var topHosts = ctx.Hosts.Where(h => (h.ParentId == null || h.ParentId != 0) && h.HostId > 0).OrderBy(h => h.HostId).Take(10).ToList(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProBikeSS16.domain { public enum type { s, b } class Unit { public int id; public type t; public List<Unit> lUnits; public Unit (int id, type t, Li...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Serrate.Infrastructure; using Serrate.Commands.Sales; using Serrate.Contract.Sales; namespace Serrate.Sales { public class SubmitOrderHandler : IHandle<SubmitOrder> { private readonly IBus bus; public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Experimental.Rendering; namespace MZ.LWD { using System; using UnityObject = UnityEngine.Object; [Flags] public enum ClearFlag { None = 0, Color = 1, ...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; namespace PCVASolver.UnitTests { public class SolverTests { private PCVAGraphSolver _solver { get; set; } List<City> _allCities { get; set; } [SetUp] public void Setup() { ...
namespace nuru { public struct RGB { public byte R; public byte G; public byte B; public RGB(int rgb) { R = (byte)((rgb & 0x00ff0000) >> 16); G = (byte)((rgb & 0x0000ff00) >> 8); B = (byte)((rgb & 0x000000ff) >> 0); } ...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace Tff.Panzer.Models.Scenario { public cl...
/** 版本信息模板在安装目录下,可自行修改。 * PaperGroup.cs * * 功 能: N/A * 类 名: PaperGroup * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2014/11/28 16:20:52 N/A 初版 * * Copyright (c) 2012 Maticsoft Corporation. All rights reserved. *┌──────────────────────────────────┐ *│ 此技术信息为本公司机密信息,未经本公司书面同...
using System; namespace Ts.Core { public static class DateExtension { public static bool CompareDateTo(this DateTime date1, DateTime date2) { return (date1.Day == date2.Day && date1.Month == date2.Month && date1.Year == date2.Year); } public static bool CompareDateBetween(this DateTime date1, Da...
using LinqToDB.Mapping; namespace Core.Domain { /// <summary> /// Базовый класс для сущностей из бд. /// </summary> public abstract class EntityBase { /// <summary> /// Идентификатор. /// </summary> public abstract int Id { get; set; } /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; using BookSys.Model; namespace BookSys.DataAccess { public class LivroDAL : Persistence { //Cadastrar Livro - Insert public void Cadastrar(Livro l) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JoroTheRabbit { class Program { static void Main(string[] args) { int maxRoute = 0; string input = Console.ReadLine(); ...
using UnityEngine; using System.Collections; public class HurtOnTouch : MonoBehaviour { public float knockback = 5.0f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnCollisionEnter2D(Collision2D collision){ if (collision.gameObject.tag =...