text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class LevelDescription
{
public const float defaultSpriteSkew = 10;
public enum WaveType
{
// Quasi-random, no two mice out of one hole same time.
DISTRIBUTED = 0,
// a hole -> stream of mice.
SPOUT... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
using System.Threading.Tasks;
namespace DbConnector.Core
{
public interface IDbConnector<TDbConnection>
where TDbConnection : DbConnection
{
DbConnectorJob<List<T>, TDbConnection> Re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FloorController : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
GameManager.instance.floorController = this;
}
void OnParticleCollision(GameObject TargetedParticle)
{
Deb... |
using ShopTT.Areas.Admin.Models;
using ShopTT.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ShopTT.Areas.Admin.Controllers
{
public class SanPhamController : Controller
{
// GET: Admin/Products
private ShopTTEntitie... |
using Com.Colin.Forms.Common;
using System;
using System.Windows.Forms;
namespace Com.Colin.Forms.Template
{
/// <summary>
/// 标题模块
/// </summary>
public partial class MenuTemplate : UserControl
{
public MenuTemplate()
{
InitializeComponent();
}
/// <su... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _08_Map_Districts
{
public class _08_Map_Districts
{
public static void Main()
{
var input = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).ToArray();
var number... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyClassLibrary;
namespace Exercise3
{
class Program
{
static void Main(string[] args)
{
/*3.а) Написать программу, которая подсчитывает расстояние между точками... |
using UnityEngine;
public class PlayerStatus : MonoBehaviour
{
[SerializeField] private TextManager TextManager = null;
private int player0HP = (int)EnumNumbers.PlayerHP;
private int player1HP = (int)EnumNumbers.PlayerHP;
private readonly int[] tower0HP = new int[(int)EnumBoardLength.MaxBoardLengthY... |
// 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.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection;
using M... |
using Common;
using Common.Data;
using Common.Log;
using SessionSettings;
using System;
using System.Configuration;
using System.DirectoryServices;
using System.DirectoryServices.AccountManagement;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Reflection;
using System.Windows.Fo... |
using System.Collections.Generic;
using Uintra.Core.Feed.Models;
using Uintra.Features.CentralFeed.Commands;
namespace Uintra.Features.CentralFeed.Builders
{
public interface IActivityTabsBuilder
{
IEnumerable<ActivityFeedTabViewModel> Build(CentralFeedFilterCommand command);
ActivityTabsBuild... |
using UnityEngine;
using System.Collections;
public class ShowSensor : MonoBehaviour
{
//reference to light intesnity
private float int1;
private float int2;
private float int3;
//reference to sensors related to button
public GameObject trigger1 = null;
public GameObject trigger2 = null;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yoonseop_Lee_Sec003_Lab02_Exercise02
{
class Program
{
static void Main(string[] args)
{
StringBuilder sb = new StringBuilder("This is to test whether the e... |
namespace SlicingFile
{
using System;
using System.Collections.Generic;
using System.IO;
public class Startup
{
private static List<string> filterParts = new List<string>();
private static void Main(string[] args)
{
int partsCount = int.Parse(Console.ReadLine()... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Text;
namespace _1
{
class Program
{
static void Main(string[] args)
{
string regexValid = @"[^d-z{}|#]";
string input = Console.ReadLine();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exten... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CEMAPI.Models;
using log4net;
using static CEMAPI.Models.InvoiceTaxCalculationUtility;
namespace CEMAPI.DAL
{
public class TransferOrderDAL
{
TETechuvaDBContext context = new TETechuvaDBContext();
priva... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ServiceQuotes.Domain.Entities;
namespace ServiceQuotes.Infrastructure.Context.EntityConfigurations
{
public class QuoteEntityConfiguration : IEntityTypeConfiguration<Quote>
{
public void Configure(EntityTy... |
using System;
using KesselRun.SeleniumCore.Enums;
using KesselRun.SeleniumCore.Exceptions;
using KesselRun.SeleniumCore.Infrastructure;
using KesselRun.SeleniumCore.TestDrivers.Contracts;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using OpenQA.Selenium.Interactions;
namespace KesselRun.SeleniumCore.Test... |
using System;
using System.Net;
using System.Text;
namespace GitIoSharp
{
public class GitIoService
{
public Uri Execute(string url)
{
var request = WebRequest.Create("http://git.io");
request.ContentType = "application/x-www-form-urlencoded";
request.Method = "POST";
var bytes = Encoding.ASCII.GetB... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GroundEnemyBehavior : MonoBehaviour {
//The target player
public Transform player;
//At what distance will the enemy walk towards the player?
public float walkingDistance = 1... |
using System;
using System.Collections.Generic;
namespace TablesReady.Data.Domain
{
public partial class Email
{
public int EmaiId { get; set; }
public string EmailAddress { get; set; }
public int RestaurantId { get; set; }
public int? EmployeeId { get; set; }
public v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GraphicalEditor.DTO;
namespace GraphicalEditor.DTOForView
{
public class EquipmentTypeForViewDTO
{
public EquipmentTypeDTO EquipmentType { get; set; }
public bool IsSelecte... |
namespace Profiling2.Tests
{
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using CommonServiceLocator.WindsorAdapter;
using Microsoft.Practices.ServiceLocation;
using SharpArch.Domain.PersistenceSupport;
using SharpArch.NHibernate;
public class ServiceLocatorInitializer
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.*")]
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Communicator.Core.Domain;
namespace Communicator.Infrastructure.IRepositories
{
public interface IUserRepository
{
Task Add(User user);
Task<User> Get(Guid id);
Task<User> Get(string login);
Tas... |
using SMG.Common.Code;
using SMG.Common.Conditions;
using SMG.Common.Effects;
using SMG.Common.Gates;
using SMG.Common.Transitions;
using SMG.Common.Types;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Simple_Cash_Register_Project
{
class Order
{
private Products _currentItem;
private int _units;
public Order()
{
_currentItem = new Products();
_units = 0;
}
public Order(Produ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.IO;
namespace DSG东莞路测客户端.Helper
{
public class GateWayStatusHelper
{
public int localPort, remotePort;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Adap_WaveMover : MonoBehaviour {
GameObject wave;
public float WaveSpeed = 0.3f;
public float WaveDuration = 12f;
float killCounter;
// Use this for initialization
void Start () {
}
// Update is called once per ... |
using ApiCatalogo.InputModel;
using ApiCatalogo.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiCatalogo.Services
{
public interface ILivroService : IDisposable
{
Task<List<LivroViewModel>> Obter(int pagina, int quantidade);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegatesAndEvents
{
class Program
{
static void Main(string[] args)
{
//DelegateDemo.Listing01.Main01();
//MulticastDemo.Listing02.Main02();
... |
/*
******************************************************************************
* @file : Program.cs
* @Copyright: ViewTool
* @Revision : ver 1.0
* @Date : 2015/02/13 11:26
* @brief : Program demo
******************************************************************************
* @attentio... |
using System;
namespace AcoesDotNet.Model
{
public partial class Acao : BaseModel
{
public string CodigoDaAcao { get; set; }
public DateTime DataCotacao { get; set; }
public decimal Valor { get; set; }
}
}
|
using System;
namespace SFA.DAS.Tools.Support.Web.Models
{
public class SearchParameters
{
public string CourseName { get; set; }
public string EmployerName { get; set; }
public string ProviderName { get; set; }
public long? Ukprn { get; set; }
public string ApprenticeNa... |
using Allyn.Application.Dto.Manage.Basic;
using Allyn.Application.Dto.Manage.Front;
using Allyn.Application.Front;
using Allyn.Infrastructure;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
namespace Allyn.MvcApp.Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rockpaperscissorslizardspock
{
class ComputerPlayer : Player
{using System;
{
public override void SetGestures()
{
Consol... |
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace CODE.Framework.Wpf.Utilities
{
/// <summary>
/// This class provides various useful utility functions related to images and bitmaps
/// </summary>
/// <remarks... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Permut.Tests
{
[TestClass]
public class UnitTests
{
private IEnumerable<int> CreateReversedArray(int n)
{
... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.Helpers;
namespace WebAPI.Controllers
{
[Route("api/greetings")]
[ApiController]
public class GreetingsController : ControllerBase
{
[HttpGet("{name}")]... |
using EmberKernel.Services.UI.Mvvm.Dependency;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace EmberWpfCore.Components.Configuration.ViewModel
{
public class ConfigurationSingleValueViewModel : INotifyPropertyChanged
{
public object Value
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Lux.Framework;
using Lux.Input;
using Lux.Physics;
namespace Test
{
class Program
{
static Engine engine;
static void Main(string[] args)
{
Engine.LoadD... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RayGun : MonoBehaviour
{
public float shootRate;
private float m_shootRateTimeStamp;
//public Light lightLazer;
public GameObject m_shotPrefab;
RaycastHit hit;
float range = 1000.0f;
void Start()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using KartObjects;
namespace KartSystem
{
public class DemandDocEditorPresenter : BaseDocEditorPresenter
{
private int DocType;
protected IDemandDocumentEditView _view;
/// <summary>
///
/// </summary>
... |
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using PterodactylEngine;
namespace Pterodactyl
{
public class TaskListGH : GH_Component
{
public TaskListGH()
: base("Task List", "Task List",
"Add task list",
"Pterodactyl", "Parts")
... |
using System.Web.Mvc;
namespace Web.Controllers
{
public class FacebookAngController : Controller
{
#region Index
public ActionResult Index()
{
ViewBag.Message = "FacebookAng";
return View();
}
#endregion
}
} |
using System.Collections.Generic;
namespace CyberSoldierServer.Dtos.EjectDtos {
public class ServerTokenDto {
public int ServerCurrentValue { get; set; }
public int ServerCapacity { get; set; }
public ICollection<CampPoolDto> Pools { get; set; }
}
}
|
using System.Collections.Generic;
namespace Tests.Data.Van.Input
{
public class LiveCallsCampaign
{
#region Setup Tab Input
public string CampaignName = "";
public string CallingScript = "";
public string CampaignBudget = "";
public string Description = "";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QTouristik.Data;
using IdomOffice.Interface.BackOffice.Booking.Entity;
namespace IdomOffice.Interface.BackOffice.Booking
{
public class BookingProcess
{
public string Id { get; set... |
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using InventoryControl.Data;
using System;
using System.Linq;
namespace InventoryControl.Models
{
public static class SeedData
{
public static void Initialize(IServiceProvider serviceProvider)
{
us... |
using Focuswin.SP.Base.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;
using YFVIC.DMS.Model.Models.FileInfo;
using YFVIC.DMS.Model.Models.WorkFlow;
using YFVIC.DMS.Model.Models.Common... |
/*
https://stackoverflow.com/a/40765711
*/
using Android.App;
using Android.Graphics;
using Android.OS;
using Android.Util;
using Android.Views;
using Android.Widget;
namespace NSchedule.Droid
{
public class AndroidBug5497WorkaroundForXamarinAndroid
{
private readonly View mChildOfContent... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class GuardAI : MonoBehaviour
{
public List<Transform> wayPoints;
private NavMeshAgent _agent;
[SerializeField] private int _currentTarget;
private bool _reverse;
public bool _targetReached;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MS.LitCSV.Examples{
public class LitCSVExample : MonoBehaviour
{
public TextAsset file1;
public TextAsset file2;
void Start()
{
TestRead(file1);
TestRead(f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour {
/*
Animation and movement components in this script learnt from:
https://www.youtube.com/playlist?list=PLiyfvmtjWC_X6e0EYLPczO9tNCkm2dzkm
*/
// Character's m... |
using SimulationDemo.Enums;
using SimulationDemo.Randomness;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimulationDemo.Elements
{
public class SelfCheckoutQueue : BaseQueue, IQueue
{
private int _numOfMachines;
private Customer[] _currentInS... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _2._Oldest_Family_Member
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Family family1 = new Family();
for (int i = 0; i < n; i++)
... |
using System.Web.Services;
using com.Sconit.Service;
using com.Sconit.Entity;
using System.Collections.Generic;
using com.Sconit.Service.SI.MES;
using com.Sconit.Entity.SI.MES;
namespace com.Sconit.WebService
{
[WebService(Namespace = "http://com.Sconit.WebService.MESService/")]
public class MESService : Base... |
namespace TPMDocs.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("spravoh.Виды гофропродукции")]
public partial class Виды_гофропродукции
{... |
using System;
using System.Collections.Generic;
using Hayaa.BaseModel;
/// <summary>
///代码效率工具生成,此文件不要修改
/// </summary>
namespace Hayaa.Security.Service
{
public class AppInstanceToken : BaseData
{
public int AppInstanceTokenId { set; get; }
public int AppInstanceId { set; get; }
public... |
using System.Security.Claims;
namespace CyberSoldierServer.Helpers.Extensions {
public static class AuthExtensions {
public static int GetUserId(this ClaimsPrincipal principal) {
return int.Parse((principal.FindFirst("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier") ?? principal.FindFirst(... |
using AutoMapper;
using FamilyAccounting.AutoMapper;
using Microsoft.Extensions.DependencyInjection;
namespace FamilyAccounting.Web.Services
{
public static class MapperServiceConfiguration
{
public static IServiceCollection AddViewModelMapping(this IServiceCollection services)
{
v... |
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using OrbisPkg.Security;
using OrbisPkg.Classes;
namespace OrbisPkg.CNT
{
/// <summary>
/// A package file (PKG) is a file that contains the content that the user will download or insta... |
using Alabo.Domains.Repositories;
using Alabo.Industry.Offline.Order.Domain.Entities;
namespace Alabo.Industry.Offline.Order.Domain.Repositories
{
public interface IMerchantOrderProductRepository : IRepository<MerchantOrderProduct, long>
{
}
} |
using Iris.Infrastructure.Contracts.Services;
using Iris.Network;
using TinyIoC;
namespace Iris.Core
{
public static class IrisCore
{
private readonly static TinyIoCContainer Container = new TinyIoCContainer();
static IrisCore()
{
RegisterDependencies();
Initi... |
using DevEngine.Graphics;
namespace DevEngine.Levels.Tiles {
public class SelectionTile : Tile {
public SelectionTile(int id) : base(id) { }
public override void Render(Renderer renderer, int x, int y) {
base.Render(renderer, x, y);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.ContentApproval.Extensions;
using DFC.ServiceTaxonomy.ContentApproval.Models;
using DFC.ServiceTaxonomy.ContentApproval.Models.Enums;
using DFC.ServiceTaxonomy.ContentApproval.ViewModels;
using Mi... |
using gView.Framework.Proj;
using System;
using System.Collections.Generic;
using System.Text;
namespace gView.Framework.Geometry.SpatialRefTranslation
{
internal class Proj4CoordinateSystemWriter
{
private class P4Parameter
{
private string _p, _v;
public P4Parameter(st... |
using BookARoom.Model;
using BookARoom.Model.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace BookARoom.Pages.CustomerPages
{
public partial class CustomerDetails : System.Web.UI... |
using System;
namespace CharacterCreation.Items
{
public class Item
{
}
}
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MoveCarHackathonEdition.MySqlNS
{
[Table("movecar.car_user")]
public class car_user
{
public int ID { get; set; }
[Required]
[StringLength(50)]
public string CAR_USERN... |
using System;
using System.Xml.Linq;
namespace Cogito.Web.Configuration
{
/// <summary>
/// Provides configuration methods for 'system.webServer/httpCompression'.
/// </summary>
public class WebSystemWebServerHttpCompressionConfigurator : IWebElementConfigurator
{
readonly XElement eleme... |
namespace UnityAtoms
{
/// <summary>
/// Interface defining a generic `IPair<T>`.
/// </summary>
public interface IPair<T>
{
T Item1 { get; set; }
T Item2 { get; set; }
void Deconstruct(out T item1, out T item2);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL.DTO
{
public class UserDTO
{
public int UserId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
... |
using UnityEngine;
using System.Collections;
// Class for representing a basic 'node' in the environment that enemies can interact with
// Note that collisions with nodes are only turned on for enemies (via Physics2D's layer settings)
[RequireComponent(typeof (Collider2D))]
public abstract class Node : MonoBehaviour ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRAPShared;
namespace IRAP.Entities.DPA
{
[IRAPDB(TableName = "IRAPDPA..xdr_MethodParams")]
public class xdr_MethodParams
{
/// <summary>
/// 全局序号
/// </summary>
[IRA... |
using System.IO;
using System.Web.Mvc;
using FIMMonitoring.Domain;
using FIMMonitoring.Web.Extensions;
using FIMMonitoring.Web.Properties;
namespace FIMMonitoring.Web.Controllers
{
[ValidateAntiForgeryTokenOnAllPosts]
public class BaseController : Controller
{
protected FIMContext Context = new FI... |
using Euler_Logic.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler_Logic.Problems {
public class Problem668 : ProblemBase {
public override string ProblemName {
get { return "668: Square root Smooth Num... |
namespace BuhtigIssueTracker.Interfaces
{
public interface IComment
{
IUser Author { get; }
string Text { get; }
}
} |
using NUnit.Framework;
using ProgFrog.Core.Data.Serialization;
using ProgFrog.Interface.Data.Serialization;
using ProgFrog.Interface.Model;
using System;
using System.Collections.Generic;
namespace ProgFrog.Tests
{
[TestFixture]
public class JsonSerializerTests
{
private IModelSerializer<Programmi... |
using System;
namespace TreatmentJournal.Domain
{
public class Class1
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class DbController : Controller
{
// GET: Db
public ActionResult Index()
{
F... |
using UnityEngine;
using System.Collections;
public class LaunchButton : MonoBehaviour {
public LaunchMenu menu;
public void OnClick(){
menu.LaunchTerminal ();
}
}
|
using System;
namespace Sum_Numbers
{
class Program
{
static void Main(string[] args)
{
int numberOfNumbers = int.Parse(Console.ReadLine());
int sumOfNumbers = 0;
for (int i = 0; i < numberOfNumbers; i++)
{
int inputNumber = int.P... |
using CarRental.API.BL.Models.Prices;
using CarRental.API.BL.Services.Prices;
using CarRental.API.DAL.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarRental.API.Controllers
{
[A... |
using System;
namespace Apv.AV.Services.DTO
{
public class ApvAPIResponse<T>
{
public ApvAPIResponse(int _code, string _msg, T _data)
{
this.code = _code;
this.msg = _msg;
this.data = _data;
}
public int code
{
get;
set;
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Delegates
{
public class MoviePlayer
{
public string CurrentMovie { get; set; }
public delegate void MovieFinishedHandler();
public event MovieFinishedHandler MovieFinished;
... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using EnsureThat.Annotations;
using EnsureThat.Internals;
using JetBrains.Annotations;
using NotNullAttribute = System.Diagnostics.CodeAnalysis.NotNullAttribute;
namespace EnsureThat.Enforcers
{
[SuppressMessage("Performance", "CA1822:... |
// Copyright 2012 Mike Caldwell (Casascius)
// This file is part of Bitcoin Address Utility.
// Bitcoin Address Utility is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
/... |
using UnityEngine;
using System.Collections;
public class RayCast : MonoBehaviour {
public float range;
private float dmg = 45f;
private Camera fpsCam;
private Vector3 rayOrigin;
RaycastHit hit;
// Use this for initialization
void Start () {
fpsCam = Camera.main;
}
// Update is ca... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace API.Model
{
public class Avancement
{
[Key]
public int Id { get; set; }
[ForeignKey("IdInscrit")]
public Inscrit Inscrit { get; set; }
[ForeignKey("IdVideo")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(LineRenderer))]
public class Bolt : MonoBehaviour
{
[SerializeField]
private float TimeBetweenFlickers = 0.1f;
[SerializeField]
private int NumberOfSegments = 6;
[SerializeField]
private f... |
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual
{
/// <summary>
... |
namespace ProgrammingCourseWork
{
public enum Categories
{
Salad = 0,
Soup,
Main,
Beverage,
Dessert
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebServiceApiBiblioteca.Models
{
public class RegistroP
{
public class Rootobject
{
public Class1[] Property1 { get; set; }
}
public class Class1
{
p... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.Framework
{
public class Base58
{
... |
using gView.Framework.Globalisation;
using gView.Framework.IO;
using gView.Framework.UI;
using System;
using System.Collections.Generic;
namespace gView.Plugins.MapTools
{
[gView.Framework.system.RegisterPlugIn("1F1B9CEC-F957-43fd-B482-C41606160560")]
public class MainToolbar : IToolbar, IPersistable
{
... |
using UnityEngine;
using UnityEngine.UI;
public class ImageClear : Graphic
{
protected override void OnPopulateMesh(VertexHelper vh)
{
vh.Clear();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using DelftTools.Shell.Core;
using DelftTools.Shell.Core.Workflow;
using DelftTools.Utils;
using DelftTools.Utils.Collections.Generic;
using NUnit.Framework;
using Rhino.Mocks;
namespace DelftTools.Tests.Core
{
[TestFixture]
public class Folder... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Lab2_api.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace Lab2_api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.