text stringlengths 13 6.01M |
|---|
namespace Arch.Data.Common.Vi
{
class BeanProxy : IBeanProxy
{
public void Register()
{
AbstractDALBean.Register();
AbstractHABean.Register();
AbstractMarkDownBean.Register();
AbstractTimeoutMarkDownBean.Register();
}
... |
using System;
using ApplicationCore.Interfaces;
using System.Collections.Generic;
//using ApplicationCore.Entities.DoctorAggregate;
namespace ApplicationCore.Entities.DoctorAggregate
{
public class Doctor : IAggregateRoot
{
public string DoctorId{get; set;}
public string DoctorName{get; set;}
... |
namespace Requestrr.WebApi.RequestrrBot.DownloadClients.Overseerr
{
public class OverseerrTestSettings
{
public string Hostname { get; set; } = string.Empty;
public int Port { get; set; } = 5055;
public bool UseSSL { get; set; } = false;
public string ApiKey { get; set; } = strin... |
using System;
namespace NLuaTest.Mock
{
public class TestClassWithOverloadedMethod
{
public int CallsToStringFunc
{
get;
set;
}
public int CallsToIntFunc
{
get;
set;
}
public void Func(string param)
{
this.CallsToStringFunc++;
}
public void Func(int param)
{
this.CallsToInt... |
using Microsoft.AspNet.Identity.EntityFramework;
using MyCashFlow.Domains.DataObject;
using MyCashFlow.Domains.Identity;
using MyCashFlow.Identity.Context;
namespace MyCashFlow.Identity.Stores
{
public class CustomUserStore : UserStore<User, CustomRole, int, CustomUserLogin, CustomUserRole, CustomUserClaim>
{
pub... |
using UnityEngine;
using System.Collections;
public class ConfirmationExitToDesktopWindow : GenericWindow {
public void OnYes() {
Application.Quit();
}
} |
using CMS_Database.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CMS_Database.Interfaces
{
public interface IPhanQuyen : IGenericRepository<PhanQuyen>
{
PhanQuyen GetByName(int? sControlerName,int? IdRole);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;
using System.Windows.Controls;
using Microsoft.Kinect;
using System.Windows.Media.Animation;
namespace ArduinoController
{
public partial class MainWindow : Window
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace GomokuEngine
{
public class GameInformation
{
public int Evaluation;
//public int BlackScore;
//public int WhiteScore;
//public List<BoardSquare> gameMoveList;
//public List<BoardSquare> played... |
using System.Collections.Generic;
namespace DryRunTempBackend.API.Controllers
{
public class Wallet
{
public decimal Balance { get; set; }
public IEnumerable<Transaction> Transactions{ get; set; }
}
} |
using System;
namespace ConsoleProcessRedirection
{
using System.IO;
/// <summary>
/// Summary description for ConsoleTerminal.
/// </summary>
public class ConsoleTerminal : ITerminal
{
#region ITerminal Members
public void WriteTo(System.Text.StringBuilder OutputText, Conso... |
using Ghost.Utils;
using System;
using System.IO;
using UnityEngine;
namespace RO.Config
{
[CustomLuaClass]
public static class BuildBundleEnvInfo
{
public static string Env
{
get
{
return AppEnvConfig.Instance.channelEnv;
}
}
public static string CdnWithEnv
{
get
{
string path = "... |
namespace TwitSystem.Services
{
using System.Linq;
using Data.Models;
public interface ITagService
{
IQueryable<Tag> GetAll();
}
}
|
#region Copyright, Author Details and Related Context
//<notice lastUpdateOn="12/20/2015">
// <solution>KozasAnt</solution>
// <assembly>KozasAnt.Engine</assembly>
// <description>A modern take on Koza's connonical "Ant Foraging for Food on a Grid" problem that leverages Roslyn</description>
// <copyright... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PO.Types.Attributes
{
[AttributeUsage (AttributeTargets.Class)]
public class DefaultDatabaseAttribute : Attribute
{
public string mDatabaseName;
public DefaultDatabaseAttribute(str... |
using EmployeeManagementApp.Models;
using System.Linq;
using System.Web.Mvc;
using System.Web.Security;
namespace EmployeeManagementApp.Controllers
{
[Authorize]
public class LoginController : Controller
{
private DatabaseEntities db = new DatabaseEntities();
[AllowAnonymous]
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FuelLevelSystem.Model
{
class FuelStatRecord
{
public String FuelName { get; set; }
public UInt64 Capacity { get; set; }
public UInt64 FuelPumpTotal { get; set;... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class SysBenutzer
{
public SysBenutzer()
{
GpBelegRechte = new HashSet<GpBelegRechte>();
GpBelegVerweis = new HashSet<GpBelegVerweis>();
SysBe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Framework.Remote.Mobile
{
[DataContract(Name = "CxClientDashboardData", Namespace = "http://schemas.datacontract.org/2004/07/FulcrumWeb")]
public class CxClientDashboardData
{
... |
using UnityEngine;
public class ShardController : MonoBehaviour
{
public GameObject crystalPrefab;
public void SpawnCrystal()
{
foreach (Transform shard in transform)
{
Destroy(shard.gameObject);
}
var pos = transform.position;
Debug.Log(po... |
namespace Clubber.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class KeysInJoinTab : DbMigration
{
public override void Up()
{
CreateIndex("dbo.StudentAndClub", "StudentID");
CreateIndex("dbo.StudentAndClub", "ClubID");
... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
using System.Data;
using System.Data.SqlClient;
namespace CamadaDados
{
public class DPrograma
{
// Criacao das variáveis
private int _Codigo;
private string _Audio;
private string _Duracao;
private string _DataCadastro;
private string _Sintese;
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_ForceMode2D : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.ForceMode2D");
LuaObject.addMember(l, 0, "Force");
LuaObject.addMember(l, 1, "Impulse");
LuaDLL.lua_pop(l, 1);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CRM.UI.ViewModel
{
public class OrderViewModel
{
public Guid Id { get; set; }
public string FullName { get; set; }
public DateTime RequiredDate { get; set; }
... |
using Mccole.Geodesy.Calculator;
using System;
namespace Mccole.Geodesy.Formatter
{
/// <summary>
/// Provides culture-specific information for formatting and parsing numeric values to a Degree-Minute-Second format.
/// </summary>
public class DegreeMinuteSecondFormatInfo : IFormatProvider, ICustomFor... |
// Copyright (c) Microsoft. 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.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.CSharp.Utilities;
... |
#region Copyright Syncfusion Inc. 2001-2019.
// Copyright Syncfusion Inc. 2001-2019. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applic... |
using Umbraco.Core.Models;
using Umbraco.Web;
namespace AgeBaseTemplate.Core.Wrappers
{
public interface IUmbracoContext
{
UmbracoContext Current { get; }
IPublishedContent CurrentPublishedContent { get; }
void EnsureContext();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Contoso.XPlatform.Utils
{
internal static class BusyIndicatorHelpers
{
public async static Task<TResult> ExecuteRequestWithBusyIndicator<TResult>(Func<Task<TResult>> action) where TResult : class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameCenter
{
class Mjesecna : Registracija
{
public override decimal DajPopust()
{
return 20;
}
}
}
|
using System.Threading.Tasks;
namespace AquaServiceSPA.Services
{
public interface IVisitService
{
Task<string> AddAsync();
}
} |
using AutoMapper;
using CMS.Core.Model;
using CMS.Service.Dtos.RestrictedAccessTime;
using CMS.Service.Dtos.RestrictedIP;
using CMS.Service.Dtos.UserLog;
namespace CMS.Service.Infrastructure
{
public class MappingProfile : Profile
{
public MappingProfile()
{
#region UserLog
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Reflection;
using System.Threading.Tasks;
using static PuddingWolfLoader.Framework.Util.PluginLoader;
namespace XQSimulator.Model
{
[PropertyChanged.AddINotifyPropertyChangedInterface]
... |
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Driver;
using stottle_shop_api.Shop.Repositories;
namespace stottle_shop_api.Shop
{
public static class ShopModule
{
public static void AddShopModule(this IServiceCollection services, string connectionString)
{
var mongoU... |
using CheckMySymptoms.Flow.ScreenSettings.Views;
using CheckMySymptoms.Forms.View;
namespace CheckMySymptoms.Flow.Requests
{
public class DefaultRequest : RequestBase
{
public override ViewType ViewType { get; set; }
public override ViewBase View => throw new System.NotImplementedException();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SignalR.Client.Hubs;
using SignalRConsole.SignalR.MessengerHub;
using SignalR.Hosting.Self;
using SignalR;
using System.Threading.Tasks;
namespace SignalRConsole
{
class Program
{
static void Main(string[] args... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenericScale
{
class Scale<T> where T : IComparable
{
public T Left { get; set; }
public T Right { get; set; }
public Scale(T left, T right)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PowerShapeDotNet.Enums;
using PowerShapeDotNet.Macros;
namespace PowerShapeDotNet.Objects
{
/// <summary>
/// class for Solid Torus
/// </summary>
public class PSDNObjectSolidTorus :... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TestApplicationDomain.DTO;
namespace TestApplicationInterface.Service
{
public interface IBookingService
{
Task<bool> SaveBooking(BookingDto booking);
}
}
|
using System;
using System.IO;
using FluentAssertions;
using NUnit.Framework;
using VH.Core.Configuration.AKSKeyVaultFileProvider;
namespace VH.Core.Configuration.UnitTests.AKSKeyVaultFileProvider.TheTheAksKeyVaultSecretDirectoryInfo
{
public class when_given_DirectoryInfo_that_does_not_exist
{
private... |
using Ghost.Extensions;
using System;
using UnityEngine;
namespace RO
{
[Serializable]
public class CameraPointLinkInfo
{
public float angle;
public CameraPoint cp1;
public CameraPoint cp2;
public Vector3 expand = Vector3.get_zero();
public bool weightOnX;
public bool weightOnZ;
public int prior... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Written by Mason Eastman
public class CameraFollow : MonoBehaviour
{
//allows for the correct gameobject that the camera should follow to be set from the inspector
public Transform trackedObject;
//Camera's position is tied ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class ScreenFader : MonoBehaviour
{
[SerializeField]
private CanvasGroup faderCanvasGroup;
[SerializeField]
private float fadeDuration = 1f;
private bool isFading = false;
... |
namespace EnterpriseRequests.Models
{
public class CachedUser
{
public CachedUser()
{
}
public CachedUser(string login)
{
SAPId = login;
DisplayName = login;
}
public string SAPId { get; set; }
public string DisplayName ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CompareAttribute = System.ComponentModel.DataAnnotations.CompareAttribute;
namespace MVC.Samples.Web.Areas.Ravi.Models
{
[Serializable]
public class Rav... |
using Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using ZrSoft;
namespace mvcProject.ashx
{
/// <summary>
/// upload 的摘要说明
/// </summary>
public class upload1 : IHttpHandler
{
public void ProcessRequest(HttpContext context)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
public class CoordinationDto : OrderDto
{
/// <summary>
/// 协调信息
/// </summary>
public virtual IList<CoordinationLogDto> Coordinat... |
using System;
namespace PreserveSpaceReverseString.Classes
{
public class PreservingSpaceClass
{
public string ReverseInputStr(string input)
{
char[] inputArr = input.ToCharArray();
char[] result = new char[inputArr.Length];
for (int i = 0; i < inputArr.Lengt... |
using System;
namespace Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class AuthorAttribute : Attribute
{
public String Name { get; set; }
public String Version { get; set; }
public AuthorAttribute(String name): this(name, ""){}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace UrTLibrary.Bsp.Elements
{
public class Plane : BspElement
{
public float[] Normal;
public float Distance;
public Plane()
{
base.ElementSize = 16;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Diagnostics;
using System.Web.UI.WebControls;
using ASPBinding.Services;
using Binding.Services;
using Binding.ControlWrappers;
using ASPBinding.ControlWrappers;
using System.Reflection;
using System.... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using LinqToDB.Data;
using LinqToDB.Mapping;
namespace Core.Services
{
public interface IDataConnection
{
int CommandTimeout { get; set; }
void QueryHint(string hint);
... |
using Microsoft.Dynamics365.UIAutomation.Browser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using TechTalk.SpecFlow;
using Vantage.Automation.VaultUITest.Context;
using Vantage.Automation.VaultUITest.Helpers;
namespace Vantage.Automation.VaultUITest... |
//------------------------------------------------------------------------------
//
// CosmosEngine - The Lightweight Unity3D Game Develop Framework
//
// Version 0.8 (20140904)
// Copyright © 2011-2014
// MrKelly <23110388@qq.com>
// https:/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnviarDados : MonoBehaviour
{
public GameObject loading;
public void Start()
{
loading.gameObject.transform.localScale = new Vector3(0, 0, 0);
}
public IEnumerator enviarDados()
{
yield... |
using bot_backEnd.Models;
using bot_backEnd.Models.ViewModels.Statistic;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.BL.Interfaces
{
public interface ICategoryBL
{
Task<ActionResult<IEnumerable<C... |
using System;
namespace TNBase.Objects
{
public static class DateTimeExtensions
{
public const string DEFAULT_FORMAT = "dd/MM/yyyy";
public const string BIRTHDAY_FORMAT = "dd/MM"; // No year
/// <summary>
/// Convert a nullable datetime to a nice format string
/// </su... |
using System;
using Controle.Domain.Entities.Interfaces;
namespace Controle.Domain.Entities
{
public class Entrada : IAggregateRoot<int>
{
public virtual int Codigo { get; set; }
public virtual string Nome { get; set; }
public virtual DateTime Data { get; set; }
public virtual ... |
using System;
//using static Usings.ExampleClasses.StaticClassExample;
using NonStatic = Usings.ExampleClasses.NonStaticClassExample;
namespace Usings
{
public class Class1
{
public void KindaMain()
{
new NonStatic().DoSmth();
//DoSmthStatic();
}
}
}
|
namespace Tookan.NET.Core
{
public class Agent : IAgent
{
public int FleetId { get; set; }
public string FleetThumbImage { get; set; }
public string FleetImage { get; set; }
public TaskStatus Status { get; set; }
public string Username { get; set; }
public string... |
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Store/Store")]
public class AStore : ScriptableObject
{
public Object Item;
public List<Object> Purchased;
public int ItemValue;
public AIntData Cash;
public void Purchase()
{
if (Cash.V... |
using System;
namespace Instruction
{
public class Instructions : Instruction
{
public Instructions()
{
this.instruction = INSTRUCTION.NULL;
}
public override bool nextValid()
{
return true;
}
}
} |
using UnityEngine;
using System.Collections;
public class EnemyBehaviour : MonoBehaviour
{
public ScoreKeeper scoreKeeper;
public GameObject laserPrefab;
public float health = 150f;
public int killPoint = 10;
public float laserSpeed;
[Range (0.001f, 0.06f)] public float firingRate;
public AudioClip laserSou... |
using EWF.Util;
using EWF.Util.Page;
using System;
using System.Collections.Generic;
using System.Text;
namespace EWF.IServices
{
public interface IRiverService : IDependency
{
Page<dynamic> GetReadData(int pageIndex,int pageSize,string STNM);
/// <summary>
/// 返回最新水情数据
/// ad... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C_SharpWorkshop
{
class Program
{
static void Main(string[] args)
{
Triangle obj = new Triangle(5, 10);
obj.DisplayAre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TaskMan.Domains.Constants
{
public static class CacheConstants
{
public const string StatusCache = nameof(StatusCache);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using vega.API.Core;
using vega.API.Core.Models;
using vega.API.Extensions;
namespace vega.API.Persistence
{
public class VehicleRepository : IVehicl... |
using Mercado.Model;
using System.Collections.Generic;
using System.Linq;
namespace Mercado.Dao
{
public class GrupoDao
{
public List<Grupo> Listar()
{
using (var ctx = new MercadoContext())
{
return ctx.Grupo.ToList();
}
}
... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Kers.Models.Contexts;
using Kers.Models.Entities.KERScore;
using Kers.Models.Repositories;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TheWayLearnPSO.PSOAlogirthm
{
class Particle
{
public double x { get; set; }
public double v { get; set; }
public double y { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace StringCalculatorDay13
{
public class StringCalculator
{
public int Add(string numbers)
{
if (NullOrWhiteSpace(numbers))
{
return 0;
}
var numberStorage =... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Cognitive_Metier
{
/// <summary>
/// This is a class for testing purpose only
/// to delete
/// </summary>
class Program
{
static void Main(string[] args)
{
#region calendar testing
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_Gradient : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
Gradient o = new Gradient();
LuaObject.pushValue(l, true);
LuaObject.pushValue(... |
namespace _1.StudentsResults
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var dict = new Dictionary<string, List<double>>();
var n = int.Parse(Console.ReadLine());
... |
using Entidades;
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 PetShopForms.Vistas.Productos
{
public partial class Listado : Form
{... |
using LaserMaze.Enums;
using LaserMaze.Models;
using Xunit;
namespace LaserMaze.Tests
{
public class RightAngleMirrorRoomTests
{
private RightAngleMirrorRoom GetMirrorRoom(MirrorType mirrorType)
{
var coords = new GridCoordinates(1, 1);
var mirror = new Mirror
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Negozio.DataAccess.DbModel
{
public class Cliente
{
[Key]
public int ClienteId { get; set; }
public string Nome { get; set; }
public string Cognome { get; s... |
using System.Xml.Linq;
using PlatformRacing3.Common.Stamp;
using PlatformRacing3.Web.Controllers.DataAccess2.Procedures.Exceptions;
using PlatformRacing3.Web.Extensions;
using PlatformRacing3.Web.Responses;
using PlatformRacing3.Web.Responses.Procedures.Stamps;
namespace PlatformRacing3.Web.Controllers.DataAccess2.Pr... |
// -----------------------------------------------------------------------
// <copyright file="MainViewModel.cs">
// Copyright (c) 2015 Andrew Zavgorodniy. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace MyStudio.ViewModels
{
using Catel.MV... |
using System;
using UnityEngine;
[CustomLuaClass]
public class SLuaTest : MonoBehaviour
{
public FloatEvent intevent;
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MyPage.Areas.Treinamento.Data.DAL;
using MyPage.Areas.Treinamento.Models;
namespace MyPage.Areas.Treinam... |
/*
* 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MGL_API.Model.Saida.GameDetail
{
public class RetornoObterMemoria : Retorno
{
public int CodigoMemoria { get; set; }
public string NomeMemoria { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IndicatorArrowToggler : MonoBehaviour
{
public string Button;
void Update ()
{
if (Input.GetButtonDown(Button))
{
IndicatorArrow.ShowArrows = !IndicatorArrow.ShowArrows;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum BULLET_TYPE
{
PLAYER,
ENEMY
}
public class Bullet : MonoBehaviour
{
static float DISTANCE = 100f;
public int damage;
public float speed;
public MainWeapon owner;
public BULLET_TYPE... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CT.Data
{
[CreateAssetMenu(fileName = "New Mine", menuName = "Faction/Building/Mine")]
public class MineData : BuildingData
{
public override BuildingType Type => BuildingType.Mine;
public ResourceType... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Tooltip Interaction", menuName = "Custom/Interaction/Tooltip Interaction")]
public class TooltipInteraction : Interaction
{
[SerializeField]
private string m_Text;
[SerializeField]
private floa... |
using System;
using ChatServer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Linq;
namespace ChatServer.Test
{
[TestClass]
public class UnitTest1
{
IMessenger messenger;
[TestInitialize]
public void Init()
{
messenger = new... |
namespace Liddup.Droid.Services
{
internal class NapsterApiAndroid
{
//public Napster Napster { get; set; }
public NapsterApiAndroid()
{
//Napster = Napster.Register(Forms.Context, ApiConstants.NapsterApiKey, ApiConstants.NapsterApiSecret);
}
public... |
using System.ComponentModel.DataAnnotations;
namespace BagBag.Models
{
[MetadataType(typeof(Category.CatagoryMetaData))]
public partial class Category
{
internal sealed class CatagoryMetaData
{
public int CategoryId { get; set; }
[Display(Name ="Danh Mục Sản Phẩm")]... |
using GraphQLSampleSplitAPI.Models;
namespace GraphQLSampleSplitAPI.MutationResolvers
{
public class CountryMutationResolver
{
public string SaveCountry(CountryModel model)
{
return model.Name;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;
namespace MvvmTest.HtmlAgility
{
public class XWebClient : WebClient
{
public CookieContainer Cookies { get; private set; }
public XWebClient()
{
Cookies = new CookieCont... |
using UnityEngine;
using System.Collections;
public class DebugCombatController : CombatController {
int oldHealth = 0;
void OnDrawGizmos() {
if (oldHealth > health) {
Gizmos.DrawCube(transform.position, transform.localScale);
}
oldHealth = health;
}
}
|
using BPiaoBao.AppServices.DataContracts.Cashbag;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
namespace BPiaoBao.AppServices.Contracts.Cashbag
{
[ServiceContract]
public interface IFinancialService
{
/// <summary>
/// 取理财... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bullet : MonoBehaviour {
private float rotationSpeed = 1f;
private float minY = -60f;
private float maxY = 60f;
private float rotationY = 10f;
private float rotationX = 0f;
public GameObject bulletPrefab;
public Tran... |
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 FixyNet
{
public partial class Loading : Form
{
public Loading()
... |
using System.ServiceModel;
namespace Service
{
/// <summary>
/// Represents the service contract for queries.
/// </summary>
[ServiceContract(CallbackContract = typeof(IQueryCallbackContract), Namespace = ServiceConstants.QueryNamespace)]
public interface IQueryContract
{
/// <summar... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.Models
{
public class Audit
{
[DatabaseGenerated(DatabaseGeneratedOpt... |
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEngine.UI;
public class ScreenshotController : MonoBehaviour {
public Button button;
// Use this for initialization
void Start () {
Button btn = button.GetComponent<Button>();
btn.onC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.