text stringlengths 13 6.01M |
|---|
using MS539FinalProject.Models;
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 MS539FinalProject
{
public partial class BillsForm : Form
... |
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 IClips.Domain.Context.Entities
{
public class Usuario
{
public int UsuarioId { ... |
namespace Swan.Ldap
{
/// <summary>
/// Represents an Ldap Control.
/// <pre>
/// Control ::= SEQUENCE {
/// controlType LdapOID,
/// criticality BOOLEAN DEFAULT FALSE,
/// controlValue OCTET STRING OPTIONAL }
/// </pre>
/// </summary>
/// <see... |
using GalaSoft.MvvmLight.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FootballLeague.Helper
{
public class GetMvvmInstance
{
public static T GetInstance<T>(string keyval) where T : class
{
if (!S... |
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 药店报账工具
{
/// <summary>
/// 确认窗口
/// </summary>
public partial class Form2 : Fo... |
using System;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.Orchestrators.Interfaces;
using DFC.ServiceTaxonomy.GraphSync.Recipes.Interfaces;
using Microsoft.CodeAnalysis.CSharp.Scripting;
using Microsoft.CodeAnalysis.Scripting;
using M... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SnakeHead : MonoBehaviour {
private static SnakeHead _instance;
public static SnakeHead Instance
{
get
{
return _instance;
}
}
public List<Transfo... |
namespace Models.Enums
{
public enum UserRole
{
Administrator,
Regular
}
} |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace LibraryTask
{
public class Work
{
CancellationTokenSource _cts;
int _max;
int _ritardo;
//costruttore
public Work (int max, int ritardo, CancellationTokenSource cts)
{
_ma... |
using System;
using System.Text.RegularExpressions;
namespace _15_Melrah_Shake
{
public class _15_Melrah_Shake
{
public static void Main()
{
var text = Console.ReadLine();
var key = Console.ReadLine();
while (key.Length > 0)
{
va... |
using UnityEngine;
using System.Collections;
using FTLibrary.Time;
using System.Collections.Generic;
using FTLibrary.XML;
using System;
//玩家角色控制
public class PlayerAnimationControl : MonoBehaviourIgnoreGui
{
internal enum PlayerAniType
{
G_PlayerRun = 0, //光头强骑车
G_PlayerFire, ... |
using System.Collections.Generic;
using System.Linq;
using NBatch.Main.Core.Repositories;
namespace NBatch.Main.Core
{
public sealed class Job
{
private readonly IJobRepository _repo;
private readonly IDictionary<string, IStep> _steps;
public Job(string jobName, string connectionStrin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
using System.Threading;
namespace testConsole
{
class Program
{
static void Main(string[] args)
{
SerialPort myserial = new SerialPort();
... |
using System;
using System.Collections.Generic;
namespace Composite
{
public class CompoSite : Componente
{
private List<Componente> _componentes;
public CompoSite(string nome) : base(nome)
{
_componentes = new List<Componente>();
}
public ov... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace com.Sconit.PrintModel.INP
{
[Serializable]
[DataContract]
public partial class PrintInspectDetail : PrintBase
{
#region O/R Mapping Properties
[DataMember]
public Int32 Id { get; set; }... |
using NetheusLibrary.Commands;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using static NetheusLibrary.Model.LibraryModel;
namespace NetheusLibrary.Model
{
public class LibraryPopUpModel : ModelBase
{
private ObservableCollection<LibraryList>... |
using Akka.Actor;
using BlogReportingActors.Messages;
using System;
using System.Diagnostics;
namespace BlogReportingActors
{
/// <summary>
/// Actor handeling each individual user of the blog.
/// </summary>
public class UserActor : ReceiveActor
{
private Stopwatch _stopwatch;
pri... |
using System;
using DelftTools.Utils.Data;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
namespace SharpMap.Tests.TestObjects
{
public class SimpleFeature : Unique<long>, IFeature, IComparable
{
public SimpleFeature(double offset): this(offset, null)
{
}
public Simp... |
using System;
namespace State
{
class Program
{
static void Main(string[] args)
{
var loanProcessor = new LoanProcessingTool();
loanProcessor.SetCurrentProcessor(new HomeLoanProcessor());
loanProcessor.CheckLoanEligibility("TestUser");
... |
using System;
using System.Globalization;
namespace UtilLib.Extensions
{
public static class DateTimeExtensions
{
public static string ToFormattedDateTimeString(this DateTime input)
{
return input.ToString("dd/MM/yyyy hh:mm tt");
}
public static string ToFormattedD... |
using MailKit.Net.Smtp;
using MailKit.Security;
using MimeKit;
using MimeKit.Text;
using System;
namespace NewsDataFeed.Helpers
{
/// <summary>
/// Class handles the sending of email to an email address using MailKit package.
/// Email host is yandex where testing email address has been created.
/// <... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BGMManagerHome :MonoBehaviour
{
public GameObject BGMXmarkButton;
static public int BGMXmark;
// Start is called before the first frame update
void Start()
{
if(BGMManagerGame.BGMXmar... |
using Photon.Realtime;
using UnityEngine;
using UnityEngine.UI;
public class RoomViewElement : MonoBehaviour
{
[SerializeField] Text t_name;
[SerializeField] Button b_join;
private RoomInfo room;
public void Setup(RoomInfo room, System.Action<RoomInfo> callback)
{
t_name.text = room.Nam... |
using System;
namespace battleships.Models
{
public class Coordinate
{
public int X { get; set; }
public int Y { get; set; }
public Coordinate(int X, int Y)
{
this.X = X;
this.Y = Y;
}
public override bool Equals(object obj)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovementController : MonoBehaviour {
RoomLoaderController roomLoader = null;
protected bool facingRight = true;
protected Rigidbody2D rb;
protected Animator anim;
private bool grounded = false;
Transform groundC... |
using System.Drawing;
namespace Beeffective.ViewModels.CellMenu
{
public class PomodoroCellMenuItemViewModel : CellMenuItemViewModel
{
protected override Point Expanded => new Point(100, 163);
}
} |
using System;
using System.Collections.Generic;
using Uintra.Features.Links.Models;
namespace Uintra.Core.Member.Models
{
public class MentionModel
{
public Guid MentionedSourceId { get; set; }
public IEnumerable<Guid> MentionedUserIds { get; set; }
public Guid CreatorId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MS539FinalProject.Deliverables.Forms
{
public partial class RandomNumberF... |
using IrsMonkeyApi.Models.DB;
namespace IrsMonkeyApi.Models.DAL
{
public interface IGeoLocationDal
{
GeoLocation GetLocationByZip(string zipcode);
}
} |
using System.Collections.Generic;
using LegacyApp.Core.Models;
namespace LegacyApp.Core.Dao
{
public interface ITripDao
{
List<Trip> FindTripsByUser(User user);
}
} |
using System.Windows.Forms;
namespace Common
{
/// <summary>
/// Class for displaying error messages to the user.
/// </summary>
public partial class ErrorForm : Form
{
/// <summary>
/// Creates a new instance of ErrorForm.
/// </summary>
public ErrorForm()
{
InitializeComponent();
}
}
} |
namespace BlockchainNet.Test
{
using BlockchainNet.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class BlockchainTest
{
[TestMethod]
public void Blockchain_MineTest()
{
var blockchain = Blockchain.CreateNew();
blockcha... |
using System;
using System.Globalization;
using System.Windows.Data;
namespace Appnotics.Library.UI.Converters
{
/// <summary>
/// Returns the inverse value of a bool
/// </summary>
public class NotConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ParallelSerializer
{
public interface IScheduler
{
void QueueWorkItem(ISerializationTask task);
}
}
|
using gView.Framework.Geometry;
using gView.Framework.system;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gView.Framework.Data
{
public class BinaryTree2
{
protected Envelope _bounds;
protected int _maxLevels = 30... |
namespace Sind.Model
{
public class Indicador
{
public virtual int Id { get; set; }
public virtual string Nome { get; set; }
public virtual string CodigoBRS { get; set; }
public virtual string UnidadeMedida { get; set; }
public virtual bool Visivel { get... |
using UnityEngine;
using System.Collections;
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
public abstract class NetworkClient
{
private string currentHost = "localhost";
private int currentRemotePort = 0;
protected Socket client = null;
// public const int... |
using BandR;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading;
using System.Web;
using System.Windows.Forms;
namespace SP5000ItemLimitThresho... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PlayerController : MonoBehaviour
{
Rigidbody2D rigidbody2d;
float horizontal;
float vertical;
private int count;
public Text countText;
public Te... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.OleDb;
namespace CS350_BackendAPI
{
class LoginRegistration
{
//Database Connection Information
static string dataFileLocation = @"E:\1. University ... |
using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
//namespace WcfService2
//{
[ServiceContract]
[ServiceKnownType(typeof(A))]
[ServiceKnownType(typeof(B))]
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace Kingdee.CAPP.Model
{
/// <summary>
/// 类型说明:明细框单元格属性
/// </summary>
[Serializable]
public class CustomerCellStyle
{
/// <summary>
/// 卡片名称
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventAr... |
namespace MvcApp.Web.Services
{
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using BindingModels;
using Data.Common.Repository;
using Data.Models;
using ViewModels;
public class CategoriesServices
{
public bool IsNewCategoryValid(NewCategoryBinding... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.UI.WebControls;
using Sind.BLL;
using Sind.Model;
using Sind.Web.Publico.Helpers;
namespace Sind.Web.Cadastros
{
public partial class ApurarFechamentoMensal : System.Web.UI.Page
{
#region [ Propriedades ]
priv... |
using System;
using System.Net.Http;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Xamarin.Android.Net;
using NUnit.Framework;
namespace Xamarin.Android.NetTests
{
[TestFixture]
public class AndroidMessageHandlerTests : AndroidHandlerTestBase
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.PlayerLoop;
public class PlayRandomSound : MonoBehaviour
{
[SerializeField] private AudioClip[] audioClips;
private AudioSource audioSource;
private void Awake()
{
audio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LimenawebApp.Models
{
public class ResumeSO_DSD
{
public int ID_OrderDSD { get; set; }
public string ID_customer { get; set; }
public string CustomerName { get; set; }
public string I... |
using System;
using System.Windows.Forms;
using System.Drawing;
namespace MyGame
{
public class CormacTownButton : Button
{
public CormacTownButton ()
{
this.BackColor = Color.Black;
this.Font = new Font("Broadway", 16);
this.Width = 160;
this.Height = 40;
this.ForeColor = System.Drawing.Color.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Timeplan.BL;
namespace Timeplan.Database.Creator
{
public class DatabaseCreator
{
private readonly TimeplanEntities _db = new TimeplanEntities();
public void CreateProdDb(... |
using UnityEngine;
using System.Collections;
public class HomingTest : MonoBehaviour {
public float verticalSpeed;
public Transform target;
public GameObject meteor;
public GameObject restart;
public GameObject yScore;
public GameObject hScore;
public GameObject hScoreT;
public GameObject cam;
void Updat... |
using System.ComponentModel.DataAnnotations;
namespace BillsPaymentModels
{
public class BillingDetail
{
[Key]
public int Id { get; set; }
public int Number { get; set; }
public User Owner { get; set; }
}
} |
using FluentAssertions;
using MinesweeperLibrary;
using NUnit.Framework;
using System;
namespace Tests
{
[TestFixture]
public class NunitTests
{
//Testing CheckPositionOnBoard method
[Test]
public void CheckPositionOnBoard_ItsNotMine_ShouldBe1()
{
var checkPosi... |
using AlgorithmProblems.Geometry;
using AlgorithmProblems.Graphs.GraphHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Graphs
{
/// <summary>
/// The matrix is given with positive integers representing the e... |
using System.Collections.Generic;
using System.Linq;
using Properties.Core.Objects;
namespace Properties.Core.Extensions
{
public static class FeatureExtensions
{
public static Feature BedroomsOrDefault(this List<Feature> features)
{
return features.FirstOrDefault(f => f.FeatureTyp... |
using System;
namespace com.Sconit.Entity.ACC
{
[Serializable]
public partial class Permission : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
public string Code { get; set; }
public string Description { get; set; }
public string PermissionCategory { get; set;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PatronFabricaAbstracta
{
class LecheCoco:IProductoLeche
{
public void producir()
{
Console.WriteLine("subir al cocotero y bajar los cocos");
}
public string obtenerDatos()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public ParticleSystem explosinParticle;
public ParticleSystem dirtPartcle;
public AudioClip jumpSound;
public AudioClip crashSound;
public bool gameOver;
private... |
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
public abstract class EnemyMovement : MonoBehaviour
{
#region Variables
#region Components
protected Rigidbody2D m_rigidbody2D;
protected Collider2D m_collider2D;
protected SpriteRenderer m_spriteRenderer;
protected Animator m_animato... |
using UnityEngine;
public enum Direction
{
North,
South,
West,
East
}
public class Player : MonoBehaviour
{
// boolean
public bool disablePlayer = false;
public static bool isSinglePlayer = false;
public Item activeItem {
get
{
return _activeItem;
... |
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
namespace AKCore.Models
{
public class HeaderModel
{
public IList<ModelMenu> Menus { get; set; }
public bool LoggedIn { get; set; }
public string UserName { get; set; }
public string Curren... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlacementBlockControl : MonoBehaviour
{
private Vector3 position;
private Quaternion rotation;
// Start is called before the first frame update
void Start()
{
position = transform.position;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise10
{
class AirPlane : Vehicle
{
public bool WheelPosition { get; set; }
public AirPlane(string VehicleType) : base (VehicleType)
{
this.WheelP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chapter2
{
class Program
{
//Properties
static string firstName;
static string lastName;
static string birthDate;
static string firstNameTeache... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class InventoryManager : MonoBehaviour {
public List<GameObject> slotList;
private GameObject selectedTrapSlot;
private int selectedCount;
// Use this for initialization
void Start () {
s... |
using UnityEngine;
using System.Collections;
using VacuumShaders.TextureAdjustments;
public class Example_1_Texture : MonoBehaviour
{
//Variables //////////////////////////////////////////////////////////////////
public bool useRenderTexture;
public Adjust_GenerateGradientNoise noise = new Adjust_Genera... |
using Caliburn.Micro.Xamarin.Forms;
using RRExpress.Api.V1.Methods;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using RRExpress.AppCommon.Services;
using RRExpress.Service.Entity;
using System;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace RRExpress.View... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryProject
{
class RawMaterialOrder
{
//private int id;
//public int ID
//{
// get { return id; }
// set { id = value; }
//}
... |
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace TimeTableApi.Core.Entities
{
public class Generic
{
[BsonElement("createdDateTime")]
public DateTime CreatedDateTime { get; set; }
[BsonElement("isDeleted"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gibe.CacheBusting
{
public interface IRevisionManifest
{
bool ContainsPath(string path);
string GetHashedPath(string original);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class UI : MonoBehaviour
{
//Paneles de navegación
public GameObject menuPrincipal;
public GameObject pantallaInstrucciones;
public GameObject pantallaCreditos... |
// -----------------------------------------------------------------------
// <copyright company="Fireasy"
// email="faib920@126.com"
// qq="55570729">
// (c) Copyright Fireasy. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using Fireasy.Com... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTO.ITSDTO
{
public partial class TransferDTO
{
public int Id { get; set; }
public long TransferID { get; set; }
public Nullable<int> SatışID { get; set; }
... |
using System;
namespace PaymentContext.Shared
{
public class Class1
{
}
}
|
using System;
using InfinityScript;
using System.Collections.Generic;
public class nuke : BaseScript
{
private static int[] effects = new int[3];
private static int nukeTimer = 10;
private static int cancelMode = 0;
private static int nukeEmpTimeout = 60;
private static bool nukeIncoming = false;
... |
using System;
using System.Collections;
using System.Collections.Generic;
/*
* External dependencies, OAuth 2.0 support, and core client libraries are at:
* https://code.google.com/p/google-api-dotnet-client/wiki/APIs#YouTube_Data_API
* Also see the Samples.zip file for the Google.Apis.Samples.Helper classes at:
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FitApp.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace FitApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Recipe1View : ContentPage
... |
using System;
namespace Membership.Data
{
[Serializable]
public class City : BaseEntity
{
public string Name { get; set; }
public GeoZone GeoZone { get; set; }
public int? GeoZoneId { get; set; }
}
} |
using System;
namespace ODL.DomainModel.Common
{
public class Metadata
{
public Metadata(){}
public Metadata(DateTime? uppdateradDatum, string uppdateradAv, DateTime? skapadDatum, string skapadAv)
{
UppdateradDatum = uppdateradDatum;
UppdateradAv = uppdateradAv;... |
namespace Mashup.App.Models
{
using System.ComponentModel.DataAnnotations;
public class LoginModel
{
[Required(ErrorMessage = "Pole jest wymagane")]
[RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}", ErrorMessage = "Niewłaściwy format adresu email")]
[Display(Na... |
using System;
using System.Collections.Generic;
using NuGet;
using System.Linq;
namespace GtkNuGetPackageExplorer
{
public class DirectoryTreeBuilder
{
Dictionary<string, TreeNode> _nodes;
public DirectoryTreeBuilder()
{
}
public TreeNode Create(IPackage package)
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TestGr4d3.BOL;
using TestGr4d3.DAL.Contexto;
using TestGr4d3.DAL.IRepositorio;
namespace TestGr4d3.BLL
{
public class CalificacionRepo : BaseContext, ICalificacionRepo
{
public CalificacionRepo(D... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Events;
public class QTE_Main_Controller : MonoBehaviour
{
public bool licktriggered;
private int qteleavecounter;
private readonly QtePlayEvent ev_qteplay = new QtePlayEvent();
private readonly QteLeaveEvent ev_qtele... |
using UBaseline.Shared.Node;
using UBaseline.Shared.Property;
namespace Uintra.Core.UbaselineModels
{
public class GenericPropertiesCompositionViewModel : ICompositionViewModel
{
public PropertyViewModel<bool> IsDeleted { get; set; }
public PropertyViewModel<string> IntranetUserId { get; set; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*A prime number is any integer, or whole number,
greater than 1 that is only divisible by 1 and itself.
In other words, a prime number only has two factors, 1 and itself.*/
namespace prime_numbers
{... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Game : MonoBehaviour
{
public Canvas hud_Canvas;
public Canvas pause_Canvas;
public static int gridWidth = 10;
public static int gridHeight = 20;
public int ScoreOneLine = 40;
public int ScoreTwoLine = 100... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Quizlet_Server.Entities
{
public class BaiKiemTra
{
public int BaiKiemTraID { get; set; }
public string TenBaiKiemTra { get; set; }
public int HocPhanID { get; set; }
public virtual H... |
using System;
using System.Linq;
public class EnigmaMachine {
// https://en.wikipedia.org/wiki/Enigma_rotor_details#Rotor_wiring_tables
private static readonly string[] wheelConfigs = {
"JGDQOXUSCAMIFRVTPNEWKBLZYH",
"NTZPSFBOKMWRCJDIVLAEYUXHGQ",
"JVIUBHTCDYAKEQZPOSGXNRMWFL",
};
private const string reflec... |
using UnityEngine;
using System.Collections;
using UnityORM;
using System;
public class Sample : MonoBehaviour {
// Use this for initialization
void Start () {
SqliteInit.InitSqlite();
FieldLister lister = new FieldLister();
UserData[] data = new UserData[2];
data[0] = new UserData();
data[0]... |
using NASTYADANYA;
using NUnit.Framework;
namespace NASTYADANYATest
{
[TestFixture]
public class MultiplicationTest
{
[Test]
public void CalculateTest()
{
ITwoArgumentsCalculator calcultor = new Multiplication();
double actual = calcultor.Calculate(8, 2);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class InputMobile : IInput
{
public float GetHorizontalAxis()
{
return Input.acceleration.x;
}
public bool GetJumpButton()
{
return Input.GetMouseButton... |
using System.Reflection;
[assembly: AssemblyTitle("DebugMode")]
[assembly: AssemblyVersion("1.9.4")]
|
using CaseManagement.DataObjects;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Web;
namespace CaseManagement.Configurations
{
public class AppUserConfiguration : EntityTypeConfiguration<AppUser>
{
public AppUserConfigurati... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abhs.Common.Enums
{
/// <summary>
/// 系统标识
/// </summary>
public enum EnumSystemFlag
{
Math = 1, //数学
Phys... |
using UnityEngine;
using System.Collections;
public class PlayController : MonoBehaviour
{
private static GameObject s_zoneBasePrefab = null;
private static GameObject s_zoneEarthPrefab = null;
private static GameObject s_zoneNormalPrefab = null;
private static GameObject s_itemCloudPrefab = nul... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PriestsAndDevils;
public class SceneController
{
public int round ; //回合数
public int total ; //总飞碟数
public int score ;//得到的分数
private static SceneController sceneCtrl;
public SceneController() {//用于SceneControl... |
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 RemoteServer
{
public partial class RemoteDebug : Form
{
public RemoteDebug()
... |
namespace BattleEngine.Modifiers
{
public enum ModifierType
{
MANNA_INCREASE,
BUILDING_ATTACK_RANGE,
BUILDING_DEFENSE,
BUILDING_MAGIC_DEFENSE,
BUILDING_DAMAGE,
UNITS_INCREASE,
UNITS_SPEED,
UNITS_DAMAGE,
UNITS_HP,
UNITS_DEFENSE,
... |
using System;
namespace YetAnotherBank
{
/// <summary>
/// Class representing a BankAccount.
/// The class contains methods for
/// <list type="bullet">
/// <term>Deposit</term> <description>Deposits a positive amount to the Bank Account</description>
/// <term>Wit... |
using System;
using UnityEngine;
using UnityEngine.UI;
namespace Project.Testing
{
public enum ItemAction
{
USE, UNLOCK, BURN, ATTACK
}
[CreateAssetMenu(fileName = "New item", menuName = "Testing/Item")]
public class Item : ScriptableObject
{
public event Action OnUse;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.