text stringlengths 13 6.01M |
|---|
namespace NoScope360Engine.Core.Entites.Items
{
/// <summary>
/// Weapon of a person (AK-47 and so on)
/// </summary>
public class Weapon : Item
{
public int Damage { get; set; }
public Ammo Ammo { get; set; }
public Weapon(string name = "default weapon") : base(name)
... |
using CryptoInvestor.Infrastructure.Commands.Transaction;
using CryptoInvestor.Infrastructure.DTO;
using Newtonsoft.Json;
using Shouldly;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Xunit;
namespace CryptoI... |
using Frontend.Core.Common.Proxies;
using Frontend.Core.Converting.Operations.ExtractSave;
using Frontend.Core.Helpers;
using Frontend.Core.Model.Interfaces;
using Frontend.Core.Model.Paths.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Frontend.Core.Tests.Converter.Opera... |
using Microsoft.Extensions.Logging;
using EuropAssistance.Portugal.DRSA.Missioning.Service.Abstractions;
using EuropAssistance.Portugal.DRSA.Missioning.Models;
using System;
namespace EuropAssistance.Portugal.DRSA.Missioning.Service
{
public class MissioningService : IMissioningService
{
priv... |
using Amazon.Suporte.Services;
using Amazon.Suporte.ViewModel;
using Amazon.Suporte.Model;
using Microsoft.AspNetCore.Mvc;
using AutoMapper;
using Amazon.Suporte.Enum;
using System.Collections.Generic;
using System.Linq;
namespace AmazonSuporte.Controllers
{
[ApiController]
[Route("api/[controller... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class NewLuckyRoll : MonoBehaviour
{
//此案例是指针不动,转盘动 --转盘的旋转过程是先加速然后加速时间到了后减速直到停止
//注意:Unity里面角度是逆时针计算的,需要顺时针旋转就添加负号
public enum RollState
{
None,
SpeedUp,
SpeedDown,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
bool isMove;
bool isJump;
bool isDie = false;
bool isGoal = false;
Rigidbody playerRb;
float moveForce = 35f;
float jumpForce = 15000f;
int jumpCount = 0;
pr... |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace AspNetCoreTodo.IntegrationTests
{
public class TodoRouteShould : IClassFixture<TestFixure>
{
private readonly HttpClient httpClient;
public TodoRouteShould(TestFixure fixture)
{
h... |
using Android.App;
using Android.Widget;
using Android.OS;
using System.Collections.Generic;
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
namespace ListViewApp
{
[Activity(Label = "ListViewApp", MainLauncher = true)]
public class MainActivity : Activity
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HammerheadMovement : MonoBehaviour
{
[SerializeField] private GameObject _EnemyHammerheadGFX;
[SerializeField] private float _moveSpeed;
private EnemyHammerhead _enemyHammerhead;
private AudioSource _audioSour... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace CoreASP.Enum
{
public enum Status
{
[EnumMember(Value = "Awaiting Approval")]
AwaitingApproval,
Rejected,
Accepted,
}
}
|
using System;
using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
public class MapHud : BaseDialog {
[SerializeField]
private Button _travelButton;
[SerializeField]
private GameObject _lifeCounterPrefab;
[SerializeField]
private GridLayoutGroup _lifeCounterGrid;
[SerializeField]
pri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Persistencia;
using System.Data;
namespace Negocio
{
public class CadFilmes
{
String NomeFilmes;
String Classificacao;
String Genero;
String Iframe;
... |
using System;
using System.Runtime.InteropServices;
#pragma warning disable CS0465
namespace uNvEncoder
{
public enum DXGI_FORMAT
{
DXGI_FORMAT_R8G8B8A8_UNORM = 28,
};
public static class Lib
{
public const string dllName = "uNvEncoder";
// ---
[DllImport(dllName, EntryPoint = ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NavigationPath : MonoBehaviour
{
public static NavigationPath Instance { get; private set; } = null;
private void Awake()
{
if (Instance == null) Instance = this;
else if (Instance != this)
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[ExecuteInEditMode]
public class AnchorX : MonoBehaviour
{
public bool positive;
public Transform target;
public void xPos()
{
if (positive)
{
float desiredXPos = target.p... |
using Newtonsoft.Json;
using ScribblersSharp.JSONConverters;
/// <summary>
/// Scribble.rs ♯ namespace
/// </summary>
namespace ScribblersSharp
{
/// <summary>
/// Player state enumerator
/// </summary>
[JsonConverter(typeof(PlayerStateJSONConverter))]
public enum EPlayerState
{
/// <s... |
using System.Collections.Generic;
using System.Linq;
using System.Windows.Documents;
using BPiaoBao.AppServices.DataContracts.DomesticTicket;
using BPiaoBao.AppServices.DataContracts.DomesticTicket.DataObject;
using BPiaoBao.Client.DomesticTicket.Model;
using BPiaoBao.Client.DomesticTicket.View;
using BPiaoBao.Client.... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TableTopCrucible.Core.Helper
{
public static class StructHelper
{
public static T? ToNullable<T>(this T value) where T : struct
=> value.Equals(default(T)) ? (T?)null : value;
}
}
|
using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Services.Neo;
using System;
using System.ComponentModel;
using System.Numerics;
namespace NCcnsResolverAddr
{
public class cnsResolverAddr : SmartContract
{
string magic = "chaincomb";//magic
private static byte[] GetZeroByte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp6
{
class Program
{
static void Main(string[] args)
{
var value = System.Environment.GetEnvironmentVariable("FOO");
if (!... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Easy4net.CustomAttributes;
namespace HealthCloud.DBModel
{
[Table(Name = "T_MedicalMember")]
public class TMedicalMember
{
[Id(Name = "MedicalMemberID", Strategy = GenerationType.INDENTITY)]
public i... |
using System;
namespace ImmedisHCM.Services.Models.Core
{
public class LocationServiceModel
{
public Guid Id { get; set; }
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
public CityServiceModel City { get; set; }
public string PostalCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Data;
using System.IO;
using System.Data;
using System.Configuration;
using System.Data.Sql... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment_Part_A
{
class Prints
{
//τυπώνει ολους τους μαθητες από τα concrete data
public static void PrintAllStudents(Database db)
{
Console.For... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OracleClient;
using System.Globalization;
using utilities;
namespace TimeSheet_BL.timesheet
{
public class timesheet_BAL
{
public timesheet_BAL()
{
// TODO: Add constructor logi... |
using Swiddler.Channels;
using Swiddler.Common;
using Swiddler.IO;
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace Swiddler.SocketSettings
{
public class RewriteSettings : SettingsBase
{
public event EventHandler<bool> BinaryChanged;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Contexts;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
namespace OstatokSklad
{
public class WorkSklad
{
public void InputTovar()
{
Console.WriteLine("\n\... |
// -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
extern alias pcl;
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
class UILineDrawer : MaskableGraphic
{
public Vector2 P1;
public Vector2 P2;
public float LineWidth = 50;
protected override void OnPopulateMesh(VertexHelper vh)
{
vh.Clear();
UIVertex[] quad = new UIVerte... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_BillboardAsset : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
BillboardAsset o = new BillboardAsset();
LuaObject.pushValue(l, true);
Lu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Web;
namespace War
{
public class Deck
{
private List<Card> _cards;
private readonly Random _random = new Random();
public int Count
{
get { return ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Codaxy.WkHtmlToPdf.Test
{
[TestClass]
public class CreationTestsAsync
{
[TestMethod]
public async Task ConvertUrlAsync()
{
await PdfConvert.ConvertHtmlToPdfAsync(ne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace oopsconcepts
{
public class Vodafone
{
public void callCosts()
{
//some details about call costs
}
}
public class Mobile : Vodafone
{
}
}
|
using System;
using System.Threading.Tasks;
namespace GameCloud.Core.Tests.Mocks
{
/// <summary>
/// Represents a mocked connection to server
/// </summary>
public class ConnectionMock : IConnectionImplementation
{
private readonly ServerImplementationMock _server;
private PeerCon... |
public class GameMenu : SimpleMenu<GameMenu>
{
public override void OnBackPressed()
{
gameManager.Pause();
PauseMenu.Show();
}
}
|
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
namespace SignalR_GroupTest.SignalR.MessengerHub
{
public class Messenger
{
private rea... |
using Code;
using Player.Code.Signals;
using UnityEngine;
using Zenject;
namespace Player.Code.AnimationEvents
{
public class PlayerReadyEvent : MonoBehaviour
{
[Inject] private readonly SignalBus _signalBus = null;
public void PlayerReady()
{
_signalBus.Fire(new PlayerRea... |
using System;
namespace LearningSignalR.Db
{
public class DbRepositoryResult<T> : DbRepositoryResult
{
public T Payload { get; set; }
public new static DbRepositoryResult<T> Success(T payload)
{
return new DbRepositoryResult<T>
{
Message = string... |
using Project_NotesDeFrais.Models;
using Project_NotesDeFrais.Models.Reposirery;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Project_NotesDeFrais.Controllers
{
public class ExpansesController : Controller
{
private IEnumerable... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Smtp.Net.Dns
{
public class DnsResource
{
public string Name;
public QueryType QueryType;
public QueryClass QueryClass;
public Int32 TimeToLive;
public UInt16 DataLength;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : MonoBehaviour
{
public GameObject pref;
public int numParticles = 100;
void Start()
{
StartCoroutine(Spawn());
}
IEnumerator Spawn()
{
for(int i=0; i<numParticles; i++)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Dtos;
using Application.Common.Interface;
using Application.Common.Models;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using Microsoft.EntityFramew... |
using System;
using System.Collections.Generic;
//int[] unsortedScores = {37, 89, 41, 65, 91, 53};
//final int HIGHEST_POSSIBLE_SCORE = 100;
//int[] sortedScores = sortScores(unsortedScores, HIGHEST_POSSIBLE_SCORE);
// sortedScores: [37, 41, 53, 65, 89, 91]
public class TopScores
{
public int[] sortScores(int[]... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Gestion {
public partial class ABM_Grilla : Gestion.Forms.EnClasesForm {
public ABM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WasteCalculator.Data
{
class FileHelper
{
public static string GetFileName(string fileName)
{
string[] aux = fileName.Split('\\');
return aux[a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PlayerDetector : MonoBehaviour
{
[SerializeField] AudioClip sound;
[SerializeField] [Range(0, 1)] float volume = 1f;
private void OnTriggerEnter2D(Collider... |
using Entity;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace User.Api.Controllers
{
[Produces("application/json"... |
using SGDE.Domain.Entities;
using SGDE.Domain.Helpers;
namespace SGDE.Domain.Repositories
{
public interface IWorkHistoryRepository
{
QueryResult<WorkHistory> GetAll(int workId = 0, int skip = 0, int take = 0, string filter = null);
WorkHistory GetById(int id);
WorkHistory Add(WorkHist... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace CodeGen.Models
{
public class Entity
{
private readonly IList<EntityItem> _items = new List<EntityItem>();
public string Name { get; set; }
public IList<EntityItem> Items
{
get { return _i... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Linq.Expressions;
using Shopper.DataAccess.Context;
using Shopper.DataAccess.DataTier.Repo.Interfaces;
using Shopper.Domain;
namespace Shopper.DataAccess.DataTier.Repo.Concrete
{
public class Invent... |
namespace _11._The_Party_Reservation_Filter_Module
{
using System;
using System.Collections.Generic;
using System.Linq;
class ThePartyReservationFilterModule
{
static void Main(string[] args)
{
List<string> guests = Console.ReadLine().Split().ToList();
... |
using Newtonsoft.Json;
namespace IndependienteStaFe.Models
{
public class userInfo
{
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("message")]
public string Message { get; set; }
[JsonProperty("data")]
public Data data { get; set; }
... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Binding;
using Binding.Services;
using Rhino.Mocks;
using System.Web.UI.WebControls;
using ASPBinding.ControlWrappers;
using Binding.ControlWrappers;
namespace BinderTests
{
... |
namespace AmqpNetLiteRpcCore
{
public class RpcResponseType
{
public const string Error = "ERROR";
public const string Ok = "OK";
}
} |
using System;
using System.Collections.Generic;
namespace nargileotomasyon.Models
{
public partial class satıslar
{
public int satısid { get; set; }
public Nullable<int> müsterid { get; set; }
public Nullable<int> ürünid { get; set; }
public string markad { get; set; }
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
//2018-12-07 宋柏慧
//---------------------------------------------------------
//添加巡逻判断控制
//---------------------------------------------------------
//2018-12-01 宋柏慧
//-----------------------------------------------... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace NationalParks.Migrations
{
public partial class SeedData : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "City",
table: "Parks"... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class ARChecker : MonoBehaviour
{
public bool available = false;
public UnityEvent arAvailable;
public UnityEvent arNOTAvailable;
void Start()
{
DoCheck();
}
publi... |
using NetworkToolkit.Http.Primitives;
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
#if NETWORKTOOLKIT_MAINLIB
namespace NetworkToolkit.Http.Primitives
#else
namespace NetworkToolkitInternal.Http.Primitives
#endif
{
... |
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using ImmedisHCM.Data.Identity.Entities;
using ImmedisHCM.Web.Helpers;
using Microsoft.Extensions.DependencyInjection;
namespace ImmedisHCM.Web.Extensions
{
public static class ServiceCollectionExtensions
{
public static IServiceColle... |
//
// 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.ComponentModel.Composition;
using System.Globalization;
using DotNetNuke.Services.Mail;
using DotNetNuke.Services.Social.Notifications;
name... |
using Xamarin.Forms;
namespace LostAndFound
{
public static class FormController
{
public static void OpenRegister(ContentPage page)
{
page.Navigation.PushModalAsync(new RegisterPage(), true);
}
public static void OpenLogin(ContentPage page)
{
... |
using Entidades.Enums;
using Entidades.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
#pragma warning disable CS0661
/// <summary>
/// Clase empleado, hereda de persona, asignando un salario y es la contened... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UrTLibrary.Server.Logging
{
public enum LogEventPatternType
{
DELIMITER,
WS,
MAYBE_WS,
AT_LEAST_ONE_WS,
MAYBE_MANY_WS,
TIME,
DE... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CarWash.ClassLibrary.Models
{
/// <summary>
/// Database representation of a push subscription.
/// Push subscriptions are used for sending out push notifications to users through the browser's own s... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FinanceApp
{
public class Contact
{
public Contact()
{
}
public Contact(string firstName, string lastName, string email, string telNo)
{
this.firstName = firstName;
thi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour
{
private SystemScript sc;
private GameObject cam;
private ShotCursor shot_sc;
private Rigidbody rig;
private Text result_text;
public float sccore... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary1
{
public class Class1
{
public static string GetName() {
return "Sayed";
}
}
}
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Common.Repository;
using Common.SensorListenerAPI;
using Domain.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using SensorService.Controllers;
using Xunit;
using Environment = Domain.Entities.Env... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq.Expressions;
using StudentSystem.Model;
namespace StudentSystem.Services.Models
{
public class StudentModel
{
public static Expression<Func<Student, StudentModel>> FromStudent
{
get
{
... |
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Service;
using System.Threading.Tasks;
using ServiceBusTriggerAttribute = Microsoft.Azure.Functions.Worker.ServiceBusTriggerAttribute;
namespace CloudDatabases
{
class FunctionMortgages
{
p... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Jasarsoft.PES6Tools.Multiplayer
{
public partial class MainForm : Form
{
private Host host;
public MainForm()
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.WebUtilities;
using PetSharing.Contracts;
using PetSharing.Domain.Models;
using PetSharing.Domain.Services;
namespace Pe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace LibreriaObjetos
{
[DataContract]
[Serializable]
public class S_Mpat
{
// Declaración de variables de S_Mpat
[DataMem... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace GameLoanManager.Data
{
public class ContextFactory : IDesignTimeDbContextFactory<Context>
{
public IConfiguration Configuration { get; }
public Con... |
using UnityEngine;
using UnityEngine.AI;
public class Drive : MonoBehaviour
{
Camera cam;
public float speed = 10f;
public float rotationSpeed = 20f;
// Start is called before the first frame update
void Start ()
{
cam = this.GetComponentInChildren<Camera>();
cam.transform.Loo... |
using FluentNHibernate.Mapping;
namespace ImmedisHCM.Data.Entities.Mappings
{
public class ScheduleTypeMapping : ClassMap<ScheduleType>
{
public ScheduleTypeMapping()
{
Table("schedule_types");
Id(x => x.Id)
.Column("id")
.GeneratedBy.Gui... |
using System;
using Whale.DAL.Abstraction;
namespace Whale.DAL.Models
{
public class UserAchivement : BaseEntity
{
public int Progress { get; set; }
public Guid AchivementId { get; set; }
public Achivement Achivement { get; set; }
public Guid UserId { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
public class Smarphone
{
public Smarphone()
{
this.battery = new Battery();
this.body = new Body();
this.commos = new Comms();
this.display = new Display();
... |
using System.Linq;
namespace OneCPO.Data.Common.Contracts
{
public interface IRepository<TEntity>
where TEntity : class
{
IQueryable<TEntity> All();
void Add(TEntity entity);
void Delete(TEntity entity);
int SaveChanges();
}
} |
using UnityEngine;
public class EnemyLoot : MonoBehaviour
{
public GameObject coinGen;
private EnemyStatChange statChange;
private EnemyStat stat;
private void Awake()
{
statChange = GetComponent<EnemyStatChange>();
stat = statChange.EnemyStat;
}
public void DropItems()
... |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Naninovel
{
/// <summary>
/// A limited-size dropout stack containing <see cref="GameStateMap"/> objects.
/// </summary>
public class StateRollba... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace AutoPractice7.JSON.Models
{
public class UniversityModel
{
[JsonProperty("university")]
public string University { get; set; }
[JsonProperty("students")]
public List<StudentModel> Students { get; set; }
}
}... |
using System;
namespace Class1016
{
class Program
{
static void Main(string[] args)
{
//string num = "HELLO";
//num.ToLower();
//if (num == "hello")
//{
// Console.WriteLine("hi!");
//}
//else if (num == "H... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace API.Data.Migrations
{
public partial class fixTablePlurality : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_Products",
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using WebApplication.Api.Infrastructure.Errors;
using WebApplication.Api.Models;
using WebApplication.Services.DtoModels;
using WebApplication.Services.Services.LaptopService;
namespace WebApplication.Api.... |
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using CGCN.Framework;
using Npgsql;
using NpgsqlTypes;
using CGCN.DataAccess;
using HoaDonDataAccess.DataAccess;
namespace HoaDonDataAccess.BusinesLogic
{
/// <summary>
/// Mô tả thông tin cho bảng tblhoadonban
/// Cung c... |
// -----------------------------------------------------------------------
// <copyright file="MurMur3HashFunction.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </co... |
using Mono.Cecil;
using PeNet;
using PeNet.Structures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetProtectEncrypter.Encrypter.Wrappers
{
enum EncryptionType
{
xor,
aes,
rsa
}
class Protectable... |
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.Input;
namespace WPF_ListElements
{
public partial class MainWindow : Window
{
private void treeView1_SelectedIt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Edificacion:MonoBehaviour {
[Header("Atributos de tipo edificacion")]
public Sprite imagen;
public construccion construccion;
public abstract bool canConstruct ();
}
[System.Serializable]
public class construcc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GiftAidCalculator.Tests
{
public class StandardTaxStoreStub : ITaxStore
{
public void Update(decimal taxRateArg) { }
public decimal Read()
{
return 20;
}
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("AddFriendFrameBones")]
public class AddFriendFrameBones : MonoClass
{
public AddFriendFrameBones(IntPtr address) : this(address, "AddFriendFrameBones")
{
}
public Ad... |
using UnityEngine;
using System.Collections;
public class AddToWorkspace : MonoBehaviour
{
public bool Active = false;
void Update()
{
if(Active && InInput.controller.isOnGlass())
GameManager.Manager.Data.WSpace.Add(transform.position.x, transform.position.y);
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using DiabloStats.Database.Model;
namespace DiabloStats.Meter
{
public class MeterCanvas : Canvas
{
private readonly List<IMeterOver... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalProject
{
/// <summary>
/// This struct represent the typos
/// </summary>
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Drawing.Imaging;
namespace ToolsImages.Filtres
{
public class ColorMatrix
{
#region Constructor
/// <summary>
/// Constructor
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
namespace Uxnet.Web.Module.DataModel
{
public class ListControlSelectorV2 : System.Web.UI.UserControl
{
protected bool _isBound;
protected global::System.Web.UI.WebControls.Li... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TowerDefense
{
public class OrbitCamera : MonoBehaviour
{
public Camera attachedCamera;
public float minYAngle = 30f, maxYAngle = 90f;
public float ySpeed = 120f, xSpeed = 120f;
vo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.