text
stringlengths
13
6.01M
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Usings using System; using DotNetNuke.Entities.Modules; #endregion namespace DotNetNuke.Common.Controls { public partial class NoContent :...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MainMenuController : MonoBehaviour { public GameObject OptionsPanel, CreditsPanel, InstructionsPanel, GameOverPanel, MainMenuPanel, PausePanel, GameSettingsPanel1, GameSettin...
using System; using System.Collections.Generic; using System.Text; using AgentStoryComponents.core; using AgentStoryComponents; namespace AgentStoryComponents.commands { public class cmdAddUsersToGroup : ICommand { public MacroEnvelope execute(Macro macro) { int GroupI...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FireLaserAmmo : MonoBehaviour { [SerializeField] private int maxedAmmo = 100; [SerializeField] private GameObject cannon; [SerializeField] private GameObject fireParticle; [Seria...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2009 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
using MovieDAL.Repos.Base; using MovieDAL.Models; using System.Collections.Generic; namespace MovieDAL.Repos { public interface IMovieGenreRepo : IRepo<MovieGenre> { IList<string> GetGenres(); } }
// Copyright 2018 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...
namespace ns13 { using System; using System.Runtime.CompilerServices; [AttributeUsage(AttributeTargets.Parameter)] internal class Attribute15 : Attribute { [CompilerGenerated] private string string_0; public Attribute15() { } public Attribute15([At...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace console { public class _071_ValidSudoku { /// <summary> /// Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. /// The Sudoku board could be partially filled, where em...
using System.Threading.Tasks; using Meziantou.Analyzer.Rules; using TestHelper; using Xunit; namespace Meziantou.Analyzer.Test.Rules; public sealed class ValueReturnedByStreamReadShouldBeUsedAnalyzerTests { private static ProjectBuilder CreateProjectBuilder() { return new ProjectBuilder() ...
using System.Linq; using UnityEngine; using UnityEditor; using VRM; namespace Esperecyan.UniVRMExtensions { /// <summary> /// Hmanoidモデルを直接VRMプレハブにします。 /// </summary> public class VRMInitializer { /// <summary> /// プレハブアセットを上書きしてVRMプレハブにします。 /// </summary> /// <param...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace CT.Data.Instance { public class MainHallInstanceData : BuildingInstanceData { public override BuildingType Type => BuildingType.MainHall; public int storedGold; public int storedElixir; s...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using CT.Data; namespace CT.UI.Combat { public class DeployedSquadUI : MonoBehaviour { public Text nameText; public Text amountText; public Image iconImage; public void Init(Un...
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using ProductCatalogApi.Data; using ProductCatalogApi.Domain; using ProductCatalogApi.ViewModels; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ProductCatalogApi.Cont...
using System.Collections.Generic; namespace PANDAWebApp.ViewModels.Packages.AdminPackages { public class PendingPackagesViewModel { public IEnumerable<PackageAdminBaseViewModel> PendingPackages { get; set; } } }
using System; namespace Buffers { public interface IBlockDevice : IDisposable { /// <summary> 名称 /// </summary> string Name { get; } /// <summary> 详细描述 /// </summary> string Description { get; } /// <summary> 每个页面的字节数 /// </summary> uint PageSize { get; } /// <summary> 读操作次数 ...
using ANPAdmin.InterfaceTests.PageObjects; using Microsoft.Extensions.Configuration; using TechTalk.SpecFlow; using Xunit; namespace ANPAdmin.InterfaceTests { [Binding] public sealed class LoginUsuarioStepDefinition { private readonly ScenarioContext _scenarioContext; private string _email...
using PbStore.Domain.Pedidos; using PbStore.Domain.Pedidos.Repositorios; using PbStore.Infra.Contexts; namespace PbStore.Infra.Repositorios { public class RepositorioPedido : IRepositorioPedido { private readonly PbStoreDataContext _context; public RepositorioPedido(PbStoreDataContext context)...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ButterflyClusterV2 : MonoBehaviour { public bool isFollowingPlayer; [Header("ButterlysCount")] public int NormalCount; public int IllusionCount; public int TempeteCount; [Header("Settings")] p...
/* * LambdaSharp (λ#) * Copyright (C) 2018-2019 * lambdasharp.net * * 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 req...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Abstraction { class Interface1 { interface IOne { void ONE(); } interface ITwo { void TWO(); } interfac...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace projetoveiculos { class Garagem { private int id; private string local; private List<Veiculo> veiculos = new List<Veiculo>(); public string Local ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestButton : MonoBehaviour { public GameObject objects; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (Params.visi...
using System.Globalization; using System.Text; namespace EkwExplorer.ConsoleApp; internal class ProgramInput { public string DatabaseFile { get; set; } public string CourtCode { get; set; } public int? NumberFrom { get; set; } public int? NumberTo { get; set; } ...
using UnityEngine; #if UNITY_EDITOR using UnityEditor; namespace Destructible2D { [CanEditMultipleObjects] [CustomEditor(typeof(D2dGun))] public class D2dGun_Editor : D2dEditor<D2dGun> { protected override void OnInspector() { BeginError(Any(t => t.ShootDelay < 0.0f)); DrawDefault("ShootDelay"); En...
using CurrencyRateConverter.Models; using CurrencyRateConverter.Services; using DryIoc; using Prism.Commands; using Prism.Mvvm; using Prism.Navigation; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using Xamarin.Forms; namespace Curre...
using Application.Contract.Responses; using Application.CQRS.Commands; using Application.CQRS.Queries; using FakeItEasy; using FluentAssertions; using MediatR; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using WebUI.Controllers; using Xunit; namespace WebUI.Test.Controllers { public class Cr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RequestToCash { public class RequestDataComperer : IEqualityComparer<RequestData> { /// <summary> /// Сравнивает запросы по содержанию запроса /// </summary> ...
using System; using System.IO; using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Zip; namespace PluginStudy.Tools { /// <summary> /// 下载帮助类 /// </summary> public class DownloadHelper { /// <summary> /// 批量下载 /// 返回byte[]数组 /// </summary> /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using PESWeb.Accounts.Interface; using PESWeb.Accounts.Presenter; namespace PESWeb.Accounts { public partial class RecoverPassword : System.Web.UI.Page, IRecoverPas...
using UnityEngine; public class SaveManager : MonoBehaviour { public static SaveManager instance; public int selectedLevelIndex = 1; private void Awake() { DontDestroyOnLoad(this); if (instance == null) instance = this; } public void SaveMapInfo(int mapI...
using System; namespace PmSoft.Logging { /// <summary> /// 操作者信息 /// </summary> [Serializable] public class OperatorInfo { /// <summary> /// 操作访问的url /// </summary> public string AccessUrl { get; set; } /// <summary> /// 操作者名称 /// </sum...
using PushoverQ.Configuration; namespace PushoverQ.Protobuf { public static class ProtobufSerializationConfigurator { public static void WithProtobufSerialization(this BusConfigurator configurator) { configurator.WithSerializer(new BusProtobufSerializer()); } } }
 namespace MFW.LALLib { public enum FECCKeyEnum { FECC_KEY_UNKNOWN, FECC_KEY_UP, FECC_KEY_DOWN, FECC_KEY_LEFT, FECC_KEY_RIGHT, FECC_KEY_ZOOM_IN, FECC_KEY_ZOOM_OUT } }
using System; namespace WpfAppAbit2.Models { public class OrderOfAdmission { public Guid UIDOrderOfAdm { get; set; } public Campaign Campaign { get; set; } public string OrderName { get; set; } public string OrderNumber { get; set; } public DateTime OrderDate { get; se...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace personal_site.ViewModels { public class CommentViewModel { [Required] public string Content { get; set; } public string User { get; ...
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 UberFrba.Abm_Automovil; using UberFrba.Abm_Chofer; using UberFrba.Abm_Cliente; using UberFrba.Abm_T...
using Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace LogicHandler { public class QuestionsHandler : DataHandler<Questions> { private static String DB_TABLE_NAME = "Question"; public Questi...
using System; namespace YoctoScheduler.Core.ExecutionTasks.SSIS { public class Configuration { public Configuration() { Use32Bit = false; SQLVersion = 120; Timeout = 0; } public bool Use32Bit { get; set; } private int sqlVersion; ...
namespace MP3ManagerBase.factory { /// <summary> /// Dieses Enum stellt ein Flag dar, /// in dem der Status der MP3-Tagsder Datei enthalten ist. /// Der eigentliche Status ist die Summe aller Status. /// Beispiel: Wenn Interpret und Album im MP3-Tag fehlt, wäre der Status 0x03. /// </summary> ...
using LDMApp.Controllers; using LDMApp.Core.Events; using LDMApp.Core.Models; using LDMApp.Services.Interfaces; using Prism.Commands; using Prism.Events; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; namespace LDMApp.Modules.Samples.ViewMode...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using DG.Tweening; /// <summary> /// 敵の状態遷移 /// </summary> public enum EnemyState { NONE, IDLE, //待機 WALK, //徘徊 ATTACK, //攻撃 DEAD //死亡 } /// <summary> /// 敵ベースクラス /// </summary> public c...
using ClassLibrary; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebApplication.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Xml; public partial class EditTopic : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) ...
namespace Triton.Game.Mapping { using ns26; using System; [Attribute38("BoxMenuButton")] public class BoxMenuButton : PegUIElement { public BoxMenuButton(IntPtr address) : this(address, "BoxMenuButton") { } public BoxMenuButton(IntPtr address, string className) : b...
namespace RedLine.Models.WMI { public class WmiGraphicCard { internal const string ADAPTERRAM = "AdapterRAM"; internal const string CAPTION = "Caption"; internal const string DESCRIPTION = "Description"; internal const string NAME = "Name"; [WmiResult("Description")] public string Descrip...
using System; using System.Diagnostics.Tracing; using System.Runtime; using System.Threading; using System.Threading.Tasks; namespace Scheduling { class Program { static void Main(string[] args) { var overlappedWorkQueue = new OverlappedWorkQueue(); var threadPoolWorkQu...
using Application.Contract.RepositoryInterfaces; using Application.Contract.Responses; using Application.Contract.ServicesInterfaces; using Application.CQRS.Queries; using Application.Maping; using MediatR; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Application.C...
using FluentNHibernate.Mapping; using ImmedisHCM.Data.Identity.Entities; using System; namespace ImmedisHCM.Data.Identity.Mappings { public class IdentityUserTokenMapping : ClassMap<WebUserToken> { public IdentityUserTokenMapping() { CompositeId() .KeyProperty(x => ...
using System.Drawing; namespace ZiZhuJY.ImageHandler.IcoMaker { public class IcoMaker { public static Icon FromImage(Image image) { return FromImage(image, image.Width, image.Height); } public static Icon FromImage(Image image, int width, int height) { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InteractibleReflect : MonoBehaviour { Rigidbody2D RB; Vector2 lastvelo; private void Start() { RB = transform.GetComponent<Rigidbody2D>(); // RB.AddForce(new Vector2(Random.Range(...
// <copyright file="ShakespeareanPokemonService.cs" company="Visualbean"> // Copyright (c) Visualbean. All rights reserved. // </copyright> namespace Visualbean.Pokemon { using System.Linq; using System.Threading.Tasks; using LazyCache; using Visualbean.Pokemon.Pokemon; using Visualbean.Pokemon.Sh...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class GameManager : MonoBehaviour { [SerializeField] public GameObject msgBox; public GameObject chatBoxContent; public ScrollRect chatBox; public GameObject ...
using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Text; namespace FileSearch.Common.JsonHttpClient { public class HttpClient { public HttpClient(string uriString) ...
using System.Collections.Generic; using Evpro.Domain.Entities; using Evpro.Service.Pattern; namespace Evpro.Service { public interface ISatisfactionSurveyService: IMyServiceGeneric<satisfactionsurvey> { string eventName(int? id); int getnbrUserSatisfied(); List<string...
using Microsoft.AspNet.Identity.Owin; using Microsoft.AspNet.Identity; using MyCashFlow.Domains.DataObject; using MyCashFlow.Identity.Managers; using System.Security.Principal; using System.Threading.Tasks; using System.Web.Mvc; using System.Web; namespace MyCashFlow.Web.Infrastructure.Controllers { public abstract ...
using Guiet.kQuatre.Business; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using Telerik.WinControls.UI; namespace Guiet.kQua...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SFP.SIT.SERV.Model.Adm { public class TCP_Adm_Area { public string Area_Objetivo { set; get; } public string Area_Nombre { set; get; } public float Area_Presupuesto { set; get; } public string...
using System; using System.Collections.Generic; namespace Algorithms { public class Point { public double x { get; set; } public double y { get; set; } double distanceTo(Point otherPoint) { ...
using System; using System.Collections.Generic; using System.Linq; using Logs.Data.Contracts; using Logs.Models; using Logs.Models.Enumerations; using Logs.Services.Contracts; namespace Logs.Services { public class UserService : IUserService { private readonly IRepository<User> userRepository; ...
//----------------------------------------------------------------------- // <copyright file="PlayerPanel.cs" company="None"> // Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TQVaultAE.GUI.Com...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WAO_Player.Class; using HtmlAgilityPack; using System.Net; using System.Threading; namespace WAO_Player.Music_Online_NCT { public class ReadHTML { public ReadHTML() { ...
using BPiaoBao.AppServices.Contracts.Cashbag; using BPiaoBao.AppServices.DataContracts.Cashbag; using BPiaoBao.Client.UIExt; using BPiaoBao.Client.UIExt.Helper; using BPiaoBao.Client.UIExt.Model; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Threading; using JoveZhao.Framework; using Microsoft.Win32; usin...
using Newtonsoft.Json; namespace MailerQ.RestApi { /// <summary> /// An Internet Protocol Address of one Pool /// MailerQ offers IP Pools for easy management of your sending IP addresses. /// </summary> /// <remarks>Get method requiere indicate the pool name as request parameter</remarks> [Jso...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class ActivateSkill : MonoBehaviour { public BattleController controller; public SpriteRenderer render; public HeroController hero; private List<GameObject> affectedUnitList; public int slot; // Use this for initialization v...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class KillSound : MonoBehaviour { AudioSource audSource; // Use this for initialization void Start () { audSource = GetComponent<AudioSource>(); } // Update is called once per frame void Update () { if (!a...
using System; using spaar.ModLoader; using UnityEngine; using UnityEngine.SceneManagement; namespace spaar.Mods.EnhancedCamera { public class EnhancedCamera : SingleInstance<EnhancedCamera> { public override string Name { get; } = "Enhanced Camera"; public void Start() { ReplaceMouseOrbit(); ...
using System; using System.Collections.Generic; namespace Sms.Demo.Contacts { /// <summary> /// Контракт сервиса контактов /// </summary> public interface IContactService { /// <summary> /// Вернуть все контакты /// </summary> /// <returns>Список контактов</returns>...
using System; using System.Collections.Generic; using System.Text; namespace Models { /// <summary> /// 员工信息实体类 /// </summary> public class tb_perInfo { public tb_perInfo() { } #region Model private int _id; private string _Name; private string _Befo...
using System; namespace _05.GenericCountMethodString { public class StartUp { static void Main(string[] args) { Box<string> box = new Box<string>(); int numberLines = int.Parse(Console.ReadLine()); for (int i = 0; i < numberLines; i++) ...
using UnityEngine; using System.Collections; using UnityEditor; using SNN.Core; namespace SNN.Test { public class ComputeNeuralNetUsingRawData : ScriptableObject { static ComputeNeuralNetUsingRawData current; [SerializeField] NeuralNet neuralNet; [SerializeField] float...
using System; using System.Collections.Generic; using System.Text; namespace SeleniumBasicTest.BusinessObject { public class Login { public string Name { get; set; } public string Password { get; set; } public string ProductName { get; set; } public Log...
// C# Excel Writer library v2.0 // by Serhiy Perevoznyk, 2008-2018 using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace Export.XLS { internal class FontInfo { public FontInfo(Font font, ExcelColor color) { this.Font = font; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SMSEntities.SMSDBEntities { public class Occurrance { //`occuranceid``serialnumber``reportdate``occurancetype``notes`,`important`,`heading` public int occuranceid { get; set; } public string ...
using Spotzer.DataLayer.DatabaseContext; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Spotzer.DataLayer.UnitOfWork { public class Repository<T> : IRepository<T> where T : class...
using Assets.Scripts.RobinsonCrusoe_Game.Characters; using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes.Food; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.Player { public static class PartyActions { p...
using Accord.Statistics.Analysis; using Accord.Math; using DataCenter.Data; using DataCenter.Helpers; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Types; using Accord....
using System.Globalization; namespace Meziantou.Analyzer; internal static class RuleIdentifiers { public const string UseStringComparison = "MA0001"; public const string UseStringComparer = "MA0002"; public const string UseNamedParameter = "MA0003"; public const string UseConfigureAwaitFalse = "MA000...
using System; using System.Collections.Generic; using System.Linq; using System.Text; class CompareArrays { static void Main() { /*Write a program that reads two arrays from the console and compares them element by element.*/ Console.Write("Enter first array's length: "); //reading 1 array f...
using System.Collections.Generic; using System.Linq; using UnityEngine; /// <summary> /// Parallax scrolling script that should be assigned to a layer /// </summary> public class ScrollingScript : MonoBehaviour { /// <summary> /// Scrolling speed /// </summary> public Vector2 speed = new Vector2(10, 10); /// <s...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Slash : MonoBehaviour { [SerializeField] float dano; //[SerializeField] float alto; //[SerializeField] float ancho; [SerializeField] string tipoDano; [SerializeField] float fuerza; private void Start()...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; using Random = System.Random; public class KelimeGezmece : MonoBehaviour { // Start is called before the first frame update public Text Puan; public Text score; List<GameObject> butonlar...
using Askmethat.Aspnet.JsonLocalizer.Extensions; using Askmethat.Aspnet.JsonLocalizer.JsonOptions; using Aurelia.DotNet; using AutoMapper; using FluentValidation.AspNetCore; using Hahn.ApplicatonProcess.December2020.Data; using Hahn.ApplicatonProcess.December2020.Data.Repositories.Contracts; using Hahn.ApplicatonProces...
using LifeWithW10MViewerApp.Models; using Prism.Windows.Mvvm; using Reactive.Bindings; using Reactive.Bindings.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Prism.Windows.Navigation; using System.Reactive.Disposables; using Windows...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoxBlocker : MonoBehaviour { public float speed; // How fast/slow the box can move through public bool blockFast; // What it should block (Slow/Fast) private MeshRenderer mr; private Material mat; private float ...
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 SiscomSoft_Desktop.Views { public partial class FrmDescuento : Form { int sta...
using Amazon; using Amazon.S3; using PdfUploder.Models; using System; namespace PdfUploder.Services { public class AmazonClientConnection : IAmazonClientConnection { public AmazonS3Data Create() { //var client = System.Diagnostics.Debugger.IsAttached ? new AmazonS3Client("AccessKe...
/** * Script con el comportamiento del juego al meter un punto * Autor: Pablo Gadhi Rodriguez Marcucci 16206 * Fecha: 12/03/2017 */ using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Timers; using UnityEngine.UI; public class Goal : MonoBehaviour { public GameObject Ball;...
using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Players; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.Manager.Attributes; namespace Content.Shared.Roles { [RegisterComponent] public class RoleComponent : Component { [Dependency] private readonly I...
// ----------------------------------------------------------------------- // <copyright file="IOptimizationProblem.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. // </c...
using System.Security.Cryptography; using System.Text; namespace PatientInformationSystem.Server.Application.Static { public static class PasswordHelper { public static void CreateHashedPassword(string password, out byte[] hashedPassword, out byte[] passwordSalt) { using (var hashA...
using BooxBox.DataAccess; namespace BooxBox.DataAccess.Repositories { public class BaseRepository : IBaseRepository { protected readonly IDatabase _database; public BaseRepository(IDatabase database) { _database = database ?? throw new System.ArgumentNullException(nameof(da...
using Microsoft.EntityFrameworkCore; using SampleEF_Core_Relations.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SampleEF_Core_Relations.Data { public class ApplicationDbContext : DbContext { public ApplicationDbContext(DbContextOpti...
using System; using System.ComponentModel.DataAnnotations; namespace SoccerFieldServer.Core.Entities { public class GroupSoccerField { [Key] [StringLength(6)] public string Id { get; set; } public string Name { get; set; } public string Address { get; set; } pu...
using System; using System.Collections.Generic; using SubSonic.BaseClasses; using SubSonic.Extensions; using SubSonic.SqlGeneration.Schema; namespace Pes.Core { [SubSonicTableNameOverride("BoardCategorys")] public partial class BoardCategory : EntityBase<BoardCategory> { #region Properties ...
/******************************************************************** * FulcrumWeb RAD Framework - Fulcrum of your business * * Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED * * * * THE SOURCE CODE CONTAINED WITHIN THI...
using ProConstructionsManagment.Desktop.Views.Base; using System.Windows.Controls; namespace ProConstructionsManagment.Desktop.Views.AddEmployee { /// <summary> /// Interaction logic for AddEmployee.xaml /// </summary> public partial class AddEmployee : UserControl { public AddEmployee...
using System; using System.CodeDom; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestDriven { public class Program { static void Main(string[] args) { FizzBuzz fizzBuzz = new FizzBuzz(); for (int k = 1;...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Data; using System.Collections; using System.Globalization; using System.Configuration; using System.Net.Mail; using System.Text.Regu...
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 Firebase.Database; using System.Threading.Tasks; using Firebase.Database.Query; using Microsoft.Wi...