text stringlengths 13 6.01M |
|---|
using MKModel;
using System;
using System.Runtime.Serialization;
namespace MKService.Messages
{
public class MageKnightChanged : MessageBase
{
[DataMember]
public IMageKnightModel NewModel { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CaveCollapseScript : MonoBehaviour {
public GameObject Music;
public GameObject BossTheme;
public GameObject Player;
public GameObject cam;
public Sprite defaultPlayerSprite;
private bool debounce = f... |
namespace ShogunOptimizer.ArtifactSets
{
public class TenacityOfTheMillelith : ArtifactSet
{
public override double GetStat(StatType statType, Build build, Character character, int count)
{
switch (count)
{
case 2 when statType == StatType.HpPercent:
... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using Ws2008.MODEL;
using Ws2008.BLL;
using Ws2008.Common;
using System.Web.Hosting;
using System.IO;
using System.Drawing;
namespace Ws2008.WEB.Admin.special
{
public partial class edit : System.Web.UI.Page
{
prote... |
using AlienEngine.Core.Game;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlienEngine
{
public static class Application
{
/// <summary>
/// Stop the <see cref="Game"/>, dispose all
/// resources and close ... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace iTemplate.Web.Models.Data
{
[Table("AddressBook")]
public class AddressBook : BaseEntity
{
public virtual int AddressTypeId { get; set; }
[Required]
[Display(Name = "House No/Name")]
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FittSoft
{
class WorkoutPlanItem
{
public string Megnevezés { get; set; }
public int Ismétlés { get; set; }
public decimal Időtartam { get; set; }
publi... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace testDemo.Migrations
{
public partial class initial3 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Answers_AspNetUsers_ApplicationUser... |
using System;
using System.Runtime.Serialization;
namespace Jieshai.Exceptions
{
[Serializable]
public class EIMException : ApplicationException
{
protected EIMException()
{
this.ExceptionMessage = "操作异常!";
}
public EIMException(string message)
{
... |
using Game.Difficult;
using Game.Player.Weapon;
using Preferences;
using UnityAssets.Standard_Assets.CrossPlatformInput.Scripts;
using UnityEngine;
using UnityEngine.UI;
namespace Game.Player.Controller
{
public class Player2DControl : MonoBehaviour
{
public float MoveForce = 5, _firstammo, reloadRate, sens... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SlowDrop : MonoBehaviour
{
float speed;
Vector3 direction;
float min;
float max;
float units = 670.0f;
// Start is called before the first frame update
void Start()
{
//Set max to curre... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPD.Entities.Domain
{
public partial class PartialShipment
{
public Guid PartialShipmentId { get; set; }
public int Quantity { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rogue : BaseUnitFunction
{
// - Set range of the skill -
private int[] SkillRange = { };
// - Re write skill function -
public override void Unit_Skill()
{
base.Unit_Skill();
// Finding a n... |
using System.Collections.Generic;
using System.Linq;
using TLBOT.DataManager;
namespace TLBOT.Optimizator {
public class StutterFixer : IOptimizator {
static Quote[] Quotes = Program.FilterSettings.QuoteList.Unescape().Split('\n')
.Where(x => x.Length == 2)
.Select(x => {
... |
using System;
using System.Collections.Generic;
namespace RecipeLibrary.Extensions
{
public static class EnumberableExtensions
{
/// <summary>
// the method returns an IEnumberal of general type TSource
// and by naming it DistinctBy, an existing method, we make it an extension metho... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioTrigger : MonoBehaviour
{
protected bool triggered = false;
public virtual void OnTriggerEnter2D(Collider2D collision)
{
if (!triggered && collision.CompareTag("Player"))
{
GetCompo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SatisfactionGaugeSettings : MonoBehaviour
{
public static SatisfactionGaugeSettings Instance;
[Header("Base path transforms")]
public float MaxValue;
public List<InfluenceToValue> InfluenceToValues = new List... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Collider))]
public class VectorField2D : MonoBehaviour
{
public float strength = 0.3f;
private Bounds bounds;
void Awake()
{
bounds = gameObject.GetComponent<Collider>().bounds;
}
... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Kers.Models.Entities.KERScore
{
public partial class CountyEventProgramCategory
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using smartHome.Hubs;
using smartHome.Models;
namespace smartHome.Controllers
{
[Route("api/[controller]")]... |
/***********************************************************************
* Copyright(c)
* CLR 版本: 4.0.30319.34014
* 命名空间: BPiaoBao.AppServices.SystemSetting
* 文 件 名:OperationLogService.cs
* 创 建 人:duanwei
* 创建日期:2014/11/12 10:01:17
* 备注描述:
**********************************************... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using GitLabApiClient;
using GitLabApiClient.Models.Users.Responses;
using GitlabManager.Services.Gitlab.Model;
using GitlabManager.Utils;
using Newtonsoft.Json;
namespace GitlabManager.Services.Gitlab.Client
{
//... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace ProjetoListas
{
class Funcionario
{
public int Id { get; set; }
public string Nome { get; set; }
public double Salario { get; private set; }
public Funcionario(int id, stri... |
using ScreeningTesterWebSite.Models;
using System.Web.Mvc;
namespace ScreeningTesterWebSite.Controllers
{
public class PWSFullScreeningController : Controller
{
#region Step 1 - The Welcome Page
/// <summary>
/// Step 1 - The Welcome Page
/// Given the Global informat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
/*
namespace GameProgrammingPatterns
{
public interface ICommand
{
void execute();
}
public class JumpCommand : ICommand
{
publi... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
public class ParameterNameValue
{
public string name = "";
public float value = 0;
public ParameterNameValue(string nName, float nValue)
{
name = nName;
value = nVal... |
using System.Numerics;
using Tcgv.QuantumSim.Data;
using Tcgv.QuantumSim.Utility;
namespace Tcgv.QuantumSim.Operations
{
public abstract class UnaryOperation
{
public void Apply(Qubit q)
{
q.S.MultiplyBy(this, q.Id);
}
public Complex[,] GetMatrix(int bitLen, int bi... |
using System;
using System.Collections.Generic;
namespace Auction_proj.Models
{
public class Auction : BaseEntity
{
public int Auctionid { get; set; }
public string ProductName { get; set; }
public string Description { get; set; }
public int StartingBid { get; set; }
pub... |
using UnityEngine;
namespace PostProcess
{
[ExecuteInEditMode, ImageEffectAllowedInSceneView, RequireComponent(typeof(Camera))]
public sealed class MotionBlur : PostProcessBase
{
[SerializeField]
private float amount = 0.6f;
[SerializeField]
private bool extraBlur = false;
[SerializeField][Range(2, 8)]
... |
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int x) { val = x; }
* }
*/
public class Solution {
public bool IsSubtree(TreeNode s, TreeNode t) {
string s1 = Tree2String(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 Team_Agile.Pages
{
public partial class Login : Form
{
public Login()
... |
using SharpPcap;
using SharpPcap.Packets;
using SharpPcap.Protocols;
using System;
using System.Diagnostics;
using System.Net;
using System.Net.NetworkInformation;
namespace TrafficDissector.PortScanning
{
internal class SynConnectCall
{
#region Private Fields
private readonly int timeout;
... |
using HangmanGame.Common.Enums;
namespace HangmanGame.App.Services.Interfaces
{
internal interface IGameMediator
{
GameResult PlayGame(string category, string wordToGuess);
}
} |
using System;
using System.Collections.Generic;
namespace RestApiEcom.Models
{
public partial class TResReferencement
{
public TResReferencement()
{
TReferencePropriete = new HashSet<TReferencePropriete>();
}
public int RefId { get; set; }
public string Ref... |
using HangoutsDbLibrary.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.Services
{
public interface IServiceUserGroup
{
void AddUserToAGroup(int idGroup, int idUser);
List<Group> GetAllGroupsFromAUser(int userId);
... |
// 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.Diagnostics;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Microsoft.EntityFrameworkCore.Migrations.Operations
{
/// <summar... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class EnemySpawner : MonoBehaviour {
[SerializeField] private GameObject enemyPrefab;
private void Update() {
if (Input.GetKeyDown(KeyCode.Space)) {
V... |
using System;
using OverCR.StatX.Hooks.Keyboard;
using System.Collections.Generic;
namespace OverCR.StatX.Statistics
{
class KeyboardTracker
{
public int TotalKeyPresses { get; private set; }
public double TotalKeypressEnergy { get; private set; } // kilograms
public Dictionary<string,... |
using System;
namespace Nmli.Acml
{
class Blas : IBlas
{
#region Single
#region Level 1
public int imax(int n, float[] x, int incX) { return Externs.isamax(n, x, incX) - 1; }
public float dot(int n, float[] x, int incX, float[] y, int incY) { return Externs.sdot... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Project_CelineGardier_2NMCT2.model
{
class Stage
{
public Stage() { } // d... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using DBManager.DBASES;
using System.Net;
namespace DBManager
{
public partial class frmMySQLTunnelServerConnection : Bl... |
using CareerCup150.Chapter8_Recursion;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace CareerCupTest
{
/// <summary>
///This is a test class for _08_07_CoinsTest and is intended
///to contain all _08_07_CoinsTest Unit Tests
///</s... |
namespace LiskovSubstitutionMovementAfter.Contracts
{
public interface IMovable
{
void Move();
}
} |
using ALM.Empresa.Datos;
using ALM.Empresa.Entidades;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text;
using System.Net;
using System.IO;
namespace ALM.Empresa.Negocio
{
public class NCliente
{
public List<ECliente> ObtenerClientes(string razonS... |
using UnityEngine;
using System.Collections;
public class ValoresCamaraGameOver : MonoBehaviour {
public TextMesh reccord;
public TextMesh puntuacionGameOver;
private TextMesh marcadorPuntuacion;
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnEnable(){
Camera.main.GetC... |
using System;
using System.Collections.Generic;
using AorFrameworks.Tools;
using UnityEditor;
using UnityEngine;
namespace AorFramework.editor.tools
{
[CanEditMultipleObjects]
[CustomEditor(typeof(TransformRecorder))]
public class TransformRecorderEditor : Editor
{
public static void ClearDat... |
namespace UmbracoMapperified.Web.Infrastructure.Mapping
{
using Umbraco.Core.Models;
using Umbraco.Web;
using Zone.UmbracoMapper;
/// <summary>
/// Defines custom mapping for media files
/// </summary>
/// <remarks>
/// The mapping function defined in this class isn't currently used in... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Http.ModelBinding;
namespace WebApplication1.Models
{
public class Client
{
[Key]
public int ClientId { get; set; }
public DateTime Join {... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Asset.Core.Repository.Library.Repositorys.AssetsModels.AssetSetups;
using Asset.Models.Library.EntityModels.AssetsModels.AssetSetups;
using AssetSqlDatabase.Library.DatabaseContext;
using Core.Repository.Library.Infrastucture;
namesp... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UIAnchor : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int get_uiCamera(IntPtr l)
{
int result;
try
{
UIAnchor uIAnchor = (UIAnchor)LuaObject.checkSelf(l);
LuaObject.pushValue(l, true);
LuaObj... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DroneUI
{
public partial class MotorControl : UserControl
{
int currentPower =... |
using UnityEngine;
using RimWorld;
using Verse;
using System.Linq;
using System.Text;
using Verse.AI;
using System.Collections.Generic;
namespace Quests
{
public class Action_EndDialog : DialogAction
{
public Action_EndDialog()
{
}
public override void DoAction()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace yaruo_anka
{
class SkilData
{
ParamData param;
static int data;
//ID
int _ID;
//Skil名
string _Name;
//スキルによる変化値
int _Num... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(CircleCollider2D))]
public class TVSignal : MonoBehaviour {
public ChannelType channelType;
CircleCollider2D col;
void Start () {
col = GetComponent<CircleCollider2D> ();
}
void Update () {
}
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity
{
public class Exam
{
private String examId;
private String name;
private int startDate;
private int endDate;
private int isActive;
... |
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace CXUtils.Components
{
public class AudioManager : MonoBehaviour
{
[SerializeField] int _audioSourceAmount = 10;
[Range(0f, 1f)]
[SerializeField] float _mainVolume = 1f;
readonl... |
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Server
{
/// <summary>
/// Gives your class or handler an opportunity to interact with
/// the <see cr... |
using System;
using System.Collections.Generic;
using System.IO.Pipes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace Panacea.Interop
{
public class NamedPipeProcessInteropClient: ProcessInteropChannel, IProcessInteropClient
{
String _pipeName;
... |
using SampleTracker.Assets.Theme;
using Xamarin.Forms;
namespace SampleTracker.Assets.Styles
{
public static class LabelStyle
{
public static TLabel HeaderStyle<TLabel>(this TLabel label) where TLabel : Label
{
label.FontAttributes = FontAttributes.Bold;
label.FontSize ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace WorkOutTracker.workout
{
class SaveData
{
private List<CrossFit> _crossList;
public List<CrossFit> CrossList
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ObjectPool<T> where T : Behaviour
{
public int RemainCount { get { return stack.Count; } }
private Stack<T> stack = new Stack<T>();
public void Add(T instance)
{
stack.Push(instance);
}
pu... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using OfficeOpenXml.FormulaParsing.Utilities;
using UnityEngine;
using UnityEngine.Networking;
namespace ResourceSystem
{
public class AssetBundleStream : IResourceReader, IResourceWrit... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HomeGunController : MonoBehaviour
{
// fields for recoil effect
[Header("Recoil_Transform")]
public Transform RecoilPositionTranform;
public Transform RecoilRotationTranform;
[Space(10)]
[Header("Recoil... |
using System;
using System.Globalization;
namespace Tortuga.Chain.PostgreSql
{
public struct PostgreSqlObjectName
{
public static readonly PostgreSqlObjectName Empty;
private readonly string m_Database;
private readonly string m_Schema;
private readonly string m_Name;
... |
using System;
using System.Collections.Generic;
public class BitFlag
{
// Ref variant
protected const int BitSize = 32;
// Member variant
protected List<int> _Container;
protected bool _isBinary;
// Indexer
public virtual int this[int i]
{
get { return (_Container[getSafeContainIndex(i)] & getMask(i)) >> g... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace SharpExercises.LINQ
{
internal class MultipleFrom
{
private static readonly char[] Figures = "23456789TJQKA".ToCharArray();
private static readonly char[] Suites = "SHDC".ToCharArray();
public static void Lin... |
namespace BarberShop.Core.Entities
{
public class EmployeeSubordinate
{
public long EmployeeID { get; set; }
public Employee Employee { get; set; }
public long subordinateID { get; set; }
public Employee Subordinate { get; set; }
}
} |
namespace Controls
{
public class PasswordChangedEventArgs
{
public bool IsValid { get; set; }
public PasswordChangedEventArgs()
{ }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using KModkit;
using RedHerringSL;
public class RedHerring : MonoBehaviour
{
public KMBombInfo Bomb;
public KMAudio Audio;
public KMSelectable Chungun;
... |
using Autofac;
using Autofac.Integration.Mvc;
using Autofac.Integration.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Tasks.Infrastructure.Autofac;
namespace Tasks.Infrastructure.Configuration
{
public sta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model.Locale;
using Model.Security.MembershipManagement;
using Model.InvoiceManagement;
using Business.Helper;
using Model.DataEntity;
using Uxnet.Web.Module.Common;
using Sy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tarea1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("digite cinco numeros enteros para saber cual es el mayor");
... |
using FlickrNet;
using ModernCSApp.Services;
using ModernCSApp.Views;
using SumoNinjaMonkey.Framework.Controls.DrawingSurface;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
usi... |
using System;
using System.Security.Cryptography;
using System.Text;
using System.Text.Unicode;
using System.Xml;
namespace NobuENC
{
class Program
{
static void Main(string[] args)
{
bool Cont = true;
while (Cont == true)
{
Console.WriteLin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using static AtapyTestTask.Translator;
namespace AtapyTestTask
{
class Program
{
static void Main()
{
List<Item> items = GetItemsList();
/* all categories and subcategories of go... |
using System;
using Strategy.Interface.Duckling;
namespace Strategy.Quack.Duckling
{
class CannotQuack : IQuack
{
public void Quack()
{
Console.WriteLine("'Quack-quack'? Not today...");
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace cataloguehetm.ViewModels
{
public class ShopViewModel
{
public Shop shop { get; set; }
}
} |
namespace Sample.Domain.Shared
{
public interface ICreditVerificationService
{
bool IsValidCreditCard(string nameOnCard, string cardNumber);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TQVaultAE.GUI.Models;
internal enum CsvDelimiter
{
[Description(",")]
Comma,
[Description("\t")]
Tab,
[Description("|")]
Pipe,
[Description(":")]
Colon,
... |
using Xunit;
namespace NullableExtensions.Test {
public class NullableExtensionsTests {
class PointC {
public int X { get; }
public int Y { get; }
public PointC(int x, int y) {
this.X = x;
this.Y = y;
}
}
str... |
namespace E06_StringsAndObjects
{
using System;
public class StringsAndObjects
{
public static void Main(string[] args)
{
// Declare two string variables and assign them with Hello and World.
// Declare an object variable and assign it with the concatenation of
... |
using lauthai_api.Models;
using Microsoft.EntityFrameworkCore;
namespace lauthai_api.DataAccessLayer.Data
{
public class LauThaiDbContext : DbContext // tạo thử 2 : Entity framework core và là nơi lấy dữ liệu từ sql lên
{
// contructor khởi tạo
public LauThaiDbContext(DbContextOptions<LauTha... |
using System;
using UnityEngine;
namespace RO
{
public interface IABManagement
{
int LoadedSAB
{
get;
}
int CachedBundle
{
get;
}
bool IsLoaded(BundleInfo key);
SharedLoadedAB AddLoadedBundle(BundleInfo key, AssetBundle ab, bool asyncMode);
void UnLoadBundle(BundleInfo key, bool b);
Sh... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business.Helper;
using Model.DataEntity;
using Model.Security.MembershipManagement;
using Utility;
using Uxnet.Web.WebUI;
using System.Drawing;
using Mode... |
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Example2.ViewModel
{
public class UserVM:ViewModelBase
{
private string name;
private ObservableCollecti... |
public interface IVehicle
{
string Start();
string Accerlate();
string Stop();
} |
namespace OmniGui
{
using Zafiro.PropertySystem;
public class OmniGuiPropertyEngine : PropertyEngine
{
public OmniGuiPropertyEngine() : base(o => ((IChild)o).Parent)
{
}
}
} |
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Documents;
using Microsoft.Win32;
namespace dotnetCampus.YmlTool
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
... |
using System;
using gdalconst_csharp_core;
namespace OSGeo.GDAL
{
public class ColorTable : IDisposable
{
private HandleRef swigCPtr;
protected bool swigCMemOwn;
protected object swigParentRef;
public ColorTable(IntPtr cPtr, bool cMemoryOwn, object parent)
{
this.swigCMemOwn = cMemoryOwn;
this.swi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public Transform target;
public Vector3 cameraOffset;
public float smoothFactor = 0.4f;
private void Start()
{
cameraOffset = transform.position - target.transf... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game1
{
class MapTools
{
public static float getXMultiplier()
{
return (float)Math.Round(Vector2.Transform(WorldI... |
using UnityEngine;
[ExecuteInEditMode]
public class NormalVisualizerWithGizmo : MonoBehaviour
{
#region Enum
public enum Type
{
Vertex,
Surface
}
#endregion Enum
#region Field
public Type drawType = NormalVisualizerWithGizmo.Type.Surface;
[Range(0f, 1)]
public f... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Inspinia_MVC5_SeedProject.Models;
namespace Inspinia_MVC5_SeedProject.CodeTempl... |
namespace Umbraco.Core.Components
{
[RuntimeLevel(MinLevel = RuntimeLevel.Run)]
public sealed class RelateOnCopyComposer : ICoreComposer
{
public void Compose(Composition composition)
{
composition.Components().Append<RelateOnCopyComponent>();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Karkas.Ornek.Bs.Ornekler;
using Karkas.Ornek.Dal.Ornekler;
namespace Karkas.Ornek.ConsoleApp.Testler
{
[TestFixture]
public class TransactionOrnekMusteriTest
{
public voi... |
using System;
namespace ShogunOptimizer.Characters
{
public class Itto : Character
{
public bool BurstActive;
public Itto()
{
BaseHp = 13707;
BaseAtk = 191;
BaseDef = 930;
AscensionStat = .242;
AscensionStatType = StatType.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ex_Polynômes
{
class Monome //classe Monome
{
// deux variables d'instance
private double _coefficient;
private int _exposant;
public Monome _precedent;
public... |
using System;
using System.Data.Entity;
namespace jcTM.WebAPI.DataLayer.Entities {
public partial class jctmEntities {
public override int SaveChanges() {
foreach (var item in ChangeTracker.Entries()) {
switch (item.State) {
case EntityState.Deleted:
... |
namespace Emanate.Delcom.Admin.Profiles
{
/// <summary>
/// Interaction logic for ProfileControl.xaml
/// </summary>
public partial class DelcomProfileView
{
public DelcomProfileView()
{
InitializeComponent();
}
}
}
|
using System;
using System.Linq;
using UnityEditor;
using UnityEngine;
public class CreateSpecialField : EditorWindow
{
internal static string baseTypeName;
internal static string targetId;
private string[] typeNames;
private Type[] types;
private int ind = 0;
void Awake()
{
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.