text stringlengths 13 6.01M |
|---|
using QLSV.BD_layer;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QLSV.BS_layer
{
class BLThongKe
{
DataProvider db = null;
public BLThongKe()
{
db = new DataProvider();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyCentrip : EnemyMovement {
// Use this for initialization
void Start () {
bulletType = "EnemyBullet4";
}
// Update is called once per frame
//void Update () {
//if ((Input.GetMouseButtonDown (1))) {
//Game... |
namespace CloneDeploy_Entities.DTOs.ClientImaging
{
public class ModelTaskDTO
{
public string imageProfileId { get; set; }
public string imageName { get; set; }
public string imageProfileName { get; set; }
}
} |
using System.Collections.Generic;
using System.Threading.Tasks;
using Contact.API.Dtos;
namespace Contact.API.Repository
{
public interface IContactRepository
{
/// <summary>
/// 更新好友基本信息
/// </summary>
/// <param name="info"></param>
/// <returns></returns>
Tas... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_ImagePosition : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.ImagePosition");
LuaObject.addMember(l, 0, "ImageLeft");
LuaObject.addMember(l, 1, "ImageAbove");
LuaObject.addMember(l, 2, "ImageOn... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Sunny.HttpReqeustServer
{
public class MyHttpModule : IHttpModule
{
private bool? hiJacking;
protected bool HiJacking
... |
using System;
using System.Collections;
namespace SharpPcap.Util
{
public class IPAddressRange : NumberRange, IEnumerator, IEnumerable
{
virtual public System.String FisrtIPAddress
{
get
{
return IPUtil.IpToString(Min);
}
set
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Listas
{
class Program
{
private static readonly string[] colors = { "MAGENTA", "RED", "WHITE", "BLUE", "CYAN" };
private static readonly string[] removeColors = { "RE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UDM
{
public abstract class Aggregation
{
protected List<Cell> cells;
public abstract Object GetAggregatedValue(List<Cell> cells);
}
}
|
using System.Collections.Generic;
using UIKit;
namespace App1
{
public class SimpleViewController : UIViewController
{
private SimpleView m_simpleView;
public override void LoadView()
{
m_simpleView = new SimpleView();
m_simpleView.BuildView();
View... |
namespace OmniSharp.Extensions.JsonRpc
{
public class SerialRequestProcessIdentifier : IRequestProcessIdentifier
{
public RequestProcessType Identify(IHandlerDescriptor descriptor) => descriptor.RequestProcessType ?? RequestProcessType.Serial;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief フェード。スプライト。
*/
/** NFade
*/
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1.VmWare
{
/// <summary>
/// Find the number of times the most-common substring occurs in a given string
/// </summary>
public class Interview
{
s... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Soko.UI
{
public partial class BiracDana : Form
{
public BiracDana(string caption)
{
Initializ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HealthLink.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace HealthLink.Controllers
{
public class HospitalsController : Controller
{
private readonly A... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("SpecialEventVisualMgr")]
public class SpecialEventVisualMgr : MonoBehaviour
{
public SpecialEventVisualMgr(IntPtr... |
using Application.Contract.RepositoryInterfaces;
using Application.Contract.Responses;
using Application.CQRS.Queries;
using Application.Maping;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace Application.CQRS.Handlers.Queries
{
public class GetCryptoCurrencyRawDataHandler : IReques... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WF.SDK.Common;
namespace WF.SDK.Models
{
[Serializable]
public class Product : ICacheControl
{
//Cache Control properties - these do not go to the client.
[Newtonsoft.Json.JsonIgnore]
public Hy... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace VehiculosSanJoaquinMVC.Migrations
{
public partial class CreacionDB : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "NS_tblClien... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using async_inn.Data;
using async_inn.Models;
using async_inn.Models.Interfaces;
using async_inn.Models.DTOs;
using Micr... |
using System;
/// <summary> This is the class object </summary>
class VectorMath
{
/// <summary> >This method gets either a 2D or 3D vector and returns its magnitude,
///if the vector is not 2D or 3D it returns -1</summary>
public static double Magnitude(double[] vector)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace console
{
public class _017_InsertInterval
{
/// <summary>
/// Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).
/// You may assume tha... |
namespace Tolley.Data.Sql
{
/// <summary>
/// Defines a the encryption requirements for a sql connection
/// </summary>
public class SqlSecurityContext
{
/// <summary>
/// Sql Connections should be encrypted
/// </summary>
public bool IsEncrypted { get; set; }
... |
using Airfield_Simulator.Core.Models;
using Airfield_Simulator.Core.Simulation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Airfield_Simulator.Core.FlightRoutes
{
public class Router : IRouter
{
private readonly IWeathe... |
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Sbidu.Data;
using Sbidu.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sbidu.Helper
{
public static class AddFavorites
{
public async static Task<bool> Ad... |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades;
using System.Collections.Generic;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesCst
{
public static CSTIcms GetCSTIcmsPorID(decimal IDCSTIcms)
{
using (SQLQuery oSQL = new SQLQuery())
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using DBManager.DBASES;
using System.Net;
namespace DBManager
{
public partial class frmSQLServerTunnelServerConnection ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyGauge : MonoBehaviour
{
const float SCALE_CHANGE_SPEED = 0.8f;
AudioSource audioSource;
BossBase bossScript;
RectTransform rt;
float maxHP;
float hp;
bool appeared;
bool appearing;
boo... |
using HangoutsDbLibrary.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.Services
{
public interface IServiceLocation
{
void AddLocation(Location location);
List<Location> GetAllLocations();
Location GetLocationB... |
using System;
using System.IO;
using System.Linq;
using System.Web;
using System.Text;
using System.Security.Cryptography;
using System.Collections.Generic;
using System.Configuration;
namespace ReqOneUI
{
public class AspUtil
{
#region public methods
public static string GetRoot()
{
... |
namespace Banks.Library.Customers
{
using System;
using System.Collections.Generic;
using System.Text;
using Banks.Library.Accounts;
/// <summary>
/// Abstract customer
/// </summary>
public abstract class Customer
{
protected List<Account> accounts = new List<A... |
#region License
// Copyright (c) 2011 Nano Taboada, http://openid.nanotaboada.com.ar
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation... |
using System;
using System.Collections.Generic;
using Akka.Actor;
using DownloadExtractLib.Messages;
namespace DownloadExtractLib
{
public class DramaActor : ReceiveActor
{
readonly Dictionary<string, string> Url2FileDict = new Dictionary<string, string>();
readonly string OutFolder;
r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalliziedProject.Databases
{
class DataProcess
{
// Object orianted katili class :))))))
public List<LibraryPasage> getAll()
{
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UltronCloud
{
class GDriveIntegration : Integration
{
public GDriveIntegration() : base("Google Drive")
{
}
}
}
|
using System;
using System;
using System.Collections;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine;
namespace Architecture.ViewModel
{
public interface ICommand
{
void Execute();
}
public interface ICommand<T... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
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.Medi... |
using NUnit.Framework;
using System;
namespace Logs.Models.Tests.NutritionTests
{
[TestFixture]
public class ConstructorTests
{
[Test]
public void TestConstructor_ShouldInitializeCorrectly()
{
// Arrange, Act
var nutrition = new Nutrition();
// ... |
using AgeBaseTemplate.Core.ContentTypes;
namespace AgeBaseTemplate.UnitTests.ContentTypes
{
public class MockLanguagePage : MockBasePage<LanguagePage>
{
public MockHomePage HomePage { get; }
public MockConfigPage ConfigPage { get; }
public MockLanguagePage(bool includeHomePage = false... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using CTCT.Util;
namespace CTCT.Components.EventSpot
{
/// <summary>
/// Order class
/// </summary>
[DataContract]
[Serializable]
public class Order : Component
{
... |
using Assets.blackwhite_side_scroller.Scripts;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public enum EndSlidingCondition
{
Fall,
Jump
}
public class SlidingCharacterController2D : MonoBehaviour
{
public float SlideSpeed = 1f;
... |
using System;
using System.IO;
using NUnit.Framework;
using Paralect.Schematra.Definitions;
namespace Paralect.Schematra.Test.Tests
{
[TestFixture]
public class ParserTest
{
[Test]
public void First()
{
}
public void DynamicTypeCreation()
... |
using Ninject;
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;
using YouTubePlaylistsSystem.Data.Models;
using YouTubePlaylistsSystem.Data.Services.Contracts;
namespace YouTubePlaylistsSystem.Web
... |
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Interactivity;
using Windore.Settings.Base;
using System;
namespace Windore.Settings.GUI
{
public class BoolSettingControl : UserControl
{
private CheckBox settingCheckBox;
private TextBlock settingCheckBoxName;
... |
using System;
using System.Globalization;
using Xamarin.Forms;
namespace Kit.Forms.Converters
{
public class IsOfTypeConverter : IValueConverter
{
public bool IsReversed { get; set; }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace SchoolTest
{
[TestClass]
public class SchoolTest
{
[TestMethod]
public void SchoolConstructorTestName()
{
string schoolName = "Ivan Vazov";
School t... |
using APIEcommerce.Models;
using APIEcommerce.Requests;
using APIEcommerce.Responses;
namespace APIEcommerce.Mapper
{
public static class PedidoItemMapper
{
public static PedidoItem Mapper(PedidoItemRequest pedidoItem)
{
return new PedidoItem()
{
IdPedid... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Entities;
using MySql.Data.MySqlClient;
using Dapper;
using System.Linq;
namespace DataAccess
{
public class CitaDAL:Conexion
{
// CITAS
public async Task<List<Cita>> GetCitasAsync()
{
MySqlConnection MiC... |
using AutoMapper;
namespace MertricAgentServices.Mapper
{
public interface IMetricMapper
{
/// <summary>
/// Провайдер конфигурации для Mapper
/// </summary>
IConfigurationProvider ConfigurationProvider { get; }
/// <summary>
/// Конвертирует объекб в объект ти... |
using UnityEngine;
using System.Collections;
public class TeleportPipeEntrance : MonoBehaviour {
[SerializeField]
TeleportPipeExit teleportPipeExit;
void OnTriggerEnter(Collider other)
{
if (other.tag == "Player")
{
teleportPipeExit.TeleportObject(other.gameObject);
... |
using BSEWalletClient.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BSEWalletClient.BAL.Interface
{
public interface ICustomerRepository
{
List<Customer> Get();
void Add(Customer card);
}
}
|
#nullable disable
namespace SPDataRepository.Data.Entities
{
public record Product : EntityBase
{
public string Name { get; set; }
public virtual Brand Brand { get; set; }
}
}
|
using UnityEngine;
using UnityEngine.UI;
public class UpdateEnergyBarText : MonoBehaviour
{
#region Fields
private Text text;
[SerializeField]
private EEntityCategory entityCategory;
#endregion
#region Unity Methods
void Awake()
{
this.text = GetComponent<Text>();
if ... |
public interface IList<T> where T : new()
{
bool Get(int x, out T y);
bool Set(int x, T elemento);
void Push(T elemento);
int Length();
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEuler
{
public class FactorialDigitSum : ISolution
{
public void Run()
{
checked
{
var factorial =... |
using System;
using Relocation.Base;
using Relocation.Base.UI;
using Relocation.Com;
using Relocation.Com.Tools;
using Relocation.Data;
namespace Relocation
{
public partial class PwdModify : BaseForm
{
public PwdModify()
: base()
{
Initialize();
}
public PwdModify(Session s)
... |
using System;
using System.Configuration;
using System.Linq;
using System.ServiceModel;
using ServiceConfiguration = ServiceConfigurationSection.ServiceConfigurationSection;
namespace UserStorageApp
{
// In case of AddressAccessDeniedException run the command below as an administrator:
// netsh http add urla... |
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace HT.Framework
{
/// <summary>
/// 可绑定的Float类型
/// </summary>
public sealed class BindableFloat : BindableType<float>
{
public static implicit operator float(BindableFloat bFloat)
{
return bFloat.Value;
... |
using UnityEngine;
using UnityEditor;
using System;
using System.IO;
using System.Text;
using System.Reflection;
using UnityEditor.Callbacks;
public static class AutoCreateViewClass
{
static string tempFilePath = "Temp/__AutoCreateViewClass__";
[MenuItem("Tools/Auto Create View Class from Seleced GameObject/MonoBe... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
public class AtCoderValidator : NormalValidator
{
public AtCoderValidator(string ans) : base(ans) { }
public override bool Equal(string a, string b)
{
var sharpedA = string.Join("\n", a.Trim((char)0x0d, (char)0x0... |
// --------------------------------
// <copyright file="SearchCarModel.cs" >
// © 2013 KarzPlus Inc.
// </copyright>
// <author>JDuverge</author>
// <summary>
// SearchCarModel Search Entity Object.
// </summary>
// ---------------------------------
using System;
namespace KarzPlus.Entities
{
/// <summary>... |
namespace Eventos.IO.Services.Api.ViewModels
{
public class EstadoViewModel
{
public string UF { get; set; }
public string Nome { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using JsonData;
using NUnit.Framework;
namespace JsonData.Elements.Tests
{
[TestFixture]
public class JsonObjectTests
{
#region Base JsonObject
inte... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using WeatherWeb.Models;
using WeatherWeb.Service;
namespace WeatherWeb.ApiControllers
{
[Route("api/[controller]")]
public class WeatherController : Contr... |
using AutoMapper;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
namespace Umbraco.Web.Models.Mapping
{
internal class TemplateMapperProfile : Profile
{
public TemplateMapperProfile()
{
CreateMap<ITemplate, TemplateDisplay>()
.ForMember(dest => ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class Clientes : Personas
{
[Key]
public int IdCliente { get; set; }
public decimal LimiteCredit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessEntity
{
public class eSinhVien
{
private int MaSV;
private string Ten;
private string Khoa;
private string Lop;
private string ChuyenNg... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
namespace WebService.MVC4.Controllers
{
public class ToUpperController : ApiController
{
public string Get(string input)
{
return input.ToU... |
using System;
namespace Singleton
{
public class UsageExamples
{
public void UsingReadonlySingleton()
{
var proxyUri = $"{MyAppConfiguration.Instance.ProxyHost}:{MyAppConfiguration.Instance.ProxyPort}";
Console.Write($"Proxy address: {proxyUri}");
}
publ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Herencia
{
public class Coche : Vehiculo
{
public string Traccion { get; set; }
public Coche(string marca, string modelo, string traccion) : base(marca, modelo)
{
Traccion = traccion;
}
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace TAiO.Subgraphs.Models
{
public class Graph<T>
{
public Dictionary<T, HashSet<T>> Neighbors { get; } = new Dictionary<T, HashSet<T>>();
public HashSet<T> Vertices { get; private set; }
public Graph(IEnumerable<T>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SniperBullet : MonoBehaviour
{
private int damage;
private Vector3 direction;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
}
... |
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.Media.Imaging;... |
using System;
namespace Lab3
{
public class Point
{
int x;
int y;
public void SetX(int x)
{
this.x = x;
}
public int GetX()
{
return x;
}
public void SetY(int y)
{
this.y = y;
}
... |
using PointOfSalesV2.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace PointOfSalesV2.Repository
{
public class InvoiceDetailRepository : Repository<InvoiceDetail>, IInvoiceDetailRepository
{
public InvoiceDetailRepository(MainDataContext context... |
using System.Threading.Tasks;
using Remora.Discord.API.Abstractions.Objects;
using Remora.Discord.API.Abstractions.Rest;
using Remora.Discord.Core;
namespace DingleTheBotReboot.Services;
public class CommonMethodsService : ICommonMethodsService
{
public async Task<ulong> NukeChannelAsync(IDiscordRestGuildAPI gui... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Asset.Models.Library.EntityModels.OrganizationModels;
namespace Asset.Models.Library.EntityModels.HrModels
{
public class Employee
{
[Required]
[Key, DatabaseGenerated(DatabaseGeneratedOption... |
namespace ServiceBase.Events
{
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
/// <summary>
/// Default implementation of the event service.
/// Write events raised to the log.
/// </summary>
public class DefaultEventService :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DCDC_Manager
{
public abstract class PSValue<T> : WatchDog
{
private T _value;
private double _timeStamp;
public T Value
{
get
{
throw new Sy... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.CSharp.RuntimeBinder;
using System;
using System.Management.Automation.Runspaces;
using System.Collections.Generic;
using Microsoft.Extensions.Lo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerTurnState : State
{
public PlayerTurnState(StateMachine stateMachine) : base(stateMachine)
{
}
public override void Enter()
{
//start player turn
GameManager.instance.LevelManager.St... |
using System.ComponentModel.DataAnnotations;
namespace TxtUploader.Models
{
public class TxtModel
{
public int Id { get; set; }
[MinLength(1)]
[MaxLength(100)]
public string FileName { get; set; }
public byte[] FileContent { get; set; }
}
} |
using Diligent.BOL;
namespace Diligent.DAL.Core
{
public interface IUserRepository : IRepository<User>
{
User GetUserWithProjects(int id);
}
}
|
using UnityEngine;
using System.Collections;
public class Level2 : MonoBehaviour {
GameObject boss1;
// Use this for initialization
void Start () {
boss1 = GameObject.Find("GIANT_WORM");
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider hit) {
if (boss1.GetCompone... |
using System.Linq.Expressions;
using Bindable.Linq.Dependencies.Definitions;
namespace Bindable.Linq.Dependencies.ExpressionAnalysis.Extractors
{
/// <summary>
/// Extracts dependencies placed on child items within a query by looking for uses of <see cref="ParameterExpression"/>.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace buildings
{
public class ConstructController : MonoBehaviour
{
public Construct construct = null;
public Building building = null;
public List<ResourceCost> resourceCost;
[Serializ... |
using System;
namespace DipDemo.Cataloguer.Infrastructure.Presentation
{
public class AbstractPresenter<TView> : IPresenter
where TView : IView
{
protected TView View;
public event Action Disposed = delegate { };
IView IPresenter.View
{
get { return View; ... |
#region Usings
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
#endregion
namespace Zengo.WP8.FAS.Controls
{
public partial class SearchBoxControl : UserControl
{
public class DoSearchEventArgs : EventArgs
{
public string searchTer... |
namespace Bb.Expressions.CsharpGenerators
{
internal sealed class Indentation
{
private readonly ExposedTabStringIndentedTextWriter _writer;
private readonly int _indent;
private string _s;
internal Indentation(ExposedTabStringIndentedTextWriter writer, int indent)
{
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tcgv.QuantumSim.Data;
namespace Tcgv.QuantumSim.Operations
{
[TestClass()]
public class CXGateTest
{
[TestMethod()]
public void ControlFalse_InputFalse_Test()
{
var c = new Qubit(false);
var q = new Q... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Shooter
{
class Pistol : Gun
{
int _delay;
public Pistol()
: base()
{
_bullets = 7;
_delay = 40;
this.Cost = 1000;
this.Image = new string[] {
@" _____________",
@" \------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ENTITY;
using OpenMiracle.DAL;
using System.Windows.Forms;
using System.Data;
namespace OpenMiracle.BLL
{
public class DailySalaryVoucherBll
{
DailySalaryVoucherDetailsInfo infoDailySalaryVoucherDetails = new D... |
using MedicalStoreWebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace MedicalStoreWebApi.Controllers
{
[Authorize]
public class ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace AdminSchool.DataAccesslayer
{
public class SutdentRegisterContext : DbContext
{
public SutdentRegisterContext(): base ("School") {} //my database name
public DbSet<Models.St... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Char : MonoBehaviour
{
NavMeshAgent agent;
void Start()
{
//UpAnim();
}
//float Speed = .02f;
void Update()
{
if (agent.isOnOffMeshLink)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Scintilla;
using Scintilla.Forms;
using Scintilla.Configuration;
using Scintilla.Configuration.SciTE;
using WeifenLuo.WinFormsUI.Docking;
namespace MyGeneration
{
public interface IMyGenerationMDI
{
FindForm FindDialog { get; }
... |
// 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.Reflection;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Migrations.Design;
using Microso... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Filters;
namespace Shop.Attributes
{
public class HendlerArgumentExceptionAttribute : Attribute, IExceptionFilte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenericLabs
{
class Box<T>
{
private List<T> start = new List<T>();
public int Count { get { return start.Count; } }
public void Add(T i)
{
... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace VetOnTrack.Controllers
{
public class AgendaController : Controller
{
public IActionResult AuthSchedule(string input_agenda)
{
return RedirectT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.