text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using doob.Reflectensions; using doob.Scripter.Shared; using Newtonsoft.Json.Linq; using Scriban.Runtime; namespace doob.Scripter.Module.Template { public class TemplateModule: IScripterModule { public string Parse(string template, o...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
public class Attribute :BaseStat { private string _name; public Attribute(){ int ExpToLevel; float LevelModifier; _name = ""; ExpToLevel = 50; LevelModifier = 1.5f; } public string Name { get{return _name;} set{_name = value;} } } public enum AttributeName{ Speed, Durability, Agility, Capacity...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; namespace Voronov.Nsudotnet.BuildingCompanyIS.Entities { [Table("bcis.WorkerJobCategories")] public partial class WorkerJobCategory : IEnt...
using Airfield_Simulator.Core.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Airfield_Simulator.Core.FlightRoutes { public static class AirspaceWaypoints { private const int DownwindDistance = 2000; private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HeardSignalWithSpacebar : MonoBehaviour { public Button thisButton; // Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.Space) && thisButton.interactab...
using System; using System.Globalization; using System.Windows; using System.Windows.Data; using MusicPlayer.ViewModels; using MusicPlayer.ViewModels.Interfaces; namespace MusicPlayer.Converters { public class NavigationPlaylistsBoolToVisibilityConverter : IValueConverter { private INavigationViewModel _navig...
using AutoMapper; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Configuration; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Services; using Umbraco.Web.Models.ContentEditing; using Umbraco.Web.Trees; namespace Umbraco.Web.Models.M...
using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations; using HaloHistory.Web.Models; namespace HaloHistory.Web.Migrations { [DbContext(typeof(HaloHistoryContext))] partial class HaloHistoryContextModel...
using RestauranteHotel.Domain.Base; using RestauranteHotel.Domain.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RestauranteHotel.Domain.Repositories { public interface IProductoSimpleRepository : IGenericRepository<ProductoSim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Serrate.Infrastructure; namespace Serrate.Commands.Sales { public class CancelOrder : ICommand { public Guid OrderId { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using SubSonic.Extensions; namespace Pes.Core { public partial class BoardCategory { public static BoardCategory GetCategoryByCategoryID(Int32 CategoryID) { BoardCategory result; BoardCate...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Windows.Forms; namespace Vpit.Coursework { public partial class RelationForm : Form { SqlConnection connection = new SqlConnection(); DataSet dataSet = new DataSet(); int relati...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace DotNetNuke.Entities.Modules { /// <summary> /// This interface allow the page to interact with his modules to delete/rollback or publish...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; class BrowseImageAndroid : AbstractAndroidAPI, IBrowseImage { protected override string ClassAndroidAPI { get { return "com.ensign.browseimagefromgallery.ImageAPI"; } } public void GetImag...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Juego_v3 { class Foo : IMostrar { public void mostrar(string res) { } } }
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine; public class Ball : MonoBehaviour { private bool jumpKeywaspressed = false; private int space_press_count = 0; static private float horizontal_Input; private Rigidbody rigidbody_component;...
using System; using System.Collections.Generic; namespace Dealership.Models { public class Cars { public string Car {get; set;} public string MakeModel {get; set;} public int Price {get; set;} public int Miles {get;set;} public string Message {get;set;} public static List<Cars> CarList = n...
namespace JqD.Common.Command.SystemManage { public class AddUserCommand { public string LoginName { get; set; } public string Password { get; set; } } }
using System.Windows; using System.Windows.Controls; using Athena.Data.Categories; using Athena.EnumLocalizations; namespace Athena.UserControls { /// <summary> /// Interaction logic for CategoryAdding.xaml /// </summary> public partial class CategoryAdding : UserControl { public CategoryAddin...
using System; using System.Reactive.Linq; using FakeItEasy; using SoSmartTv.VideoService.Dto; using Xunit; namespace SoSmartTv.VideoService.Tests.Store { public class FetchTests : RedundantDataStoreTests { private void Arrange(VideoDetailsItem localStoreItem, VideoDetailsItem externalStoreItem) { A.CallTo(() ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace GetLabourManager.Models { public class Employee { public int Id { get; set; } public string Code { get; set; } public string FirstName { get; set; } public string LastName { get; set;...
using System; namespace yocto.tests { public interface IFish { } public class Clown : IFish { } }
using CollectionViewEx.Sample.Controls; using GalaSoft.MvvmLight; using System; using System.Collections.Generic; using System.Text; namespace CollectionViewEx.Sample.ViewModels { public class ItemViewModel : ViewModelBase, IScrollItem { public ItemViewModel() { this.Config = new S...
using FacultyV3.Core.Interfaces; using FacultyV3.Core.Interfaces.IServices; using FacultyV3.Core.Models.Entities; using PagedList; using System; using System.Collections.Generic; using System.Linq; namespace FacultyV3.Core.Services { public class CategoryNewsService : ICategoryNewsService { private ID...
using System; using System.Collections; using System.Collections.Generic; using Cinemachine; using UnityEngine; public class CameraHandler : MonoBehaviour { [SerializeField] private CinemachineVirtualCamera cinemachineVirtualCamera; [SerializeField] private float speedMultiplier = 30f; [SerializeField] pr...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using CommonDX; using SumoNinjaMonkey.Framework.Lib; using SharpDX; using SharpDX.Direct3D; using SharpDX.Direct3D11; using SharpDX.DXGI; using SharpDX.I...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Shunxi.Business.Enums; using Shunxi.Business.Logic.Cultivations; using Shunxi.Business.Models.cache; using Shunxi.Business.Models.devices; using Shunxi.Common.Log; using...
using System; namespace Contemporary_Software_Dev_Lab2 { // Circle class inherits from Shape class with the additional attribute "Radious", used to calculate Area. public class Circle : Shape { double Radious { get; set; } // Radious is calculated by dividing the circles circumferenc...
using System; using System.Collections; namespace GraphTheory { /// <summary> /// Summary description for ElementCollection. /// </summary> public abstract class ElementCollection : IElementCollection { public ElementCollection() { _elements = new ArrayList(); ...
using BPiaoBao.Common.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BPiaoBao.AppServices.DataContracts.DomesticTicket.DataObject { public class AirChangeCoordionDto { public int ID { get; set; } /// <summary> /// 通知方式 ///...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { public class ...
namespace OmniSharp.Extensions.DebugAdapter.Protocol.Client { public interface IDebugAdapterClientFacade : IDebugAdapterClientProxy { IDebugAdapterClientProgressManager ProgressManager { get; } } }
using BIADTemplate.Services; using Microsoft.Bot.Builder.CognitiveServices.QnAMaker; using System; using System.Configuration; namespace BIADTemplate.Dialogs { [Serializable] public class QnaDialog: QnAMakerDialog { public QnaDialog() : base(GetQnaService()) { } ...
//using DAL.Interface.DTO; //using ORM; //namespace DAL.Mappers //{ // public static class DalUsersToRoleMapper // { // public static DalUsersToRole ToDalUsersToRole(this UsersToRole usersToRole) // { // if (usersToRole == null) // return null; // return new Da...
/// <copyright> /// Copyright © Microsoft Corporation 2014. All rights reserved. Microsoft CONFIDENTIAL /// </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Common.Extensions { public static class ReflectionExtension { public sta...
 namespace HandyControlDemo.UserControl { /// <summary> /// ButtonDemoCtl.xaml 的交互逻辑 /// </summary> public partial class ButtonDemoCtl { public ButtonDemoCtl() { InitializeComponent(); } } }
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Eto Scrollable Example")] [assembly: AssemblyDescription("Example code to show how to use Scrollable container")]
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class FloatParameter : Parameter { public float Min { get; set; } public float Max { get; set; } public List<float> IntensityDefault { get; set; } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyCtrl : MonoBehaviour { public GameObject targetPos; public GameObject Enemy; public GameObject _EnemyBullet; float pressTime = 0; float delay = 1; public float enemy_LimitPos; public float enemy...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication.ManageBill { public partial class GUI_UpdateBill : Form { public GUI_UpdateBill(stri...
using System; using System.Collections.Generic; using System.Data.Entity.Validation; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuanLyBanHang.DAO { public class ProductsDAO { public List<Product> GetList() { using (var dataContext = new SalesManag...
using BussinesLogic.Implementation; using BussinesLogic.Interfaces; using DataAccess.DataAccess; using DataAccess.Interfaces; using Services.Implementation; using Services.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web.Http; using System.Web.Http...
using System; using System.Collections.Generic; using System.Text; namespace PhonemesAndStuff { public class Position { public int PositionNumber { get; private set; } public string AuxilarySign { get; private set; } public List<PhoneInWord> Words { get; private set; } public ...
using Contoso.Common.Configuration.ExpressionDescriptors; namespace Contoso.Forms.Configuration.Directives { public class DirectiveDescriptor { public DirectiveDefinitionDescriptor Definition { get; set; } public FilterLambdaOperatorDescriptor Condition { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TQ.SaveFilesExplorer.Entities.TransferStash { public class PlayerTransferStashRecordKeyDescriptor { public TQFilePlayerTransferStashKey Enum { get; set; } public string Name { get; set; ...
using Microsoft.EntityFrameworkCore; using NUnit.Framework; using RestauranteHotel.Infrastructure.Data; using RestauranteHotel.Infrastructure.Data.Base; using RestauranteHotel.Infrastructure.Data.ObjectMother; using RestauranteHotel.Infrastructure.Data.Repositories; namespace RestauranteHotel.Aplication.Test.DataBase ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Coin : MonoBehaviour { public bool checkCoin = false; private Animator anim; private void Start() { anim = GetComponent<Animator>(); GetComponent<CircleCollider2D>().isTrigger = tru...
namespace CloneDeploy_Common.DbUpgrades { public class _1305 : IDbScript { public string Get() { return @"UPDATE `clonedeploy_version` SET `app_version`='135', `database_version`='1305' WHERE `clonedeploy_version_id`='1';"; } } }
using System; namespace Athena.Import.Extractors { public class YearExtractor { public static int? Extract(string text) { if (text == "'-" || text == "-" || string.IsNullOrEmpty(text) || text == ".-") { return null; } return Convert.ToInt32(text.Trim())...
using UnityEngine; public class DisablePlayer : MonoBehaviour { private PlayerMovement playerMovement; private PlayerAnimations playerAnimations; private PlayerAttack playerAttack; private Rigidbody2D rb; public CameraFollow cam; private float maxY = 15f; private float speed = 0.9f; ...
using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; namespace DinoDiner.Menu { /// <summary> /// Class to represent a Sodasaurus menu item /// </summary> public class Sodasaurus : Drink//, IOrderItem, INotifyPropertyChanged { protected Size size;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; namespace JoveZhao.Framework.SOA { public class ClientConfigurationElement : ConfigurationElement { [ConfigurationProperty("servers")] public ServersE...
using KnapsackProblem.Common; using System; using System.Collections.Generic; using System.Text; namespace KnapsackAnnealing.Solver.StartingPositionStrategies { public class GreedyStartingPos : IStartingPositionStrategy { public KnapsackConfiguration GetStartingPosition(SimulatedAnnealingSolver solver...
using System.Collections; using System.Collections.Generic; using UnityEngine; ////////////////////////////////////////////////////////////////// //Created by: Daniel McCluskey //Project: CT6024 - AI //Repo: https://github.com/danielmccluskey/CT6024-AI //Script Purpose: Gives the guards sight ///////////////...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public class CommandGetItemsWhere : ACommand { public AbstractActor Getfrom { get; private set; } public Func<ACarriableItem, bool> WhereCondition { get; private set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CustomerAgenda.Api.ViewModels { public class AddressViewModel { public Guid Id { get; set; } public Guid CustomerId { get; set; } public string Street { get; set; } public...
using Android.OS; using Android.Runtime; using Android.Views; using CheeseBind; using EsMo.MvvmCross.Android.Support; using EsMo.Sina.SDK.Model; using MvvmCross.Binding.Droid.BindingContext; using MvvmCross.Binding.Droid.Views; using MvvmCross.Droid.Support.V7.RecyclerView; namespace EsMo.Android.WeiBo.Entity { [...
// by Krystin Corby with help from John Rohrlich & Justin Vallelonga using UnityEngine; using System.Collections; using System; public class Done_DestroyByContact : MonoBehaviour { public int scoreValue; Color bucketColor; private Done_GameController3 gameController3; private Done_PlayerController2 playerControl...
using System; using Service; using MKModel; namespace MKService.Updates { internal interface IUpdatableMageKnight : IUpdatable, IMageKnightModel, IQueryResponse { new Guid Id { get; set; } new Guid InstantiatedId { get; } new string Name { get; set; } new int Index { get; set; ...
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.IO...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Models { public class ItemQuantity { public int IdPrzedmiotu { get; set; } public int Ilość { get; set; } //public int PotrzebnaIlość { get; set; } ...
namespace ScribblersPad { public enum ETestConnectionState { Nothing, Testing, Successful, Insecure, Failed } }
using System; using System.Collections.Generic; using System.Text; using ENTITY; //<summary> //Summary description for VoucherTypeTaxInfo //</summary> namespace ENTITY { public class VoucherTypeTaxInfo { private decimal _voucherTypeTaxId; private decimal _voucherTypeId...
#region 版权声明 /**************************************************************** * 作 者:周黎 * CLR 版本:4.0.30319.42000 * 创建时间:2018/6/25 21:07:19 * 当前版本:1.0.0.1 * * 描述说明: * * 修改历史: * ***************************************************************** * Copyright @ ZhouLi 2018 All rights reserved *┌──...
using System; using System.Collections.Generic; namespace dojoTest.Models { public class Like : BaseEntity { public int LikeId{get;set;} public int UserId{get;set;} public User LikedBy{get;set;} public int PostId{get;set;} public Post Post{get;set;} } }
namespace BillingTracker.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using BillingTracker.Models; using BillingTracker.Services; [Route("api/[controller]")] [ApiController] public ...
using Torshify.Radio.Framework; namespace Torshify.Radio.EchoNest.Views.LoveHate { public class LoveHateTrackStreamData : TrackStreamData { public string InitialArtist { get; set; } } }
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 HtmlAgilityPack; using System.Text.RegularExpressions; using System.Threading; using System.Runtime...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ENTITY; using OpenMiracle.DAL; using System.Data; using System.Windows.Forms; namespace OpenMiracle.BLL { public class SalesInvoiceBll { SalesBillTaxInfo InfoSalesBillTax = new SalesBillTaxInfo(); Sales...
using EnvDTE; using EnvDTE80; public class C : VisualCommanderExt.ICommand { public void Run(EnvDTE80.DTE2 DTE, Microsoft.VisualStudio.Shell.Package package) { DTE.ExecuteCommand("View.ViewCode"); } }
namespace HiddenMarkovModelLab { using System; using System.Collections.Generic; using System.Linq; public static class ArithmeticMethods { public static SafeNumber Add(SafeNumber x, SafeNumber y) { double xv = x.Value; double yv = y.Value; doubl...
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; namespace Mitheti.Core.Services { public class SizeLimitDatabaseService : ISizeLimitDatabaseService { public const string ConfigKey = "database:maxSize"; public const int DefaultSize = 1; ...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace codeRed_Capstone.Migrations.Company { public partial class AddedDateFields2 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<DateTime>( ...
using MediatR; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.JsonRpc.Generation; // ReSharper disable once CheckNamespace namespace OmniSharp.Extensions.DebugAdapter.Protocol { names...
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; /// <summary> /// SplashScreenForm.cs /// Author: Dmytro Gaponenko /// Student ID: 200335210 /// Date: Ma...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TravelAgencyLibrary { public class Tour { public string Name; public readonly int Code; public string Places; public TypeOfMovement Transport; p...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using SGDE.Domain.Entities; namespace SGDE.DataEFCoreSQL.Configurations { public class WorkHistoryConfiguration { public WorkHistoryConfiguration(EntityTypeBuilder<WorkHistory> entity) { ent...
using DriveMgr.BLL; using DriveMgr.Common; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DriveMgr.WebUI.admin.Statistics { /// <summary> /// bg_CoachTeachStatisticHandler 的摘要说明 /// </summary> public class bg_CoachTeachStatisticHandler : IHttpHandler ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCodeCSharp { public class _028_RestoreIPAddress { /* * http://leetcode.com/onlinejudge#question_93 */ public List<string> RestoreIPAddress(string ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Infra; namespace Console2.From_026_To_050 { public class _042_PartitionList { /* Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal t...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; namespace BusinessLayer.Tests { [TestClass] public class InterestCalculatorTests { private InterestCalculator _interestCalculator; [TestInitialize] public void Init() { _intere...
using System; using System.Collections.Generic; using System.Text; namespace Common { public static class Scripts { /* ALTER TABLE IF EXISTS addrob_wv DROP CONSTRAINT IF EXISTS fk_addrob_wv_PREVID; ALTER TABLE IF EXISTS addrob_wv DROP CONSTRAINT IF EXISTS fk_addrob_wv_NEXTID; ...
using SinavSistemi.Entity; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SinavSistemi.DataAccessLayer { public class BasariDAL { private DBHelper dbHelper; public BasariDAL...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; using MXDbhelper.Common; namespace MXQHLibrary { public class ConvertEntityClass { public void CreateClassFile(string strTbView, string strClassName, List<TableColumn> list, string strType) { ...
using UnityEngine; using System.Collections; using Lowscope.Saving.Data; using System.IO; using System.Text; using System.Collections.Generic; using System; using System.Linq; namespace Lowscope.Saving.Core { public class MetaDataFileUtility { private static string fileMetaDataExtentionName { get { re...
namespace Micro.Net.Abstractions.Storage { public interface IPersistenceProviderFactory { IPersistenceProvider<TData> Create<TData>() where TData : class; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; namespace One.Common { public static class AppSettings { //获取当前应用的本地设置容器 public static ApplicationDataContainer localSettings = ApplicationData.Current.Loc...
using UnityEngine; using System.Collections; public class FlowerScript : MonoBehaviour { public bool played = false; public bool displayIcon = false; public Texture2D cursorImage; private int cursorWidth = 32; private int cursorHeight = 32; // Use this for initialization void Start () { } // Update i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Giros { interface IGiros { string girarDerecha(); string girarIzquierda(); } interface IVelocidad : IGiros { string acelerar(); string frena...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using vmware.vapi.bindings; using vmware.vcenter; namespace Deployer2._0.Models { public class DatastoreHelper { public static String GetDatastore( StubFactory stubFactory, StubConfiguration sessionStubCon...
using Microsoft.EntityFrameworkCore.Migrations; namespace WebApplication.Data.Migrations { public partial class init : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Brands", columns: ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class JumpCollision : MonoBehaviour { private GameObject mPlayer; void Start () { mPlayer = transform.parent.gameObject; } void Update () { } /*----当たり判定関連----*/ private void OnTriggerStay2D(Collider...
using System.Linq; using System.Web.Http; using MusicCatalogue.Data; using MusicCatalogue.Model; using MusicCatalogue.Model.ServiceModels; namespace MusicCatalogue.Services.Controllers { public class ArtistsController : ApiController { private const string InvalidArtistID = "Bad request - invalid arti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio; namespace Pryda.GUnit { /// <summary> /// Selects a project in the solution explorer toolwindow based on the name that...
using System; class Program { public static void Main() { int Period = int.Parse(Console.ReadLine()); int Docs = 7; int TreatedPatientsCounter = 0; int UntreatedPatientsCounter = 0; int Treated = 0; int Untreated = 0; for (int i = 1; i <= Period; i++) ...
/* 08. * The majorant of an array of size N is a value that occurs in it at least N/2 + 1 times. * Write a program to find the majorant of given array (if exists). Example: {2, 2, 3, 3, 2, 3, 4, 3, 3}  3 */ using System; using System.Collections.Generic; using System.Linq; class SequenceMajorant { static int ...
using System; using System.Collections.Generic; using System.Linq; using SubSonic.Extensions; namespace Pes.Core { public partial class Term { public static Term GetCurrentTerm() { var terms = (from t in Term.All() orderby t.CreateDate descendi...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BackButton : MonoBehaviour { public GameObject previousScreenPrefab; public GameObject currentScreen; // Start is called before the first frame update void Start() { ...
using System; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using TariffCreator.Config; namespace TariffCreator.NewTariff.CreateCB { /// <summary> /// Interaction logic for CreateChargeband.xaml /// </summary> public partial class...