text stringlengths 13 6.01M |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
using Microsoft.Win32;
using Kingdee.CAPP.Common.FileRegister;
namespace Kingdee.CAPP.Uninstall
{
[RunInstaller(true)]
public partial class CADCuxUnins... |
using System;
using System.Runtime.Serialization;
using Xero.Api.Common;
namespace Xero.Api.Core.Model
{
[Serializable]
[DataContract(Namespace = "")]
public sealed class Item : HasUpdatedDate, IHasId
{
[DataMember(Name = "ItemID", EmitDefaultValue = false)]
public Guid Id { get; set; }
... |
using NGeoNames.Entities;
using System;
using System.Globalization;
namespace NGeoNames.Parsers
{
/// <summary>
/// Provides methods for parsing a <see cref="CountryInfo"/> object from a string-array.
/// </summary>
public class CountryInfoParser : BaseParser<CountryInfo>
{
private static ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerUpgrades : MonoBehaviour {
PlayerController controller;
public Text plasmaMembraneText;
public Text locomotionText;
public Text HomeostasisText;
public int plasmaMembraneLvl = 1;
public int... |
using System;
namespace ScriptKit
{
public delegate IntPtr JsNativeFunction(IntPtr calle, bool isConstructCall, IntPtr arguments, ushort argumentCount, IntPtr callbackState);
}
|
using Chess.v4.Models;
using Chess.v4.Models.Enums;
using Common.Responses;
using System.Collections.Generic;
namespace Chess.v4.Engine.Interfaces
{
public interface IMoveService
{
OperationResult<StateInfo> GetStateInfo(GameState newGameState, int piecePosition, int newPiecePosition);
StateI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.IO;
using System.IO.IsolatedStorage;
using Microsoft.Phone.Controls;
using System.Globalization;
using System.Resources;
using System.Windows.Media.Imaging;
using Microsoft.Phone.Shell;
... |
// <copyright file="FirstTaskTest.cs" company="MyCompany.com">
// Contains the solutions to tasks of the 'Methods in detail' module.
// </copyright>
// <author>Daryn Akhmetov</author>
namespace Methods_in_details_Tests
{
using System;
using Methods_in_detail;
using NUnit.Framework;
/// <summary>
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimCorp_test_task
{
public class Investments : IInvestments
{
public List<PaymentHistory> GetTheAmountOfInterestFromTheInvestment(DateTime agreementDate,
... |
using gView.Framework.Data;
using gView.Framework.Data.Filters;
using gView.Framework.Geometry;
using System;
using System.IO;
using System.Text;
namespace gView.Framework.OGC.WFS
{
public class GetFeatureRequest
{
static public string Create(IFeatureClass fc, string typeName, IQueryFilter filter, stri... |
using System;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestHello
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");
int myInt... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ServiceEventLogging;
using ServiceEventLogging.Events;
using ServiceEventLoggerTests.Loggers;
using Servi... |
using System.Xml;
using System.Xml.Serialization;
using Breeze.Helpers;
using Breeze.Screens;
using Breeze.Services.InputService;
using Breeze.AssetTypes.DataBoundTypes;
using Breeze.AssetTypes.XMLClass;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Breeze.AssetTypes
{
public cl... |
namespace EPI.Searching
{
/// <summary>
/// Assume you have a sorted array, A of distinct integers, return an index i such that A[i] == i
/// </summary>
public static class BinarySearchEntryEqualToIndex
{
public static int SearchEntryEqualToItsIndex(int[] sortedArrayWithDistinctValues)
{
int left = 0;
i... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServiceEventLogging.Events
{
public sealed class ServiceEventSource : EventSource
{
private static ServiceEventSource source = new ServiceEven... |
using System;
namespace CommandPattern.Devices
{
/// <summary>
/// ³µ¿âÃÅ
/// </summary>
public class GarageDoor
{
public void Up()
{
Console.WriteLine("GarageDoor is open.");
}
public void Down()
{
Console.WriteLine("GarageDoor is cl... |
using Akka.Actor;
using Akka.Configuration;
using NLog;
using NLog.Config;
using NLog.Targets;
using Topshelf;
using Topshelf.HostConfigurators;
namespace ConnelHooley.DirectoryBackupService.Shared
{
internal static class Logging
{
static Logging()
{
var config = new LoggingConfigu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using DAL;
namespace HotelTeacher.Adminhyl.News
{
public partial class NewsPublish : System.Web.UI.Page
{
protected void Page_Load(object sender, Ev... |
using System;
using System.Collections.Generic;
namespace KingUtils
{
/// <summary>
/// Extension methods for dictionaries.
/// </summary>
public static class DictionaryExtensions
{
#if !NET5_0_OR_GREATER
/// <summary>
/// Returns the value associated with the specified key, or the... |
using DamianTourBackend.Core.Entities;
using System;
using System.Collections.Generic;
namespace DamianTourBackend.Core.Interfaces
{
public interface IUserRepository
{
User GetBy(string email);
User GetById(Guid id);
void Add(User user);
void Delete(User user);
IEnumera... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TsFromCsGenerator.Model
{
class Class
{
public string Name { get; set; }
public IEnumerable<Property> Properties { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using theiacore.Models;
using theiacore.Filters;
using ObjectDetect;
namespace theiacore.Controllers
{
public class HomeController : Controller
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SimpleRESTChat.Entities.Enumeration
{
public enum UserAvailabilityStatus
{
Busy,
Available,
DoNotDisturb,
Away,
BeRightBack,
Unknown,
Offline,
FreshRegistered,
D... |
namespace com.Sconit.Service.Report
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NPOI.HSSF.UserModel;
public interface IReportMgr
{
void WriteToClient(string reportTemplateFolder,string template, IList<object> list, String fileName... |
using System;
using AutoService.Core.Contracts;
using AutoService.Core.Validator;
namespace AutoService.Core.Commands
{
public class ListWarehouseItems : ICommand
{
IDatabase database;
private readonly IValidateCore coreValidator;
private readonly IWriter writer;
private readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
using System.Windows.Forms;
namespace Kingdee.CAPP.Common.FileRegister
{
public class FileTypeRegister
{
///使文件类型与对应的图标及应用程序关联起来。
public static void RegisterFileType(FileTypeRegInfo fil... |
using System.Windows.Automation.Peers;
namespace Crystal.Plot2D.Common
{
public class PlotterAutomationPeer : FrameworkElementAutomationPeer
{
public PlotterAutomationPeer(PlotterBase owner)
: base(owner)
{
}
protected override AutomationControlType GetAutomationControlTypeCore() => Automat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum GunType
{
PISTOL,
SHOTGUN,
AK47,
}
public class Gun : MonoBehaviour
{
[SerializeField]
float outerRadius = 2.5f;
[SerializeField]
Transform droog;
[SerializeField]
GunType type;
[... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace HospitalSystem.Models.Mapping
{
public class charge_recordMap : EntityTypeConfiguration<charge_record>
{
public charge_recordMap()
{
// Primary Key
this.H... |
using Inter.Runner;
using NUnit.Framework;
namespace Inter.Tests
{
public class CalculatorTest
{
[Test]
public void A_and_B()
{
var calculator = new Calculator();
var res = calculator.Calc(1, 2);
Assert.AreEqual(3, res);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using KulujenSeuranta.Models;
using KulujenSeuranta.ViewModels;
using KulujenSeuranta.Interfaces;
using KulujenSeur... |
using Coldairarrow.Business.Sto_ProManage;
using Coldairarrow.Entity.Sto_ProManage;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using static Coldairarrow.Business.Sto_ProManage.Pro_ProjectMaterielBusiness;
namespace Coldairarrow.Web
{
public class Pro_ProjectMater... |
using FrbaOfertas.AbmCliente;
using FrbaOfertas.Helpers;
using FrbaOfertas.Model;
using FrbaOfertas.Model.DataModel;
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.Win... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LinkedListLibrary;
namespace MyLinkedListLibraryTest
{
class Program
{
static void Main(string[] args)
{
var intList = new LinkedListLibrary.LinkedList<int>();
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace WebApp.Migrations
{
public partial class AtualizaModel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_Pessoas",
table:... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerTracing : MonoBehaviour
{
private GameObject playerCam;
void FixedUpdate()
{
playerCam = GameObject.FindGameObjectWithTag("Player");
if (playerCam != null)
{
transform.position = new Vector3(playerCam.t... |
using Core.Infrastructure;
namespace Core
{
/// <summary>
/// Represents a common helper
/// </summary>
public partial class CommonHelper
{
#region Properties
/// <summary>
/// Gets or sets the default file provider
/// </summary>
public static IProjectFile... |
using System;
public class Damage
{
public float damage;
public int penetration;
public Damage (float dmg, int pnt)
{
if (dmg < 0) damage= 0; else damage = dmg;
if (dmg < 0) penetration = 0; else penetration = pnt;
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Quantum.Simulation.Simulators;
namespace Microsoft.Quantum.Samples.H2Simulation
{
class Program
{
static async Task Main(str... |
namespace BudgetHelper.DataTypes
{
public class CategoryMapping
{
public CategoryMapping(string establishmentName, string categoryName)
{
EstablishmentName = string.Copy(establishmentName);
CategoryName = string.Copy(categoryName);
}
public string EstablishmentName { get; }
public string CategoryNam... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.FileInfo
{
public class ShareEntity
{
/// <summary>
///编号
/// </summary>
... |
using FluentValidation;
using OnboardingSIGDB1.Domain.Utils;
using System;
namespace OnboardingSIGDB1.Domain.Empresas.Validators
{
public class EmpresaValidator : AbstractValidator<Empresa>
{
public EmpresaValidator()
{
RuleFor(e => e.Nome)
.NotEmpty()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WinterIsComing.Models.Spells
{
public class FireBreath:Spell
{
private const int fireBreathEnergy = 30;
public FireBreath(int damage)
: base(damage,fireBre... |
using System.Web;
using Profiling2.Domain.Prf.Sources;
namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels
{
public class SourceFileDataViewModel
{
public int Id { get; set; }
public string SourceName { get; set; }
public HttpPostedFileBase FileData { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web;
using Microsoft.ProjectOxford.Face;
using Microsoft.ProjectOxford.Face.Contract;
using Office.Common;
using Office.Data.Entities;
namespace Office.BusinessLogic.Services
{
public class PersonService
{
FaceS... |
/*****************************************
*
* Base Class for All Entities that are considered
* Characters, Players, NPCs Enemies
*
*****************************************/
using BP12;
using DChild.Gameplay.Combat.StatusEffects;
using Sirenix.OdinInspector;
using UnityEngine;
using BP12.Events;
using DChild.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
public static int greenHitCount;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
... |
using GalwayTourismGuide;
namespace GalwayTourismGuide.Views
{
public sealed partial class HistoryDetailPage : PageBase
{
}
}
|
using Pe.Stracon.SGC.Cross.Core.Base;
namespace Pe.Stracon.SGC.Cross.Core.Exception
{
/// <summary>
/// Infrastructure Exception
/// </summary>
/// <remarks>
/// Creación: GMD 22122014 <br />
/// Modificación: <br />
/// </remarks>
public class InfrastructureLayerException... |
using System;
namespace Fuzzing.Fuzzers.Impl
{
public class IntegerFuzzer : TypeFuzzer<int>
{
private const int IntegerSize = sizeof (int);
public override int Fuzz()
{
var data = new byte[IntegerSize];
RandomNumberGenerator.GetBytes(data);
var result = BitConverter.ToInt32(data, 0);
return resu... |
using System;
using System.Collections;
using System.Drawing;
using System.Windows.Forms;
namespace BattleShip
{
public partial class Form1 : Form
{
private PictureBox[] _playerPicBox;
private PictureBox[] _pcPicBox;
private string[] _playerGrid;
private string[] _pcGrid;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace numberguessgame
{
class Program
{
static void Main(string[] args)
{
Random random = new Random();
int ComputerGuess;
ComputerGuess =... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace AuthDemo.Migrations
{
public partial class InsertedRolesTable2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "IdentityUserRole<G... |
using DChild.Gameplay.Combat;
using UnityEngine;
namespace DChild.Gameplay
{
public interface IFXInstantiation : IGameplaySubroutine
{
ParticleFX InstantiateFX(GameObject fx, Vector2 position);
ParticleFX InstantiateStatusFX(string name, Vector2 position);
ParticleFX InstantiateDamageF... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class treeMove : MonoBehaviour
{
public GameObject enemy;
public float randomX1,randomX2,randomY,randomR,randomspd;
public float Spd = 1;
int life,key;
void Start()
{
}
// Update is called o... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Teleporter : MonoBehaviour
{
public bool isActive = false;
public GameObject cover;
private void OnTriggerStay2D(Collider2D collision)
{
if (collision.gameObject.tag =... |
using Microsoft.Xna.Framework;
using ProjectMini.src.assets;
using ProjectMini.src.engine;
using ProjectMini.src.game;
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectMini.src.terrain
{
public class Chunk : GameObject
{
public const int v_chunkSize = 10;
pu... |
using InRule.Authoring.Commands;
using InRule.Authoring.Windows;
using InRule.Repository;
namespace InRuleLabs.AuthoringExtensions.GenerateSDKCode.Features.GenerateSDKCode
{
public class ShowSDKCodeCommand : DefCommandBase
{
public IIrAuthorShell IrAuthorShell { get; set; }
public ShowSDKCod... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebApiAngularEcommerce
{
public class Product
{
[Required]
[MinLength(5)]
public string Name... |
using Infra.Model;
using Microsoft.Azure.Cosmos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infra.Repositorios
{
public class TodoItemRepositorioCosmos
{
private string connectionString = "AccountEndpoint=ht... |
namespace CubicMessages
{
using System;
using System.Text;
using System.Text.RegularExpressions;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
var line = Console.ReadLine... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShapeLibrary
{
public class Rectangle : Quadrilateral, IShapeCalc
{
public Rectangle(string sColour, double Length, double Width) : base(sColour, Length, Width, Length, Width)
... |
using Microsoft.AspNetCore.Hosting;
using Quizlet_Server.Entities;
using Quizlet_Server.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace Quizlet_Server... |
using System;
using System.Collections.Generic;
using Windows.UI.Xaml.Controls;
namespace SampleUWP
{
// Enumeration used in class and various menu lists below.
public enum MenuSymbolType { text, glyph }; // If text, use resource "fontText"=Segoe UI. if glyph, use resource "fontSymbol"=Segoe MDL2 Asset... |
using Sentry.Extensibility;
namespace Sentry.Protocol.Envelopes;
/// <summary>
/// Represents a task producing an object serializable to JSON format.
/// </summary>
internal sealed class AsyncJsonSerializable : ISerializable
{
/// <summary>
/// Source object.
/// </summary>
public Task<IJsonSerializab... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.Nav
{
public class NavEntity
{
/// <summary>
///ID
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityClass
{
public class Shippers
{
string _ID;
string _CompanyName;
string _Phone;
public string ID
{
get
{
... |
using System.Collections.Generic;
using System.Linq;
namespace TabularTool
{
public class TabularData
{
private string[,] _data;
public bool FirstRowIsHeader { get; set; }
public string this[int x, int y] => _data[x, y];
public int Width => _data.GetLength(0);
public ... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.VIEW;
using com.Sconit.Entity.SYS;
//TODO: Add other using statements here
namespace com.Sconit.Entity.INV
{
public partial class Hu
{
#region Non O/R Mapping Properties
public string ManufacturePartyDescription... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Marc Clifton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Permissions;
using System.Web;
namespace Athenaeum.Models
{
public class Rsvp
{
public int RsvpId { get; set; }
public string UserId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Imp.Core.Domain.Users;
namespace Imp.Admin.Models.Users
{
public class UserListModel
{
[DisplayName("用户名")]
public string SearchU... |
using BDTest.Maps;
using BDTest.NetCore.Razor.ReportMiddleware.Extensions;
using BDTest.NetCore.Razor.ReportMiddleware.Interfaces;
using BDTest.NetCore.Razor.ReportMiddleware.Models;
namespace BDTest.NetCore.Razor.ReportMiddleware.Implementations;
internal class DataRepository : IDataRepository
{
private readonly... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
int numberOfWaves = int.Parse(Console.ReadLine());
var plates = new Queue<int>();
var trojanWariors = new Queue<int... |
using PhotonInMaze.Common.Controller;
using PhotonInMaze.Common.Flow;
using PhotonInMaze.Common.Model;
using PhotonInMaze.Provider;
using System.Collections.Generic;
using UnityEngine;
namespace PhotonInMaze.Maze {
internal class MazeCellManager : FlowBehaviour, IMazeCellManager {
private IMazeCell[,] ma... |
//Flora Kolikyan
//200455023
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 System.Collections;
using System.Text.RegularExpressions... |
namespace cyrka.api.domain.jobs
{
public enum JobTypeUnit {
Undefined = 0,
Piece,
Minute,
Character,
Symbol,
Gigabyte
}
}
|
using System;
using JourniAPI.Services;
using JourniAPI.Models;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using System.Security.Claims;
using MongoDB.Bson;
namespace JourniAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public... |
using System;
using System.Data;
using System.Data.SqlClient;
namespace CapaDatos
{
public class DStockMedida
{
SqlConnection cn;
public string InsertStockMedida(int cod_med, int cod_pro_stock)
{
string respuesta;
try
{
using (cn =... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace MVC4_DavaValidation.Attributes
{
public class CannotContainNumbersAttribute : ValidationAttribute, IClientValidatable
{
private const string _pattern = @"^((?!(?:[0-9])).)*$";
... |
namespace BenefitDeduction.EmployeesSalary.Employees
{
public interface ISalaryEmployeeExemptRepository: ISalaryRepository
{
}
} |
namespace EpisodeGrabber.Library {
public static class TraceVerbosity {
public const int Minimal = 1;
public const int Default = 50;
public const int Verbose = 100;
}
public static class TraceTypes {
public const string Error = "Error";
public const string Exception = "Exception";
public const string D... |
using System.Threading.Tasks;
using Communicator.Core.Domain;
using Communicator.Infrastructure.Data;
using Communicator.Infrastructure.IRepositories;
using Microsoft.EntityFrameworkCore;
namespace Communicator.Infrastructure.Repositories
{
public class UserWorkTimeRepository : IUserWorkTimeRepository
{
... |
using System;
namespace Jypeli
{
/// <summary>
/// Sisältää tiedon ajasta, joka on kulunut pelin alusta ja viime päivityksestä.
/// </summary>
public struct Time
{
/// <summary>
/// Nolla-aika
/// </summary>
public static readonly Time Zero = new Time();
p... |
//Name: SimpleTutorial.cs
//Project: Spectral: The Silicon Domain
//Author(s) Conor Hughes - conormpkhughes@yahoo.com
//Description: Displays a tutorial box for five seconds before hiding again.
using UnityEngine;
using System.Collections;
public class TutorialDoor : MonoBehaviour {
private bool displayTut... |
using Entities.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Services.IService
{
public interface IVisitLogService:IBaseService<VisitLog>
{
/// <summary>
/// 获取首页访问记录-带分页 搜索
/// </summary>
/// <param name="page"></param>
/// <param... |
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
using Ardunity;
[CustomEditor(typeof(MPR121))]
public class MPR121Editor : ArdunityObjectEditor
{
bool foldout = false;
SerializedProperty script;
SerializedProperty id;
void OnEnable()
{
script = serializedObject.FindProperty... |
// ===============================
// AUTHOR : Guillaume Vachon Bureau
// CREATE DATE : 2018-08-29
//==================================
namespace BehaviourTree
{
abstract public class LeafTask : Task
{
public LeafTask(BlackBoard blackBoard) : base(blackBoard)
{
}
publi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApp10
{
public delegate void Message(string str);
class Game
{
public List<ICar> cars;
public int FinishDistance = 100;
public bool isfinish = false;
public Game()
{
car... |
namespace BattleEngine.Output
{
public class MannaChangeEvent : OutputEvent
{
public int ownerId;
public double manna;
}
}
|
using System;
using System.Diagnostics;
using System.Windows.Forms;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProjectileLife : MonoBehaviour
{
//Attach this script to a projectile to give it a duration before it is destroyed
public float lifeTime = 2.0f;
private float startTime;
void Start()
{
startTime ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// This script controls objects going out of bounds
/// </summary>
public class BoundaryHandler : MonoBehaviour
{
public float fadeSpeed;
private void OnTriggerEnter(Collider other)
{
print(other.name);
... |
using EddiConfigService;
using EddiConfigService.Configurations;
using EddiInaraService;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Timers;
using System.Windows.Controls;
namespace EddiInaraResponder
{
... |
using Coypu;
using Coypu.Drivers;
using Coypu.Drivers.Watin;
using NUnit.Framework;
namespace WebSpecs
{
[TestFixture, Ignore]
public class CoypuTests
{
private BrowserSession browser;
private SessionConfiguration sessionConfiguration;
[SetUp]
public void Cre... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace BibleBrowserUWP
{
/// <summary>
/// Hold some metadata about a search (degree of completion, current task, etc.)
/// </summary>
public class SearchProgressInfo
{
private float m_Progress;
private string m_st... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Axis
{
public const string VERTICAL_AXIS = "Vertical";
public const string HORIZONTAL_AXIS = "Horizontal";
}
public class Tags
{
public const string PLAYER_TAG = "Player";
}
public class AnimationTags
{
publi... |
using UnitTestProject1;
namespace Autofac.Extras.FakeItEasy
{
public static class AutoFakeExtensions
{
public static T Generate<T>(this AutoFake autoFake)
{
RelaxedAutoFakeCreator.SUTType = typeof(T);
return autoFake.Resolve<T>();
}
}
}
|
namespace SubC.Attachments {
using UnityEngine;
using System.Collections.Generic;
[AddComponentMenu("")]
public class ClingyComponent : MonoBehaviour {
public struct ExecutionOrder {
static int counter;
public int executionOrder;
public int id;
... |
//Copyright © 2013 Dagorn Julien (julien.dagorn@gmail.com)
//This work is free. You can redistribute it and/or modify it under the
//terms of the Do What The Fuck You Want To Public License, Version 2,
//as published by Sam Hocevar. See the COPYING file for more details.
using System;
using System.Collections.Generic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.