text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EshopApi.Contracts; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using EshopApi.Models; using EshopApi.Repositories; namespace EshopApi.Controllers { [Rou...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WinFormsWCF_TournamentGenerator.ServiceReference1; namespace WinFormsWCF_TournamentGenerator { public class Tournament { public SortedList<int, SortedList<int, Match>> TournamentRo...
/////////////////////////////////////////////////////////////////////////// // MainWindow.xaml.cs - Client GUI for code federation // // Ver 1.0 // // Kaiqi Zhang, Jim Fawcett // // CSE681 S...
using System.Collections; using System.Collections.Generic; using BP12; using BP12.Events; using DChild.Gameplay.Combat; using Sirenix.OdinInspector; using UnityEngine; namespace DChild.Gameplay.Objects.Characters.Enemies { public class SpecterHead : Specter { [SerializeField] private AttackDa...
using System; using System.Collections.Generic; namespace ResonateXamarin.Models { public class SpotifyData { public IList<Item> items { get; set; } public class Image { public int height { get; set; } public string url { get; set; } public int wid...
using GameIsOn.Frames; using GameIsOn.Classes; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Popups; using Windows.UI.Vie...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ProjectCompany.Services; using ProjectCompany.Models; namespace ProjectCompany.Controllers { [Route("api/[controller]")] public class Pro...
using UnityEngine; using UI; using System.Collections; using MusicIO; public class InstrumentAttachment : BaseAttachmentIO<BaseInstrument> { protected GameObject m_parameterScroller; protected GameObject m_clipScroller; protected GameObject m_dividingQuad; protected GameObject m_rotator; public flo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MegaMan.Common; namespace MegaMan.Engine { public class StageFactory { private StageHandler handler; public StageHandler CreateMap(StageLinkInfo info) { StageInfo map = new StageInf...
using System; using System.Collections.Generic; namespace Euler_Logic.Problems.AquaQ { public class Problem000 : AquaQBase { public override string ProblemName => "AquaQ: What's a numpad?"; public override string GetAnswer() { return Solve(Input()); } private string S...
namespace Tutorial.ParallelLinq { using System.IO; using System.Linq; using System.Net; using static Tutorial.LinqToObjects.EnumerableX; internal static partial class Functions { internal static int ComputingWorkload(int value = 0, int iteration = 10_000_000) { Enum...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; class LifeCounter : MonoBehaviour { public float offset; public GameObject lifeImage; public GameObject youngestLife; void Start() { ResetCounter(GameObject.FindGameObjectWithTag("Player").GetC...
using aural_server_console_weather.Timer; using FluentScheduler; using System; using System.Threading; namespace aural_server_console_weather { class Startup { static ManualResetEvent _quitEvent = new ManualResetEvent(false); static void Main(string[] args) { Console.Cancel...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Verse; using RimWorld; using HarmonyLib; namespace D9Framework { [ClassWithPatches("Calculate Bleed Rate Patch", "ApplyCalculateBleedRate", "D9FSettingsApplyCBR")] static class...
using EmployeeTaskMonitor.Core.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace EmployeeTaskMonitor.Infrastructure.Data { public class EmployeeTaskMonitorDbContext: DbContext { public EmployeeTaskMonitorDbContext(DbContextOptions<E...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2._5_Custom_Attributes { // this allows the attribute to only be applied to class and struct declarations // AllowMultiple allows multiple attributes of the same type [AttributeUs...
using Entity; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; namespace Repository { using Extensions; public class RepositoryBase<T, Context> : IRepository<T>, IDBContext<Context> where T : class where Context : DbContext { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Vehicle : MonoBehaviour { public GameObject Body; public int numberOfMove = 0; public float deltaMoveTime = 0.4f; public float timeAdded = 0; public float speed = 10; public bool isMove ...
// The MIT License (MIT) // // Copyright (c) 2014-2018, Institute for Software & Systems Engineering // Copyright (c) 2018, Pascal Pfeil // // 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 Softwa...
// Copyright (c) 2018 FiiiLab Technology Ltd // Distributed under the MIT software license, see the accompanying // file LICENSE or or http://www.opensource.org/licenses/mit-license.php. using FiiiChain.Entities; using FiiiChain.Framework; using System; using System.Collections.Generic; using System.Text; namespace F...
namespace PrettyLink.Domain.DataAccess.Model { using System; using Amazon.DynamoDBv2.DataModel; using JetBrains.Annotations; [UsedImplicitly] [DynamoDBTable("dev_links")] public class Link { public LinkMetadata Metadata { get; set; } = new LinkMetadata(); public string Ori...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KartObjects; using KartLib; namespace KartSystem { /// <summary> /// Презентор глвной кассы /// </summary> class MainCashPresenter : BasePresenter { #region Конструкторы public MainCashPrese...
using System; using System.Data; using System.Configuration; using System.Web.UI.WebControls; using CIPMSBC; public partial class CamperOptions : System.Web.UI.Page { private SrchCamperDetails _objCamperDet = new SrchCamperDetails(); General objGeneral = new General(); protected void Page_Load(object send...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class pausebutton : MonoBehaviour { public void Menu() { SceneManager.LoadScene("menu1"); } }
using iSukces.Code.Interfaces; namespace iSukces.Code.Irony { public interface IGrammarNamespaces { string GrammarNamespace { get; } string AstNamespace { get; } string DataNamespace { get; } } public struct GrammarNames : IGrammarNamespaces { private Grammar...
using MaterialDesignThemes.Wpf; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Contr...
using UnityEngine; public abstract class ShipControl : MonoBehaviour { #region Camera Controls [SerializeField] protected Transform _cameraPoint; public Transform cameraPoint{ get{ return _cameraPoint; } } #endregion protected Camera playerCamera = null; public virtual void Assign(){ playerCamera...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Reflection; using System.Threading; using DevExpress.XtraGrid.Views.Base; using IRAP.Global; using IRAP.Client.User; using IR...
using Hayaa.BaseModel.Model; using Hayaa.Common; using Hayaa.UserAuth.Service; using Hayaa.UserAuth.Service.Core; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Text; namespace Hayaa.UserAuth.Controller { [Route("api/[controller]/[acti...
using System.Reflection; using ProxyPackets; using ProxyPackets.Attributes; namespace SocketProxy { public class UserPacketConverter : PacketConverter { public UserPacketConverter() { var types = typeof(PacketIdAttribute).Assembly.GetTypes(); foreach (var type in types)...
using UnityEngine; using System.Collections; public class playerController : MonoBehaviour { public Vector3 inputPosition; public int speed; public GameObject Explosion; private Vector3 screenPos; private float angleOffset; private float time; void Update () { if (Input.GetMouseB...
using Bat.DataStorage.Repositories.Contracts; using DataModels.Models; using DataStorage; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Bat.DataStorage.Repositories.Implementations { public class PersonsRepos...
using UnityEngine; using System.Collections; public class lvl3ClosedDrawer : MonoBehaviour { public GameObject openDrawerPreFab; public GameObject keyPreFab; Vector3 drawerPos = new Vector3(2.33f, 6.43f, 0f); Vector3 keyPos = new Vector3(2.62f, 6.83f, 0f); public static bool isOpen = false; void OnMouseDown(...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Configuration; /// <summary> /// Summary description for Transaction /// </summary> namespace DMS { public class Transaction { static String ConnectionStrin...
using Sentry.Internal; namespace Sentry.AspNet.Internal; internal static class SystemWebVersionLocator { internal static string? Resolve(string? release, HttpContext? context) { if (!string.IsNullOrWhiteSpace(release)) { return release; } return Resolve(context); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ChangeHPBar : MonoBehaviour { public Canvas thisHPBar; public GameObject PanelHPBar; private Image HPbar; //Полоска ХП ГГ private Image ENERGYbar; //Полоска ЭНЕРГИИ ГГ private UserDat...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LuckyMasale.DAL.DataTables { /// <summary> /// Represents a table of strings. /// </summary> [Serializable] public class IdNamePairsDataTabl...
namespace WinAppDriver.Modern { using System.IO; using System.IO.Compression; using System.Management.Automation; internal class StoreAppInstaller : AppInstaller<IStoreApp> { private static ILogger logger = Logger.GetLogger("WinAppDriver"); private IStoreApp app; ...
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Tianhai.OujiangApp.Schedule.Views; [assembly:XamlCompilation(XamlCompilationOptions.Compile)] namespace Tianhai.OujiangApp.Schedule{ public partial class App:Application{ static Data.CurrentInfoDatabase currentInfoDatabase; static Data.Preference...
using System; using SuperRpgGame.Interfaces; namespace SuperRpgGame.UI { public class ConsoleInputReader : IInputReader { public string ReadLine() { return Console.ReadLine(); } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LilyMaskedLeftLong : MonoBehaviour { [SerializeField] private GameObject lilyMasked; private void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == "Player") { if (lilyM...
using UnityEngine.Events; public class ReduceBallsLeft : UnityEvent { }
using Alabo.Regexs; using Alabo.Validations; using System.ComponentModel.DataAnnotations; namespace Alabo.Data.People.Users.ViewModels { /// <summary> /// Class ViewChangMobile. /// </summary> public class ViewChangMobile { /// <summary> /// Gets or sets the name of the 会员....
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Globalization; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; namespace MediaInfo ...
using Euler_Logic.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace Euler_Logic.Problems { public class ProblemAny : ProblemBase { public override string ProblemName => "Any"; public overri...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnEnemies : MonoBehaviour { public float enemies = 0f; public GameObject enemyPrefab; public GameObject playerCar; private LinkedList<GameObject> activeEnemyCars; private LinkedList<GameObject> inactiveE...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using MyOnlineShop.DataAccess.Models; using MyOnlineShop.DataAccess.Repository; using MyOnlineShop.DataAccess.ViewModels; namespace MyOnlineShop.Controllers...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; namespace FrbaOfertas.Helpers { public abstract class DataHelper<T> { public IDbConnection Connection { get; private set; } public DataHelper(IDbConnection c...
using System.ComponentModel.DataAnnotations; namespace Bloodhound.Core.Model { public class GeoFenceType { public int GeoFenceTypeId { get; set; } [Required, MaxLength(128), Display(Name = "GeoFence Type ")] public string GeoFenceTypeName { get; set; } } }
using Devil_Cookies_3D.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Devil_Cookies_3D.Models { public class Matrix<T, F> : IMatrix<T, F> where F : Massive<T>, IMassive<T> where T : PixelC, IPixel, IPixelC { ...
using RSS_news_feed_bot.data; using System.Collections.Generic; using Telegram.Bot.Types; namespace RSS_news_feed_bot.bot { public interface IAnswerQuery { /// <summary> /// Текст ответа по умолчанию /// </summary> string PositiveAnswer { get; } /// <summary> //...
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Yaringa.Services; namespace Yaringa.UnitTests.Services { public class FakeDialogService : IDialogService { public async Task<Boolean> ConfirmAsync( String message, String title = null, String o...
using Andreys.App.Services; using Andreys.App.ViewModels.Home; using Andreys.App.ViewModels.Products; namespace Andreys.App.Controllers { using SIS.HTTP; using SIS.MvcFramework; public class HomeController : Controller { private readonly IProductsService _productsService; public Home...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace FiiiCoin.Wallet.Win.CustomControls.ControlHelpers { public class TextBoxHelper { public static readonly DependencyProperty NullMsgProperty = D...
using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace NauticaMod.NPCs { public class Symbiote : ModNPC { public override void SetStaticDefaults() { Main.npcFrameCount[npc.type] = 4; } public override void SetDefaults() ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; //********************************************************************** // // 文件名称(File Name):CommandName.CS // 功能描述(Description): // 作者(Author):Ami...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using CAPCO.Infrastructure.Data; using CAPCO.Infrastructure.Domain; using System.Configuration; namespace System.Web.Mvc { public static class MembershipHelpers { private static...
using UnityEngine; using System.Collections; using Assets.BlijftDatZo.Scripts; public class GameSceneController : MonoBehaviour { private static GameSceneController instance; public static GameSceneController Instance { get { if (instance == null) { ...
using Cs_Notas.Aplicacao.Interfaces; using Cs_Notas.Dominio.Entities; using Cs_Notas.Dominio.Interfaces.Servicos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cs_Notas.Aplicacao.ServicosApp { public class AppServicoRevogados: AppServ...
using Computer_Wifi_Remote_Library; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WebSocketSharp; namespace Computer_Wifi_Remote.Command { public static class Commands { private static Dictionary<string, ICommand> commands; ...
using System.Collections.Generic; using Tweetinvi.Events; using TwitterAnalytics.BusinessLogic; namespace TwitterAnalytics.DataAccess { public class TweetsRepository : ITweetsRepository { private readonly IMetricsCollectorWrapper _metricsCollectorWrapper; public TweetsRepository(IMetricsColle...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Linq; namespace Kingdee.CAPP.Solidworks.RoutingPlugIn { /// <summary> /// ProcessFileRouting Data Context /// </summary> public class ProcessFileRoutingContext : DataContext { public Pro...
using System; namespace SOLIDPrinciples.CouplingProblem.Example02.Worst { public class Correios { public void EnviarPorSedex10(NotaFiscal nf) { //throw new NotImplementedException(); } public void EnviarPorSedexComUm(NotaFiscal nf) { } } }
using MonoDevelop.Core.Serialization; using System; using System.Collections; namespace MonoDevelop.NUnit { internal class UnitTestOptionsEntry { [ItemProperty("Path")] public string Path; [ItemProperty("Options"), ExpandedCollection] public System.Collections.ArrayList Options = new System.Collections.ArrayL...
using System; using System.Threading.Tasks; namespace SC.AsyncSamples { class ErrorAction { #region 1、简单示例:单个异步方法的异常处理 /// <summary> /// 从一个简单的方法开始,它在延迟后抛出一个异常 /// 返回 void 的异步方法不会等待,这是因为从 async void 方法抛出的异常无法捕获。 /// 因此,异步方法最好返回一个 Task 类型。处理程序方法或重写的基类方法不受此规则限制。 /...
 using Xamarin.Forms; namespace RRExpress.Store.Views { public partial class HomeHeader : ContentView { public HomeHeader() { InitializeComponent(); } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TimeController : MonoBehaviour { PlayerInputAction controls; private float Energy; private float MaxEnergy = 1000; private float MaxCastRange = 1000; public float EnergyCost = 9; public float StopCost =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RegeditS { class HtmlTable { string htmlHeader = "<table colspan=\"5\" align=\"center\" border=\"1\" bordercolor=\"LightGray\">" + ...
using System; using Microsoft.AspNetCore.Http; namespace Zesty.Core { public interface IExecutionHandler { void Process(HttpContext context); } }
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class DamageNumberIndicator : MonoBehaviour { public float numberSpeed; public int damageTotal; public Text outputNumber; /* NAME: Start SYNOPSIS: Start is called b...
using System; namespace School.Core { public class Class1 { } }
using System.Collections.Generic; using PluralsightDdd.SharedKernel; using PluralsightDdd.SharedKernel.Interfaces; namespace ClinicManagement.Core.Aggregates { public class Client : BaseEntity<int>, IAggregateRoot { public string FullName { get; private set; } public string PreferredName { get; private se...
using UnityEngine; using System.Collections; public class Cleric : BasicPiece { public override void Init (Color color) { Color = color; DefaultConstraints.SetupBuildDefaults (); move = new Or ( new RoundMove(), new Step(Step.UP), new Step(Step.DOWN) ); DefaultConstraints.SetupBuildDefaults(new...
using SignalRChatApplication.Models; namespace Common.Model { public class _Acti_Regis_1 { public string ID { get; set; } public string ActTitle { get; set; } public string NotifyID { get; set; } public string ActContent { get; set; } public string Place { get; set; } ...
using UnityEngine; using UnityEngine.UI; namespace UnityAtoms.MonoHooks { /// <summary> /// Mono Hook for On Button Click /// </summary> [EditorIcon("atom-icon-delicate")] [AddComponentMenu("Unity Atoms/Hooks/On Button Click Hook")] [RequireComponent(typeof(Button))] public sealed class OnB...
using System; using System.Collections.Generic; namespace ServiceDeskSVC.DataAccess.Models { public partial class HelpDesk_TicketCategory { public HelpDesk_TicketCategory() { this.HelpDesk_Tickets = new List<HelpDesk_Tickets>(); } public int Id { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Data.SqlClient; using System.Data; using POSServices.WebAPIModel; namespace POSServices.Data { public class DBSQLConnect { private static string conString = ""; public string config = ...
using System.Collections; using System.Collections.Generic; using DChild.Gameplay.Combat; using Sirenix.OdinInspector; using UnityEngine; namespace DChild.Gameplay.Objects.Characters.Enemies { public class GemCrawlerBrain : MinionAIBrain<GemCrawler>, IAITargetingBrain { [SerializeField] [MinValue...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace Terminal.Gui.ViewTests { public class RadioGroupTests { readonly ITestOutputHelper output; public RadioGroupTests (ITestOutputHelper output) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FXB.Data { public class ControlMask { public static Int64 YuangongDanganMenuMask = Convert.ToInt64("1", 2); public static Int64 ZhijiDanganMenuMask = Convert.ToInt64("1...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class OpenObject : PickUpItemController { public static bool hasKey = false; public static bool hasChainsaw = false; public string objectName; public Text advice; string corrente = "corrente...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace theCircuitLive { [TestFixture] class WebServicesTests { [Test] public void TestJson() { Assert.Ignore(Conn...
using Hyprsoft.Dns.Monitor.Providers; namespace Hyprsoft.Dns.Monitor { public class MonitorSettings : ProviderSettings { public int CheckIntervalMinutes { get; set; } = 10; } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace BadgeSystem { public static class Global { public static bool Active = true; public static Random rand = new Random(); public static readonly int idRangeOne = 9500; public static readonly int idRangeTwo = 9700; ...
using DevExpress.XtraReports.UI; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LH.StoReports { public class LHReportHelper { class ReportRegistrationItem { public Func<XtraReport> ReportBuilder { get; set; } public strin...
using System; using System.Reflection; namespace NStandard.Reflection { public class Reflector { public object Object { get; internal set; } public Type Type { get; private set; } public Reflector(Type objType, object obj) { Object = obj; Type = objType...
using Microsoft.VisualStudio.TestTools.UnitTesting; using TheScore.Models; using System.Collections.Generic; using System; namespace TheScore.Tests { [TestClass] public class ScoreGenTest { [TestMethod] public void IsCalculatingScoreForAA() { ScoreGen inputWord = new ScoreGen("Aa"); int f...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace wsApiEPayment.Models.Affipay { public class ResponseError { public string status { get; set; } public string requestId { get; set; } public string date { get; set; } public string tim...
using System; using System.Collections; namespace HelloWorld { internal class MyArray<T> : IEnumerable, IEnumerator { private int ArraySize { get; set; } = 10; //by default private int Count { get; set; } = 0; private T[] Array { get; set; } private int index = 0; pub...
using System.Threading.Tasks; using Beeffective.Data; using FluentAssertions; using NUnit.Framework; namespace Beeffective.Tests.Data.CellRepositoryTests { class SaveAsync : TestFixture { public override void SetUp() { base.SetUp(); Sut.Add(new[] {CellEntity1, CellEntit...
using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Media; namespace SuperMario.Sound { public static class SoundStorage { public static void LoadAllSounds(ContentManager content) { //music MainTheme = content.Load<S...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Net.Http; using System.Web.Http; using WebApi_LinkManager.Entities; using WebApi_LinkManager.Services; namespace WebApi_LinkManager.Controllers { public class LinksController : ApiController { priv...
using Microsoft.AspNet.Mvc; using SciVacancies.WebApp.ViewModels; namespace SciVacancies.WebApp.ViewComponents { public class CreateEditVacancy : ViewComponent { public IViewComponentResult Invoke(VacancyCreateViewModel model) { return View("/Views/Vacancies/_CreateEdit", model); ...
using DanialProject.Models.Database; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web; using System.Web.Helpers; using System.Web.Mvc; namespace DanialProject.Controllers { [Authorize(Roles = "Features")] ...
using System.Collections.Generic; using System.Reflection; namespace AutoTests.Framework.Web.Configurators { public class ElementFactory { private readonly ConfiguratorsDependencies dependencies; public ElementFactory(ConfiguratorsDependencies dependencies) { this.dependen...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayCutscene : MonoBehaviour { private MovieTexture movieTexture; private AudioSource audioSource; private bool isPlaying = false; void Awake() { audioSource = GetComponent<AudioSource>(); ...
using System.Reflection; [assembly: AssemblyTitle("UMSWE for SharpCraft")] [assembly: AssemblyDescription("UMSWE for SharpCraft")] [assembly: AssemblyProduct("UMSWE for SharpCraft")] [assembly: AssemblyCopyright("Hanabishi")] [assembly: AssemblyVersion("1.0.*")]
/* ****************************************************************************** * @file : ControlI2C.cs * @Copyright: ViewTool * @Revision : ver 1.0 * @Date : 2015/02/09 16:07 * @brief : ControlI2C demo ****************************************************************************** * @attention * * Copyri...
namespace EPI.Arrays { /// <summary> /// Give two strings, s (the search string) and t (the text), find the first /// occurence of s in t /// </summary> public static class SubstringMatch { // 1. Brute force: O(n^2) where compare t against s's substring of same length at all possible indices. // 2. There are...
using System.Collections.Generic; namespace E3 { public class Album { List<Figurita> album = new List<Figurita>(); public Album(){ Figurita j1 = new Figurita("Messi", "Delantero", "Argentina", 10); album.Add(j1); Figurita j2 = new Figurita("Ronaldo...