text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nustache.Core;
using OwinExtensions;
namespace qed
{
using MiddlewareFunc = Func<Func<IDictionary<string, object>, Task>, Func<IDictionary<string, object>, Task>>;
public... |
using CarritoCompras.Modelo;
using CarritoCompras.Service;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CarritoCompras.View
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Alabo.Extensions {
/// <summary>
/// IEnumerable的扩展函数
/// </summary>
public static class EnumerableExtension {
/// <summary>
/// Foreaches the specified action.
/// ... |
using FluentValidation.TestHelper;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
using SFA.DAS.ProviderCommitments.Web.Validators.Cohort;
using System;
using System.Linq.Expressions;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Validators.Cohort
{
[TestFixture]
public clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InheritenceExample
{
public class SavingAccount: BankAccount
{
public double InterestAmount { get; set; }
}
}
|
using System;
using System.Linq;
using System.Net;
using System.Web.Http;
using System.Web.Http.Cors;
using System.Web.Http.Description;
using TodoList.API.Models;
namespace TodoList.API.Controllers
{
// TODO Enable CORS only for desired locations.
// Use of wildcards for all of the parameters with the Enabl... |
using System;
using System.Collections.Generic;
using System.Linq;
using ILogging;
using ServiceDeskSVC.DataAccess;
using ServiceDeskSVC.DataAccess.AssetManager;
using ServiceDeskSVC.DataAccess.Models;
using ServiceDeskSVC.Domain.Entities.ViewModels.AssetManager;
namespace ServiceDeskSVC.Managers.Managers.AssetManage... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp8
{
public abstract class shape
{
public virtual void About()
{
Console.WriteLine("about from shape");
... |
using FrameOS.Systems.CommandSystem;
using System;
using System.Collections.Generic;
using System.Text;
using FrameOS.Systems.Networking;
namespace FrameOS.Commands
{
class NetworkInfoCommand : ICommand
{
public string description { get => "Check your current network configuration."; }
public... |
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Shop.Store.Domain.Services
{
public class IDeliveryTemplateServiceTests : CoreTest
{
/*end*/
[Fact]
[TestMethod("AddOrUpdate_DeliveryTemplate_Store")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VJBatangas.LomiHouse.Data;
using VJBatangas.LomiHouse.Entity;
using VJBatangas.LomiHouse.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Common;
namespace VJBatangas.LomiHo... |
using System;
using System.Collections.Generic;
namespace TryHardForum.Models
{
public class Forum
{
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public DateTime Created { get; set; }
public string ImageUrl { get; ... |
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System;
using System.Reflection;
/**
* @author Chris Foulston
*/
public static class EditorUtil {
private static Vector3[] rectVerts;
public static float LabelWidth(string text) {
return LabelWidth(text, G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace API
{
public class Fields
{
public string departement { get; set; }
public int vols_dans_les_vehicules { get; set; }
public int cambrio... |
using Model;
using Model.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace StockWeb.Controllers
{
public class BaseController: Controller
{
/// <summary>
/// 当前登录的用户属性
/// </summary>
public E_User CurrentU... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClientAdminFastFood.Models
{
class NguyenLieu
{
public int Ma { get; set; }
public string TenNguyenLieu { get; set; }
public string DonVitinh { get; set; }
... |
namespace FormulaBuilder
{
using System;
public interface IExpressionParser
{
int Evaluate(string expression);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MultiSelectInGrid.Models
{
public class OrderViewModel
{
public OrderViewModel()
{
this.Employees = new List<EmployeeViewModel>();... |
using System;
using System.Collections.Generic;
using System.Linq;
using Mapper.Utils;
namespace Mapper.Mappers
{
public class OptimizedMapper: ObjectCopyBase
{
private readonly Dictionary<string, PropertyMap[]> _maps = new Dictionary<string, PropertyMap[]>();
public override void MapTypes(Ty... |
using SMG.Common.Gates;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG.Common.Code
{
/// <summary>
/// Converts one set of gates into another set of gates based on code labels.
/// </su... |
using System;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
using System.Security.Cryptography;
//using System.Management;
namespace appglobal
{
public class IDGenerator
{
string HardwareID;
string licenseID;
string SerialNumber;
String ActivationNum... |
namespace Taggart.Data.Models
{
public partial class PlaylistConfiguration : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Playlist>
{
public PlaylistConfiguration() : this("trx")
{
}
public PlaylistConfiguration(string schema)
{
ToTable("pla... |
using AutoMapper;
using Library.DataStorage.Contracts;
using Library.DataTransferObjects.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Library.Extensions
{
public static class MapperExtensions
{
public static IEnumerable<TEntity> MapOntoExistingDa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows;
namespace VNPrototype
{
public class QuickMenu
{
Grid quickMenuBG;
Button resumeBtn;
Button saveBtn;
Button l... |
using UnityEngine;
using System.Collections;
public class HorseWalk : MonoBehaviour {
Animator animator;
// float walk_Speed;
bool isWalking;
// Use this for initialization
void Start () {
animator = GetComponent<Animator>();
}
public void Move(Vector3 move, bool crouch, boo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CIPMSBC.ApplicationQuestions
{
public enum Questions
{
Q0003IsFirtTimer = 3,
Q0006Grade = 6,
Q0007KindofSchool,
Q0008SchoolName,
Q0030WereYouRef... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ludotek.Api.ViewModels
{
public class GlobalModel
{
/// <summary>
/// Gestion des erreurs
/// </summary>
public Erreur Erreur { get; set; }
}
}
|
namespace Alabo.UI.Design.AutoReports.Dtos {
/// <summary>
/// 报表表格
/// </summary>
public class SumReportTable {
/// <summary>
/// 表格名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 日期格式
/// 格式:2019-6-26
... |
namespace FriendStorage.UI.Dialogs
{
public enum MessageDialogResult
{
No,
Yes
}
public interface IMessageDialogService
{
MessageDialogResult ShowYesNoDialog(string title, string message);
}
}
|
// 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.Messages
{
public class P2PNode
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.SQLServer2000.Model
{
public class Constraint:SchemaBase
{
public enum ConstraintType
{
PrimaryKey = 1,
ForeignKey = 2,
Default = 3,
... |
using ChutesAndLadders.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChutesAndLadders.GamePlay;
namespace Chute
{
public static class Demo3bExtensions
{
public static void Demo3b_GeneticEvolution(this GameBoard board... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CRUD_Database
{
public class MyEFContext : DbContext
{
public DbSet<AppUser> Users { get; set; }
protected override void OnConfigur... |
using System;
namespace Zesty.Core.Entities
{
public class Authorization
{
public Domain Domain { get; set; }
public Role Role { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cracking
{
class IsLinkedListPalindromeIterative
{
public static bool isPalindrome(Node head) {
Node slow = head;
Node fast = head;
Stack<... |
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Generic;
public class FindReferences
{
[MenuItem("Assets/Find References", false, 10)]
static private void Find()
{
... |
using System.Collections.Generic;
using DFC.ServiceTaxonomy.VersionComparison.Models;
using OrchardCore.ContentManagement;
namespace DFC.ServiceTaxonomy.VersionComparison.Services
{
public interface IDiffBuilderService
{
List<DiffItem> BuildDiffList(ContentItem baseVersion, ContentItem compareVersion)... |
using System.Collections.Generic;
namespace EPI.Graphs.Algorithms
{
public class AdjacencyListGraph
{
public LinkedList<AdjacencyListGraphNode>[] nodes;
private bool isUndirectedGraph;
public AdjacencyListGraph(int noOfNodes, bool isUndirected = false)
{
nodes = new Lin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightingBook.Tests.Api.Product.Dto.GetItinerary.Response
{
public class Car
{
public PickUp PickUp { get; set; }
public DropOff DropOff { get; set; }
public Lis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Identity;
namespace NoteManager.ViewModels.Account
{
public class ManageLoginsViewModel
{
public IList<UserLoginInfo> CurrentLogins { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entities.SCES
{
public class RMTransferForPWO
{
/// <summary>
/// 排产事实编号
/// </summary>
public long FactID { get; set; }
/// <summary>
/// 制造订单号
... |
namespace _03._GroupNumbers
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
int[] numbers = Console.ReadLine().Split(new []{' ', ','}, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).ToArra... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerShipModel : MonoBehaviour {
public GameObject model;
void OnEnable () {
if (model)
Destroy (model);
Instantiate(GameManager.instance.ships[GameManager.instance.currentShip].shipPrefab, transform);
}
} |
public enum StoryStatus
{
Draft = 0,
Awaiting_Approval = 1,
Ready = 2,
Work_in_progress = 3,
Ready_for_testing = 4,
Testing = 5,
On_Hold = 6,
Unknown = 7,
Complete = 8,
Cancelled = 9
}
public enum IncidentStatus
{
Unknown = 0,
New = 1,
Active = 2,
Awaiting_User_... |
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.AccountEntity;
using Anywhere2Go.DataAccess.Object;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.AccountingLogic.Master
{
public class SurveyorPayL... |
using System.Diagnostics;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;
namespace Demystify._Tests
{
public class Logging
{
[MenuItem("Test/Log")]
private static void Log()
{
Debug.Log("hello");
}
[MenuItem("Test/LogWarning")]
private static void Warning()
{
Debug.... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace _01_Starfield
{
public partial class Form1 : Form
{
private Bitmap _backBuffer;
private Graphics _backBufferGr;
public static Graphics _gr;
private bool isRunning;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegatesAndEvents
{
delegate void MyDelegate17(string txt);
internal class MyClassL17
{
private MyDelegate17 myEvent;
public event MyDelegate17 MyEvent17
... |
using NuGet;
using Tomelt.Environment.Extensions.Models;
using Tomelt.Packaging.Models;
namespace Tomelt.Packaging.Services {
public interface IPackageManager : IDependency {
PackageData Harvest(string extensionName);
PackageInfo Install(IPackage package, string location, string applicationPath);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade8.ExercicioSlides
{
class _3
{
public static double valor;
public static Random RandNum = new Random();
static void Main111(string[] args)
{... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using CIPMSBC;
public partial class Enrollment_Dallas_Sum... |
using UnityEngine.SceneManagement;
using UnityEngine;
public class GameActions : MonoBehaviour
{
public void RestartLevel()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebTest.Code
{
public class Member:CRL.Person.Member
{
}
} |
using GalaSoft.MvvmLight.Command;
using Sales.Helpers;
using Sales.Views;
using System;
using System.Windows.Input;
using Xamarin.Forms;
namespace Sales.ViewModels
{
public class MenuItemViewModel
{
#region Properties
public string Icon { get; set; }
public string Title { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ByteClubGroupTicketSystem
{
public class Ticket
{
public int TicketId { get; set; }
public string PurchasedBy { get; set; }
/// <summary>
/// This wil... |
using System.Collections.Generic;
namespace ControleFinanceiro.Domain.Entities
{
public class Usuario
{
public int ID { get; set; }
public string Nome { get; set; }
public string Senha { get; set; }
public List<Despesa> Despesas { get; set; }
public List<Receita> Recei... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using KartObjects.Entities;
namespace AxisPosCore
{
/// <summary>
/// Состояние выбора товара и отображения остатков
/// </summary>
public class POSSelectGoodState : POSAbstractState
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DomainModel
{
public class User
{
public int Id { get; set; }
public string FullName { get; set; }
public string UserName { get; set; }
#region FK's
public int RoleId { get;... |
using System;
using System.Collections.Generic;
using System.IO;
using Serilog;
namespace CSConsoleRL.Logging
{
/// <summary>
/// GameLogger should be logging to both the Console and in-game terminal
/// Want ability to write to output to files as well
/// </summary>
public sealed class GameLogger
{
p... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Tndm_ArtShop.Migrations.Prodavnica
{
public partial class Slika : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PutanjaSlike",
... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `string`. Inherits from `AtomEventInstancerEditor<string, StringEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pjank.BossaAPI
{
/// <summary>
/// Konkretny rachunek danego użytkownika BOSSy (np. akcyjny lub kontraktowy)
/// </summary>
public class BosAccount
{
/// <summary>
/// Numer rachunku.
/// </summary... |
namespace AdminWebsite.Configuration
{
/// <summary>
/// Security Settings
/// </summary>
public class AzureAdConfiguration
{
/// <summary>
/// Id for app registration of this application
/// </summary>
public string ClientId { get; set; }
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AxisEq
{
public class PosiflexCustomerDisplay:CipherCustomerDisplay
{
public override int Open(string portName, string baudRate)
{
int r= base.Open(portName, baudRate);
if (r... |
using EmailExtractor.DatabaseModel;
using EmailExtractor.ImapConnector;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.IO;
using System.Linq;
using Org.BouncyCastle.Crypto.Agre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Sitemaker.Models
{
public class Page
{
public int Id { get; set; }
public string NamePage { get; set; }
public string HtmlCode { get; set; }
public string SiteId { get; set; }
... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
[RequireComponent(typeof(NavMeshAgent))]
public class IACarros : MonoBehaviour {
NavMeshAgent navMesh;
[SerializeField]
Transform[] points;
void Start(){
navMesh = GetComponent<NavMeshAgent> ();
InvokeRepeating ("MudarRota", 1, 10... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class GenerateSymbol : MonoBehaviour {
public GameObject prefab;
float Angle=0;
float Angle1=0;
float Angle2=90;
Vector3 center = new Vector3(0,0,0);
public float Exitment;
public float Engagement;
publi... |
using System;
using System.Collections;
using System.Collections.Generic;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.VIEW
{
public partial class ShipPlanView { }
}
|
using System;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
using FrameworkLibraries.ActionLibs.WhiteAPI;
using FrameworkLibraries.AppLibs.QBDT;
using FrameworkLibraries.Utils;
using TestStack.BDDfy;
using Xunit;
using Installer_Test.Lib;
namespace Installer_Test.Archive_Tests
{
public class MIMO
{
... |
using System;
namespace API
{
internal static class TurnValidator
{
public static MoveCategory ThisMoveIsNotSameAsLastMove(Moves lastMove, Moves thisMove)
{
if (lastMove == thisMove)
{
Console.WriteLine("\nIts not your turn. Other player go... ");
... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace TelegramFootballBot.Core.Services
{
public interface ISheetService
{
Task SetApproveCellAsync(string playerName, string cellValue);
Task UpsertPlayerAsync(string playerName);
Task ClearGameCellsAsync();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Caveira : MonoBehaviour
{
NavMeshAgent agent;
Transform target;
public float disShot;
public GameObject flecha;
public Transform shootPoint;
bool isShooting;
public float min... |
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;
namespace Автошкола
{
public partial class CarriersStatusesForm : Form
{
public Carriers... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shooting1 : MonoBehaviour
{
public GameObject obj;
public Transform posofres;
void Start()
{
}
void Update()
{
if (Input.GetMouseButtonDown(0)) {
Instantiate(obj, posof... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Elmah;
namespace CreamBell_DMS_WebApps
{
public partial class frmCreditDebitNotePurchaser : System.Web.UI.Page
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Input;
using Beeffective.Commands;
using Beeffective.Extensions;
using Beeffective.Models;
... |
using Microsoft.Extensions.Options;
using Moq;
using SnowBLL.Helpers;
using SnowBLL.Models;
using SnowBLL.Models.Auth;
using SnowBLL.Models.Users;
using SnowBLL.Service.Concrete;
using SnowBLL.Service.Interfaces;
using SnowDAL.DBModels;
using SnowDAL.Repositories.Interfaces;
using System;
using System.Collections.Gene... |
using BO;
using DAL.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Reflection;
using System.IO;
namespace DAL
{
public abstract cla... |
using System.Collections.Generic;
namespace Delegates
{
public class PhotoFilters : IFilters
{
private readonly List<IEffect> _effects;
public PhotoFilters()
{
_effects = new List<IEffect>();
}
public PhotoFilters(List<IEffect> effects)
{
... |
namespace CameraClassTest
{
public class PhoneI : CameraClass
{
public int _brightnes;
public PhoneI(string nameCamera, TypeCamera typeCamera, bool isActive, int br) : base(nameCamera, typeCamera, isActive)
{
_brightnes = br;
}
public int Brightnes { get {r... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public class TradeReportExtSixWarehouse : Entity
{
[DBIgnoreReadParam]
[DBIgnoreAutoGenerateParam]
public override string Friendl... |
using gView.GraphicsEngine.Abstraction;
namespace gView.GraphicsEngine.Filters
{
public interface IFilter
{
IBitmap Apply(IBitmap bitmap);
IBitmap Apply(BitmapPixelData bmData);
}
}
|
using UnityEngine;
namespace Assets.Scripts.Service
{
public class FPSService : MonoBehaviour
{
private void Awake()
{
Application.targetFrameRate = 60;
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StopTime : MonoBehaviour
{
public static bool timeStoped = false;
// using SHIFT the player can speed up the game time or slow down the time
public void stop()
{
Time.timeScale = 0f;
timeStoped... |
using Microsoft.EntityFrameworkCore;
using WebApi.Database.Entities;
namespace WebApi.Database
{
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
{
}
public DbSet<User> Users { get; set;... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using NetEscapades.AspNetCore.SecurityHeaders.Infrastructure;
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers
{
/// <summary>
/// The header value to use for Expect-CT
/// </summary>
public class ExpectCTHeader :... |
using System;
using System.Windows.Forms;
using gma.System.Windows;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
namespace GlobalHookDemo
{
class MainForm : System.Windows.Forms.Form
{
private System.Windows.Forms.Button ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Mvc;
using System.Web.Routing;
using GraphApiConnect.Helpers;
using GraphApiConnect.Models;
namespace GraphApiConnect.Controllers
{
public class CalendarController : Controller
{
// Take data and put into I... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace ClzCopy
{
public partial class Form1 : Form
{
List<String> copyList = new List<String>();
Color origColor;
public Form1()
{
InitializeCompon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace VMUBinToH00
{
class Program
{
static void Main(string[] args)
{
byte[] file = File.ReadAllBytes("CA2CHILD.VMS");
Li... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;
using Acme.CommonLib;
using ACM.BusinessLayer;
namespace ACM.BusinessLayer
{
public class Customer: EntityBase, ILoggable
{
public Customer():this(0)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using Core.DAL;
namespace Core.BIZ
{
public class DaiLy
{
public DaiLy() { }
public DaiLy(DAILY daily)
{
MaSoDaiLy = daily.masoda... |
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Sibusten.Philomena.Client.Logging;
namespace Sibusten.Philomena.Client.Images.Downloaders
{
public class PhilomenaImageMetadataFileDownloader : PhilomenaImageDownloader
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace libairvidproto
{
public interface IServer
{
string Name
{
get;
}
string Address
{
get;
}
... |
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace Aurora.Framework.Services
{
public interface IVoiceService
{
void VoiceAccountRequest(IRegionClientCapsService regionClient, out string agentname, out string password,
out string vivoxSipUri, ou... |
using ADP.Membership;
using System;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
namespace ADP.Mvc.Flan.Attributes
{
public class CustomAuthorizeAttribute : AuthorizeAttribute
{
protected override bool AuthorizeCore(HttpContextBase httpContext)... |
namespace Common
{
public class Constants
{
public const string SiteContentPath = "../../content/";
public const string AddGameHtml = "add-game.html";
public const string AdminGamesHtml = "admin-games.html";
public const string AdminGameCellHtml = "admin-games-cell.html";
... |
// 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 FiiiCoin.Utility;
using FiiiCoin.Utility.Helper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Syst... |
using TestApplication.DataStructure;
using Xunit;
namespace TestApplication.Tests
{
public class TrieTests
{
private string[] dictionary = new string[]
{
"long", "shore", "man", "upper", "class", "he",
"address", "head", "dress", "k", "ranke", "ranken",
"hau... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.