text
stringlengths
13
6.01M
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Nusstudios.Common; using Nusstudios.Models; // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace Nusstudios.Controllers { public class ArticlesController : Controlle...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerBehavior : MonoBehaviour { public float speed = 10; public float airspeed = 10; public float jumpHeight = 5; public float gravity = 9.8f; public int health = 3; // animals now get recalled upo...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityTemplateProjects; public class CharacterController : MonoBehaviour { private Animator ani; [SerializeField] private float moveSpeed; [SerializeField] private float turnSpeed; [SerializeField] priva...
using System; namespace Fuzzing.Fuzzers.Impl { public class FloatFuzzer : TypeFuzzer<float> { private const int FloatSize = sizeof (float); public override float Fuzz() { var data = new byte[FloatSize]; RandomNumberGenerator.GetBytes(data); var result = BitConverter.ToSingle(data, 0); return res...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace chargeIO.Models { public interface IPaymentMethodInformation { [JsonProperty("email")] string Email { get; set; } [JsonProperty("name")] string Name { get; se...
using System.Collections.Generic; using System.Linq; namespace Refactoring.UntanglingStructureFromOperations { class Painters { private IEnumerable<IPainter> ContainedPainters { get; } public Painters(IEnumerable<IPainter> painters) { this.ContainedPainters = painters.ToL...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DontDestroy : MonoBehaviour { public static DontDestroy dd; private int vidas = 3; [SerializeField] private Text textoVidas; private void Awake() { if (dd == null) ...
using System; using System.Collections.Generic; using Fbtc.Domain.Entities; using Fbtc.Domain.Interfaces.Services; using Fbtc.Application.Interfaces; using prmToolkit.Validation; using Fbtc.Application.Helper; namespace Fbtc.Application.Services { public class EventoApplication : IEventoApplication { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace PayRoll { public partial class WorkSheet : System.Web.UI.Page { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FormUserManager : MonoBehaviour { [SerializeField] GameObject SignInMenu; [SerializeField] GameObject SignUpMenu; // Start is called before the first frame update void Start() { ...
using ControleFinanceiro.Domain.Contracts.Repositories; using ControleFinanceiro.Domain.Contracts.Services; using ControleFinanceiro.Domain.Entities; using ControleFinanceiro.Infra.Data.EF; using System; using System.Collections.Generic; namespace ControleFinanceiro.Domain.Service.Services { public class ServicoD...
/// summary> /// CodeArtist.mx 2018 /// To get the selector color, call in any method: ColorSelector.GetColor(); /// </summary> using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.EventSystems; using UnityEngine.Events; public class ColorSelector : MonoBehaviour , IDragHandler, IPoin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Globalization.DateTimeFormatting; namespace Season { public static class SeasonExtensions { // original code by riofly see http://stackoverflow.com/a/12243809/1248177 // equinox en...
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 ProyectoSCA_Navigation.Clases.Clases_Para_...
using System; using System.Collections.Concurrent; namespace SpeedSlidingTrainer.Application.Infrastructure { public sealed class MessageBus : IMessageBus { private readonly ConcurrentDictionary<Type, Action<object>[]> handlersByType = new ConcurrentDictionary<Type, Action<object>[]>(); public...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace GymWorkout.Application.Interfaces { public interface IBaseEntity { int Id { get; set; } DateTime CreateDate { get; set; } } }
using System; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; namespace todo_app.Controllers { public class ToDoContext : DbContext { string TODO_CONNECTION_STRING = ""; public ToDoContext(IOptions<Parameters> options) { Console.WriteLine("DB Connection...
using System; using System.Configuration; using System.Data.SqlClient; using System.Linq; public partial class _Default : System.Web.UI.Page { private DataClassesDataContext db = new DataClassesDataContext(); protected void Page_Load(object sender, EventArgs e) { Repeater_Frontpage.DataSource = db...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Deactivate : MonoBehaviour { Transform _player; public float deactivationDistance; void Start () { _player = GameObject.FindGameObjectWithTag("Player").transform; } // Update is called once ...
namespace Assets.Scripts.Models.Clothes { public class Boots : Clothes { } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace InventorySolution { public partial class WelcomeScr : Form { public WelcomeScr() { ...
using Dapper; using System.Collections.Generic; using System.Data; using System.Threading; using System.Threading.Tasks; namespace Kaax.Sample { static class DbConnectionProviderDapperExtensions { public static async Task<IEnumerable<T>> QueryAsync<T>(this IDbConnectionProvider dbConnectionProvider, s...
using MikeGrayCodes.BuildingBlocks.Domain; namespace MikeGrayCodes.Ordering.Domain.Entities.Orders.Rules { public class UnitsOrderedMustBeGreaterThanZeroRule : IBusinessRule { private readonly int units; public UnitsOrderedMustBeGreaterThanZeroRule(int units) { this.units ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace ProxyPattern { class Program { static void Main(string[] args) { Stopwatch sw = new Stopwatch(); sw.St...
//#define debug using System; using System.Collections.Generic; using System.Linq; using System.Text; using AxisPosCore; using KartObjects; using System.IO; using System.Xml.Serialization; using System.Diagnostics; using AxisPosCore; using System.Timers; using KartObjects.Entities; namespace AxisPosUtil { /// <su...
using UnityEngine; using System.Collections; public class DangerBase : MonoBehaviour { GameObject levels; GameObject fade; public GameObject centre; GameObject player; string oldname; string levelname; string levelNum; GameObject endEffect; GameObject currentLevel; GameObject F...
using System.Collections; using System.Collections.Generic; using UnityEngine; using EventSystem; public class Loan { public int Amount { get; private set; } public float InterestRate { get; private set; } public int Duration { get; private set; } // in years public int TotalPaid { get; priv...
using System.Collections.Generic; namespace ticketarena.lib.model { public class ReturnResult { public ReturnResultTypes ResultType { get; set; } public IEnumerable<Coin> Coins { get; set; } } }
using ClassesIerarchy.Interfaces; using System; namespace ClassesIerarchy { class StartUp { static void Main(string[] args) { string command = Console.ReadLine(); while (command!="End") { string []array = command.Sp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MarieCurie.Interview.Assets.Model; namespace MarieCurie.HelperServices.Utilities { public static class HelperServicesUtility { public static bool checkOpenningHours(string dayOfWe...
// HomePage.cs // using System; using System.Collections; using System.Html; using System.Net; using jQueryApi; using SportsLinkScript.Shared; using System.Serialization; namespace SportsLinkScript.Controls { public class QuickMatch : Module { public QuickMatch(Element element) : base(elem...
using System.Linq; using System.Security.Claims; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.WsFederation; using Microsoft.AspNetCore.Http; using Microsoft.Extensio...
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; public class GizmosDemo : MonoBehaviour { void OnDrawGizmosSelected() { //改变gizmo的颜色 Gizmos.color = new Color32(145, 244, 139, 210); Gizmos.DrawWireCube(transform.position, transform.lossyS...
 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using BitClassroom.DAL.Models; using System.Data.Entity; using System.Net; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNe...
using System; using Microsoft.Xna.Framework; namespace VoxelSpace { public struct Bounds { public Vector3 Position; public Vector3 Size; public Vector3 Center { get => Position + Size / 2; set => Position = value - Size / 2; } publi...
using System.Collections.Generic; namespace Algorithms.Lib.Interfaces { public interface IGraphAtoFactory { IArcs CreateArc(INode from, INode to); IEdge CreateEdge(INode node1, INode node2); IOrgraph CreateOrgraph(IEnumerable<INode> nodes, IEnumerable<IArcs> edges); IGraph Crea...
using System.Windows; using System.Windows.Controls; using BLL.Services; using UI.ViewModels; namespace UI.Pages { /// <summary> /// Логика взаимодействия для RecordsListPage.xaml /// </summary> public partial class RecordsListPage : Page { private readonly RecordsListViewModel _viewModel;...
public class Solution { public bool IsIsomorphic(string s, string t) { if (s.Length != t.Length) return false; var m1 = new Dictionary<char, char>(); var m2 = new Dictionary<char, char>(); for (int i=0; i<s.Length; i++) { if (m1.ContainsKey(s[i]) && m1[s[i]] != t[i]) { ...
using UnityEngine; /* * Author : Elio Valenzuela * Create on : 01-06-2018 * * Clase controla a los poderes especiales del personaje principal */ public class Projectile : MonoBehaviour { private Vector2 direction; public float movementSpeed = 10; public bool upgraded; void Start () { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TypeInThai.Models { public class OrderItem : Item { public int Quantity; public decimal OrderPrice { get { return Price * Quantity; } } } }
using System; using System.Collections.Generic; using System.Linq; /* * tags: regular expression, wildcard matching, dp, greedy * Lc010_Regular_Expression_Matching: support only '.' and '*' in pattern. '*' Matches zero or more of the preceding char. * Lc044_Wildcard_Matching: support only '?' and '*' in pattern. ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameController : MonoBehaviour { public Dictionary<int,Empire> empires; public Empire selectedEmpire; private void Start() { } void StartGame() { } void LoadEmpiresFromInt...
namespace NStandard.Security { public class DesCipher : SymmetricCipher<DesCipher> { public override int IVLength => 8; } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net; using System.Globalization; using System.Threading; using System.Collections.Specialized; using System.IO; using System.Xml; namespace W...
using System; class complex { private double Re = 0; private double Im = 0; //定义一个复数 public complex (double r, double m) { Re = r; Im = m; } //两个复数相加 public complex plus (complex a) { double RE = a.Re + this.Re; double IM = a.Im + this.Im; complex c =...
using Alabo.Domains.Entities; using Alabo.Domains.Repositories.Mongo.Extension; using Alabo.Framework.Basic.PostRoles.Dtos; using Alabo.Framework.Core.Enums.Enum; using Alabo.Framework.Themes.Domain.Enums; using Alabo.Web.Mvc.Attributes; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Newtonsoft...
using System.Collections.Generic; using System.Linq; using Hangfire; using log4net; using NHibernate; using Profiling2.Domain.Contracts.Queries; using Profiling2.Domain.Contracts.Queries.Procs; using Profiling2.Domain.Contracts.Queries.Search; using Profiling2.Domain.Contracts.Tasks; using Profiling2.Domain.DTO; using...
using KartObjects; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KartSystem { public class GoodMovementRecord:SimpleNamedEntity { [DBIgnoreReadParam] public override string FriendlyName { get { return "Запись аналитики о тов...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TournamentBot.BL.Common; namespace TournamentBot.SimulatedClient { class Program { static void Main(string[] args) { string input = ""; Console.Wr...
namespace CustomAction.SaveAction { using Sitecore.Globalization; using Sitecore.Publishing; using Sitecore.SecurityModel; using Sitecore.Data; using Sitecore.Form.Submit; /// <summary> /// This class is meant to demonstrate how to create a custom action attached to the Save Action set of ...
 using System; using System.Collections.Generic; namespace ApplicationUpdater { public class IISAplicationUpdater { public IUpdateProcess UpdateProcess { get; private set; } public IISAplicationUpdater(IUpdateProcess selgrosApplicationUpdateStrategy) { UpdateProcess = selg...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Student.Mangmnet.Models { public class StudentModels { public string StudentId { get; set; } [Required(ErrorMessage = "Student Name must be not null")] ...
namespace BootcampTwitterKata.Messages { public class UnLikeTweet { public UnLikeTweet(int id) { this.Id = id; } public int Id { get; set; } } }
using BradescoPGP.Common; using BradescoPGP.Common.Logging; using BradescoPGP.Repositorio; using BradescoPGP.Web.Models; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; namespace BradescoPGP.Web.Services { public class AgendaService { public AgendaViewModel...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CEMAPI.Models { public class TransitionToCEMMeasureInfoDTO { public int? OfferId { get; set; } public int MeasureId { get; set; } public string MeasureName { get; set; } public boo...
using eMAM.Data.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace eMAM.UI.Models { public class HomeViewModel { public ICollection<EmailViewModel> NotReviewed { get; set; } public ICollection<EmailViewModel> New { get; set; } ...
/* Dataphor © Copyright 2000-2008 Alphora This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt */ //#define USECLEANUPNODES // Part of cleanup processing, currently disabled because cleanup processing is done with InstructionNodeBase.CleanupOpera...
namespace ODL.DomainModel.Adress { public class Gatuadress { public Gatuadress() { } public Gatuadress(string adressRad1, string postnummer, string stad, string land) { AdressRad1 = adressRad1; Postnummer = postnummer; ...
using System; using System.Collections.Generic; using Engine; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace TanksUnderAttack3D { public abstract class EngineGame : Game { public Scene CurrentScene; protected GraphicsDeviceM...
using System.Collections.Generic; using System.Linq; using MoviesDemo.Models; using Microsoft.Extensions.Options; using MongoDB.Driver; using System; namespace MoviesDemo { public class Query { private readonly IMongoCollection<Movie> _movies; public Query(IOptions<MoviesDatabaseC...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using dropkick; using dropkick.DeploymentModel; using dropkick.FileSystem; using System.Text.RegularExpressions; namespace dropkick.Tasks.Files { public class OpenFolderShareAuthenticationTask : Task { p...
namespace Fingo.Auth.Domain.Projects.Interfaces { public interface IGetAddressForSetPassword { string Invoke(int projectId); } }
using MmsDb; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MmsApi.Models { public class ModelFactory { public UserModel Create(UserEntity user) { return new UserModel() { Id = user.Id, Name...
using BLL; using DAL; using DAL.Entities; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BLL { public class DbInitializer { public static async Task Initialize(AppDbContext context, User...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EventDepartmentManager { [Serializable] public class ListOfCustomers { public List<Customer> Cust { get; set; } public ListOfCustomers(List<Customer> cust) ...
using jaytwo.Common.Extensions; using jaytwo.Common.Http; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace jaytwo.Common.Test.Http.UrlHelperTests { public static class SetSchemeHttpTests { private stati...
using System; using System.Collections.Generic; using System.Text; using Repository.Repositorio; namespace Interfaces.Interfaces { public interface ITradeBS { } }
using Eda.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; namespace Eda.Integrations.Delivery.DependencyInjection { /// <summary> /// Contains <see cref="IServiceCollection"/> extensions for adding delivery. /// </summary> public static class ServiceCollectionExtensio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HomeAutomation.BusinessServices { public class DoorSwitchReading { public int ID { get; set; } public int SensorID { get; set; } public bool DoorOpen { get; set...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Consul; using Microsoft.Extensions.Configuration; namespace Core31DemoProject.Utility.ConsulExtend { public static class ConsulRegister { public static void RegisterConsul(this IConfiguration configu...
using System; using System.Text; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.IdentityModel.Tokens; using System.IdentityModel.Tokens.Jwt; using Microsoft.UnifiedPlatform.Service.Common.Authentication; namespace Microsoft.UnifiedPlatf...
using System.Collections.Generic; using Assets.Scripts.Models.ResourceObjects; using Assets.Scripts.Models.ResourceObjects.CraftingResources; namespace Assets.Scripts.Models.Common { public class GardenBedBrick : BaseObject, IPlacement { public string PrefabTemplatePath { get; set; } public st...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using Microsoft.AspNetCore.Mvc; namespace AspNetCoreDemo.Controllers { //[Route("v1/[controller]")] public class ValuesController : ApiBaseController { private List<string> vals ...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using CarRental.API.BL.Models; using CarRental.API.BL.Services; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CarRental.API.BL.Services.Clients; using CarRental.API.BL.Models.Clients; using CarRent...
using Euler_Logic.Helpers; using System; using System.Collections.Generic; namespace Euler_Logic.Problems { public class Problem159 : ProblemBase { private PrimeSieve _primes; private Dictionary<ulong, ulong> _maxRootSum = new Dictionary<ulong, ulong>(); private Dictionary<ulong, ulong> _r...
using BoDi; namespace AutoTests.Framework.Core.Utils { public class UtilsDependencies : Dependencies { public UtilsDependencies(ObjectContainer objectContainer) : base(objectContainer) { } public ResourceUtils Resources => ObjectContainer.Resolve<ResourceUtils>(); } }
using System; using System.Collections.Generic; using IrsMonkeyApi.Models.DB; namespace IrsMonkeyApi.Models.DAL { public interface IUploadFileDb { File UploadFile(string memberId, string resolution, string filename, string documentName); List<File> ListFileByUser(Guid memberId); } }
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BSTree.Tests { [TestClass] public class TestTests { [TestMethod] public void CheckTestData() { var testData = TestDataGenerator.GetKeysAndValues(50); for (int i = 0; i < 50; i++) ...
/** * Definition for a binary tree node. * public class TreeNode { * public int val; * public TreeNode left; * public TreeNode right; * public TreeNode(int x) { val = x; } * } */ public class Solution { // !!!!!! My solution here is way more complicated. Not recommended. Find the best answe...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Security.Principal; using System.Data; using EasyDev.Util; using System.Threading; using System.Text.RegularExpressions; using System.Configuration; using log4net; using EasyDev.BL; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UIAFramework.Exceptions { public class UIA_GenericException : Exception { public UIA_GenericException(string sMessage) : base(sMessage) { } } public class UIA_InvalidS...
using Microsoft.AspNetCore.SignalR; namespace WitsmlExplorer.Api.Services { public class NotificationsHub: Hub { } }
using System.Collections.Generic; using System.Linq; using Cradiator.Config; using Cradiator.Model; namespace Cradiator.Audio { public class DiscJockey : IConfigObserver { IEnumerable<ProjectStatus> _previousBuildData = new List<ProjectStatus>(); readonly IAudioPlayer _audioPlayer; readonly SpeechMaker _speech...
using Discord; using JhinBot.Conversation; using JhinBot.DiscordObjects; using JhinBot.Utils; using System; using System.Collections.Generic; namespace JhinBot.Services { public class EmbedService : IEmbedService { private readonly IBotConfig _botConfig; private readonly IResourceService _reso...
using System; namespace BlazorShared.Models.Patient { public class DeletePatientResponse : BaseResponse { public DeletePatientResponse(Guid correlationId) : base(correlationId) { } public DeletePatientResponse() { } } }
using Alabo.Datas.Stores.Distinct.EfCore; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Entities.Core; using Microsoft.EntityFrameworkCore; using System; using System.Linq.Expressions; using System.Threading.Tasks; namespace Alabo.Datas.Stores.Exist.EfCore { public abstract class ExistsAsyncEfCoreStore<TEnt...
using System; using System.Collections.Generic; using System.Linq; namespace _02._Dungeons_Dark { class Program { static void Main(string[] args) { List<string> input = Console.ReadLine().Split("|", StringSplitOptions.RemoveEmptyEntries).ToList(); int health = 100; ...
using System; using UnityEngine; public class BitMaskMap { /* Supermap knows of itself and of 8 surrounding tiles Supermap needs these: - rooms: bits 1 - 9 - roads: bits 11 - 19 - walls: bits 21 - 29 - walkable: bit 30, only this square - checkedbit for regionfinding floodfill ...
using System; using System.Security.Cryptography; using System.Text; namespace Web.Libraries { public class Encryption { /// <summary> /// Performs a Sha 256 Hash function on a supplied value /// </summary> /// <param name="value"></param> /// <returns>string</retur...
using aairvid.Model; using aairvid.Utils; using Android.Content; using Android.Views; using Android.Widget; using System.Collections.Generic; namespace aairvid.History { public class HistoryItemJavaAdapter : Java.Lang.Object { public HistoryItem Details { get; set; } } public class...
using Allyn.Application.Dto.Manage.Front; using Allyn.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Allyn.Application.Front { /// <summary> /// 表示会员组织应用服务类型. /// </summary> public interface IOrganizeService...
using System; using System.Collections.Generic; class Palindromes { static void Main() { string[] inputStr = Console.ReadLine().Split(new char[] { ' ', ',', '.', '?', '!' }, StringSplitOptions.RemoveEmptyEntries); List<string> palindromes = new List<string>(); for (int i = 0; i < input...
using System; using System.Windows; using System.Windows.Input; using Beeffective.Commands; using Beeffective.Extensions; using Beeffective.Views; using MaterialDesignThemes.Wpf; namespace Beeffective.ViewModels { class ExpandableViewModel : ClosableViewModel { private string customIcon; priva...
using System.Data.Entity; using DAL.Models; using Microsoft.AspNet.Identity.EntityFramework; namespace DAL { public class MoviesContext : IdentityDbContext<ApplicationUser> { public DbSet<Movie> Movies { get; set; } public DbSet<Genre> Genres { get; set; } public DbSet<People> Peoples ...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Tianhai.OujiangApp.Schedule.Services{ public class ScheduleService:DataService{ public ScheduleService(){} public static async Task<Models.Schedule> fetchCurrent(string token){ Models.GeneralReturn<Models.Schedule> result...
using System; using System.Runtime.CompilerServices; using AbilityUser; using Verse; using RimlightArchive.Defs; using RimlightArchive.Needs; namespace RimlightArchive.Comps { /// <summary> /// Handler for Investiture-based abilities. /// </summary> [CompilerGenerated] [Serializable] [Static...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ELearningPlatform.Models { public class Inscription { public int Id { get; set; } public int IdUser { get; set; } public int IdCourse { get; set; } } }
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Windows.Forms; using DnsHelperUI.WindowsFormsApplication_CS; using Newtonsoft.Json; namespace DnsHelperUI { public partia...
using System.ComponentModel.DataAnnotations.Schema; using Alabo.Domains.Entities; using Alabo.Domains.Repositories.Mongo.Extension; using Alabo.Web.Mvc.Attributes; using MongoDB.Bson; using Newtonsoft.Json; namespace Alabo.Industry.Shop.Orders.Dtos { /// <summary> /// 快递信息 /// </summary> [Table("O...
using System; namespace DelegatesAndEvents { public class ExampleDelegates { public delegate int Comparison<in T>(T left, T right); public Comparison<int> comparator; public void CallDelegate(int a, int b) { comparator.Invoke(a, b); } /// <summary>...