text stringlengths 13 6.01M |
|---|
// <copyright file="CommandHandler.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2019 Firoozeh Technology 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 Licen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace BlackJack1
{
class Cards
{
List<Card> cards;
public enum Card
{
VALET, DAMA, KING,
TUZ,
TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIG... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShapeLibrary
{
public class Equilateral : Triangle, IShapeCalc
{
public Equilateral(string sColour, double s1) : base(sColour, s1, s1, s1)
{
}
... |
using System.Collections.Generic;
using SpatialEye.Framework.Client;
using SpatialEye.Framework.Features;
namespace Lite
{
/// <summary>
/// A message that is sent via the messenger to tell other parts of the
/// application that a feature transaction is about to be carried out
/// </summary>
public class... |
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var publishDirectory = @"./publish";
var sitemapGeneratorPublishDirectory = @"./publish_sitemap";
const string errorMessage = "Process returned an error (exit code {0}).";
Task("Restore")
.Does(() =>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Xml.Linq;
namespace ReadCsv
{
public class BankTran
{
public string UserID { get; set; }
public string AmountDue { get; set; ... |
using System;
using System.Runtime.InteropServices;
namespace gView.Framework.system.UI
{
public class AeroGlass
{
[StructLayout(LayoutKind.Sequential)]
public struct MARGINS
{
public int Left;
public int Right;
public int Top;
public int... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace GraderBot.Utilities.FileManagement
{
public static class DirectoryInfoExtender
{
public static void DeleteRecursive(this DirectoryInfo dir)
{
... |
using Dashboard.UI.Controls.DesignViewControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Dashboard.Models
{
public class BindableTextboxSaveModel
{
public double Canva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgFrog.Interface.TaskRunning.Runners
{
public class ProgTaskRuntimeException : ApplicationException
{
public ProgTaskRuntimeException(string message) : base(message)
... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CIPMSBC;
public partial class Step1_Questions : Sys... |
using System;
using Festival.Models;
namespace Festival.Check
{
interface IFestivalBandProcessor
{
void CheckFestival(MusicFestival musicFestival);
void CheckBand(Band band);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace BinarySearchTreeVisualizer
{
class Tree
{
protected Node root;
protected List<int> output;
public Node Root { get { return this.root; } }
public List<int> Output { get { return this.output; } }
... |
using System;
namespace TheMapToScrum.Back.DAL.Entities
{
public abstract class EntityBase
{
public int? Id { get; set; }
//suppression logique
public bool IsDeleted { get; set; }
public DateTime? DateModification { get; set; }
public DateTime? DateCreation {... |
using System;
using System.Diagnostics.CodeAnalysis;
namespace Atc.Data.Models
{
/// <summary>
/// Culture.
/// </summary>
[Serializable]
public class Culture
{
public Culture()
{
this.Lcid = 0;
this.Name = string.Empty;
this.CountryEnglishNa... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Boxes
{
public class AutoGrid : Grid
{
public AutoGrid()
{
//default constructor fills the current view
HorizontalOptions = LayoutOptions.Fill;
Verti... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TrainEngine
{
public interface ITravelPlan
{
List<object> TimeTable { get; }
object Train { get; }
void Save(string path);
void Load(string path);
}
}
|
using System;
using System.Collections;
using Environment;
using Managers;
using UnityEngine;
namespace CameraBehaviour
{
public enum CameraState
{
MovementForPlayer,
MovementMap
}
public class CameraBehaviour : MonoBehaviour
{
private Camera camera;
private ControllableCamera controllableCamera;
pri... |
using System.Threading.Tasks;
using Compent.Shared.Search.Contract;
using Compent.Shared.Search.Elasticsearch;
using Compent.Shared.Search.Elasticsearch.Providers;
using Nest;
using Uintra.Core.Search.Helpers;
using Uintra.Core.Search.Providers;
using Uintra.Features.Search;
namespace Uintra.Core.Search
{
public ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using TelegramFootballBot.Core.Models.CallbackQueries;
namespace TelegramFootballBot.Core.Tests
{
[TestClass]
public class CallbackTests
{
[TestMethod]
public void GetGameStartCallbackText_ReturnsCorrectText()
{
... |
using UnityEngine;
using System.Collections;
public enum Caracteristic { Strength, Agility, Vitality, Intelligence, Spirit };
public class Weapon
{
public int m_iMinRange = 1;
public int m_iMaxRange = 1;
public int m_iSpeed = 1;
public float m_fDamageMultiplier = 1;
public Caracteristic m_UsedCara... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2_masodik_feladat
{
class Program
{
static int FibonacciSzamitas(int n)
{
if(n <= 2)
{
return 1;
}
... |
using System;
namespace BlazorShared.Models.Appointment
{
public class CreateAppointmentRequest : BaseRequest
{
public int PatientId { get; set; }
public Guid ScheduleId { get; set; }
public int AppointmentTypeId { get; set; }
public int ClientId { get; set; }
public int RoomId { get; set; }
... |
using System;
using Uintra.Core.Activity.Helpers;
using Uintra.Features.Links;
using Uintra.Features.Links.Models;
namespace Uintra.Core.Feed
{
public abstract class FeedLinkProvider
{
private readonly IProfileLinkProvider _profileLinkProvider;
protected readonly IActivityPageHelper _activityP... |
namespace WitsmlExplorer.Api.Jobs.Common
{
public class WellboreReference
{
public string WellUid { get; set; }
public string WellboreUid { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace ShoppingCart
{
public class Pants : Product
{
public override double SizeValue(int ProductSize)
{
double cost = 0;
switch (ProductSize)
{
case 1:
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
namespace OurClassLibrary
{
public class clsSaleCollection
{
//not needed anymore
//public clsSaleCollection()
//{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Entidades.Vistas
{
public class vDEPARTAMENTOS
{
public string COD_DEPTO { get; set; }
public string NOM_DEPTO { get; set; }
public string ABREV_DISFON { get; set; }
public string US... |
using Effigy.Service;
using Effigy.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Effigy.Entity.DBContext;
using System.Web.Services;
using Effigy.Entity.Entity;
using System.Text;
namespace Effigy.... |
using Newtonsoft.Json;
using PrivatBankRates.Helpers;
using PrivatBankRates.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System... |
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;
using HotelManagement.Controller;
namespace HotelManagement.UserInterface
{
public partial class LoaiDichVu : Form
... |
using System.Collections.Generic;
namespace Project.core.Interfaces
{
public interface ITeacherRepository
{
void Add(Teacher teacher);
void Edit(Teacher teacher);
void Remove(int teacherID);
IEnumerable<Teacher> GetTeachers();
Teacher FindById(int teacherID);
... |
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
#if UNITY_EDITOR
using System.Reflection;
#endif
namespace AtomosZ.OhBehave
{
[RequireComponent(typeof(OhBehaveActions))]
public class OhBehaveAI : MonoBehaviour
{
/// <summary>
/// Filepath relative to Streaming Assets folder.... |
using UnityEngine;
using System.Collections;
public class StereoscopicCamera : MonoBehaviour {
[SerializeField]
bool generateCameras = false;
[SerializeField]
float eyeSeparation;
GameObject leftEye;
GameObject rightEye;
[SerializeField]
Material stereoscopicMaterial;
RenderTe... |
using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Set variable value Action of type `GameObject`. Inherits from `SetVariableValue<GameObject, GameObjectPair, GameObjectVariable, GameObjectConstant, GameObjectReference, GameObjectEvent, GameObjectPairEvent, Gam... |
using EmployeeWapi.Models;
using EmployeeWapi.Repository;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Web.Http;
using System.Web.Http.Description;
namespace EmployeeWapi.Controllers
{
public class EmployeesController : ApiController
{
private ... |
using _04.RepeatingCounter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05.BiggerThanNeighbours
{
public class CheckIsBigger
{
static int[] numArray;
static byte position;
static void Main()
{
... |
namespace ExpenseBucket.EF.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class CreateDatabaseAndAddInitialData : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Backups",
c => new
... |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(RectTransform))]
[DisallowMultipleComponent]
[AddComponentMenu("MyUI/Demo")]
[ExecuteInEditMode]
public class Demo : MonoBehaviour
{
[Range(1, 10)]
public int num1;
[Multiline(5)]
publ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Uintra.Features.Notification.Services
{
public interface IMemberNotifiersSettingsService
{
IDictionary<Enum, bool> GetForMember(Guid memberId);
IDictionary<Guid, IEnumerable<Enum>> GetForMembers(IEnumerable... |
namespace AndroidApp1;
[Activity(Label = "@string/app_name", MainLauncher = true)]
public class Activity1 : Activity
{
protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
// Create your application here
}
} |
using RPG.Core;
using UnityEngine;
using UnityEngine.AI;
using RPG.Saving;
namespace RPG.Movement
{
[RequireComponent(typeof(NavMeshAgent))]
public class Mover : MonoBehaviour, IAction, ISaveable
{
[SerializeField] private float maximumSpeed=9f;
private NavMeshAgent navMeshAgent;
pr... |
using System.Collections.Generic;
using Nest;
namespace SciVacancies.Services.Elastic
{
public interface IAnalythicService
{
IDictionary<string, IAggregation> VacancyPayments(VacancyPaymentsAnalythicQuery query);
IDictionary<string, IAggregation> VacancyPayments(VacancyPaymentsByResearchDirec... |
using Compent.Extensions;
using System;
using TimeZoneConverter;
namespace Uintra.Infrastructure.Providers
{
public class ClientTimezoneProvider : IClientTimezoneProvider
{
private readonly ICookieProvider _cookieProvider;
private const string ClientTimezoneCookieAlias = "clientTimezone";
... |
using System;
using TRPO_labe_6.Models;
namespace TRPO_labe_6_console
{
public class ShopBuilder
{
public Shop Build()
{
string name = GetName();
return new Shop(name);
}
private string GetName()
{
Console.WriteLine("Введите имя мага... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ZM.TiledScreenDesigner.WinApp
{
public class CustomTreeNode : TreeNode
{
public CustomTreeNode() : base()
{
}
public Custo... |
using Ibit.Core.Data;
using Ibit.Core.Util;
using Ibit.Plataform.Camera;
using UnityEngine;
namespace Ibit.Plataform
{
public partial class Player
{
private void PositionOnSerial(string msg)
{
if (msg.Length < 1)
return;
var sensorValue = Parsers.Float(... |
using Api.Models;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace Api.Contextos
{
public class ApiContexto : DbContext
{
public ApiContexto() : base("ApiConnection") { }
public DbSet<Produto> Produtos { get; set; }
public DbSet<Pedido> Pedi... |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Inventory.Data
{
public class DishModifier : BaseEntity
{
public Guid RowGuid { get; set; }
public Guid DishGuid { get; set; }
[ForeignKey(nameof(DishGuid))]
public virtual Dish Dish { get; set; }
... |
using MediatR;
namespace Detego.API.Application.Stores.Notifications
{
public class StoreListUpdateEvent : INotification
{
}
} |
using gView.Server.AppCode;
using gView.Server.Models;
using gView.Server.Services.MapServer;
using gView.Server.Services.Security;
using Microsoft.AspNetCore.Mvc;
using System;
namespace gView.Server.Controllers
{
public class TokenController : BaseController
{
private readonly LoginManager _loginMan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Proyecto.Models
{
public class DetalleVenta
{
public int IdDetalleVenta { get; set; }
public int IdCliente { get; set; }
public int IdProducto { get; set; }
public int IdVend... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using EasyDev.EPS.Portal;
using EasyDev.EPS.Attributes;
namespace EasyDev.EPS.BusinessObject
{
public sealed class DBName
{
public static readonly string ORACLE = ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DefenderSpawner : MonoBehaviour {
private GameObject defenderParent;
private Camera camera;
private StarDisplay starDisplay;
// Use this for initialization
void Start () {
starDisplay = FindObjec... |
using NUnit.Framework;
namespace Wgaffa.Functional.Tests
{
[TestFixture]
public class MaybeTests
{
private Maybe<int> Double(int number) => Maybe<int>.Some(number * 2);
[Test]
public void Some_ShouldCreateSomeRepresentation_GivenFactoryMethod()
{
var some = May... |
using Compent.Extensions;
using System;
using System.Linq;
using System.Web;
using UBaseline.Core.RequestContext;
using Uintra.Core.Activity.Models.Headers;
using Uintra.Core.Controls.LightboxGallery;
using Uintra.Core.Member.Entities;
using Uintra.Core.Member.Services;
using Uintra.Core.UbaselineModels.RestrictedNode... |
namespace RangeDisplay.RangeHandling
{
/// <summary>
/// Named differently for easier display.
/// </summary>
internal enum RangeItem
{
Scarecrow,
Sprinkler,
Junimo_Hut,
Bee_House
}
} |
using DesignPatternsApp.FoodMenu;
using DesignPatternsApp.FoodOrdering;
using DesignPatternsApp.Models;
using DesignPatternsApp.Services;
using DesignPatternsApp.Tracking;
using NUnit.Framework;
using System.Collections.Generic;
namespace DesignPatternsTests
{
[TestFixture]
public class FoodMenuTests
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.Desktop
{
public class SearchManager
{
public static ProductCategory SearchForProducts(string term, ProductCategory rootCategory)
{
List<Product> produ... |
using KissLog;
using RSS.Business.Interfaces;
using RSS.Business.Models;
using RSS.Business.Models.Validations;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace RSS.Business.Services
{
public class SupplierService : BaseService, ISupplierService
{
private readonly ISupplierRepo... |
using PopulationWars.Mechanics;
using System;
namespace PopulationWars.Components.Governments
{
/*
* Interface for entities that can make moves in games
*/
public interface IGovernment : ICloneable
{
void Train(TrainSet trainSet);
Decision MakeDecision(Situation situation);
... |
using FluentValidation;
using CPClient.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace CPClient.Service.Interfaces
{
public interface ITelefoneTipoService : IService<TelefoneTipo>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class drop_controller : MonoBehaviour
{
public GameObject drop;
public void play_drop()
{
drop.GetComponent<Animator>().Play("dropAnim");
}
}
|
using GringottsDatabase.Models;
namespace GringottsDatabase
{
using System.Data.Entity;
public class WizardDepositsContext : DbContext
{
public WizardDepositsContext()
: base("name=WizardDepositsContext")
{
}
public virtual IDbSet<WizardDeposits> WizardDeposits... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DAL.Entities;
using DTO;
using GraphQL.Types;
namespace GNews.Models
{
//public class NewsInputType : ObjectGraphType<NewsEntity>
//{
// public NewsInputType()
// {
// Field(x => x.E... |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using SimplyWeather.Models;
using Settings = SimplyWeather.Properties.Settings;
// ReSharper disable once CheckNamespace
namespace SimplyWeather
{
public par... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Trees
{
/// <summary>
/// Given a very long Binary tree(the width of the tree << height of tree).
/// Find the max depth - second largest depth in the tree.
/... |
using NLog;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Cors;
namespace GHCIQuizSolution
{
public static class WebApiConfig
{
private static Logger logger = LogManager.GetCurrentClassLogger();
public static voi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Dto.GetItinerary
{
public class TripIdentifiers
{
public string PassengerIdentifier { get; set; }
public string PassengerItinIdentifier { get; se... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using HtmlAgilityPack;
namespace Comics.Core.Parsers
{
public static class PearlsParser
{
public static ComicParseResult Parse(string html)
{
if (html == null) throw new Arg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class CheckersBoard : MonoBehaviour
{
//This is the array that stores the board
public Piece[,] boardPieces = new Piece[8, 8];
public GameObject whitePiecePrefab; //Reference ... |
using EPI.HashTables;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.HashTables
{
[TestClass]
public class DivideAndMarkRepeatsUnitTest
{
[TestMethod]
public void DivideXbyYAndDetectRepeats()
{
DivideAndMarkRepeats.DivideXbyY(4, 0).Should().Be("NaN");
... |
namespace SciVacancies.WebApp
{
}
|
using System;
namespace Etherama.CoreLogic.Services.KYC {
public class UserData {
public string FirstName { get; set; }
public string LastName { get; set; }
public string CountryCode { get; set; }
public DateTime DoB { get; set; }
public string PhoneNumber { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EmploeeSalary;
namespace EmploeeSalary
{
class Program
{
static void Main(string[] args)
{
// List<EmployeeBase> employeeList = new List<EmployeeBase>();
... |
using System;
namespace SimplySqlSchema.Cache
{
public class CachedObjectSchemaExtractor : IObjectSchemaExtractor
{
protected ISchemaCache SchemaCache { get; }
protected IObjectSchemaExtractor Impl { get; }
public CachedObjectSchemaExtractor(ISchemaCache schemaCache, IObjectSchemaExt... |
using StardewValley.Objects;
namespace StardewValleyMP.States
{
// Are these even in the game? There isn't really any reference to them, and I don't remember
// anything you use a key to unlock. I certainly don't see any in my save file.
public class DoorState : State
{
public int motion;
... |
using UnityEngine;
using System.Collections;
public class Resolution
{
private static int scaleWidth = 0;
private static int scaleHeight = 0;
public static void setDesignContentScale()
{
#if UNITY_ANDROID
if (scaleWidth == 0 && scaleHeight == 0)
{
int width = Screen.curren... |
using System;
using System.Collections.Generic;
using System.Drawing;
namespace NeuralNetwork
{
static class ImgToDoubleArrayConverter
{
public static List<double> GetBrightnessArray(string path, uint step = 1)
{
Bitmap img;
try
{
img = new B... |
using JT808.Protocol;
namespace Union.Gateway.Abstractions
{
public interface IUnionGatewayBuilder
{
IJT808Builder JT808Builder { get; }
IJT808Builder Builder();
}
}
|
using AuthMicroService.Interfaces;
using AuthMicroService.Models;
using Moq;
using NUnit.Framework;
namespace AuthMicroService.Test
{
public class AuthServiceControllerTest
{
private readonly Mock authServiceMoq;
private readonly Mock logger;
public AuthServiceControllerTest()
... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Library.API.Configurations
{
public static class HttpsConfig
{
public static void AddHttpsConfiguration(this IServiceCollection services)
{
i... |
namespace libairvidproto.types
{
public class DeviceInfoValue : KeyValueBase
{
public DeviceInfoValue(string key, EncodableList value)
: base(key)
{
Value = value;
}
public DeviceInfoValue(string key)
: this(key, new EncodableLis... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Mouse : MonoBehaviour {
float distance = 300;
public GameObject cam;
// Use this for initialization
void Start()
{
//layerMask = ~layerMask;
}
// Update is... |
using Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Me... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyItemWhenClick : MonoBehaviour {
//Button Delete in Item
public void DeleteContentObject()
{
Destroy(gameObject);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TruckPad.Services.Models
{
public partial class Endereco
{
public Endereco()
{
Empresa = new HashSet<Empresa>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication2.Model.工厂管理
{
/// <summary>
/// PositionCreateHandler1 的摘要说明
/// </summary>
public class PositionCreateHandler1 : IHttpHandler
{
public void ProcessRequest(HttpContext context)
... |
/**
Copyright (c) 2020, Institut Curie, Institut Pasteur and CNRS
Thomas BLanc, Mohamed El Beheiry, Jean Baptiste Masson, Bassam Hajj and Clement caporal
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are m... |
using MinesweeperLibrary.FillInBoard;
using System;
using System.Collections.Generic;
using System.Text;
namespace MinesweeperLibrary
{
public class LoadABoard : ILoadABoard
{
public char[,] board;
int grid;
private readonly IFillInBoardWith0 _fillInBoardWith0;
private readonl... |
using UnityEngine;
using System.Collections;
using AssemblyCSharp;
using System.Collections.Generic;
using System.Linq;
using System;
public class Aggressor : MonoBehaviour {
public Vector3 Direction;
public float Speed;
public float MaxRadius;
public float MinRadius;
public event EventHandler ShootBacteria;
pu... |
using System;
namespace HAshtableDemo
{
class Program
{
static void Main(string[] args)
{
MyMapNod<int, string> myMapNod = new MyMapNod<int, string>(15);
/*myMapNod.Add(0, "To");
myMapNod.Add(1, "be");
myMapNod.Add(2, "or");
myMapNod.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Text;
namespace Olive.Web.MVC.Helpers
{
public static class AnchorHelper
{
public static MvcHtmlString AnchorHtmlString(string className, object innerText)
{
Stri... |
using UnityEngine;
using System.Collections;
public class MoveObject : MonoBehaviour {
public GameObject moveObject;
//bools
public bool slideLeft;
public bool slideRight;
public bool moveForward;
public bool moveBack;
public bool moveUp;
public bool moveDown;
//ints
private int direction;
private float ... |
using System;
using System.Collections.Generic;
using QTouristik.Data;
namespace IdomOffice.Interface.BackOffice.PriceLists
{
public class PriceList
{
public string id { get; set; }
public string TourOperatorCode { get; set; }
public string SiteCode { get; set; }
public string... |
using Epam.Shops.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Epam.Shops.DAL.Interfaces
{
public interface ICategoryDAO
{
bool Add(Category newCategory);
bool Remove(Guid id);
bool Update(Categor... |
namespace System.ComponentModel.DataAnnotations
{
/// <summary>
/// This attribute is used to mark a Timestamp member of a Type.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class TimestampAttribute... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
namespace IRAP.Client.GUI.MDM.Dialogs
{
public partial class frmProcessOperationEdit : IRAP.Client.Global.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace Server_K
{
class ServerC : ServerS_K // mostenim clasa Server S;
{
private Thread th = null;
bool run = true;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.