text
stringlengths
13
6.01M
using BusinessLaag; using BusinessLaag.irepositories; using BusinessLaag.repositories; using DataLaag.repositories; using System; using System.Collections.Generic; using System.Text; namespace DataLaag { public class UnitOfWork : IUnitOfWork { private DataContext DataContext; public IContinen...
 using System.Drawing; namespace Carapace { class WTraceLine { public WVector Start, End; public WTraceLine() { Start = End = new WVector(0, 0); } public void Draw( Graphics _G ) { WWorld W = WWorld.GetWorld(); WVector Dir = new WVector(End.X - Start.X, End.Y - Start.Y).Normal...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Books.Api.Contexts; using Books.Api.Entities; using Books.Api.ExternalModels; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; namespace Books.Api.Services { public...
// // - ReflectedIndexerPropertyDefinition.cs - // // Copyright 2012 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // 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://ww...
using System; using PropOhGate.Data; namespace HousingData.Core { public class HousingRepository : Repository { public HousingRepository() { CreateColumns(); } public RepositoryColumn<string> PostCode { get; private set; } public RepositoryColumn<int> Count...
using MongoDB.Bson; using MongoDB.Driver; using System; using System.Text; using System.Threading; using System.Threading.Tasks; namespace MailerQ.MessageStore { internal class MongoDBMessageStorage : IMessageStorage { private const int MessageMaxSuppportedSize = 15728640; // 15 MB private con...
// Copyright 2021 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...
using Shop.BusinnesLogic.Models; using Shop.Data.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shop.BusinnesLogic.Convesions { public static class CategoryClientConversion { public static CategoryClientViewModel ToVi...
namespace NDDDSample.Domain.Model.Voyages { #region Usings using System; using System.Collections.Generic; using System.Reflection; using Locations; #endregion /// <summary> /// Sample carrier movements, for test purposes. /// </summary> public class SampleVoyages { ...
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace AppactsPlugin.Data.Model { public clas...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using MonoGame.Extended.Sprites; using MonoGame.Extended.TextureAtlases; namespace MonoGame.Extended.Animations { public class SpriteSheetAnimator : IUpdate { //public SpriteSheetAnimator(Sprite sprite, Te...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlooringProgram.BLL { public class Calculations { public static decimal CalcMaterialCost(decimal costPerSquareFoot, decimal area) { return Math.Round((area ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; using CTCT.Util; namespace CTCT.Components.EventSpot { /// <summary> /// PromoCodeInfo class /// </summary> [DataContract] [Serializable] public class PromoCodeInfo : Compo...
using System.Text; using System; using System.Collections.Generic; using Newtonsoft.Json.Converters; using Newtonsoft.Json; using System.Net.Http; using System.Drawing; using System.Collections.ObjectModel; using System.Xml; using System.ComponentModel; using System.Reflection; namespace LinnworksAPI { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Interface_Segregation_Principle { //small interface following for equilaterals public interface IIsEquilateral { double SideLength { get; set; } } }
using UnityEngine; using System.Collections; namespace Minigame11 { public class BlankError : MonoBehaviour { #region variables public bool wasFind { get { return _wasFind; } } private bool _wasFind = false; private UISprite _sprite; private UIButton _button; ...
using System; public class Programa2 { public static void Main() { //https://youtu.be/4AjDMfblLRs //Entradas Console.WriteLine("Ingrese la hipotenusa"); double t = double.Parse(Console.ReadLine()); Console.WriteLine("Ingrese su angulo conocido en grados"); double a = double.Parse(Conso...
using System; using Microsoft.Extensions.DependencyInjection; namespace OmniSharp.Extensions.JsonRpc { public static class JsonRpcHandlerRegistrationExtensions { public static IServiceCollection AddJsonRpcHandler(this IServiceCollection services, string method, IJsonRpcHandler handler, JsonRpcHandlerO...
// // - SetPropertyCommand.cs - // // Copyright 2014 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // 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/lic...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using TestCase.Services.Contracts; namespace TestCase.Services.Implementations { public class CommandLineValidatorService : IStringValidatorService { ...
using ArtesanappInterfaces.BLLInterfaces; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Cors; namespace Artesanapp.Controllers { //[EnableCors(origins: "*", headers: "*", methods: "*")] public class Brew...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.IO; using System.Reflection; using System.Globalization; namespace GENIVisuals { public class SampleDataItem { public string Category { get; set; } ...
using UnityEngine; namespace Assets.Scripts.Handler { public class GameLogic { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BootstrapMVC.Models; using System.Web.Configuration; using System.IO; using System.Text; namespace BootstrapMVC.Controllers { public class HomeController : Controller { private Bugs...
namespace vn3xt.Plagiarism.PlagScan { using System; public enum AnalysisSensitivityMode { /// <summary> /// only report longer matches /// </summary> low = 0, /// <summary> /// balanced approach, recommended /// </summary> Medi...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System.Threading.Tasks; using EuropAssistance.Portugal.DRSA.Missioning.Models; using EuropAssistance.Portugal.DRSA.Missioning.Models.Base; using EuropAssistance.Portugal.DRSA.Missioning.Service.Abstractions; using System; using Microsoft....
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Drawing; namespace VACE_Controlling.Outlookbar { public class PanelIcon : PictureBox { public int index; public IconPanel iconPanel; public Image tmp; publi...
// GIMP# - A C# wrapper around the GIMP Library // Copyright (C) 2004-2011 Maurits Rijk // // IntCoordinate.cs // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2 of...
using System.Drawing; namespace MH_Database.Classes.Elements { class Rarity { internal enum tag { Gen_One_Two_Great_Sword = 001, Gen_One_Two_Sword_and_Shield = 002, Gen_One_Two_Dual_Blades = 003, Gen_One_Two_Hammer = 004, Gen_One_Two_...
using System.Xml.Serialization; namespace MonoGame.Extended.Tiled.Serialization { public class TiledMapTilesetGridContent { [XmlAttribute(AttributeName = "orientation")] public TiledMapOrientationContent Orientation { get; set; } [XmlAttribute(AttributeName = "width")] public int Width { get; set; } [Xm...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { public class ListAllFiles { private string _directoryName; public ListAllFiles(string directory) { _director...
using System; using System.Data; using System.Collections.Generic; using Maticsoft.Common; using PDTech.OA.Model; namespace PDTech.OA.BLL { /// <summary> /// 工作流步骤定义模板 /// </summary> public partial class WORKFLOW_STEP { private readonly PDTech.OA.DAL.WORKFLOW_STEP dal = new PDTech.OA.DAL.WO...
using System.Net; using System.Web.Mvc; using HtmlApp.Classes; namespace HtmlApp.Filters { public class AuthorizeConsoleAppUser: AuthorizeAttribute { public override void OnAuthorization(AuthorizationContext filterContext) { var incomingSessionToken = filterContext.HttpContext.Requ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Labra5 { class Jääkaappi { public bool Power { get; set; } public int Lämpötila { get; set; } public Jääkaappi() { } public Jääkaappi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BerlinClock.Classes.TimeDisplay { class MinutesRedLight : RedLight { public override bool LightValidation(int light) { return light % 3 == 0 && light != 0; ...
using Sqlite.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Easyliter; namespace test { class Program { static void Main(string[] args) { var connstr = "DataSource=" + System.AppDomain.CurrentDomain.B...
#region Copyright Syncfusion Inc. 2001-2015. // Copyright Syncfusion Inc. 2001-2015. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // a...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Runtime.CompilerServices; namespace BeerOrWine { class ImageRecognition { #region ATTRIBUTES /// <summary> /// Image bitmap /// </summary> private Bitmap _im...
using System; using System.Web.Mvc; namespace SimpleTimeConverter.Controllers { /// <summary> /// This controller is used to format and display the results from HomeController. /// </summary> public class ResultController : Controller { public ActionResult Display() { i...
using System.Xml.Serialization; namespace PlatformRacing3.Web.Responses.Procedures; public class DataAccessCountMyLevels2Response : DataAccessDataResponse<DataAccessCountMyLevels2Response.CountMyLevelsResponse> { private DataAccessCountMyLevels2Response() { } public DataAccessCountMyLevels2Response(uint count)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Net.Mobilink { class OutlookItem { public String EntryID { get; set; } private String fromSender; public String FromSender { get { return fromSender; } set...
namespace CandidateTesting.RicardoCastroMartin.Infra.Interfaces { public interface ILogFile { void Save(string _content); } }
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game.Mono; [Attribute38("LogInfo")] public class LogInfo : MonoClass { public LogInfo(IntPtr address) : this(address, "LogInfo") { } public LogInfo(IntPtr address, string className) : base(a...
using DAL.Interfacies.Repository; using System; using System.Collections.Generic; using System.Linq; using DAL.Interface.DTO; using System.Data.Entity; using ORM; using DAL.Mappers; using System.Linq.Expressions; namespace DAL.Concrete { public class QuestionRepository : IQuestionRepository { private ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL.Interface.Repository; using DAL.Interface.DTO; using System.Data.Entity; using ORM; using DAL.Mappers; namespace DAL { public class TestRepository : ITestRepository { private r...
/* DotNetMQ - A Complete Message Broker For .NET Copyright (C) 2011 Halil ibrahim KALKAN This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Effects : MonoBehaviour { public static Effects effectPar; public float centerX; public float centerY; public float speed; public static float duration; public Image par; pri...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScriptCore : MonoBehaviour { public Airborne Airborne; public Grounded Grounded; public Boost Boost; public SmashSlide SmashSlide; public Homing Homing; public Wisps Wisps; public ExtremeGear Extrem...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Amazon.DynamoDBv2; using Amazon.DynamoDBv2.DataModel; namespace DynamoDbDemo.Persistence { public class ProductReviewRepository : IProductReviewRepository { private readonly DynamoDBContext _context; public Pr...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data.SqlClient; using System.Linq; namespace Aroma_Violet.Models { public class AccountMovementViewModel { private const string dtfmt = "dd MMM yyyy HH:mm:ss"; public int? ClientI...
using System; using System.AddIn.Contract; using System.AddIn.Pipeline; namespace Tivo.Has.Contracts { public interface IHmeApplicationIdentityContract : IContract { string Name { get; } byte[] Icon { get; } Uri EndPoint { get; } bool UsesHostHttpServices { get; } } }
using System.Collections.Generic; using System.Threading.Tasks; namespace TestingEFCodeFirst.EF { public interface IRepository<TEntity> where TEntity : class { Task<IEnumerable<TEntity>> GetList(); Task<TEntity> Find(int id); void Insert(TEntity entity); void Delete(int id); ...
using BAKKAL_BOL.Entities; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BAKKAL_DAL.Contexts { public class SQLDbContext : DbContext { public DbSet<Musteri> musteris { get; set; } public D...
namespace E02_GetLargestNumber { using System; public class GetLargestNumber { public static void Main(string[] args) { // Write a method GetMax() with two parameters that // returns the larger of two integers. // Write a program that reads 3 integers f...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ApplicationVersionTracking.Models; // For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace ApplicationVersionTr...
using UnityEngine; using System.Collections; public class SendMessage : MonoBehaviour { public bool flag = false; public float decayTime = .75f; float timer; void OnTriggerStay2D(Collider2D other){ transform.parent.GetComponent<ShootFromPipe>().InTrigger(other.gameObject); } void Update(){ if(GetComponent<...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using InfoPole.Core.Entities; namespace InfoPole.Core.Services { public interface IMarkupTagsFileParser { IEnumerable<MarkupTag> GetAndSaveMarkupTagsFromHeader( string header...
using System; using System.Linq; using System.Collections.Generic; using Core.Common; namespace Calculator { public class Calculator { public Operand Eval (string exprString) { try { Parser parser = new Parser () { UnaryOperators = unaryOperators, BinaryOperators = binaryOperators, Charact...
using System.Threading; using NetCom; using NetCom.Helpers; using NetComModels; using NetComModels.Messages; namespace LogsSearchServer.Handlers { public class PingMsgHandler : IMsgHandler { public MsgType MsgType { get; } public PingMsgHandler() { MsgType = MsgType.Ping; ...
using Application.Common.Interfaces; using Application.Common.Models; using Domain.Entities; using MediatR; using System.Threading; using System.Threading.Tasks; namespace Application.V1.Posts.Commands { public static class CreatePost { public record Command : IRequest<Response> { ...
using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Server.Core; namespace Server { public interface IMyCommunityContext { DbSet<Community> Communities { get; } DbSet<User> Users { get; } DbSet<Post> Posts { get; } DbSet<Event> Events...
// High level script for connecting AR Receiptionist to IBM Services // UCL COMP0016 Team 12 Jan 2020; Written by Lilly Sinek // Adapted from https://github.com/IBM/Watson-Unity-ARKit // Sections that were added and not taken from above code are marked "NEW" #define ENABLE_DEBUGGING using System.Collections; using S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Parser { class StatementsExpression : IExpression { public IEnumerable<StatementExpression> Statements { get; } public StatementsExpression(IEnumerable<StatementExpression> statements) ...
namespace Labs.WPF.TvShowOrganizer.Data.Migrations { using Labs.WPF.TvShowOrganizer.Data.Model; using System; using System.Linq; using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<Labs.WPF.TvShowOrganizer.Data.TvShowOrganizerContext> { p...
/* 5. Write a boolean expression for finding if the bit 3 (counting from 0) of a given integer is 1 or 0. */ using System; class GetThirdBit { static void Main() { Console.WriteLine("Please enter the int: "); int number; int.TryParse(Console.ReadLine(), out number); int posit...
namespace VehiclesController { public class Auto : Vehicle { public Auto(VehiclesData vehicleDataInput) : base(vehicleDataInput) { } protected override void CheckTiresPressure() { this.ServicesLogs.Add("We have more axles here."); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace PhotoLock { static class Program { /// <summary> /// Главная точка входа для приложения. /// </summary> [STAThread] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.ExceptionServices; using System.Runtime.InteropServices; using ServerKinect.Clustering; using ServerKinect.Shape; namespace ServerKinect.OpenNI { public class PointerDepthPointFilter : IDepthPoint...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NutritionalResearchBusiness.Dtos; using NutritionalResearchBusiness.DAL; using NutritionalResearchBusiness.Enums; using NutritionalResearchBusiness.Common; namespace NutritionalResearchBusiness.BLL { public class NRMainSer...
using System; using UIKit; using Foundation; using CoreGraphics; using Ts.Core.iOS; [assembly: Ts.Core.Dependency.Dependency (typeof(Ts.Core.UI.iOSToast))] namespace Ts.Core.UI { public class iOSToast : UIView, IToast { private NSObject _owner = new NSObject (); private UIView _parentView; public UIView Pare...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TwinkleStar.Demo.Core.Models; namespace TwinkleStar.Demo.Core { public interface IAccountService { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; //在Unity界面生成[create CardEntity]的menu [CreateAssetMenu(fileName = "CardEntity", menuName = "Create CardEntity")] // 卡牌数据本身 public class CardEntity : ScriptableObject { public new string name; public int hp; public int at; pu...
using Newtonsoft.Json; using System; using System.Xml.Serialization; using XMLApiProject.Services.Utilities.Constants; namespace XMLApiProject.Services.Models.PaymentService.XML.RequestService.Responses { public class BaseResponse<T> { private const int _requestTypeLength = 3; public BaseResp...
/* 13. * Write a program that sorts an array of integers using the merge sort algorithm (find it in Wikipedia). */ using System; class MergeSort { static int[] MergeSortRecursive(int[] array) { int length = array.Length; if (length <= 1) // stop splitting array if it is smaller than 2 element...
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class FireExtinguisher : MonoBehaviour { public ParticleSystem water; private List<Fire> firesToExtinguish; public int firesNeededToActivate; public float durationInSeconds; public bool activat...
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class pointOfSail{ public string sailTitle; public float angle; public pointOfSail(string sailTitleToSet, float angleToSet){ angle = angleToSet; sailTitle = sailTitleToSet; } }; public class BoatControl...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Audio; public class FireManager : MonoBehaviour { public float GrowFactor = 0.1f; public float ReduceFactor = 0.01f; // percent lost public float GameOverThreshold = 0.005f; public float MaxSize = 1.5f; ...
using System; namespace BoardGame { class Program { static void Main(string[] args) { var jonny = new HumanPlayer("Jonny"); var papa = new HumanPlayer("Papa"); GameMain myGame = new GameMain(new Player[] {jonny, papa}, 100); for (int i = 0; i < 7; i++) myGame.PlayGame(); Console.ReadKey();...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MinionAI : MonoBehaviour{ private Transform player; public float moveSpeed = 5f; public float roamRange = 30f; public float attackRate = 0.3f; private Transform startingPosition; private Vecto...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using TxHumor.Common; using TxHumor.Config; using TxHumor.Controller; using TxHumor.Model; using TxHumor.UI.Model; public partial class Index : PageBase { private m_Q_Humor qu...
using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Chpoi.SuitUp.SSL; using Chpoi.SuitUp.Source; using Chpoi.SuitUp.Service; using Chpoi.SuitUp.Entity; using Chpoi.SuitUp.Util; using System; using System.Runtime.InteropServices; using System.IO; ...
namespace W3ChampionsStatisticService.CommonValueObjects { public class RaceWinLoss : WinLoss { public RaceWinLoss(Race race) { Race = race; } public Race Race { get; set; } } }
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WebApi.Models; using WebApi.Repository.Service.Interface; namespace WebApi.Repository.Service.Implementation { public class TodoRepositoryService : ITodoRepositoryService ...
using System; using Xamarin.Forms; using Directions; using STDBns; using BTWKns; using ANWKns; using UNDBns; using System.IO; using SQLite; using System.Collections.Generic; namespace Directions { public partial class TocDetailPage : ContentPage { public TocDetailPage() { ...
using Proyecto_Web.Interface; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using Proyecto_Web.Modelos; using Proyecto_Web.Conection; namespace Proyecto_Web.Modelos { public class SUPERVISOR { private IDatos dat = new Datos(); public st...
using Assets.Scripts.RobinsonCrusoe_Game.GameAttributes; using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveCamp_OnClick : MonoBehaviour { public GameObject myIsland; private void OnMouseDown() { var phase = FindObjectOfType<PhaseView>().currentPhase; ...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Excel = Microsoft.Office.Interop.Excel; namespace FLS.Business { public interface IInterpolationTabDAL { /// <summary> /// Retur...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Data.Entity; using AutoMapper; using MVC_Library.Dto; using MVC_Library.Models; namespace MVC_Library.Controllers.Api { public class RentalsController : ApiController ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ItemEdit.Models { public class TransItem { public string Name { get; set; } public string ShortName { get; set; } public string Description { get; set; } }...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Metani.Models; namespace Metani.Controllers { public class JenisTaniController : Controller { // GET: JenisTani public ActionResult Index() { if ((bool)Session["...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TK_Recorder.Model { public class Lecture { public int Id { get; set; } [Required] [Column(TypeName = "varchar(255)")] public string Title { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RewardScript : MonoBehaviour { public Vector3 thrust; // direction of movement public Quaternion heading; public int rewardIdx; public GameObject sparkle; // reward sparkle public GameOb...
using System; using System.IO; using System.Windows.Forms; using Grimoire.Tools.Plugins; namespace Grimoire.UI { public partial class PluginsForm : Form { public static PluginsForm Instance { get; } = new PluginsForm(); public PluginsForm() { InitializeComponent(); ...
using System; namespace SharpDL.Graphics { public struct Matrix { public float Row1Col1 { get; private set; } public float Row1Col2 { get; private set; } public float Row2Col1 { get; private set; } public float Row2Col2 { get; private set; } public Matrix(float row1...
using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using System.IO; using SteamScan; using ManagerLogger; namespace MGSV_SaveSwitcher { /// <summary> /// Interaction logic for SettingsWindow.xaml /// </summary> public partial class S...
using System; using System.Collections.Generic; using UnityEngine; /// <summary> /// 事件管理器 /// </summary> public static class _E { public static Dictionary<EventID, Delegate> eventDic; public static void Init() { eventDic = new Dictionary<EventID, Delegate>(); } public static void ClearLis...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using K_Systems.Data.Core.Repositories; namespace K_Systems.Data.Persistance.Repositories { public class Repository<TEntity> : IRepository<TEntity> where TEntity : class ...
// Copyright (C) 2020 Kazuhiro Fujieda <fujieda@users.osdn.me> // // 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 re...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace treatment.Models { public class Account { public int AccountID { get; set; } [Required] public string UserName { get; set; } [Required] ...
using Android.Content; namespace Auth0.OidcClient { /// <summary> /// Implements browser integration using the a regular web browser. /// </summary> public class SystemBrowser : AndroidBrowserBase { public SystemBrowser(Context context = null) : base(context) { }...