text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using InControl;
public class MainScript : MonoBehaviour {
[HideInInspector] public List<Player> PlayersToFollow;
//[HideInInspector] public LevelDefinition levelDefinitionScript;
public Game... |
// HandleBase.cs - Base class for Handle types
//
// Authors: Mike Kestner <mkestner@novell.com>
//
// Copyright (c) 2005 Novell, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the GNU General Public
// License as published by the Free Software Fou... |
using System;
using System.Collections.Generic;
using System.Text;
using BrainDuelsLib.web;
using BrainDuelsLib.threads;
using BrainDuelsLib.view;
namespace BrainDuelsLib.widgets
{
public class ChatWidget : Widget
{
private Server.TokenAndId tai;
private ChatSocketThreadedJob ctj;
pub... |
using CoreDemo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoreDemo.Service
{
public interface IMovieService
{
Task AddAsync(Movie model);
Task<IEnumerable<Movie>> GetCinemaAsync(int cinemaId);
}
}
|
using HardwareInventoryManager.Helpers.Messaging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace HardwareInventoryManager.Helpers.Account
{
/// <summary>
/// Account Service class for account functionality
... |
using UnityEngine;
using UnityEngine.XR.WSA.Input;
public class MoveCar : MonoBehaviour
{
GameObject vehicle;
GestureRecognizer recognizer;
float speed;
int RoadRotationDegree;
Vector3 direction,cornertreeposition;
bool IsMoving = true; //控制车辆的启停,刚进入场景车辆静止
// S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SideToSide : MonoBehaviour {
public float platformSpeed = 2f;
bool endPoint;
private Vector3 rightLimit;
private Vector3 leftLimit;
void Start()
{
rightLimit = transform.position + new Vector3... |
using System.Collections.Generic;
namespace MusicPlayer.Core.Models
{
public class Playlist
{
public string Name { get; set; }
public List<Song> List { get; set; }
}
} |
using System;
namespace UnityEngine.Rendering.PostProcessing {
[Serializable]
[PostProcess (typeof (DualBlurRenderer), PostProcessEvent.AfterStack, "Custom/Dual Blur")]
public sealed class DualBlur : PostProcessEffectSettings {
// [Range (0, 6)] public IntParameter downsample = new IntParameter ()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WpfApp1
{
class SbmIssue
{
public string floorId { get; set; }
public string sbmFile { get; set; }
public string prjCode { get; set; }
public string zco... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestTasksLibrary;
namespace UnitTest
{
[TestClass]
public class RomanNumTests //1-е тестовое задание
{
[TestMethod]
public void Test_on_null_input()
{
Assert.AreEqual(-1, RomanNum.RomanToArabic("")... |
using RomanNuerals;
using NUnit.Framework;
namespace TestRomanNuerals
{
public class TestRomanLiterals
{
[TestCase(1, "I")]
[TestCase(2, "II")]
[TestCase(3, "III")]
[TestCase(4, "IV")]
[TestCase(5, "V")]
[TestCase(6, "VI")]
[TestCase(9, "IX")]
[T... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace POTM
{
public class ShopLights : MonoBehaviour
{
public List<LightPickup> light = new List<LightPickup>();
public void TurnOff()
{
foreach (LightPickup l in light)
... |
using System.Linq;
using ShCore.DataBase.ADOProvider.Attributes;
using ShCore.Extensions;
namespace ShCore.DataBase.ADOProvider.ShSqlCommand
{
/// <summary>
/// Câu lệnh thực hiện Update
/// </summary>
class ShUpdateCommand : ShCommand
{
public override void Build(ModelBase t, TSqlBuilder b... |
using UnityEngine;
using System;
public class PlayerController : UnitNetworkController
{
[SerializeField] AttackController m_AttackControl;
public event Func<Transform, Transform> ClosestAttackTarget;
void OnClickAttack(AttackController.Args args)
{
m_AutoAttack = args.ClickAttack;
m... |
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(CheatConsole))]
public class CheatConsoleEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
CheatConsole cheat = (CheatConsole)target;
if (GUILayout.Button("Heal All"))
{
che... |
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 ThongKe.Controls;
using HoaDonDataAccess.BusinesLogic;
using QTHT.BusinesLogic;
using DanhMuc.BusinesLogic;
namespace ThongKe.In... |
using System;
using UnityEngine;
public class ObjectSpawner : MonoBehaviour
{
#region Fields
[SerializeField] private GameObject _spawnObject;
[SerializeField] private Transform _spawnPoint;
#endregion
#region Methods
public GameObject Spawn()
{
if (_spawnObject == null)
... |
using Microsoft.EntityFrameworkCore;
using Schedule.Data;
using Schedule.Data.Models;
using ScheduleDemoApp.Models.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ScheduleDemoApp.Models.Extensions
{
public static class CommitmentExtensions
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AjaxPro;
using SKT.WMS.WMSLiYanPing.Model;
using SKT.WMS.WMSLiYanPing.BLL;
namespace SKT.MES.Web.AppCode.AjaxServices.WMSLiYanPing
{
public class AjaxServiceLiYanPing
{
/// <summary>
/// 编辑图书
///... |
using System;
namespace Enumerations
{
class Program
{
enum Days { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday};
enum MyDays { Sunday = 1, Monday = 2, Tuesday = 3, Wednesday = 4, Thursday = 5, Friday = 6, Saturday = 7};
static void Main(string[] args)
... |
using System.Windows.Controls;
namespace EcobitStage.View.ResourceDictionaries
{
/// <summary>
/// Interaction logic for PrivilegeList.xaml
/// </summary>
public partial class PrivilegeList : Page
{
public PrivilegeList()
{
InitializeComponent();
}
}
} |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using FilmShow.DAL;
using FilmShow.Models;
using FilmShow.ViewModels;
using FilmShow.OMDb;
using System.Text.RegularExpressions;
using PagedList;
using PagedList.Mvc;
using Newtonsoft.Js... |
using System;
using System.Collections.Generic;
using System.Text;
using Zhouli.BLL.Interface;
using Zhouli.DAL.Interface;
using Zhouli.DbEntity.Models;
namespace Zhouli.BLL.Implements
{
public class BlogNavigationImgBLL : BaseBLL<BlogNavigationImg>, IBlogNavigationImgBLL
{
private readonly IBlogNavigat... |
namespace TipsAndTricksLibrary.Tests.Redis
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using JetBrains.Annotations;
using StackExchange.Redis;
using TipsAndTricksLibrary.Redis.StackExhange.Converters;
using Xunit;
public... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HandGunDamage : MonoBehaviour {
public int damageAmount;
public float targetDistance;
public float allowedRange = 15f;
private RaycastHit shot;
public RaycastHit hit;
public GameObject theBullet;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TextTransformations.Library
{
public class UppercaseTransformation : Transformation
{
public override string Transform(string text)
{
if (text is null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GoharSang.Models;
namespace GoharSang.Controllers
{
public class LogInController : Controller
{
GoharSangEntities db = new GoharSangEntities();
public ActionResult Index()
{... |
using log4net;
using System;
using System.Linq;
using innovation4austria.dataaccess;
using System.Diagnostics;
using System.Data;
using System.Data.Entity;
namespace innovation4austria.logic
{
public class BenutzerVerwaltung
{
private static readonly ILog log = LogManager.GetLogger(System.Reflecti... |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using DinoDiner.Menu;
namespace MenuTest
{
class OrderTest
{
/*[Fact]
public void SubtotalShouldCalculateProperly()
{
Order o = new Order();
o.Items = new ObservableCollection<IOrder... |
using Xunit;
namespace Darnton.Graphs.Tests
{
public class GraphTests
{
[Fact]
public void Constructor_InitialState()
{
//Arrange
var graph = new Graph<int>();
//Act
//Assert
Assert.NotNull(graph.Nodes);
Assert.E... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[System.Serializable]
public class PlayerWeapon{
public enum Weapon {
none,
freezer,
obstacleCreator,
spring
}
public Weapon currentWeapon;
public int damage... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace eIDEAS.Models
{
public class LeaderboardPresentationViewModel
{
public string name;
public int ideaPoints;
public int participationPoints;
public LeaderboardPresentationV... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class UIController : MonoBehaviour {
public void Hide(GameObject canvas) {
canvas.GetComponent<CanvasGroup>().alpha = 0f;
canvas.GetComponent<CanvasGroup>().blocksRaycasts = false;
canva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test7._24
{
//产品
interface IWares
{
string Name { get; set; }
string ID { get; set; }
void WaresInfo(int month);
}
//销售
public class Mark : IWa... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Framework;
#endregion
namespace DotNetNuke.Services.Search.Internals
{
/// <summary>
/// Low-level API... |
using System;
namespace Alfheim.FuzzyLogic.FuzzyFunctionAttributes
{
[AttributeUsage(AttributeTargets.Property)]
public class InRangePointAttribute : Attribute
{
public InRangePointAttribute(string leftPoint, string rightPoint)
{
LeftPoint = leftPoint;
RightPoint ... |
using FromExcelToJson.Helpers;
using Microsoft.Win32;
using Newtonsoft.Json;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Permissions;
using System.Text;
usi... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace CustomerFinderCognitiveServices.Models
{
public partial class InputV2
{
privat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerMovement : MonoBehaviour
{
Rigidbody2D body; //referens till spelarens rigidbody - Robin
[SerializeField, Range(150,2000)] //gör en slider som man kan ändra i konsolen till spelaren speed -... |
// -----------------------------------------------------------------------
// <copyright file="SmartCacheExperimentSession.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.
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TiggerChecker : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
//J... |
namespace WQMField.ViewModel
{
using GalaSoft.MvvmLight;
using Model;
using System;
public class VariableDataViewModel : ViewModelBase
{
private VariableData _varData;
public VariableDataViewModel(VariableData varData)
{
_varData = varData;
}
p... |
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
using ProjectV.ItemSystem;
[System.Serializable]
public class Armor : MonoBehaviour {
public string Name;
public int ItemID;
// public Sprite Icon;
public int Value;
public int Burden;
// public Sprite Quality;
public int Min_Armor_R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities.Models;
using DAL.Models;
using System.Data.Entity;
namespace DAL.Repo
{
//Identity Repository Interface
public interface IAuditeurRepository : IGenericRepository<Auditeur, int>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
namespace kkmKassa
{
public partial class Service : Form
{
bool isOpen = true;
private... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using SKT.WMS.WMSBasicfile.Model;
using SKT.MES.DAL.Marshal;
using SKT.MES.Model;
namespace SKT.WMS.WMSBasicfile.BLL
{
public class WMSWareHouse
{
private Int32 recordCount = 0;
/// <summary>
... |
using System;
using System.IO;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace aoc2019.Test
{
public class Test02
{
private readonly ITestOutputHelper _testOutputHelper;
public Test02(ITestOutputHelper testOutputHelper)
{
_testOutputHelper = testOutputHelpe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpAvanzado
{
static class FuncionesString
{
public static int ContarPalabras(string texto)
{
string[] palabras = texto.Split(new char[] { ' ', '.', ',',... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
namespace VeeqoRepository.Models
{
class VeeqoContextFactory : IDesignTimeDbContextFactory<VeeqoDevContext>
{
public VeeqoDevContext CreateDbContext(strin... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using FluentValidation;
using FluentValidation.Results;
using Finances.Common.Data;
namespace Finances.Core.Application
{
public class ValidationBehavior<TRequest, TResponse> :... |
namespace Task03_Media_System_Console_Test.Models
{
using System;
[Serializable]
public class SongApiModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Genre { get; set; }
public int? Year { get; set; }
public int? Ar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI.WebControls;
using vmware.samples.common;
using vmware.samples.common.authentication;
using vmware.vcenter;
using vmware.vcenter.vm;
using vmware.vcenter.vm.hardware;
using vmware.vcen... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem01Shapes
{
abstract class Shape
{
protected double height;
protected double width;
public Shape() { }
public Shape(double h, double w)
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using StratCorp.CorpSMS.DataAccess;
using StratCorp.CorpSMS.Entities;
using StratCorp.CorpSMS.Infrastructure.Helpers;
using System.Diagnostics;
namespace StratCorp.CorpSMS.Logic
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.Mvc;
using AsEasy.Common;
using Dapper;
using DataStore.Dal;
using DataStore.Dal.Pager;
using DataStore.Entity;
using Newtonsoft.Json.Converters;
using UtilTool;
n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyMovement : MonoBehaviour
{
private NavMeshAgent _nav;
private Transform _target;
private Enemy _enemy;
void Awake()
{
_nav = GetComponent<NavMeshAgent>();
_target... |
using UnityEngine;
using UnityEngine.UI;
public class FPS : MonoBehaviour {
public int avgFrameRate;
public float resolutionScale;
public Text display_Text;
void Start () {
Screen.SetResolution ( 720, 1280 , true);
Application.targetFrameRate = 60;
}
public void Update () {
float current = 0;
curren... |
// ----------------------------------------------------------------------------------------------------------------------------------------
// <copyright file="ConnectionMessageRequestBase.cs" company="David Eiwen">
// Copyright © 2016 by David Eiwen
// </copyright>
// <author>David Eiwen</author>
// <summary>
// This... |
using System;
using System.Threading.Tasks;
using AutoMapper;
using FictionFantasyServer.Data;
using FictionFantasyServer.Data.Entities;
using FictionFantasyServer.Models;
using FictionFantasyServer.Services.Interfaces;
namespace FictionFantasyServer.Services
{
public class NationalityService : INationalityService... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
namespace Proyek_Informatika.Models
{
public class PengumumanContainer
{
public int id { get; set; }
public byte target { ge... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class CreateCharacter : MonoBehaviour {
public BasePlayer newPlayer;
// Use this for initialization
void start () {
newPlayer = new BasePlayer ();
}
// Update is called once per frame
void Update () {
//
}
public void Char... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
namespace IssueCheque
{
public partial class ... |
using System.Collections.Generic;
namespace Probelms.Kattis.Com.Core
{
public abstract class ItemComparer:IComparer<IItem>
{
public int Compare(IItem x, IItem y)
{
if (x == null && y == null) return 0;
if (x == null) return 1;
if (y == null) return 1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServerKinect.DataSource
{
public interface IRgbPointerDataSource : IImagePointerDataSource
{
}
}
|
using System;
using RGB.NET.Core;
namespace RGB.NET.Devices.MadLed
{
/// <inheritdoc />
/// <summary>
/// Represents device information for a <see cref="MadLedRGBDevice"/> />.
/// </summary>
public class MadLedRGBDeviceInfo : IRGBDeviceInfo
{
#region Properties & Fields
/// <i... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShadesTriangles.Extensions
{
public static class ColorExtension
{
public static Color GetBrightnessByDepth(this Color color, double depth)
{
return Color.FromAr... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Graphics;
using Java.IO;
namespace AlertDialog
{
[Activity(Label = "AlertDialog", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle savedInstanc... |
using ForumMVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ForumMVC.Controllers
{
public class UserController : Controller
{
private ConnectionString _dbKategoria = new ConnectionString();
private UserEntities dbU... |
namespace Triton.Common
{
using log4net;
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
public class ArenavaluesReader
{
public Dictionary<string, int> ArenaValues = new Dictionary<string, int>();
private static ArenavaluesReader arenaval... |
namespace E01_MoblePhones
{
using System;
using System.Collections.Generic;
// 01. Define class:
public class GSM
{
// 06. Static field:
public static readonly GSM IPhone4S = new GSM("Iphone", "Apple", 1099);
private string model;
private string manufacturer;
... |
using Logs.Data.Contracts;
using Logs.Factories;
using Logs.Models;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
namespace Logs.Services.Tests.SubscriptionServiceTests
{
[TestFixture]
public class IsSubscribedTests
{
[TestCase(1, "d547a40d-c45f-4c43-99de-0... |
using BIADTemplate.Model;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.FormFlow;
using System;
using System.Threading.Tasks;
namespace BIADTemplate.Dialogs
{
[Serializable]
public class ProfileFormDialog: IDialog<string>
{
public Task StartAsync(IDialogContext context)
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Xunit;
// ReSharper disable ArgumentsStyleStringLiteral
// ReSharper disable Incon... |
using System.Runtime.InteropServices;
using Grisaia.Extensions;
namespace Grisaia.Asmodean {
partial class Anm {
/// <summary>
/// The header for an ANM animation file.
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 12, CharSet = CharSet.Ansi)]
internal struct ANMHDR {
/// <summar... |
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;
using TutteeFrame2.Controller;
using TutteeFrame2.Model;
using TutteeFrame2.Reports;
namespace TutteeFra... |
using Envision.MDM.Facility.Service.Interfaces;
using Envision.MDM.Location.Domain.AggregatesModel;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Envision.MDM.Facility.Service
{
public class AgentService : IAgentService
{
private readonly IAllAgentQueriesRepos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class CommandGiveItemsWhere : ACommand
{
public AbstractActor GiveTo { get; private set; }
public Func<ACarriableItem, bool> WhereCondition { get; privat... |
using UnityEngine;
namespace ReadyGamerOne.Rougelike.Person
{
/// <summary>
/// 拓展GameObject快速获取角色信息的引用
/// </summary>
public static class GameObjectExtension
{
public static T GetPersonInfo<T>(this GameObject obj)
where T : AbstractPerson
{
if (obj == nu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using irc_client.connection.requests;
namespace test_irc_client.requests {
[TestClass]
public class AddRequestTest {
[TestMethod]
public void ... |
// Lic:
// High/KittyHighJava.cs
// Kitty
// version: 23.01.04
// Copyright (C) 2019 Jeroen P. Broks
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.Linq;
using DAL;
namespace DKHocPhan
{
... |
using System.Collections.Generic;
namespace Authentication.ServerSide
{
public interface IUserCache
{
List<User> GetUsers();
}
class UserCache : IUserCache
{
public List<User> GetUsers() => new List<User>
{
new User { Username = "Admin", Password = "Admin" },
new User { Username = "User", Password =... |
using CT.Data;
using CT.Instance;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CT.UI.Upgrade;
using CT.Manager;
namespace CT.UI
{
public class UpgradeUIManager : MonoBehaviour
{
public static UpgradeUIManager instance;
public GameObject upgradeUI;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Odbc;
using System.Globalization;
using System.Linq;
using System.Web.Mvc;
using FantasyStore.Domain;
using FantasyStore.Infrastructure;
using FantasyStore.Migrations;
using FantasyStore.Services;
using FantasyStore.WebApp.Exte... |
using Swiddler.Common;
using Swiddler.Views.Fragments;
using System;
namespace Swiddler.Rendering
{
public class ConnectionFragment : Fragment
{
public override Type VisualType => typeof(ConnectionView);
public ConnectionBanner Model { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CIPCReceiver : MonoBehaviour
{
public int serverPort;
public string remoteIP;
public int myPort;
public string clinteName;
public int fps;
CIPC_CS_Unity.CLIENT.CLIENT client;
byte[] data;
[Hi... |
using OPAM.Model;
using System.Threading.Tasks;
namespace OPAM.Interface
{
public interface IUtility
{
string GetAppPath();
string GetExternalStoragePath();
string GetDeviceSerialNo();
Task<UserInformations> GetUserInfo();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hearthstone_helper
{
class Opponent
{
private string _Opponent { get; set; }
public Opponent(string opponent)
{
_Opponent = opponent;
}
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_SortingLayer : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
SortingLayer sortingLayer = default(SortingLayer);
LuaObject.pushValue(l, true... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class canCreateSmoke : MonoBehaviour {
public float cooldown;
private float _nextSmoke;
private float _stopSmokeAt;
private AudioSource _source;
public ParticleSystem particleSys;
public BoxCollider2D boxCollider;
... |
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;
using HáziKöltségNyilvántartó.ViewModels;
using HáziKöltségNyilvántartó.Exceptions;
namespace HáziKöltsé... |
using UnityEngine;
using System.Collections;
public class Projectile : MonoBehaviour
{
public float Lifetime;
private float LifetimeRemaining;
void Start ()
{
this.LifetimeRemaining = this.Lifetime;
}
void Update ()
{
this.LifetimeRemaining -= Time.deltaTime;
float scale = this.LifetimeRemaining / th... |
using Common;
using Prototypist.TaskChain;
using System;
using System.Collections.Generic;
using System.Linq;
namespace physics2
{
public class Game2
{
// this is a bit weird
// GameState and GameStateTracker
// why is my game state in two classes?
// what is gameStateTracker ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace SetupHelper
{
[RunInst... |
using System;
using Gtk;
namespace OpenCookly.Common.Modules
{
public interface IActivity<TParameters> : IActivity
{
Bin Start(TParameters parameters);
}
}
|
using System;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Security;
using Umbraco.Core.Services;
namespace Umbraco.Web.Models.Mapping
{
internal class MembershipScenarioResolver
{
private readonly IMemberTypeService _memberTypeService;
... |
using CefSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
using TweetDuck.Core.Controls;
using TweetDuck.Core.Other;
#if DEBUG
using System.Diagnostics;
using System.Reflection;
using TweetDuck.Core;
using TweetLib.Core.Features.Plugins;
#endif
na... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Medit1.Models.Configuration
{
public class TypeCruiseConfiguration:IEntityTypeConfiguration<TypeCruise>
{
public void Configure(EntityTypeBuilder<TypeCruise> builder)
{
builder.ToT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.