text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace City_Center.Vista
{
public partial class VistaPrincipalHotel : ContentView
{
public VistaPrincipalHotel()
{
InitializeComponent();
}
}
}
|
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.Composition;
using Prism.Regions;
using Infrastructure;
using Common.Data;
using ModuleA.Data;
namespace ModuleA.ViewModels
{
[Export]
[PartCreationPolicy(CreationPolicy.NonSh... |
using System.Threading.Tasks;
using Remora.Discord.API.Abstractions.Objects;
using Remora.Discord.API.Abstractions.Rest;
using Remora.Discord.Core;
namespace DingleTheBotReboot.Services;
/// <summary>
/// An interface for common code shared by responders and commands
/// </summary>
public interface ICommonMethod... |
using System.ComponentModel;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace WpfApplication1
{
public class SimpleViewModel : WpfApplication1.CommonBase
{
string response;
/* string btn;
public string Btn1
{
get { ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace GeoLib.WindowsHost.Contracts
{
////namespace moved into the assemblyInfo
// [ServiceContract(Namespace = "https://www.pluralsight.com/MiguelCastro/WcfEndToE... |
using JoveZhao.Framework;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
namespace BPiaoBao.Client.UIExt.Communicate
{
public class ClientInterpector : IClientMessageInspector
{
public void AfterReceiveReply(ref Message reply, object correlationSta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 12
namespace DynamicStack
{
class Program
{
static void Main(string[] args)
{
DynamicStack stackTest = new DynamicStack();
stackTest.Push(8);
... |
using Godot;
public class SymbolTileTray : TileTray
{
protected PackedScene SymbolTileScene = ResourceLoader.Load<PackedScene>("res://Scenes/SymbolTile.tscn");
public override void _Ready()
{
base._Ready();
}
protected override T CreateTile<T>()
{
return SymbolTileScene.Instance() as T;
}
}
|
using System;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace SensorService.Validation
{
public class DateTimeModelBinderProvider : IModelBinderProvider
{
public IModelBinder GetBinder(ModelBinderProviderContext context)
{
if (context == null)
{
t... |
using Console2.G_Code;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace CareerCupTest
{
/// <summary>
///This is a test class for G_032_DeleteADoubleBTest and is intended
///to contain all G_032_DeleteADoubleBTest Unit Tests
///</summary>
[TestClass()]
publ... |
using UnityEngine;
using System.Collections;
using Leap;
using System;
public class ComplexGrabStrength : ComplexCondition {
private float minStrength, maxStrength;
public ComplexGrabStrength(float min, float max)
{
this.minStrength = min;
this.maxStrength = max;
}
public overr... |
/* 11. Write a program that finds the index of given element in a sorted array of integers
* by using the binary search algorithm (find it in Wikipedia). */
using System;
class BinarySearch
{
static int[] SelectionSort(int[] arr)
{
for (int i = 0; i < arr.Length; i++)
{
int minV... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.Events;
public class MainMenu_CustomizationManager : MonoBehaviour {
[SerializeField]
MeshRenderer displayDummy;
Material[] playerSkins;
[SerializeField]
RectTransform customizeButtonParent;
void Start... |
namespace FourSeafile
{
public sealed partial class LoadingPage
{
public LoadingPage()
{
InitializeComponent();
}
}
}
|
using System.Windows.Forms;
//
// DataViewExtenders
//
// Extenders for WinForms controls, such as DataGridView,
// BindingSource, BindingNavigator and so on
//
// Author: Radu Martin (CanadianBeaver)
// Email: radu.martin@hotmail.com
// GitHub: https://github.com/CanadianBeaver/DataViewExtenders
//
namespace WinF... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using StudentExercises.Data;
using StudentExercises.Models;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace StudentExercises.Contr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpEnvironmentBot
{
public static class DiscordIO
{
public abstract class Bot
{
private static readonly Queue<Bot> _bots = new Queue<Bot>();
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ItemFactory : MonoBehaviour
{
private Dictionary<ItemType, GameObject> itemPrefabs = new Dictionary<ItemType, GameObject>();
private void Awake()
{
itemPrefabs.Add(ItemType.HpPotion, Resources.Load<GameObjec... |
using Microsoft.AspNet.Identity;
using Tweeter.Data.Models;
namespace Tweeter.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity.EntityFramework;
public sealed class Configuration : DbMigrationsConfi... |
namespace PRGTrainer.Core
{
using System.Configuration;
using AdminHandler;
using Autofac;
using ReferenceBookReaders;
using ReferenceBookStorage;
using ResultFileGenerator;
using Shared.EncryptString;
using StatisticsCollector;
using TasksProcessing;
using TasksReaders;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerHit : MonoBehaviour {
public static bool isHit = false;
public void PlayerHitAnim(){
PlayerAttack.isAttacking = false;
isHit = true;
Invoke("Stop", 0.1f);
}
void Stop()
{... |
using System;
using System.Text;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.UI;
public unsafe class NativeBridge : MonoBehaviour
{
[SerializeField]
private Toggle toggle;
private... |
using MrHai.Application;
using MrHai.BMS.Controllers.Base;
using MrHai.Common.GlobalConfig;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TwinkleStar.Common.Others;
namespace MrHai.BMS.Controllers.Config
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Flower.Repository.Repository
{
public interface IFlowerRepository
{
Task<IReadOnlyCollection<Model.Model.Flower>> FindByName(string name);
}
}
|
using UnityEngine;
using System.Collections;
public class DetectionArea : MonoBehaviour {
/* Denne classen oppdager om en fiende er kommet inn i området hvor
* Forsvarselementer kan oppdage fienden
*/
//Lager en variabel som holder på fienden
private Transform target;
//Variabel som holder på referanse til sor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LCode.Models
{
public class Curso
{
public int Curso_id { get; set; }
public string Curso_nome { get; set; }
public double Curso_valor { get; set; }
public double Curso_duracao { g... |
using Ljc.Com.CjzfNews.UI.Entity;
using LJC.FrameWork.Comm;
using LJC.FrameWork.Data.EntityDataBase;
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;
nam... |
using OPAM.Camera.Win.Common;
using OPAM.Camera.Win.Implementations;
using OPAM.ViewModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace OPAM.Camera.Win.View
{
/// <summary>
/// An empty page tha... |
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Interop;
using System.Windows.Threading;
using Microsoft.Win32;
namespace RotationBug
{
class NativeRotationFix
{
private readonly Window window;
priva... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Aroma_Violet.Models;
namespace Aroma_Violet.Controllers
{
public class RebatesController : Controller
{
... |
using System.Drawing;
namespace BridgeBuilder
{
internal class TestingStressRenderer : Renderer
{
private readonly TestingStress testingStress;
public TestingStressRenderer(TestingStress testingStress)
{
this.testingStress = testingStress;
}
public overrid... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using PGS_zadanie.Models;
namespace PGS_zadanie.Context
{
public class BooksDBInitializer : DropCreateDatabaseAlways<Ctx>
{
protected override void Seed(Ctx context)
{
Lis... |
using Data.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace VocabularyApi.Models
{
public class TrainingStatistic
{
public int Id { get; set; }
public TrainingTypeEnum TrainingType { get; set; }
public bool IsReve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tai_Shi_Xuan_Ji_Yi.Classes
{
public class CCommandQueueItem
{
public enum ENUM_CMD
{
Start,
Stop,
SetTemper
}
public CCommandQueueItem(ENUM_CMD C... |
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 ClientType : Form
{
public Cl... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using NPOI.HSSF.UserModel;
using NPOI.SS.UserModel;
using NPOI.SS.Util;
using SalaryManagement.Utility;
namespace SalaryManagement
{
public partial class Sala... |
using System;
using System.Linq;
namespace Solution3
{
class Program
{
static void Main(string[] args)
{
int[] arr1 = { 11, 23, 83, 41, 95, 36, 77, 81, 90 };
int[] arr2 = { 11, 33, 88, 41, 77, 8, 4, 10 };
Console.WriteLine(String.Join(", ", ArrayDiff(arr1, ar... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum GameEvents
{
GAME_LOAD,
LOCATIONS_COLLECTED,
PASSANGERS_CREATED,
PLAYER_ACTIVE,
GAME_OVER,
PASSANGER_DROPPED_OFF,
CAR_HORN,
ENTERING_CAR
}
public class GameManager : MonoBehaviour
{
public de... |
using System;
using System.Collections.Generic;
using System.Reflection;
using FluentAssertions;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Configurations;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums;
using Microsoft.OpenApi.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
names... |
// -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
extern alias pcl;
using System;
using System.IO;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//2018-12-01 宋柏慧
//---------------------------------------------------------
//这个脚本的功能为 状态机的信号量改变
//从而达到动画切换的效果
//---------------------------------------------------------
public class AnimationController : MonoBehaviour
{
Animator war... |
using System.Collections.Generic;
using NHibernate.Mapping;
using NHibernate.Mapping.ByCode.Conformist;
namespace performanceTest.Models {
//[Subclass(NameType = typeof(ZorgTogTariefWereld), ExtendsType = typeof(ZorgPrestatieTariefWereld), DiscriminatorValueObject = DISCRIMINATOR)]
public class ZorgTogTariefWe... |
namespace FileSearch
{
public abstract class BaseFileFilter
{
public abstract bool ShouldFilter(IExtendedFileInfo extendedFileInfo);
public virtual void Filter(IExtendedFileInfo extendedFileInfo)
{
if (extendedFileInfo == null)
{
return;
... |
using System;
namespace City_Center.Models
{
public class GuardadoGenerico
{
public int estatus { get; set; }
public string mensaje { get; set; }
public object resultado { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using UnityEngine;
public enum World
{
SPACE_MOUNTAINS,
SPACE_EMPTY,
CLOUDS,
WATER,
}
public static class CurrentWorld
{
public static World world;
public static void SetWorld(World world)
{
CurrentWorld.world = world;
}
}
|
// Copyright 2020 Google Inc. 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 License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Detector
{
static class Program
{
/// <summary>
/// 해당 애플리케이션의 주 진입점입니다... |
using System;
namespace Tensor.Test.BubbleGame
{
class Program
{
static void Main(string[] args)
{
var setting = new Settings() { Height = 100, Width = 100, MaxRadius = 10, SeedCount = 10, Velocity = 1 };
var gameField = new GameField();
IVisualizer visualize... |
using System.Threading.Tasks;
using Core.Enums;
using Data.Persistence;
using Data.Views;
using Entities;
namespace Data.Repositories
{
public interface IOrderRepository : IRepository<Order>
{
Task<OrderView> GetOrderViewsAsync(int userId);
Task<Order> GetOrderByUserAsync(int userId);
... |
using BPiaoBao.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket.DataObject
{
public class RequestQueryInsurancePurchaseByBussinessman
{
/// <summary>
/// 购买开始时间
/// <... |
using Microsoft.EntityFrameworkCore;
using JWT.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JWT.Context
{
public class OnlineExaminationSystemContext : DbContext
{
public OnlineExaminationSystemApiDbContext(DbContextOptions option... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Services.Authentication;
using DotNetNuke.Services.Authentication.OAuth;
using DotNetNuke.Services.Excepti... |
using UnityEngine;
public class Battery : MonoBehaviour
{
// CLASS VARIABLES
static public int batteryTier = 0; // The current upgrade level of the battery (0-3)
static public int startingAmount = 50; // Amount of battery fuel at game start (should be constant)
static public int dailyRechargeA... |
using System.Data.Entity;
using EntitiesDB;
namespace DBDataProvider
{
public class DataContext : DbContext
{
public DataContext() :base("DataContext")
{
}
public DbSet<Block> Blocks { get; set; }
public DbSet<DoorBox> DoorBoxes { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace cn.bmob.io
{
public sealed class BmobInt : BmobNumber<int>
{
public BmobInt()
: base()
{ }
public BmobInt(int value)
: base(value)
{
}
#region Implicit Conve... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChickenAI : PatrolMonster
{
[SerializeField] GameObject chickPrefab;
[SerializeField] float chickSpawnDelay;
WaitForSeconds SpawnDelayCount;
Coroutine spawnChick;
bool alreadyDetectPlayer = false;
// St... |
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 System.IO;
using POG.Forum;
using POG.Utils;
using POG.Werewolf;
using System.Reflection;
namespace TatianaTiger
{
public pa... |
using System;
namespace ControlStatements104
{
class Program
{
static void Main()
{
// Using break to exit a loop.
for (int i = -10; i <= 10; i++)
{
if (i > 0) break; // Terminate loop when i is positive
Console.Write(i + " ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Savarankiskas1
{
class Program
{
static void Main(string[] args)
{
Mokinys petras = new Mokinys();
petras.vardas = "Petras";
pet... |
using BAPointCloudRenderer.CloudData;
using BAPointCloudRenderer.Loading;
using System;
using System.Threading;
using UnityEngine;
namespace BAPointCloudRenderer.CloudController {
/* While PointCloudLoaderController will load the complete file as one and render the comlete one,
* the DynamicLoaderController... |
using GraphQL;
using GraphQL.Types;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TicketingSystem.Models;
namespace TicketingSystem.API.GraphQl.Queries
{
public class Query : ObjectGraphType
{
private readonl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Clases_abstractas;
namespace Clases_Instanciables
{
public sealed class Profesor : Universitario
{
private Queue<Universidad.EClases> clasesDelDia;
private static Random ra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data;
using System.Data.OleDb;
using System.Collections;
using HSoft.SQL;
using Obout.ComboBox;
using Obout.Grid;
using OboutInc.Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin_Delete : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
int id = Convert.ToInt32(Request.QueryString["id"])... |
using System;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
using Project.Client.Web.Entities;
using Project.Client.Web.Repositories;
namespace Project.Client.Web
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infra;
namespace Console2.G_Code
{
public class G_065_ClosestNode
{
/*
* 一个BST,节点是double,输入一个k,找到和这个k最接近的节点。
*/
/// <summary>
/// Try to do it logn.
/// this is K-D tre... |
using System;
using System.Collections.Generic;
// you can also use other imports, for example:
// using System.Collections.Generic;
// you can write to stdout for debugging purposes, e.g.
// Console.WriteLine("this is a debug message");
class Solution
{
public int solution(int X, int[] A)
{
// write ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using NetFabric.Assertive;
using Xunit;
namespace NetFabric.Hyperlinq.UnitTests.Projection.Select
{
public class ReadOnlyListTests
{
[Theory]
[MemberData(nameof(TestData.SkipTakeSelectorEmpty), Membe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using UniRx.WebRequest;
namespace WebRequest.UniRx.Marimoiro {
public class MarimoiroWebRequest : MonoBehaviour {
void Start() {
ObservableWebRequest
.Get("https://unity.com/")
... |
namespace Enrollment.Parameters.Expressions
{
public class ModuloBinaryOperatorParameters : BinaryOperatorParameters
{
public ModuloBinaryOperatorParameters()
{
}
public ModuloBinaryOperatorParameters(IExpressionParameter left, IExpressionParameter right) : base(left, right)
... |
// using System;
// using System.ComponentModel.DataAnnotations;
using Login_and_Registration.Models;
namespace Login_and_Registration.Models
{
public class IndexViewModel
{
public RegUser newUser{get; set;}
public LogUser user{get; set;}
}
}
|
// namespace trial_api.PasswordHashing
// {
// public interface IPasswordHasher
// {
// string Hash (string pass);
// (bool Verified, bool NeedsUpgarde) Check(string hash, string password);
// }
// } |
using LazyVocabulary.Logic.Helpers;
using LazyVocabulary.Logic.Services;
using LazyVocabulary.Web.Filters;
using LazyVocabulary.Web.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using System;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threa... |
using System;
using System.Text.Json.Serialization;
namespace webapp.Data
{
public class Podcast
{
public string PodcastId { get; set; }
public string Name { get; set; }
public string Author { get; set; }
public DateTime UploadedOn { get; set; }
public TimeSpan Length... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AppProgramming2.Models;
using AppProgramming2.Services;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace AppProgramming2.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class game_manager : MonoBehaviour
{
/*
*clase game_manager.
*
* game_manager es un objeto que controlara todo lo que ocurre a nivel global en el juego en cada momento.
* de... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ServiceHost.Services;
namespace ServiceHost.Controllers
{
[Route("api/v{version:apiVersion}/[controller]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;
using FluentNHibernate.Mapping;
namespace PropertyManagement.Domain.Mapping.FluentHibernate
{
public class InvoiceMap : ClassMap<Invoice>
{
public InvoiceMap()
{
... |
using UnityEngine;
using System.Collections;
public class CameraScript : MonoBehaviour {
private Vector3 positionMovingTo;
public bool moving;
public float speed;
private GameScript gameScript;
// Use this for initialization
void Start () {
gameScript = GameObject.FindGameObjectWithTag ("GameController").Ge... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Drink.cs" company="">
//
// </copyright>
// <summary>
// The drink.
// </summary>
// -----------------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Text;
using ENTITY;
//<summary>
//Summary description for FinancialYearInfo
//</summary>
namespace ENTITY
{
public class FinancialYearInfo
{
private decimal _financialYearId;
private DateTime _fromDate;
... |
using Deployer2._0.Resources.APIResources;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Deployer2._0
{
public class JiraAPIController : ApiController
{
// GET api/<controller>
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PapanControl : MonoBehaviour {
//public AudioSource ButtonSound;
public GameObject player;
public GameObject arahanlvl;
//public GameObject cerita;
private void OnTriggerEnter2D(Collider2D collision) {
... |
using JumpAndRun.API;
using System;
using System.Collections.Generic;
namespace JumpAndRun.TerrainGeneration
{
public interface IBiom
{
/// <summary>
/// Die Grundhöhe des Bioms
/// </summary>
int BaseHeight { get; }
/// <summary>
/// Der Block, der die... |
using Dapper;
using EFCoreDemo.Entity;
using Microsoft.Data.SqlClient;
using System.Collections.Generic;
using System.Data;
namespace EFCoreDemo
{
public class DapperDemo
{
private static readonly string connectionString = "Server=47.107.107.33,8000;Database=RYAccountsDB;User ID = sa; Password=9emRFMg... |
namespace NuCheck
{
public class Project
{
public Project(string name, string fileName)
{
Name = name;
FileName = fileName;
}
public string Name { get; private set; }
public string FileName { get; private set; }
}
} |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityFrameworkCoreExample.Models
{
//[Table("Creators... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Proiect.Data;
using Proiect.Models;
namespace Proiect.Pages.Students
{
public class IndexModel : Pa... |
using DominosPizza.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DominosPizza.Controllers
{
public class KitchenController : Controller
{/*
DominosContext db = new DominosContext();
// GET: Kitchen
public Ac... |
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
// Types out text from an Dialogue instance
// To Fix: Can't trigger dialogue if staing in same place/ must exit trigger
public class DialogueTextTyper : MonoBehaviour
{
// Constants
private readonly Color DisabledColor = new C... |
using System;
using System.Collections.Generic;
using TestsGenerator.CodeAnalysis;
using TestsGenerator.IO;
using TestsGenerator.TemplateGenerators;
namespace TestsGenerator
{
public class TestsGeneratorConfig
{
protected int readThreadCount;
protected int processThreadCount;
protected... |
/**CardDealer.cs
*
* Description: This class represents a card dealer/shoe which will be used to deal cards to players
*
* @authors Matthew Cormier, Kyle Warner, Chris Hobday
* @version 1.0
* @since 1.0 (03/22/2016)
*/
/**Attribution
* Card sounds retrieved from https://freesound.org/people/empraetorius/so... |
using Microsoft.Xna.Framework.Audio;
using System.Collections.Generic;
using SprintFour.Collectibles;
using System;
using Microsoft.Xna.Framework.Media;
using SprintFour.Utilities;
namespace SprintFour {
public enum BGMusicState { Normal, Star, Underground, Stopped, Transition }
public static class SoundMan... |
using System.Windows.Forms;
namespace DBManager
{
internal partial class About : Form
{
public About()
{
InitializeComponent();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SKT.WMS.WMSBasicfile.Model;
using AjaxPro;
using SKT.WMS.WMSBasicfile.BLL;
using SKT.MES.Web;
namespace SKT.WMS.Web.AjaxServices.Vendor
{
/// <summary>
/// 厂商档案类
/// </summary>
public class AjaxServiceWMSVendor
... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Epsagon.Dotnet.Core;
using Jaeger;
using Jaeger.Reporters;
namespace Epsagon.Dotnet.Tracing.OpenTracingJaeger {
internal class DebugReporter : IReporter {
public Task CloseAsync(CancellationToken cancellationToke... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class CraftQueueItemDetails : MonoBehaviour
{
public TMP_Text amountText, timeText;
public Image itemImage;
public CraftScriptableObject currentCraftItem;
public int craftTime;
... |
using EasyVideoEdition.View;
using EasyVideoEdition.ViewModel;
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;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace myHealthAPI.Models
{
public class Hosital
{
public int hospital_id { get; set; }
public string healthProvider { get; set; }
public string hospital_name { get; set; }
public string hos... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.