text stringlengths 13 6.01M |
|---|
using System.ComponentModel.DataAnnotations;
namespace Ambassador.Models.AnnouncementModels
{
public class AdminCreateAnnouncementModel
{
[Required]
public string Message { get; set; }
public string Url { get; set; }
[Required]
public string ForUserType { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Drawing;
using AForge.Vision.Motion;
namespace VideoSurveillance
{
class MotionSensor
{
private readonly MotionDetector motionDetector;
private readonly BlockingCollection<Moti... |
//using NuGet.Protocol.Core.Types;
//using NuGet.Client.V2;
//using NuGet.Packaging.Core;
//using NuGet.Versioning;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading;
//using System.Threading.Tasks;
//using Xunit;
//namespace Client.V2Test
//{
// ... |
using RimWorld;
using System;
using System.Collections.Generic;
using Verse;
using HarmonyLib;
using System.Reflection;
using UnityEngine;
namespace Tainted_renaming
{
[StaticConstructorOnStartup]
class Main
{
static Main()
{
var harmony = new Harmony("com.github.harmony.rimwor... |
// -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
extern alias pcl;
using System;
using Moq;
using pcl::System.Adaptation;
namespace Portable
{
internal class IAda... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FiveInARowApp.Models;
namespace FiveInARowApp.DAL
{
//data service interface to read and write an entire file based on the Book class
public interface IBookDataService
{
List<B... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StringCalculatorKata3
{
public class StringCalculator
{
public int Add(string numbers)
{
if (string.IsNullOrWhiteSpace(numbers))
{
... |
using DataAccessLayerADO;
using System.Collections.Generic;
using Utils.Interfaces;
using Utils.Models;
namespace BusinessLayer
{
public class Manager
{
private readonly ICRUD repository;
public Manager()
{
repository = new RepositoryADO();
//repository = new Re... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using Dnn.AuthServices.Jwt.Components.Entity;
namespace Dnn.AuthServices.Jwt.Data
{
public interface IDataService
... |
using System.Threading.Tasks;
using FlipLeaf.Core.Text.FluidLiquid;
namespace FlipLeaf.Core.Text
{
public class LiquidMiddleware : ITextMiddleware
{
private readonly FluidParser _fluid;
public LiquidMiddleware(FluidParser fluid) => _fluid = fluid;
public async Task InvokeAsync(TextI... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project2_crossroad
{
class Pieza
{
public string tipo { get; set; }
public int posX { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ShCore.Attributes.Validators
{
public class ValidatorNumeric : ValidatorAttribute
{
public override bool Validate()
{
return new Regex(@"^\d+$").Ma... |
using System;
using Xamarin.Forms;
using Android.Util;
using HelloDerivedCollection.Droid;
[assembly: Xamarin.Forms.Dependency (typeof (Logger))]
namespace HelloDerivedCollection.Droid
{
public class Logger : ILogger
{
public void Debug(string s) {
Android.Util.Log.Debug("android", s);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using Binding.Helpers;
namespace DomainModel.ViewModels
{
[Serializable]
public class CommandDemoViewModel
{
private bool buttonClicked;
public ICommand OnClick
{
... |
using Prj.Respositories.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prj.Respositories.Interfaces
{
public interface IGroupPageRepository
{
GroupPageListEntity GetAll(GroupPageEntity entity, long pageInd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RazorEngine;
using System.Threading;
namespace Channel.Mine.Web
{
public partial class _default : System.Web.UI.Page
{
protected void Page_Load(object sender... |
using KPI.Model.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KPI.Model.helpers;
using KPI.Model.EF;
using System.Data.Entity.SqlServer;
using System.Data.Entity;
namespace KPI.Model.DAO
{
public class LevelDAO
{
pr... |
using UnityEngine;
using System.Collections;
public class WindManager : MonoBehaviour {
public static WindManager s_instance;
public Vector3 directionOfWind = new Vector3(0,0,1f);
void Awake() {
if (s_instance == null) {
s_instance = this;
}
else {
Destroy(gameObject);
}
}
}
|
using System;
using System.Collections.Generic;
namespace Microsoft.DataStudio.Services.MachineLearning.Contracts
{
public class ExperimentSummary
{
public string ExperimentId { get; set; }
public string Description { get; set; }
public string Etag { get; set; }
public strin... |
using Hayalpc.Library.Common.Results;
using Microsoft.AspNetCore.Mvc;
using Hayalpc.Fatura.Data.Models;
using Hayalpc.Fatura.Panel.Internal.Services.Interfaces;
using System.Collections.Generic;
using DevExtreme.AspNet.Data;
using System;
namespace Hayalpc.Fatura.Panel.Internal.Controllers
{
[Route("api/[controll... |
using System.Collections.Generic;
namespace BomberCommand
{
interface Bomb
{
}
class WaitingBomb : Bomb
{
}
class FallingBomb : Bomb
{
public FallingBomb(int range, int elevation)
{
this.Range = range;
this.Elevation = elevation;
}
... |
using HmsPlugin;
using HuaweiMobileServices.AuthService;
using HuaweiMobileServices.Id;
using HuaweiMobileServices.Utils;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using HuaweiMobileServices.Base;
using Facebook.Unity;
using System.Collections.Generic;
public class AuthServiceManager... |
using Godot;
namespace DungeonCrawler.Extensions
{
public static class AnimationPlayerExtension
{
/// <summary>
/// Pauses actual animation so it could be resumed later.
/// </summary>
public static void Pause(this AnimationPlayer animationPlayer)
{
animation... |
using Castle.Windsor.Installer;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Castle.Windsor.InstallerPriority
{
public class WindsorPriorityBootstrap : InstallerFactory
{
public override IEnumerable<Type> Select(IEnumerable<Type> installerTypes)
{
... |
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 Lab5;
namespace Lab5_WF
{
public partial class Form1 : Form
{
public Form1()
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Studentum.Domain;
using Studentum.Infrastructure.Caching;
namespace BreakAway.Domain
{
public class Activity : ICachedEntity
{
public int Id { get; set; }
[StringLength(50)]
public string Name ... |
using UnityEngine;
using System.Collections;
public class groundScript : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void onRayHit() {
print ("Ground/wall hit");
}
}
|
using System;
using TasksWeb.Model;
namespace TaskWebApi.Validation
{
public static class TaskValidationExtension
{
public static bool IsValid(this TaskModel task)
{
return !string.IsNullOrWhiteSpace(task.DisplayName);
}
public static bool IsValid(this TaskModel ta... |
// -----------------------------------------------------------------------
// <copyright file="WinRtMediaElementManager.cs" company="Henric Jungheim">
// Copyright (c) 2012-2014.
// <author>Henric Jungheim</author>
// </copyright>
// -----------------------------------------------------------------------
// Copyrig... |
using System.Collections;
using UnityEngine;
public class GameController : MonoBehaviour
{
public GameObject TrainPrefab;
[Range(0.0005f, 1.0f)]
public float TrainSpeed = 0.5f;
private GameObject mTrain;
private GameObject mWaypointPlayerStart;
private GameObject mDestinationWaypoint;
pr... |
using System.Data.Entity;
using domain_models;
namespace persistence
{
public class SmartHotelContext : DbContext
{
public SmartHotelContext(string dbConnectionSectionName)
: base("name=" + dbConnectionSectionName)
{
Database.SetInitializer(new SmartHotelInitializer());... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFollower : MonoBehaviour {
public Transform target;
public float smoothSpeed = 0.125f;
public float maxDistFromTarget = 10;
public float maxSpeed = 1;
public float angle = -40f;
public float spacing = 1.5... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Assets.Scripts.Player;
public class PopupAction : MonoBehaviour
{
public Slider slider1;
public Slider slider2;
public Slider slider3;
public Text text0;
public Text text1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL.Client;
using GraphQL.Common.Request;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WebAPI_GraphQL_DotNetCore.Model;
namespace WebAPI_GraphQL_DotNetC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WF.SDK.Models.Internal
{
[Serializable]
public class FaxCallInfoItem
{
public Guid CallId { get; set; }
public DateTime CompletedUTC { get; set; }
public string TermNumber { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using TardiRecords.Services.DataViewModels;
namespace TardiRecords.Services.Helpers
{
public class EnumHelper
{
public static string... |
namespace E19_SpiralMatrix
{
using System;
public class SpiralMatrix
{
public static void Main(string[] args)
{
// Write a program that reads from the console a positive
// integer number n (1 = n = 20) and prints a matrix holding
// the numbers from 1... |
using UnityEngine;
using System.Collections;
public class ModelStart : MonoBehaviour {
public GameObject objectStartSectionHole = null;
public GameObject objectStartSection = null;
public GameObject objectStartBall = null;
public GameObject objectStartCapDown = null;
public GameObject objectStartCapUp = null;
}
|
using Core.Repository.Library.UnitOfWork;
namespace Asset.Core.Repository.Library.UnitOfWorks.Organizations
{
public interface IDesignationUnitOfWork : IUnitOfWork
{
}
}
|
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_BoundingSphere : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
int num = LuaDLL.lua_gettop(l);
if (num == 3)
{
Vector3 vector;
L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tes4._3_Tier.DTO
{
class query_medic_patientDTO
{
public int patient_id { get; private set; }
public String patient_name { get; private set; }
public String da... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Xspace
{
/* Algo utilisé adapté de : http://www.youtube.com/watch?v=jZoQ1S73Bac */
static class BeatDetector
{
/* Déclaration des constantes */
const double K_ENERGIE_RATIO = 1.3; // energie102... |
//
// GameEngine.cs
//
// Author:
// Jon Thysell <thysell@gmail.com>
//
// Copyright (c) 2015, 2016, 2017, 2018 Jon Thysell <http://jonthysell.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... |
using AutoMapper;
using Contoso.Forms.Configuration;
using Contoso.Forms.Configuration.Navigation;
using Contoso.Forms.Configuration.TextForm;
using Contoso.XPlatform.Flow.Cache;
using Contoso.XPlatform.Flow.Requests;
using Contoso.XPlatform.Flow.Settings;
using Contoso.XPlatform.Flow.Settings.Screen;
using LogicBuild... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Riverside.Cms.Services.Core.Domain
{
public class PageService : IPageService
{
private readonly IPageRepository _pageRepository;
public PageService(IPageRepository pageRepository)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetNuke.Web.Common
{
public class LazyServiceProvider : IServiceProvider
{
private IServiceProvider _serviceProvider;
public object GetService(Type serviceType)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace nationale.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class InjuryController : Controller
{
[HttpGet... |
using Dominio;
using System.Collections.Generic;
namespace siva.api.Models
{
public class ContadorContribuinteViewModel
{
public Contador Contador { get; set; }
public IEnumerable<Contribuinte> ContribuinteList { get; set; }
}
} |
using System;
namespace _06NumberGenerator
{
class NumberGenerator
{
static void Main()
{
int M = int.Parse(Console.ReadLine());
int N = int.Parse(Console.ReadLine());
int L = int.Parse(Console.ReadLine());
int specialNumber = int.Parse(Consol... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Client.Simulation
{
public class InputState
{
private UInt64?[] _walkInputs = {null, null, null, null};
public Direction? ActiveWalkInput()
{
var activeInput = _walkInputs
.Select((... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusAroundMe
{
public static class Constants
{
public static string AppKey = "TEST";
public static string BaseUri = "http://api.onebusaway.org/api/where/";
pub... |
namespace Enrollment.XPlatform.Flow.Settings.Screen
{
public enum ViewType
{
EditForm,
DetailForm,
ListPage,
SearchPage,
TextPage
}
}
|
#region Using declarations
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Xml.Serializ... |
using DAL.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using DAL.Model;
using Microsoft.EntityFrameworkCore;
namespace BusinessLogic.Manager
{
public class AnswerManager : IAnswer
{
private DatabaseContext context;
public AnswerMa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.Wind... |
using System;
using UnityEngine;
namespace Simple4X {
public class TileComponent : MonoBehaviour {
[SerializeField] Tile type;
public Tile Type {
get { return type; }
}
public virtual void SetUpTile(Grid grid, Axial position, Transform root) {
var copy = I... |
using System.Configuration;
namespace LosPollosHermanos.Infrastructure
{
public static class SubscriptionInitializer
{
public static InitializationRequest Initialize()
{
return new InitializationRequest
{
Issuer = ConfigurationManager.AppSettings["SERVIC... |
namespace E06_StringLength
{
using System;
public class StringLength
{
public static void Main(string[] args)
{
// Write a program that reads from the console a string
// of maximum 20 characters. If the length of the string
// is less than 20, the res... |
namespace BPiaoBao.DomesticTicket.EFRepository.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _201410241107 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.AirChange",
c => new
... |
using System.Runtime.InteropServices;
namespace TinyVM
{
[StructLayout(LayoutKind.Explicit)]
public struct VirtualMachineRegister
{
[FieldOffset(0)] public long Long;
[FieldOffset(0)] public ulong ULong;
[FieldOffset(0)] public int Int;
[FieldOffset(0)] public uint UInt;
... |
using System;
using System.Configuration;
using System.Web;
using System.Web.Mvc;
using Ast.Bll;
using Ast.Common;
using Ast.IBll;
using Ast.Models;
using Ast.Web.Authentication;
using SqlSugar;
namespace Ast.Web.Controllers
{
public class LoginController : BaseController
{
private IMemberListService ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour
{
private AnimatorStateInfo animStateInfo;
private const string RunState = "run";
private const string IdleState = "idle";
private const string Attack1State = "attack1";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using OC.JQGridTest.Models;
namespace OC.JQGridTest
{
public class DAL
{
private static List<Person> people = null;
public Person[] GetPeople()
{
LoadPersons();
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace XPCFaucetBot.Utils
{
class CommandString
{
public const string Prefix = "./satoshi ";
public const string Help = "help";
public const string WishList = "wishlist";
public const string Ping = "ping";
... |
using System.Collections.Generic;
using Verse;
using Verse.AI;
namespace Quests
{
public class JobDriver_StartDialog : JobDriver
{
public override bool TryMakePreToilReservations(bool errorOnFailed)
{
return ReservationUtility.Reserve(this.pawn, this.job.targetA, this.job, 1, -1, null, errorOnFailed);
}
... |
using Assets.Scripts.Player;
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes;
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Food;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine.Analytics;
using UnityEngine.SceneMan... |
using System;
using System.Linq;
using System.Web.Http;
using EventsKob.Models;
using Microsoft.AspNet.Identity;
using System.Data.Entity;
namespace EventsKob.Controllers.Api
{
[Authorize]
public class EventsController : ApiController
{
private readonly ApplicationDbContext _context;
publ... |
namespace SGDE.API.Controllers
{
#region Using
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Domain.Supervisor;
using Microsoft.Extensions.Logging;
using System;
using System.IO;
using System.Threading.Tasks;
using System.Collections.Generic;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InfoPole.Core.Utilities
{
public class WordCleaner
{
public static string ClearFromPunctuatuion(string line)
{
var punctuation = new[] { ",", ".", ";", "-", ":", "_",... |
using BussinessLogic;
using Model;
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 Utils;
namespace Presentation
{
public partial class Reques... |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Shipwreck.MusicPlayer.Views
{
internal abstract class BooleanConverterBase : IValueConverter
{
public object TruePart { get; set; } = DependencyProperty.UnsetValue;
public object FalsePart { ge... |
using ScheduleBackendService.Dtos;
using System.Collections.Generic;
namespace ScheduleBackendService.Services
{
public interface IScheduleItemService
{
ScheduleItemAddOrUpdateResponseDto AddOrUpdate(ScheduleItemAddOrUpdateRequestDto request);
ICollection<ScheduleItemDto> Get();
Schedul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStore.Dal.Pager
{
public class PageDataView<T>
{
public PageDataView()
{
this.Items = new List<T>();
}
public int TotalNum { get; set; ... |
namespace Students
{
using System;
public enum Faculty
{
FacultyOne, FacultyTwo, FacultyThree
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity.Core.Common.CommandTrees;
using System.Linq;
using System.Web;
namespace Navigation.Models
{
public class Reaction
{
public int Id { get; set; }
[Required]
public int ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("ScreenEffect")]
public class ScreenEffect : MonoBehaviour
{
public ScreenEffect(IntPtr address) : this(address, "ScreenEffect")
{
}
public ScreenEffect(IntPtr address, string className) : base(... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuController : MonoBehaviour
{
public void JumpScene()
{
SceneManager.LoadScene("main");
}
}
|
using System.Collections;
using UnityEngine;
public class RockControl : MonoBehaviour
{
// Use this for class variables.
public GameObject rock;
private int wave;
private int rockCount;
private int rocksHit;
// Use this for initialization when scene loads.
private void Awake()
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ToyTwoToolbox {
public partial class T2Control_Label : Label {
private Bitmap _FontImage;
private Size _CharacterBounds;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class SetandGet : MonoBehaviour
{
public Text inputList, allList;
public void cek()
{
allList.text = allList.text +"\n"+ inputList.text;
}
}... |
using System.Threading.Tasks;
using IdentityServer4.Validation;
namespace DDDSouthWest.IdentityServer.Framework
{
public class CustomValidator : IResourceOwnerPasswordValidator
{
private readonly IUserStore _userStore;
public CustomValidator(IUserStore userStore)
{
_userSt... |
using KnapsackAnnealing.Common;
using KnapsackProblem.Helpers;
using OxyPlot.Series;
using System;
using System.IO;
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.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MovimientoJugador2 : MonoBehaviour
{
public LayerMask layer;
public Camera CamPresente;
public Camera CamPasado;
public string nivelSiguiente;
public string nivelMuerte... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Services;
namespace WorkerService {
public class Worker : BackgroundService {
private readonly RandomStringGenerator randomStringGenerator;
public Worker(RandomStringGenerator randomString... |
using System;
using PdfSharp.Pdf;
using PdfSharp.Pdf.IO;
using PDFSpliter.Models;
using System.IO;
using System.Linq;
using System.Web.Mvc;
namespace PDFSpliter.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... |
using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace ReadyGamerOne.Utility
{
public static class GameObjectExtension
{
public static int GetUnityDetectLayer(this GameObject self)
{
var layer=0;
for (var i = 0; i < 32; i++)
{
... |
using System.Net;
using System;
using System.IO;
using UnityEngine.Networking;
using System.Collections;
using System.Collections.Generic;
using Game.Online.API.Requests;
using Game.Online.API.Responses;
using Newtonsoft.Json;
using UnityEngine;
using Avatar = Game.Online.API.Responses.Avatar;
namespace Game.Online.AP... |
using CourseProject.Model;
using CourseProject.Repositories;
using CourseProject.View;
using CourseProject_WPF_.Repositories;
using CourseProject_WPF_.ViewModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using ... |
using HabitatReStoreMobile.Interfaces;
using HabitatReStoreMobile.Models;
using HabitatReStoreMobile.ServiceReference1;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnPoint : MonoBehaviour
{
[SerializeField] private Enemy _enemyPrefab;
[SerializeField] private Transform _path;
public void Spawn()
{
var obj = Instantiate(_enemyPrefab);
obj.transform.posi... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Web.UI.WebControls;
using DataLayer;
namespace RemindMyPassword
{
public partial class ComboArea : UCBase
{
public event EventHandler selectedItemChanged;
public bool useEvent = false;
string defaultValue =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercice_5
{
class Program
{
static void Main(string[] args)
{
string note1;
string note2;
string note3;
double saisie1;... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(SphereCollider))]
public class EnemyScript : MonoBehaviour
{
private Transform target;
public float secondsForIgnore = 5.0f;
public float moveSpeed = 5.0f;
public... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namesp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlockChain
{
public class BlockChainNetworkException : Exception
{
public BlockChainNetworkException(string message) : base(message)
{
}
}
}
|
using AssetHub.DAL;
using AssetHub.ViewModels.Home;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AssetHub.Controllers
{
[Authorize]
public class HomeController : Controller
{
public ActionResul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Security.Data
{
public class Parkrun
{
public int Id { get; set; }
public DateTime RaceDate { get; set; }
public int Race { get; set; }
public int Position { get; set; }
public string Grade { get... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioScriptSecondStageDemo : MonoBehaviour {
public AudioClip SecondStageStart;
public AudioSource SecondStageSource;
public GameObject MainBooster;
public GameObject SecondStage;
public GameObject MainB... |
using Microsoft.Xna.Framework.Media;
using Music_App.Class;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Music_App.Process
{
public class MusicOffline : INotifyProper... |
using Ornithology.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ornithology.Domain
{
public class AveDomain : IAveDomain
{
public bool Validar(Ave objeto, ref List<string> mensajes)
{
if (objeto... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.