text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using sfShareLib;
using System.ComponentModel.DataAnnotations;
namespace sfAPIService.Models
{
public class EventInActionModels
{
public class Detail
{
public int? ApplicationId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using IronMan.Core;
namespace IronMan.Weapons
{
public class Launcher : ILauncher
{
private ICollection<IMissile> missiles;
public Launcher(ICollection<IMissile> missiles)
{
this.missiles = missiles;
... |
using HouseParty.Client.Contracts.Questions;
using HouseParty.Client.Repositories.QuestionRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HouseParty.Client.Services.QuestionService
{
public class QuestionService : IQuestionService
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace radl_pps.domain
{
public class Produktion
{
private int menge;
private Artikel artikel;
public int Menge
{
get { return menge; }
set
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace Pelmanism
{
//カードクラス
class Card : Button
{
//カードのサイズ
private const int SizeW = 50, SizeH = 70;
//絵柄
... |
using System.Collections.Generic;
using System.Linq;
namespace SatNav
{
public class Map
{
private readonly IList<CalcNode> _priorities = new List<CalcNode>();
private readonly IList<Edge> _route = new List<Edge>();
public Map()
{
Nodes = new Dictionary<string, Node... |
using FluentValidation;
using Ninject.Modules;
using ZeyrekFramework.Business.ValidationRules.FluentValidation;
using ZeyrekFramework.Entities.Concrete;
namespace ZeyrekFramework.Business.DependencyResolvers.Ninject
{
public class ValidationModule : NinjectModule
{
public override void Load()
... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Newtonsoft.Json;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters;
namespace OmniSharp.Extensions.LanguageServer.Protocol
{
/// <summary>... |
using System;
using Psub.Domain.Abstract;
namespace Psub.Domain.Entities
{
public class FullDataParameter : Base
{
public virtual string Value { get; set; }
public virtual ControlObject ControlObject { get; set; }
public virtual DateTime LastUpdate { get; set; }
}
}
|
using LabLife.Contorols;
using LabLife.Data;
using Microsoft.Kinect;
using OpenCvSharp.Extensions;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
u... |
using System;
using System.Threading.Tasks;
using LubyClocker.Application.BoundedContexts.Developers.Commands.Create;
using LubyClocker.Application.BoundedContexts.Developers.Commands.Delete;
using LubyClocker.Application.BoundedContexts.Developers.Commands.Update;
using LubyClocker.Application.BoundedContexts.Develope... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace GistManager.Controls
{
public class OverflowlessToolbar : ToolBar
{
public OverflowlessToolbar()
{
... |
using System;
using System.Threading.Tasks;
namespace JCFruit.WeebChat.Server.Tcp
{
public interface IConnectionHandler
{
Task OnClientConnected(ConnectedClient client);
Task OnMessageReceived(string clientId, ReadOnlySpan<byte> data);
Task OnClientDisconnected(string clientId);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using AngleSharp.Dom;
using AngleSharp.Dom.Html;
using AngleSharp.Extensions;
using AngleSharp.Parser.Html;
using WinCompetitionsParsing.BL.Models;
namespace WinCompetitionsParsing.Utils
{
public class ParsingS... |
using AutoMapper;
using CryptoInvestor.Core.Domain;
using CryptoInvestor.Core.Repositories;
using CryptoInvestor.Infrastructure.DTO;
using CryptoInvestor.Infrastructure.Exceptions;
using CryptoInvestor.Infrastructure.Services.Interfaces;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace CryptoI... |
using System;
using System.IO;
using UnityEngine;
namespace Ghost.Config
{
public static class PathConfig
{
public const string DIRECTORY_RESOURCES = "Resources";
public const string DIRECTORY_STANDARD_ASSETS = "Standard Assets";
public const string DIRECTORY_MATERIALS = "Materials";
public const string E... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlantAttack : MonoBehaviour {
public GameObject leaf;
public Sprite mouthClosed;
public Sprite mouthOpen;
public bool isOpened;
public int spriteInterval;
private int spriteCounter;
bool facingRi... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyMedicine.Context.Medicine;
using Newtonsoft.Json;
using MyMedicine.Controllers.Services;
using System.Collections.Generic;
namespace MyMedicine.Controllers
{
[ValidateAntiForgeryToken]
[Route("apiadm/post")]
public class PostAdminContro... |
using MediaOrganiser.Media;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using System.Logger;
namespace MediaOrganiser.Console.Organisers
{
public enum OrganiserConversionOptions
{
Default,
Force,
Skip
}
public cl... |
using CouponsLtd.UpsertModels;
using System.Collections.Generic;
using System.Linq;
namespace CouponsLtd.ViewModels
{
public class CollectionResponse<TResult>
{
public CollectionResponse(List<TResult> collectionResponse,SearchParams searchParams,List<string> errors=null,bool isSuccessful=true)
... |
using System;
using System.Collections.Generic;
using System.IO;
using Calcifer.Engine.Components;
using Calcifer.Engine.Content;
using Calcifer.Engine.Scenery;
namespace Calcifer.Engine.Graphics.Animation
{
public class BlendAnimationController : AnimationComponent, ISaveable, IConstructable
{
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Filter.Infrastructure;
namespace Filter.Controllers
{
public class HomeController : Controller
{
// GET: Home
[Authorize(Users ="admin")]
public string Index()
{
... |
using System;
namespace Checkout.Payment.Gateway.Seedwork.Interfaces
{
public interface IAuthenticationSettings
{
string ClientId { get; }
string ClientSecret { get; }
string Authority { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CTCT.Components.Contacts;
using CTCT.Components;
using CTCT.Util;
using CTCT.Exceptions;
using CTCT.Components.AccountService;
namespace CTCT.Services
{
/// <summary>
/// Performs all actions pertaining to getting list... |
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Ambassador.Entities
{
[DisplayName("Message")]
public class Message
{
[Key]
[Required]
[MaxLength(450)]
public string Id { get; set; }
[Required]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Mvc5IdentityExample.Web.Models
{
public class BootGridResponse<TEntity> where TEntity : class
{
public int current { get; set; }
public int rowCount { get; set; }
public List<TEntity> rows ... |
using Ambassador.Entities;
namespace System.Security.Claims
{
public static class ClaimsPrincipalExtensions
{
public static string GetId(this ClaimsPrincipal principal)
{
return principal.FindFirstValue(nameof(User.Id));
}
public static string GetAmbassadorId(this ... |
using System;
namespace Soko.Data.QueryModel
{
[Serializable]
public enum AssociationFetchMode
{
Default = 0,
Lazy = 1,
Eager = 2,
}
public class AssociationFetch
{
private string associationPath;
public string AssociationPath
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using entidades = RegistroPersonas.Dominio;
namespace RegistroPersonas.Repositorio
{
public class Foto
{
Contexto context;
public Foto()
{
context = new Contexto(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPF_Converter
{
class Aktie
{
public string Unternehmen { get; set; }
public double Wert { get; set; }
}
}
|
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 ProyectoFinalParadigmas
{
public partial class ver_viajes : Form
{
Basededatos... |
using mTransport.Methodes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mTransport.Models
{
public partial class Vehicule : ICRUD
{
public void Insert()
{
using (DB db = new DB())
{
... |
using Insurance.Model.Poco;
namespace Insurance.Model.App.Osago
{
public class OsagoCompanyGroup
{
public int GroupId { get; set; }
public double K { get; set; }
public static explicit operator OsagoCompanyGroup(CompanyGroup companyGroup)
{
return new OsagoCompany... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace MKService.Messages
{
public class UserAddedMageToArmy : MessageBase
{
[DataMember]
public Guid Id { get; set; }
[DataMe... |
using UnityEngine;
using System.Collections;
// Ability that the unit can cast if they're on a retreatable hex.
// Removes the unit from combat.
public class Retreat : Ability
{
public Retreat(Unit owner)
: base("Retreat", "There is no honour in pointless defeat. Retreats this unit from combat.", owner, 0, fals... |
using Sitecore.Collections;
using Sitecore.Search;
namespace Aqueduct.SitecoreLib.Search.Parameters
{
public class FieldValueSearchParam : SearchParam
{
public FieldValueSearchParam()
{
Refinements = new SafeDictionary<string>();
}
public QueryOccurance Occurance { ... |
using UnityEngine;
using System.Collections;
public class Drone : MonoBehaviour {
static int moveLayerMask = (1<<8) + (1<<9); // avoid wall and objects
public float speed = 1.0f;
public float flyForce = 100.0f;
public float flySpeedMax = 3.0f;
public Vector2 Home;
Vector2 goal;
Animator animator;
CircleC... |
using System.Collections.Generic;
namespace Microsoft.DataStudio.Solutions.Model
{
public class SolutionResource
{
public string ResourceId;
public string ResourceUrl;
public string ResourceName;
public string ResourceType;
public string ResourceNamespace;
publ... |
using heitech.MediatorMessenger.Exceptions;
using heitech.MediatorMessenger.Interface;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("heitech.MediatorMessenger.Tests")]
namespace heitech.MediatorMessenger.Implementation.Registerer
{
internal c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FeedBackPlatformWeb.Models
{
public class SidebarModel
{
public string CurrentPage { get; set; }
}
} |
using System;
using Microsoft.Xna.Framework;
using SprintFour.Player;
using SprintFour.Player.MarioStates;
using SprintFour.Utilities;
using SprintFour.Background;
namespace SprintFour.Triggers
{
class TransitionToUndergroundTrigger : ITrigger
{
public Vector2 Position { get; protected set; }
... |
using Microsoft.Practices.Prism.Regions;
namespace Torshify.Radio.Framework
{
public interface IRadioStation
{
void OnTuneIn(NavigationContext context);
void OnTuneAway(NavigationContext context);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StartMenu : MonoBehaviour {
public OSButton button;
private bool hover = false;
public void OnMouseEnter() {
hover = true;
}
public void OnMouseExit() {
hover = false;
}
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise1 {
class Program {
static void Main(string[] args) {
//2.1.3
var songs = new Song[] {
new Song("あいうえお", "かきくけこ", 200),
new ... |
using Frontend.Core.Model.Interfaces;
namespace Frontend.Core.Helpers
{
public interface IDirectoryHelper
{
string GetConverterWorkingDirectory(IConverterSettings currentConverter);
}
} |
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.VisualBasic;
namespace trpo_lw7.Models
{
public class TracksByYear
{
public int Year { get; set; }
public int TrNum { get; set; }
}
public class AvgByGenre
{... |
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;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace adDataWeb.Models
{
public class Advertiser
{
public int? ID { get; set; }
public string Month { get; set; }
public int? PublicationId { get; set; }
public string Publicati... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Business.Generics;
using Core.Utilities.Results;
using Entities.Concrete;
using Entities.DTOs;
namespace Business.Abstract
{
public interface IProductService:IGenericCrudOperationService<Product>
{
Task<IDataResult<int>> GetByIdAdd(... |
namespace RMAT3.Models
{
public class StateLookup
{
public int StateLookupId { get; set; }
public string StateCd { get; set; }
public string StateTxt { get; set; }
public int? CountryLookupId { get; set; }
public virtual CountryLookup CountryLookup { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using InControl;
public class PlayerActions : PlayerActionSet {
public PlayerAction Left;
public PlayerAction Right;
public PlayerOneAxisAction Horizontal;
public PlayerAction Down;
public PlayerAction Up;
public PlayerOneAxi... |
// Problem 6. Strings and Objects
// Declare two string variables and assign them with Hello and World .
// Declare an object variable and assign it with the concatenation of the first
// two variables (mind adding an interval between).
// Declare a third string variable and initialize it with the value of the obj... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Toggles : MonoBehaviour
{
public Color[] UiColors;
public GameObject UIgeneral;
public GameObject UIminiatura;
public GameObject panel_rotacion;
public GameObject panel_fuerza;
pub... |
using ApplicationCore.Entities.PatientAggregate;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using ApplicationCore.Entities.DoctorAggregate;
using ApplicationCore.Entities;
namespace Infrastructure.Persistence
{
public class DataSeed
{
public static void In... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Particle : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Particle particle = default(Particle);
LuaObject.pushValue(l, true);
LuaObject.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_Uygulama
{
interface IYuzebilir
{
string Yuz();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PushoverQ.PerformanceConsole
{
/// <summary>
/// The program.
/// </summary>
public class Program
{
static void Main(string[] args)
{
using (var... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("AdventureMissionDisplay")]
public class AdventureMissionDisplay : MonoBehaviour
{
public AdventureMissionDisplay(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Framework.Remote.Mobile
{
[DataContract(Name = "CxClientClassMetadata", Namespace = "http://schemas.datacontract.org/2004/07/FulcrumWeb")]
public partial class CxClientClassMeta... |
namespace Newtonsoft.Json.Linq
{
using ns20;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
public static class Ext... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
namespace DotNetNuke.Services.UserRequest
{
/// <summary>
/// IP address family
/// </summary>
public enum IPAddressFamily
... |
using NutritionalResearchBusiness.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NutritionalResearchBusiness.Dtos
{
public class InvestigationRecord4Export
{
/// <summary>
/// 队列编号
/// </summary>
public string QueueId { ge... |
namespace Task02_Todos.Data
{
using System;
using System.Data.Entity;
using System.Linq;
public class TodosDbContext : DbContext
{
public TodosDbContext()
: base("name=ModelTodos")
{
}
public virtual DbSet<Todo> Todo { get; set; }
public virtual... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Garage.Cars
{
class Car : Vehicles.Vehicle
{
//public string Fuel { get; set; }
public string BatteryCapacity{ get; set; }
//public string Color { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.OracleClient;
namespace MyDB
{
class Program
{
static void Main(string[] args)
{
String oledb = "Data Source=XE:User id=hr;Password=1234;";
... |
using System;
namespace algorithms {
class Program {
static void Main (string[] args) {
Console.WriteLine ("*************************** Algorithms **********************");
algorithm algorithm = new algorithm ();
/********** Binary Search **************/
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Promact.Oauth.Server.Repository;
using Promact.Oauth.Server.Models;
using Promact.Oauth.Server.Models.ManageViewModels;
using Microsoft.AspNetCore.Identity;
using Promact.Oauth.Server.Models.ApplicationClasses;
using System.Threading.Tasks... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace OLinqProvider
{
public abstract class QueryProvider:IQueryProvider
{
public IQueryable<TElement> CreateQuery<TElement>(Expression expression)
{
return new OQuery<TElement>(this, expre... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class GameOverHit : MonoBehaviour
{
public GUIText messageText;
public DoorsCamControl cameras;
public GameObject cam;
private string message;
private GameObject player;
private Vector3 origPlayerPos;
private bool moveBac... |
namespace Plus.Communication.Packets.Outgoing.Catalog
{
internal class GiftWrappingErrorComposer : MessageComposer
{
public GiftWrappingErrorComposer()
: base(ServerPacketHeader.GiftWrappingErrorMessageComposer)
{
}
public override void Compose(ServerPacket... |
using System;
using TNBase.Objects;
using TNBase.DataStorage;
using Microsoft.Extensions.DependencyInjection;
namespace TNBase
{
public partial class FormTempShowNewListener
{
private readonly IServiceLayer serviceLayer = Program.ServiceProvider.GetRequiredService<IServiceLayer>();
public void setupForm(int ... |
using UnityEngine;
using System.Collections;
public class Player2MoveScript : MonoBehaviour {
private Vector3 _startPosition;
private Animator _animator;
private float _fireAnimation = 0;
private float _maxTrackWidth = 6;
private bool _moveVertical = false;
private bool _moveHorizontal = fal... |
using Apache.Ignite.Core.Binary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace IgniteDemo
{
class Reflective
{
public int Id { get; set; }
public string Name { ge... |
namespace MvcMonitor.Data.Repositories
{
public interface IErrorRepositoryFactory
{
IErrorRepository GetRepository();
}
} |
using System;
namespace GlobalModels
{
/// <summary>
/// DTO Model for frontend -> backend
/// </summary>
public sealed class Comment : IEquatable<Comment>
{
public Guid Commentid { get; set; } = Guid.NewGuid();
public Guid Discussionid { get; set; }
public string Userid { g... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Net;
using System.Text;
namespace SearchEnginePopularityChecker
{
public class Google : ISearchEngine
{
#region Private Methods
private const string GoogleUrl = "https://www.google.com.au";
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BackPropagation
{
/// <summary>
/// An interface to define the input and output functions which
/// all trainer IOs must provide and the number of inputs and output to
/// the network.
/// </summary>
... |
using System.Collections.Generic;
using System.Linq;
using Faust.PetShopApp.Core.Models;
using Faust.PetShopApp.Domain.IRepositories;
using Faust.PetShopApp.Infrastructure.Entities;
namespace Faust.PetShopApp.Infrastructure.RepositoriesEF
{
public class OwnerRepositoryEF:IOwnerRepository
{
private rea... |
using System.IO;
using System.Threading.Tasks;
namespace FlipLeaf.Core.Pipelines
{
public class CopyPipeline : IPipeline
{
public bool Accept(IStaticSite ctx, IInput input) => true;
public Task<InputItems> PrepareAsync(IStaticSite site, IInput input) => Task.FromResult(InputItems.Empty);
... |
using MetroFramework;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.DB.Utils;
using PDV.DAO.Entidades.Financeiro;
using PDV.DAO.Enum;
using PDV.DAO.Custom;
using PDV.UTIL;
using PDV.VIEW.Forms.Cadastro.Financeiro.Modulo;
using System;
using System.Data;
using System.Windows.Forms;
using DevExpress.XtraReports.UI;
using S... |
using System;
using GalaSoft.MvvmLight;
namespace XamarinSample.ViewModels
{
public class SecondPageViewModel : ViewModelBase
{
public SecondPageViewModel(string messageParameter)
{
int result;
string textToShow;
if (Int32.TryParse(messageParameter, out resu... |
// Use static
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StaticMethod214
{
class StaticDemo
{
// A static variable
public static int Val = 100;
// A static method
public static int ValDiv2()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Gomoku {
public class MinMax
: IAI {
private Board Map = null;
private uint MaxDepth = 1;
public bool Finished = false;
... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_TileMapGraph : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int GetTileValue(IntPtr l) {
try {
#if DEBUG
var method = System.... |
using UnityEngine;
public class Asteroid : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
var playerHealth = other.GetComponent<PlayerHealth>();
if (!playerHealth) return;
playerHealth.Crash();
}
private void OnBecameInvisible()
{
Destroy(gameObjec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OldTimeRail
{
class SunEastPM
{
static String trainName = "Sunday East PM";
static String[,] carriageA = new String[32, 2];
static String[,] carriageB = new Str... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AdventOfCode2019
{
public static class Day25
{
public static void RunDay()
{
Console.WriteLine("Day 25");
Console.WriteLine("**************");
Console.WriteLine(Environment.NewLi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class arcade : MonoBehaviour {
public UnityEngine.UI.Text[] Info;
public GameObject[] Enemies;
public int Amount;
void Start () {
Amount = (PlayerPrefs.GetInt("Level") + 1) * Random.Range(1,... |
/*
* ProWritingAid API V2
*
* Official ProWritingAid API Version 2
*
* OpenAPI spec version: v2
* Contact: hello@prowritingaid.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 appl... |
using UnityEngine;
using Crypto;
using System;
class TestCrypto : MonoBehaviour
{
void Start ()
{
Signature.Generate("abc", "example@gmail.com");
// Signature.Import(string signingKey);
Debug.Log(
Signature.Validate(
"hello world",
S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for PropertyService
/// </summary>
public class PropertyService :DataService
{
public PropertyService()
{
//
// TODO: Add constructor logic here
//
}
public int infoi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
namespace ServerKinect.Video
{
public class DepthBitmapFactory : DepthImageFactoryBase,... |
[System.ComponentModel.TypeConverter(typeof(StringIdTypeConverter))]
[Newtonsoft.Json.JsonConverter(typeof(StringIdJsonConverter))]
readonly partial struct StringId : System.IComparable<StringId>, System.IEquatable<StringId>
{
public string Value { get; }
public StringId(string value)
{
Value = va... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
using UnityEngine;
public class CameraFollow : MonoBehaviour
{
public float cameraSpeed = 5f;
public float maxX = 32f;
public float minX = 0f;
private Transform player;
private AudioManager audioManager;
private AudioSource audioSource;
private void Awake()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NSL.DotNet.Attributes;
using NSL.DotNet.Enums;
using System.Reflection;
using NSL.DotNet.Extensions;
namespace NSL.TextProcessing.Common {
public enum HyphenAction : byte {
None = 0,
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Helpers;
namespace BetaDota2StatsMVC.Models
{
public class ProfileViewModel
{
[Display(Name ="Tracked")]
public string Tracked_until { get; set; }
... |
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.Threading.Tasks;
using System.Windows.Forms;
namespace test15._3and15._4
{
public partial class Form1 : Form
{
... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace AorFramework.NodeGraph
{
public interface IPrefabProcess
{
/// <summary>
/// 处理结果描述
/// </summary>
string ResultInfoDescribe();
/// <summary>
/// NodeGraph预制体自定义处理方法
/// </sum... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.