text stringlengths 13 6.01M |
|---|
//using System;
//namespace Uintra.Infrastructure.Context
//{
// [Flags]
// public enum ContextType
// {
// Empty = 0,
// News = 1,
// Events = 2,
// Social = 4,
// Activity = News | Events | Social,
// Comment = 16,
// CentralFeed = 32,
// GroupFeed = ... |
using INOTE.Core.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace INOTE.Core.Repository
{
public interface INoteRepository : IRepository<Note>
{
IEnumerable<Note> GetUserNotes(User user, string searchText, int pageNum... |
using System;
using System.IO;
using System.Threading.Tasks;
namespace ApodPcl
{
/// <summary>
/// This class handles communicating with NASA's API to retreive details
/// about the current Astronomy Picture of the Day.
/// </summary>
public sealed class API
{
/// <summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using static FlowEvent;
public class FlowManager : MonoBehaviour {
public GameObject obj;
public GameObject currentFlow;
public GameObject previousFlow;
[ReadOnly]
public GameObject[] allFlow... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using VRTK;
public class LevelManager : MonoBehaviour
{
public static LevelManager Instance { get; private set; }
private void Awake()
{
Instance = this;
}
public void MainMe... |
using System;
using System.Web;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using System.Security.Cryptography;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
using System.Net... |
#load "./parameters.cake"
#load "./paths.cake"
FilePath FindToolInPath(string tool)
{
var pathEnv = EnvironmentVariable("PATH");
if (string.IsNullOrEmpty(pathEnv) || string.IsNullOrEmpty(tool)) return tool;
var paths = pathEnv.Split(new []{ IsRunningOnUnix() ? ':' : ';'}, StringSplitOptions.RemoveEmptyEn... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ElevatorDoor : MonoBehaviour {
private bool moving = false;
private bool triggered = false;
private GameObject leftDoor;
private GameObject rightDoor;
private GameObject redCarpet;
public GameObject her... |
using System.Windows;
namespace Crystal.Plot2D
{
/// <summary>
/// Provides elements that represent markers along the graph.
/// </summary>
public abstract class ElementPointMarker : DependencyObject
{
/// <summary>
/// Creates marker element at specified point.
/// </summary>
/// <retu... |
namespace kindergarden
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("activitiesPicture")]
public partial class activitiesPicture
{
publi... |
using Autofac;
using Tests.Data.Van;
using Tests.Data.Van.Input;
using Tests.Data.Van.Input.Filters;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main.Common.DefaultPage;
using Tests.Pages.Van.Main.VirtualPhoneBankPages;
using NUnit.Framework;
namespace Tests.Projects.Van.VirtualPhoneBankTests
{
... |
using Assets.Scripts.UI;
using UnityEngine;
namespace Assets.Scripts.Controllers
{
public class TorchController : MonoBehaviour
{
public Animation Animation;
public GameObject TorchObject;
public Light Light;
public AudioSource Audio;
public ParticleSystem FireParticles... |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* 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
*
* Un... |
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Ardalis.HttpClientTestExtensions;
using BlazorShared.Models.AppointmentType;
using FrontDesk.Api;
using Xunit;
using Xunit.Abstractions;
namespace FunctionalTests.Api
{
public class AppointmentTypesList : IClassFixture<CustomWebApplicatio... |
using System;
using System.Collections.Generic;
using LuaInterface;
namespace GFW
{
public class GameStateMachine
{
private class GameStateSink
{
public ushort id;
public string sink_name;
public uint cur_state_id = ushort.MaxValue;
public uint prev... |
using Godot;
using System;
using System.Collections.Generic;
using System.Linq;
public class MusicPlayer : AudioStreamPlayer
{
private Tween _musicTween;
public float StartingVolumeDb {get; set;} = 0;
public float FadeDuration {get; set;}= 1f;
private Random _rand = new Random();
private List<AudioStream> _cur... |
using NHibernate.Envers;
using NHibernate.Envers.Configuration.Attributes;
using SharpArch.Domain.DomainModel;
using System;
namespace Profiling2.Domain
{
[RevisionEntity(typeof(RevinfoListener))]
public class REVINFO : Entity
{
// We annotate this field as required by Envers' validation checks, b... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GroupBuilder;
namespace GrouperApp
{
public partial class ThankYou : Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!I... |
using System;
namespace DevilDaggersCore.Game
{
public class GameVersion
{
public Type Type { get; set; }
public DateTime ReleaseDate { get; set; }
public GameVersion(Type type, DateTime releaseDate)
{
Type = type;
ReleaseDate = releaseDate;
}
}
} |
using System.ComponentModel.DataAnnotations;
namespace Library.API.Models
{
public class LoginUser
{
public string UserName { get; set; }
public string Password { get; set; }
[EmailAddress]
public string Email { get; set; }
public const string demoName = "demouser";
... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.UI.Design.AutoReports.Enums {
/// <summary>
/// 报表运算符,支持等于和不等于两种方式即可
/// </summary>
public enum ReportOperator {
/// <summary>
/// 等于
/// </summary>
[Display(Name = "等... |
namespace Facade
{
public class CloudConnection
{
public string Url { get; private set; }
public CloudConnection(string url)
{
Url = url;
}
public string GetAuthToken()
{
System.Console.WriteLine("Generating Auth Token");
retur... |
using LHRLA.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LHRLA.LHRLA.DAL.DataAccessClasses
{
public class UserLogDataAccess
{
#region Insert
public bool AddUserLog(tbl_UserLog row)
{
try
{
u... |
using System;
using Strategy.Interfaces;
namespace Strategy.Classes
{
public class FlyRocketPowered : IFlyBehavior
{
public void fly()
{
Console.WriteLine("I'm flying with a rocket!");
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Autofac;
using Autofac.Core;
using Autofac.Extras.DynamicProxy;
using KMS.Twelve.Test;
using Microsoft.AspNetCore.Mvc;
using TypeDemo.Domain;
using TypeDemo.Log;
namespace TypeDemo.Controllers
{
[Route("api/[con... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
public class SaveLoad
{
public static void Save(Player player)
{
BinaryFormatter bf = new BinaryFormatter();
FileStream file = File.Create(Appli... |
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.Data.Entity;
using SoftUniStore.App.Model;
namespace SoftUniStore.App.Data
{
public class ExamWebContext : DbContext
{
public ExamWebContext()
: base("ExamWebContext")
{
}
public DbSet<Login> Logins { get; set; }
public DbSet<User> Users { get;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class POVCamera : MonoBehaviour
{
private float speed = 200;
public GameObject player;
public GameObject FocalPoint;
public GameObject fixedCam;
public GameObject pov;
bool fixedEnabled = true;
void Start()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Optymalizacja_wykorzystania_pamieci.Tasks.Decision_Tree.Data_Structures;
namespace Optymalizacja_wykorzystania_pamieci.Tasks.Decision_Tree
{
class Decision_Tree
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace NotepadBackEnd.MyFunction
{
public class FindNextResult
{
bool searchStatus;
int selectionStart;
public bool SearchStatus { get => searchStatus; set => searchStatus = value; }
public int SelectionStar... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class ShootingArea : MonoBehaviour
{
private BasePlayerController _moveController;
[SerializeField] private List<Enemy> _enemyList;
[Space]
[SerializeField] private BasePlayerController _shootController;
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Appnotics.Library.UI.Helpers
{
public class XmlSerializerHelper<T>
{
public Type _type;
public XmlSerializerHelper()
{
_type = type... |
using System.Data;
/// <summary>
/// Summary description for FedCampGrantDA
/// </summary>
public class FedCampGrantDA
{
public static DataSet GetAllByFedID(int CampYearID, int FedID)
{
var db = new SQLDBAccess("CIPConnectionString");
db.AddParameter("@Action", "ByFedIdAndYearId");
db.... |
using System;
using System.Collections.Generic;
namespace CAPCO.Infrastructure.Domain
{
public class PriceCode : Entity
{
public virtual PickupLocation Location { get; set; }
public virtual DiscountCode DiscountCode { get; set; }
public string Code
{
get
... |
using System;
namespace NStandard
{
public static partial class ArrayExtensions
{
/// <summary>
/// Do action for each item of multidimensional array.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="this"></param>
/// <param name="task"></pa... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xero.Api.Core.Model;
using Xero.Api.Infrastructure.Interfaces;
using Xero.Api.Serialization;
using Xero.Api.Core.Model.Types;
using System.Reflection;
using System.IO;
names... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace UnityStandardAssets.CrossPlatformInput
{
public class WormParticle : MonoBehaviour
{
public GameObject _user;
private void Start()
{
}
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace WebAppMedOffices.Models
{
[Table("Pacientes")]
public class Paciente
{
[Key]
public int Id { get; ... |
using System;
namespace BrowseCake
{
using System.IO;
using System.Linq;
class Program
{
static void Main()
{
Console.WriteLine("Content-Type: text/html\r\n");
string htmlContent = File.ReadAllText("browseCake.html");
Console.WriteLine(htmlContent);... |
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace TennisBookings.Web.IntegrationTests.Controllers
{
public class AdminHomeControllerTests : IClassFixture<CustomWebApplicationFactory<Startup>>
{
private readonly CustomWebApplicatio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Hose : MonoBehaviour
{
private void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.GetComponent<Enemy>())
{
var dir=(collision.transform.position - transform.position).norm... |
using SFA.DAS.CommitmentsV2.Shared.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Services;
using System.Threading.Tasks;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice.Edit;
namespace SFA.DAS.ProviderCommitments.Web.Mappers
{
public class BaseA... |
using GeoAPI.Extensions.Feature;
using GisSharpBlog.NetTopologySuite.Geometries;
using NUnit.Framework;
using SharpMap.Data;
namespace SharpMap.Tests.Data
{
[TestFixture]
public class FeatureDataSetTest
{
[Test]
public void GetSetAttributesViaIFeature()
{
var featureTabl... |
using InspectorServices.Domain.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace InspectorServices.SqlDataAccess.Configs
{
public class InspectionConfig : IEntityTypeConfiguration<Inspect... |
using Microsoft.EntityFrameworkCore;
using SP_Medical_Grup.WebApi.Contexts;
using SP_Medical_Grup.WebApi.Domains;
using SP_Medical_Grup.WebApi.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SP_Medical_Grup.WebApi.Repositories
{
public class C... |
using AbstractFactory2.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace AbstractFactory2.Drivers
{
class LowPrinterDevice : PrinterDevice
{
public override PrinterSpec GetPrinterSpec()
{
return PrinterSpec.Low;
}
... |
using AIMLbot.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AIMLbot.UnitTest.Normalize
{
[TestClass]
public class SplitIntoSentencesTests
{
private readonly string[] _goodResult =
{
"This is sentence 1", "This is sentence 2", "This is sentence 3",
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Impulso : MonoBehaviour {
public Resortera _touchGlobal;
public GameObject _flecha;
public Rigidbody2D _rb;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void F... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data.SqlTypes;
namespace Donnee
{
/// <summary>
/// Cette classe permet la connexion a la base de donnée
/... |
using Restaurants.Domain;
using System;
using System.Collections.Generic;
using System.Text;
namespace Restaurants.Application
{
public class ReviewAppService : AppServiceBase<Review>, IReviewAppService
{
private readonly IReviewService _appService;
public ReviewAppService(IReviewService appS... |
using System.Collections.Generic;
namespace Profiling2.Domain.Contracts.Search
{
/// <summary>
/// Implementing components must be manually registered in ComponentRegistrar class.
/// </summary>
/// <typeparam name="E"></typeparam>
public interface ILuceneIndexer<E>
{
/// <summary>
... |
using System;
using System.Threading.Tasks;
namespace sma
{
class Program
{
static async Task Main(string[] args)
{
TimeSpan smaDuration = TimeSpan.FromSeconds(3);
SMA sma = new SMA(11, smaDuration);
Random rand = new Random();
DateTimeOffset ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Otiport.API.Contract.Request.ProfileItems
{
public class DeleteProfileItemRequest : RequestBase
{
public int ProfileItemId { get; set; }
}
}
|
namespace ZoomitTest.Model
{
public class Rule
{
public string Url { get; set; }
public long Limit { get; set; }
public long Duration { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace WziumStars.Models
{
public class OrderDetails
{
[Key]
public int Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Interface
{
class Batman:SuperHeroi
{
public override void ObterDados()
{
this.NomeFicticio = "Batman";
this.Identidade = "Bruce Wa... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021
{
class ActActionNew
{
public Action<TextBuilder> Text;
... |
namespace SubC.Attachments {
public enum RigidbodyRestoreBehavior {
DoNothing = 0,
Desimulate = 1,
Destroy = 2,
Restore = 3,
SetDynamic = 4,
SetKinematic = 5
}
[System.Serializable]
public struct SnapshotRestoreOptions {
public RigidbodyRestoreBehavior rigidbodyBehavior;
public bool restorePositio... |
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Input;
using UdpSimulator.Components;
namespace UdpSimulator.Models
{
/// <summary>
/// UDP送信処理 DataContext対応用インターフェース.
/// </summary>
public interface IUdpTransmitter : INotifyPropertyChanged
{
bool Connec... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Crystal.Plot2D.Charts
{
public class GenericLocationalLabelProvider<TItem, TAxis> : LabelProviderBase<TAxis>
{
private readonly IList<TItem> collection;
private readonly Func<TItem, string> displ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalendarApp.Model
{
public class CalendarModel
{
public CalendarModel(int year, int monthNumber)
{
CalendarMonth = new CalendarMonthModel(monthNumber, yea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// Program : Cylinder
/// @author : Taekyung Kil
/// Date : 04/Oct/2019
///
/// Purpose : To set the class of Cylinder
///
/// I, Taekyung Kil, student number 000799798 , certify that al... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace SuperMarket
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BanSupport
{
/// <summary>
/// 用于文字上显示倒计时
/// </summary>
public class TextCountDownWidget : TimeWidget
{
/// <summary>
/// 使用的格式
/// </summary>
public class Forma... |
using Microsoft.Extensions.DependencyInjection;
namespace MazeApp
{
internal static class Program
{
private static void Main()
{
var serviceCollection = new ServiceCollection(); // create new ServiceCollection object
serviceCollection.AddSingleton<IMazeSolver, M... |
using System.Collections.Generic;
using System.Net.Http;
using Microsoft.Extensions.Configuration;
using WebStore.DomainNew.Dto;
using WebStore.DomainNew.Entities;
using WebStore.DomainNew.Filters;
using WebStore.Interfaces;
namespace WebStore.Clients.Services
{
public class ProductsClient : BaseClient, IProductS... |
using GisSharpBlog.NetTopologySuite.Geometries;
using NUnit.Framework;
namespace NetTopologySuite.Tests.Geometry
{
[TestFixture]
public class MultiPointTest
{
[Test]
public void GetHashCodeShoulBeComputed()
{
var multiPoint = new MultiPoint(new[] { new Point(1.0, 2.0), n... |
namespace Saato.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class start : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.UserProfile",
c => new
{
U... |
namespace Sfa.Poc.ResultsAndCertification.Dfe.Models
{
public class TqAwardingOrganisationDetails
{
public int Id { get; set; }
public string UkAon { get; set; }
public string Name { get; set; }
public string DisplayName { get; set; }
}
}
|
using System.Net.Sockets;
using HiLoSocket.SocketApp;
namespace HiLoSocket.Model.InternalOnly
{
/// <summary>
/// StateObjectModel for socket async communication.
/// </summary>
/// <typeparam name="T">User define type.</typeparam>
internal class StateObjectModel<T>
where T : class
{
... |
using Service;
using DataLayer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System.IO;
using Data.Entities;
using System.Net;
namespace StoreUI
{
public class MenuFactory
{
public static IMenu GetMenu(string menuType)
{
var conf... |
using UnityEngine;
using System.Collections;
public class Asteroid : SpaceObject
{
float speed = 1f;
int life = 2;
Vector3 movedir = Vector3.zero;
bool isFragment = false;
public static int objectCount = 0;
public static int maxObjectCount = 20;
public override int ObjectCount
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ManageWeb
{
[Authorize]
public class ManageBaseController : Controller
{
public ManageDomain.Entity.LoginTokenModel Token;
protected override void OnException(ExceptionCont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
usin... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
using KSF_Surf.ViewModels;
using KSF_Surf.Models;
using System.Collections.ObjectModel;
namespace KSF_Surf.Views
{
[DesignTimeVisible(false)]
public partial class RecordsMostPage :... |
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Text;
using TeamCss__Registration.Hooks;
using TeamCss__Registration.Utilities;
namespace TeamCss__Registration.PageObject
{
class LogInPage
{
IWebDriver driver;
Wait wait = new Wait();
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace com.Sconit.Web.Models.SearchModels.MD
{
public class CustomerShipAddressSearchModel : SearchModelBase
{
public string AddressCode { get; set; }
public string AddressContent { ge... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.Framework.UI.Controls
{
internal partial class CatalogComboBox : UserControl
{
public delegate void SelectedItemChangedEvent(CatalogComboItem item);
pu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatternsApp.Models
{
public class UserModel
{
public string Username { get; set; }
public string FullName { get; set; }
public string PhoneNumber { get; set; }
public string Adress { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Diagnostics;
using Olive.Data.Uow;
using Olive.Data;
namespace Olive.Web.MVC.ActionFilters
{
public class HitCounter : ActionFilterAttribute
{
//public override void OnActionExecuted... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class pcCollision : MonoBehaviour
{
public pcHealthController ph;
private float playerInvincibility;
private void Update()
{
}
//Whenever the player touches the trigger on the zombie, it activat... |
using OpenTK.Input;
using System.Collections.Generic;
namespace Glib.Input
{
/// <summary>
/// Obsluhuje ovládání klávesnice.
/// </summary>
public class KeyboardInput : GlibInput
{
private List<Key> keys;
private Key? pressedKey;
/// <summary>
/// Konstruktor.
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Management;
using System.Net.NetworkInformation;
using System.IO;
using System.Net;
using System.Data;
using System.Data.SqlClient;
using System.Text.RegularExpressions;
using Sy... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using UnityEngine;
using System;
using System.Collections;
using TreeSharpPlus;
public class B4Villager : MonoBehaviour {
protected int treeType;
public GameObject[] villagers;
private Hashtable types;
public Transform positionA;
public Transform positionB;
public Transform positionC;
public Transform positio... |
using LHRLA.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LHRLA.LHRLA.DAL
{
public class CaseRegisterationTypesDataAccess
{
#region Insert
public bool AddCaseRegisterationTypes(tbl_Case_Registeration_Types row)
{
try
... |
using UnityEngine;
using UnityEditor;
using System.IO;
namespace UnityAtoms.Editor
{
[CustomEditor(typeof(DefaultAsset))]
public class AtomFolderEditor : UnityEditor.Editor
{
protected override void OnHeaderGUI()
{
base.OnHeaderGUI();
if (!Directory.Exists(AssetData... |
using System.Collections.Generic;
using System.Linq;
namespace CollaborativeFiltering
{
public class RatingService : IRatingService
{
protected IRater FirstRater;
protected IRater SecondRater;
protected IEnumerable<IRating> RatingsFirstSort;
protected IEnumerable<IRating> Ratin... |
using System;
namespace UnityAtoms.FSM
{
/// <summary>
/// Needed in order to use our custom property drawer for states in the FSM.
/// </summary>
[Serializable]
public class FSMStateListWrapper : AtomListWrapper<FSMState> { }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Windows.Forms;
using Apache.NMS;
using Apache.NMS.ActiveMQ;
using Apache.NMS.ActiveMQ.Commands;
namespace IRAPPrinterServer
{
internal class DoActionFromESB
{
pri... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FSDP.DATA.EF//.Metadata
{
public class CourseMetadata
{
[Required(ErrorMessage = "* Course Name Required.")]
[Display(Name ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Animal.Mammal
{
public class Doge
{
public void SayHello()
{
Console.WriteLine("我是小狗,汪汪汪~");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using V50_IDOMBackOffice.AspxArea.MasterData.Models;
using V50_IDOMBackOffice.AspxArea.MasterData.Controllers;
using V50_IDOMBackOffice.AspxArea.Helper;
using DevExpress.Web;
name... |
using System.IO;
using System.IO.Compression;
// ReSharper disable once CheckNamespace
namespace Aquarium.Util.Extension.CompressionExtension
{
public static class DeflateExtension
{
#region Deflate
/// <summary>
///
/// </summary>
/// <param name="bytes"></param>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using UnityEngine.EventSystems;
public class PlayerController : MonoBehaviour {
/// <summary>
/// 射线检测的起点
/// </summary>
public Transform rayDown, rayLeft, rayRight;
/// <summary>
/// ... |
using Microsoft.AspNetCore.Mvc;
namespace DojoSurvey
{
public class SurveyController : Controller
{
[HttpGet("")]
public ViewResult Index()
{
return View();
}
[HttpPost("result")]
public IActionResult Result(string name, string loc, string lang, strin... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace Utilities.Serialization
{
public static class ObjectSerializer
{
public static string XmlSerialize<T>(this T ... |
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.UI;
public class ItemColliction
{
private static DashData _dash;
private static DoubleData _double;
private static MagnetData _magnet;
private static ProtectData _protect;
private static SuperManData _... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Events;
public class Note_Controller : MonoBehaviour
{
private readonly QteHitEvent ev_qtehit = new QteHitEvent();
private readonly QtePlayEvent ev_qteplay = new QtePlayEvent();
private readonly QteMissEvent ev_qtemiss ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.