text stringlengths 13 6.01M |
|---|
using System;
namespace SuperSorter
{
public class ArrayGenerator
{
protected int n;
protected int max;
protected int seed;
public String name { private set; get; } = "Random";
public ArrayGenerator(int n, int max, int seed)
{
this.n = n;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MatchGameLogic : MonoBehaviour {
List<List<Card>> grid;
public int numTypes = 5;
private int numRows;
private int numCols;
private Card pickedCard =... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PhoneNumbers;
namespace Grubber.Web.Infrastructure
{
public class PhoneNumberAttribute : ValidationAttribute, IClientValidatable
{
public PhoneN... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 坦克生成器
/// </summary>
public abstract class TankSpawner : MonoBehaviour
{
[Header("【坦克生成器】")]
[Header("生成点")]
public Transform[] spwanPoints;
[Header("主要类型")]
public GameObject mainTank;
[Header("... |
using Android.Content;
using Android.Support.CustomTabs;
namespace Auth0.OidcClient
{
/// <summary>
/// Implements browser integration using Chrome Custom Tabs.
/// </summary>
public class ChromeCustomTabsBrowser : AndroidBrowserBase
{
public ChromeCustomTabsBrowser(Context context = null)... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
[Attribute38("EnterTheColiseumSpell")]
public class EnterTheColiseumSpell : Spell
{
public EnterTheColiseumSpell(IntPtr address) : this(address, "EnterTheColiseumSpell")
... |
namespace IoUring
{
public enum TimeoutOptions : uint
{
/// <summary>
/// Given timeout should be interpreted as relative value.
/// </summary>
Relative = 0,
/// <summary>
/// Given timeout should be interpreted as absolute value.
/// </summary>
A... |
/*
>>>----- Copyright (c) 2012 zformular ----->
| |
| Author: zformular |
| E-mail: zformular@163.com |
| Date: 2.4.2013 |
| |
╰==========================... |
using System.Data;
using TLF.Framework.Config;
namespace TLF.Framework.ControlLibrary
{
/// <summary>
///
/// </summary>
/// <remarks>
/// 2008-12-16 최초생성 : 황준혁
/// 변경내역
///
/// </remarks>
public partial class PCheckedListBoxEdit : DevExpress.XtraEditors.CheckedListBoxControl
... |
using UnityEngine;
using UnityEditor;
using YoukiaUnity.Graphics;
using YoukiaUnity.Graphics.FastShadowProjector;
[CustomEditor(typeof(GraphicsManager))]
public class GraphicsManagerEditor : UnityEditor.Editor
{
static Color green = new Color(0.4f, 1, 0.8f, 1);
public override void OnInspectorGUI()
{
... |
using System;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Web.Areas.Admin.ViewModels.Todoes;
using Web.Data;
using Web.Dtos;
using Web.Identity;
using Web.Models;
using Web.ViewModels.Reviews;
namespace Web.Areas.Admin.Cont... |
#region Copyright (C)
// ---------------------------------------------------------------------------------------------------------------
// <copyright file="HiddenFormToAcceptCloseMessage.cs" company="Smurf-IV">
//
// Copyright (C) 2012 Simon Coghlan (aka Smurf-IV)
//
// This program is free software: you can red... |
using System;
using ScrollsModLoader.Interfaces;
using UnityEngine;
using Mono.Cecil;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace ChatFilter
{
public class ChatFilter : BaseMod
{
private const string INFO_COLOR = "aa803f";
private const string FILTER_COLOR = "fde50d";
pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* http://bbbproject.sakura.ne.jp/wordpress/mitlicense
* @brief UI。ボタン。
*/
/** NUi
*/
namesp... |
using System;
using System.Runtime.InteropServices;
[Serializable]
public struct IntValue
{
public int Value;
public int Max;
public int Min;
//public int Random { get { return Value + MasterScript.rand.Next(Min, Max); } }
public float RatioValueMax { get { return Max < 1e-5f ? 0f : ((float)Valu... |
using UnityEngine;
using System.Collections;
public class ShootBullets : MonoBehaviour
{
//properties go here
public Vector3 size = new Vector3(0.25f,0.25f,0.25f);
public float Speed = 300; //how fast the bullet moves
public Rigidbody Projectile; //what he shoots, Note; must be set in Unity
public Transform mu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine.Events;
namespace COM3D2.SimpleUI
{
public interface IGenericDropdown : IControl, IObjectControlValue
{
IGenericDropdown ClearChoices();
IGenericDropdown Choice<T>(T value, string text="", s... |
using System;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace PICSimulator.View
{
/// <summary>
/// Interaction logic for ChangeMarkTextBlock.xaml
/// </summary>
public partial class ChangeMarkTextBlock : UserControl
{
public string Text
{
get
... |
using AshlinCustomerEnquiry.supportingClasses.brightpearl;
using System.IO;
using System.Net;
namespace AshlinCustomerEnquiry.supportingClasses.asi
{
/*
* A class that connect to ASI and retrieve company informaiton
*/
[System.Serializable]
public class Asi
{
// fields fo... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class UserValidator : AbstractValidator<User>
{
public Us... |
using BPiaoBao.Cashbag.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.Cashbag.Domain.Services
{
public interface IFundClientProxy
{
/// <summary>
/// 充值(银行)
/// </summary>
/// <param name="code"></param>
... |
using System;
using DependencyInjectionExample.Interfaces;
namespace DependencyInjectionExample.Classes
{
public class MultiplyCommand : ICommand
{
private readonly ICalculator _calculator;
public MultiplyCommand(ICalculator calculator)
{
this._calculator = calculator;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace FuiteAdmin
{
/// <summary>
/// Ecran d'affichage de tous les reports de fuite en fonction de leur état dans un tableau
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Odbc;
namespace SistemaPreguntas
{
public partial class alumno : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
... |
using MKService.ModelUpdaters;
using MKService.Updates;
using Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MKService.MessageHandlers
{
internal abstract class ServerMessageHandlerBase<TMessage, TQuery, TQueryComponent> : ISe... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EducationManual.Models
{
public class Student
{
[Key]
[ForeignKey("ApplicationUser")]
public string Id { get; set; }
public int ClassroomId { get; set; }
public C... |
// Author(s): UWBothell Cross Reality Collaboration Sandbox, Aaron Holloway
// Fall 2018
// Last Modified: 12/2/2018
using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Networkin... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Backend.WebApp.Migrations
{
public partial class RemoveGroupRole : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Drop... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using IdentityServer4.Services.InMemory;
using IdsvrMultiTenant.Services.MultiTenancy;
using Microsoft.AspNetCore.Http;
using System.Linq;
using System.Security.Claims;
using IdentityModel;
using IdentityServer4;
namespace IdsvrMul... |
// Copyright 2020 Google Inc. All Rights Reserved.
//
// 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 applica... |
using System;
using System.Collections.Generic;
using System.Text;
using LuizalabsWishesManager.Data.Repositories;
using LuizalabsWishesManager.Domains.Models;
using LuizalabsWishesManager.Domains.Repositories;
namespace LuizalabsWishesManager.Data.Repositories
{
public class WishProductRepository : RepositoryBas... |
using console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace ConsoleTestProj
{
/// <summary>
///This is a test class for _007_ContainerWithMostWaterTest and is intended
///to contain all _007_ContainerWithMostWaterTest Unit Tests
... |
using BlackJackDudekGueguen.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace BlackJackDudekGueguen.ViewModel
{
class GameViewModel
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/* Создать класс "Сотрудник" с полями: ФИО, должность, email, телефон, зарплата, возраст;
Конструктор класса должен заполнять эти поля при создании объекта;
Внутри класса «Сотрудник» написать метод, кот... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace лаба_5
{
class Paper : Plant
{
string vidPaper;
string color;
public string Color
{
get => color;
set
... |
using System;
using OpenCookly.Modules.Core;
using OpenCookly.Common.UI;
namespace OpenCookly.Modules.Core.UI.Models
{
public class IngredientModel : BaseEntityModel<Entities.Ingredient>
{
public virtual string Name { get; set; }
public virtual string Description { get; set; }
}
}
|
using System.Runtime.InteropServices;
namespace ww898.AELauncher.Impl.Interop
{
internal static unsafe class Advapi32Dll
{
private const string LibraryName = "advapi32.dll";
[DllImport(LibraryName, ExactSpelling = true, SetLastError = true)]
public static extern int OpenProcessToken(void* Pr... |
// -----------------------------------------------------------------------
// <copyright file="Dimensions.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.
// </copyright>
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Shapes;
using Xceed.Wpf.Toolkit;
namespace EntomoLabels
{
public class LabelSet
{
public str... |
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 SIPCA.CLASES.Models
{
[Table("DetalleCarrito")]
public class DetalleCarrito
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.PostProcessing;
public class PostProcessingInGame : MonoBehaviour
{
public static PostProcessingInGame Instance = null;
void Awake()
{
if (Instance == null)
Instance = this;
els... |
//-------------------------------------------------------------------
//版权所有:版权所有(C) 2010,Wakaoyun
//系统名称:
//作 者:dengqibin
//邮箱地址:wakaoyun@gmail.com
//创建日期:9/8/2010 10:41:44 AM
//功能说明:
//-------------------------------------------------------------------
//修改 人:
//修改时间:
//修改内容:
//------------------------... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public void Solo()
{
SceneManager.LoadScene("Solo Menu");
}
public void Multi()
{
}
public void Options()
{
}
public void Quit()
{
Application.Quit();
}
} |
using System;
namespace Ganss.Excel
{
/// <summary>
/// A caching factory of <see cref="TypeMapper"/> objects.
/// </summary>
public interface ITypeMapperFactory
{
/// <summary>
/// Creates a <see cref="TypeMapper"/> for the specified type.
/// </summary>
/// <param... |
using System;
using System.Collections.Generic;
using Sample.Domain.Shared;
namespace Sample.Domain.V2
{
public class Job
{
public Guid Id { get; set; }
public Customer Customer { get; set; }
public Status Status { get; set; }
public string Location { get; set; }
public... |
using System.Runtime.Serialization;
using BPiaoBao.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Reflection;
using BPiaoBao.Common;
namespace BPiaoBao.AppServices.DataContracts.DomesticTicket
{
public class FlightRespo... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Xamarin.Forms;
using static City_Center.Models.EventosResultado;
using GalaSoft.MvvmLight.Helpers;
using City_Center.ViewModels;
using City_Center.Clases;
using System.Linq;
using Xamarin.Forms;
namespace City_Center.Page.Sli... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace HangmanGame.App.Services.Interfaces
{
internal interface IWordsProvider
{
IReadOnlyCollection<string> GetWordCategories();
Task<IReadOnlyCollection<string>> GetWordsByCategoryOrEmptyAsync(string category);
Task... |
namespace CRM.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class CreateSomeEntities : DbMigration
{
public override void Up()
{
DropForeignKey("dbo.Offers", "CustomerId", "dbo.Customers");
DropForeignKey("dbo.Offers", "E... |
namespace YoctoScheduler.Core.ExecutionTasks.PowerShell
{
public struct Configuration
{
public string Script;
}
} |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
namespace EnhancedEditor
{
/// <summary>
/// Ends a foldout group began with <see cref="BeginFoldoutAttribute"/>.... |
using UnityEngine;
using System.Collections;
namespace Ph.Bouncer
{
public class DebugSceneName : MonoBehaviour
{
void Start()
{
UILabel label = GetComponent<UILabel>();
label.text = Application.loadedLevelName;
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace OMIKAS
{
public partial class AlloyAllForm : ContentPage
{
/// <summary>
/// Konstruktor okna z lista skladnikow stopowych
/// </summary>
public AlloyAllForm()
... |
using System;
using System.Text.RegularExpressions;
using Bjerner.LoremIpsum;
using Bjerner.LoremIpsum.Providers;
namespace WebApplication1 {
public partial class Default : System.Web.UI.Page {
protected void Page_Load(object sender, EventArgs e) {
LoremIpsumGenerator generator = new Lo... |
using amsdemo.Models;
using amsdemo.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace amsdemo.DAL.Interface
{
public interface IEmployeeRepository
{
IEnumerable<tblEmployee> GetAll();
tblEmployee Ge... |
using course_voiture.operation_publique;
using course_voiture.terrain;
using course_voiture.userinterface;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace course_voiture.voiture
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BPiaoBao.AppServices.Contracts.SystemSetting;
using BPiaoBao.AppServices.DataContracts.SystemSetting;
using BPiaoBao.Client.UIExt;
using GalaSoft.MvvmLight.Threading;
namespace BPiaoBao.Client.SystemSetting.ViewModel
{
/// <summar... |
namespace College.Model.Models
{
public class CollegeInstitution : BaseModel
{
public string Name { get; set; }
public string Address { get; set; }
public int CityId { get; set; }
public City City { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SniperGolf_ClubController : MonoBehaviour
{
public Transform clubPosition;
public SniperGolf_GolfHit golfController;
SniperGolf_PowerMinigameController minigame;
Vector3 targetPos;
Vector3 targRot;
Vecto... |
using MySql.Data.MySqlClient;
using ShopBillingApp.BAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ShopBillingApp.DAL
{
class ProductDAL
{
DB C = new DB();
public ... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using TryToCloneMy.Game;
using TryToCloneMe.Models;
namespace TryToCloneMe.UI.Components
{
public class GestureDrawing : MonoBehaviour
{
public GameObject PointElement;
List<GameObject> _HidenObjectsPool;
Li... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Select : MonoBehaviour
{
public GameObject outline;
public GameObject parent;
public bool unit;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per ... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.RazorPages;
using WebMongo.Model;
using WebMongo.Service;
namespace WebMongo.Pages
{
public class IndexModel : PageModel
{
private readonly MongoService _service;
public List<Formation> Formations { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public static class ConnectionString
{
//public static SqlConnection Connection { get; set; } = new SqlConnection("Data Source=vetontracksqls... |
using System.Collections.Generic;
using System.Linq;
namespace HaloSharp.Model
{
public class ValidationResult
{
public ValidationResult()
{
Messages = new List<string>();
}
public List<string> Messages { get; }
public bool Success => !Messages.Any();
}... |
using System;
using System.Collections;
using System.Diagnostics;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class SceneAnimation : LuaGameObject
{
public Animator animator;
public SpriteFade screenMask;
public float screenMaskFadeDuration = 1f;
private Coroutine checkEndCoroutine;
[Deb... |
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NetCoreWebApp.Controllers;
using NetCoreWebApp.Models;
using NetCoreWebApp.Models.Repositories;
using System.Collections.Generic;
namespace NetCoreWebAppTests
{
[TestClass]
public class HomeController... |
namespace Count_of_Given_Element_in_Array
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class CountOfGivenElementInArray
{
static void Main(string[] args)
{
//read the input and split into a... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using static System.Diagnostics.Debug;
namespace UnidebRSA.Algorithms
{
public static class RandomBitNumberGenerator
{
public static asyn... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace LoginRegistration
{
public partial class ChangePassword : System.Web.UI.Page
... |
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace OhSoSecure.Core.Security
{
public class HashedPassword
{
protected HashedPassword() {}
public HashedPassword(string password)
{
PasswordSalt = CreateSalt();
... |
using System;
using System.Collections.Generic;
#if NETSTANDARD1_1
namespace yocto
{
internal class ThreadLocal<T> where T : class
{
private readonly System.Threading.ThreadLocal<T> _threadLocal;
public ThreadLocal(Func<T> factory)
{
_threadLocal = new System.Threading.Thr... |
using FourSeafile.Extensions;
using System.Collections.Generic;
using System.Linq;
namespace FourSeafile.ViewModel
{
public partial class FileBrowserViewModel : ViewModelBase
{
public List<LibraryViewModel> Libraries
{
get
{
OnPropertyGet();
... |
using System;
using Microsoft.Win32.SafeHandles;
using SDL2;
namespace SharpDL.Graphics
{
internal class SafeFontHandle : SafeHandleZeroOrMinusOneIsInvalid
{
public SafeFontHandle(IntPtr handle) : base(true)
{
SetHandle(handle);
}
protected override bool ReleaseHand... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EWF.Util;
using System.Data;
using EWF.IServices;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using EWF.Application.Web.Controllers;
using Microsoft.AspNetCore.Authorization;
... |
using ATSBackend.Service;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace ATSBackend
{
class Program
{
static void Main(string[] args) =>
CreateHostBuilder(args).Build().Run();
public static IHostBuilder CreateHostBuilder(string[] args) =>
... |
using MvvmCross.Platform.Plugins;
namespace EsMo.Android.WeiBo.Bootstrap
{
public class ResourceLoaderPluginBootstrap
: MvxPluginBootstrapAction<global::MvvmCross.Plugins.ResourceLoader.PluginLoader>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Common;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Routing;
using Newtonsoft.Json.Linq;
namespace Redux.Controllers
{
[Route("api")]
public class R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bombaOffline : MonoBehaviour {
public GameObject padre;
public float poder;
public GameObject explocion;
// Use this for initialization
void Start ()
{
poder = padre.GetComponent<Poder>().poder;
}
// Update is ... |
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(BoxCollider2D))]
public class PointDrag : MonoBehaviour
{
private Vector3 screenPoint;
private Vector3 offset;
public Rigidbody2D rb;
public BoxCollider2D bc;
public BoxCollider2D bc2;
public SpriteRenderer spriteRenderer... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate_Main_L1 : MonoBehaviour {
public float speed = 10.0f;
private void Update(){
OrbitAround();
}
void OrbitAround(){
transform.Rotate(Vector3.forward * speed * Time.deltaTime);
}
} |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace BiPolarTowerDefence.Entities
{
public class BaseObject :GameComponent
{
protected readonly Game1 _game;
public Vector3 position;
public float width = 16;
public float height = 16;
public B... |
//
// 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;
using System.ComponentModel.DataAnnotations;
using DotNetNuke.Entities.Users;
using DotNetNuke.Services.Localization;
namespace Dnn.Persona... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameController : MonoBehaviour
{
public GameObject inventory;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Paddle : MonoBehaviour
{
public float speed = 5f;
private float input;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
input = I... |
namespace ReadyGamerOne.Utility
{
public static class IntExtension
{
/// <summary>
/// 获取Int数从右往左第Index位上的数字,只会返回 0 或 1
/// </summary>
/// <param name="self"></param>
/// <param name="index"></param>
/// <returns></returns>
public static int GetNumAtBinary... |
namespace WcfServiceWeekDays.Library
{
using System;
using System.ServiceModel;
[ServiceContract]
public interface IServiceWeekDays
{
[OperationContract]
string GetDayOfWeekInBulgarian(DateTime dateTime);
}
}
|
using GalaSoft.MvvmLight.Command;
using sample.wpf.library;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace sample.wpf
{
public class MainViewModel : GalaSoft.MvvmLight.ViewModelBase
{
private str... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class PlayerEntity : CharacterEntity
{
public int Experience;
private Dungeon dungeonStatus;
public GameObject basicAttack;
private bool attacking = false;
public CharacterEquipment equ... |
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.Menu
{
public partial class MenuEmpleado : Form
{
Inicio i... |
using System.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using CMkvPropEdit.Classes;
using System.Data;
using System.Windows.Forms;
namespace CMkvPropEdit.Helper
{
static class ExecuteService
{
... |
using bot_backEnd.DAL.Interfaces;
using bot_backEnd.Data;
using bot_backEnd.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.DAL
{
public class CityDAL : ICityDAL
... |
using System;
using System.Collections.Generic;
using System.Threading;
namespace GomokuEngine
{
public static class EvaluationConstants
{
public const int max = 1000000;
public const int min = -1000000;
static public string Score2Text(int evaluation)
{
string s1;
switch (evaluation) {
case E... |
using Microsoft.Xna.Framework.Content.Pipeline;
namespace MonoGame.Extended.Content.Pipeline
{
public class ContentLogger
{
public static ContentBuildLogger Logger { get; set; }
public static void Log(string message)
{
Logger?.LogMessage(message);
}
}
} |
using BPiaoBao.SystemSetting.Domain.Models.Businessmen;
using JoveZhao.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.SystemSetting.Domain.Services
{
public class StationBuyGroupDomainService : BaseDomainService
{
private const int _... |
using UnityEngine;
using System.Collections;
public class CanvasScript : MonoBehaviour {
bool m_bIsMoving = false;
public RectTransform m_RootPos;
public RectTransform m_RightPos;
public RectTransform m_LeftPos;
public RectTransform m_LeftFar;
private float m_MoveDuration ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyManager : MonoBehaviour
{
// Private Field
[SerializeField]
// Holds reference to game object that are considered enemies
private List<GameObject> enemyList;
// Public Field
public ... |
using System;
using System.Runtime.Serialization;
namespace PDTech.OA.Model
{
/// <summary>
/// DUTY_RISK_INFO:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class DUTY_RISK_INFO
{
public DUTY_RISK_INFO()
{ }
#region Model
private decimal _... |
using Cadastro.API.Interface;
using Cadastro.API.Model;
using Microsoft.Extensions.Options;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Cadastro.API.Data
{
public class ProdutoRepository : IProdutoRepository
... |
using console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ConsoleTestProj
{
/// <summary>
///This is a test class for _019_BuySellStocksTest and is intended
///to contain all _019_BuySellStocksTest Unit Tests
///</summary>
[TestClass()]
public class _... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.