text
stringlengths
13
6.01M
using System; using System.Reflection; using System.Collections; using System.Collections.Generic; using System.Linq; class Element { protected Type self; protected List<Element> childs = new List<Element>(); public static Element NewElement(Type t) { if(t.IsClass) { return new ClassElement(t); } if(t...
namespace EFTeste.DataModel.Migrations { using System; using System.Data.Entity.Migrations; public partial class Database : DbMigration { public override void Up() { CreateTable( "dbo.Aluno", c => new { ...
using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TransferData.DataAccess.Entity.Mapping { public class MappingCarBrand : MappingBase { } public class MappingCarBrandConfig : Entity...
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 CefSharp.MinimalExample.WinForms { public partial class frmSettings : Form { p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using Syste...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Button))] public class ButtonSound : MonoBehaviour { #region Inspector Variables private string soundId = "UIButton"; #endregion #region Unity Methods p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class EffectIconContainer : MonoBehaviour { [SerializeField] Image icon; public Image Icon { get { return icon; } } [SerializeField] Image durationImage; public Image DurationImage { get { retur...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pattern { [HideInInspector] public List<Tile> pattern = new List<Tile>(); // Start is called before the first frame update void Start() { } // Update is called once per frame void Update()...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class Menu : MonoBehaviour { public Button start; public Button quit; // Use this for initialization void Start () { Cursor.visible = true; ...
//using System.Collections; //using System.Collections.Generic; //using UnityEngine; //using Sirenix.OdinInspector; //using DChild.Gameplay.Objects.Characters.Enemies; //public class BeeDroneAI : MonoBehaviour //{ // [SerializeField] // private Transform m_target; // private QueenBeeDrone m_qbDrone; // ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class HexGridManager : MonoBehaviour { [SerializeField] public static int height = 9; [SerializeField] public static int width = 6; [SerializeField] private float radialOffest = .5f; public He...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace ArcheyGame { //The strategy game is a two-player archery game.A player has: //TODO Batte method and its functions: menu selection, handling expetions and user inputs //TODO There is some...
using Motherload.Interfaces.Unity; using UnityEngine; namespace Assets.Services { /// <summary> /// Implementação de <see cref="IDebugger"/> /// </summary> public class Debugger : IDebugger { /// <summary> /// Implementação de <see cref="IDebugger.Log(string)"/> /// </summa...
using Experian.ApiModels.JsonPlaceHolder; using Experian.QueryModels; using System.Collections.Generic; using System.Threading.Tasks; namespace Experian.QueryServices.Interfaces.PhotoAlbum { public interface IPhotoAlbumQueryService { IEnumerable<PhotoAlbumQueryModel> GetPhotoAlbums(IEnumerabl...
using System; using System.Linq; namespace Compare_char_arrays { class Program { static void Main(string[] args) { char[] word1 = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).Select(char.Parse).ToArray(); char[] word2 = Console.Rea...
using System; using System.Diagnostics; using System.Reflection; using Breeze.AssetTypes.XMLClass; using Breeze.Helpers; namespace Breeze { public class DataboundAttribute : Attribute { } } namespace Breeze.AssetTypes.DataBoundTypes { public partial class DataboundAsset { public void Fix...
namespace CameraView { using System; using System.Linq; using System.Text.RegularExpressions; public class StartUp { public static void Main() { var numbers = Console.ReadLine() .Split(' ') .Select(int.Parse) .ToArray(); ...
using UnityEngine; using System.Collections; public class DaoJuNetCtrl : MonoBehaviour { public DaoJuState DaoJuType = DaoJuState.DianDaoFu; // Use this for initialization void Start () { SetDaoJuType(); if (GlobalData.GetInstance().gameMode != GameMode.SoloMode) { InitCheckPeerType(); } } void SetDaoJ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; using System.ComponentModel.DataAnnotations; namespace SportsStore.Domain.Entities { public class Product { [HiddenInput(DisplayValue = false)] public int P...
using ChallengeTechAndSolve.Application.Contracts.IServices; using ChallengeTechAndSolve.Application.Services; using ChallengeTechAndSolve.Application.Unit.Tests.MockRepository; using ChallengeTechAndSolve.Application.Unit.Tests.Stubs; using ChallengeTechAndSolve.Business.Mappers; using ChallengeTechAndSolve.Business.M...
namespace Sentry.Tests; public class HintTests : IDisposable { private readonly string _testDirectory; public HintTests() { _testDirectory = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); Directory.CreateDirectory(_testDirectory); } [Fact] public void AddAttachme...
using System; using System.Collections.Generic; namespace Jypeli.Controls { /// <summary> /// Kuuntelukonteksti ohjaimia varten /// </summary> public class ListenContext : Destroyable { internal static ListenContext Null = new ListenContext() { Active = false }; private bool _acti...
 /************************************************************************/ /* Project Name : IpSwitcher */ /* Author: luoweifeng1989 */ /* Date: 2011-4-23 */ /* All Rights ...
using System.Diagnostics; using Xamarin.Forms; using System.Linq; using surfnsail.Models; namespace surfnsail.Views { public class AppRootPage : ContentPage { ListView _listView; public AppRootPage() { Title = "Sunset Surfing"; _listView = new ListView(); ...
namespace CalculatorServices.WebAPI.DTOs { public class SumResponse { public int Sum { get; set; } } }
using Newtonsoft.Json; namespace PFRCenterGlobal.Models { public class PhotoForReturnDto { [JsonProperty(PropertyName = "url")] public string Url { get; set; } [JsonProperty(PropertyName = "dateAdded")] public long DateAdded { get; set; } [JsonProperty(PropertyName = "...
using System; using Xunit; using WordGuessGame; namespace WordGuessTests { public class UnitTest1 { [Fact] public void ShouldReadWordsFromFile() { string path = "../../../../test.txt"; string[] testWords = Program.ReadWordBank(path); Assert.True(test...
using System; using WinFormsMvpExample.Features.Login; using WinFormsMvpExample.Infrastructure; using WinFormsMvpExample.Navigation; namespace WinFormsMvpExample.Features.Main { public sealed class MainPresenter : BasePresenter<IMainView> { public MainPresenter(IMainView view) : base(vie...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CTF { class Ex1 : ExX { #region Attributes #endregion #region Constructors public Ex1(string name) : base(name) { } #endregion ...
using System.Linq; using System.Threading.Tasks; using M220N.Models; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Conventions; using MongoDB.Driver; using NUnit.Framework; namespace M220NLessons { /// <summary> /// This Test Class shows the code used in the...
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using RimLiqourProject.Models; using NewRimLiqourProject.Models; namespace NewRimLiqourProject.Controllers { [Authorize(Roles = "Admin")] pu...
public interface ITransform { ITransformBehaviour TransformBehaviour { get; set; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Microsoft.Office.Interop.Word; //using Microsoft.Office.Interop.PowerPoint; namespace Microsoft.word2pdf { class Program { /// <summary> /// this function copy from Microso...
using System.Collections; using System.Collections.Generic; using System.Linq; using TMPro; using UnityEngine; public class DebugUIScript : MonoBehaviour { public static DebugUIScript MainInstance; public List<TMP_Text> TextBoxes; private void Start() { MainInstance = this; } public void SetText(IEnumerabl...
using JT808.Protocol.Attributes; using JT808.Protocol.Enums; using JT808.Protocol.Formatters; using JT808.Protocol.Interfaces; using JT808.Protocol.MessagePack; namespace JT808.Protocol.MessageBody { /// <summary> /// 文本信息下发 /// </summary> public class JT808_0x8300 : JT808Bodies, IJT808MessagePackForm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AiBridge { public class Neuron : INeuron { /// <summary> /// Inputs of neuron /// </summary> public List<Dendrite> Dendrites { get; protected set; } /// <summary> //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WPF.Model { class Login { public int Id { get; set; } public string Email { get; set; } public string Parola { get; set; } } }
using System; using UnityEngine; using Random = UnityEngine.Random; [Serializable] public class FloatRange { public float Min; public float Max; public FloatRange(float min, float max) { Min = min; Max = max; } public float RandomValue() { float val = Rando...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace damdrempe_zadaca_1 { public interface IGeneratorBrojeva { int DajSlucajniBrojInt(int minVrijednost, int maxVrijednost); long DajSlucajniBrojLong(long ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; [Serializable] public class Character : PhysicalInteractable, ISpeaker, IWalker { public float speed = 4f; public Tile targetTile; public Vector2 targetPos; [NonSerialized] public Queue<Vector2> path; public Color ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using com.Sconit.Web.Models; using System.Web.Routing; using com.Sconit.Entity.SYS; using com.Sconit.Service; using com.Sconit.Web.Models.SearchModels.MD; using com.Sconit.Utility; using Telerik.Web.Mvc; using co...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace RPG.Characters { [CreateAssetMenu ( menuName = "RPG/Special Ability/Self Heal" )] public class SelfHealConfig : AbilityConfig { [Header ( "Self Heal Specific" )] [SerializeField] float healAmount = 200f; public override...
using Cs_Gerencial.Aplicacao.Interfaces; using Cs_Gerencial.Dominio.Entities; using Cs_Gerencial.Dominio.Interfaces.Servicos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cs_Gerencial.Aplicacao.ServicosApp { public class AppServicoMu...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ForceArea : MonoBehaviour { public float angle = 30; public float acceleration = 10; public float desiredSpeed = 20; // Use this for initialization void Start () { } // Update is called once per frame void Upda...
using Crystal.Plot2D.Common; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Crystal.Plot2D.Charts { public class StackCanvas : Panel { public StackCanvas() { //ClipToBounds = true; } #region [-- EndCoordinate attached property --] ...
using UnityEngine; using System.Collections; /** * @author Chris Foulston */ namespace Malee.Hive.Objects { public struct TransformReference { public Transform transform; public Vector3 localPosition; public Quaternion localRotation; public Vector3 localScale; public TransformReference(Transform transf...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XH.Infrastructure.Bus { public interface IBus { } }
using System; using System.Buffers; using System.Collections.Generic; using System.Linq; using DomainModel.Entity.AmountClasses; using DomainModel.Entity.DomainServices; using DomainModel.Entity.PaymentMethods; using DomainModel.Entity.PaymentProducts; using DomainModel.Entity.product; using DomainModel.StatePattern.O...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Poker.Model { class Carte { private int valeur; private string couleur; public int Valeur { get => valeur; set => valeur = value; } public string Coule...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; public class BoHealthController : MonoBehaviour { public int maxHealth = 30; public int currentHealth; public BoHealthBar healthBar; public GameObject pause; public GameObject LunchLass; ...
namespace P02CalculateSequenceWithAQueue { using System; using System.Collections.Generic; using System.Text; public class EntryPoint { public static void Main() { StringBuilder output = new StringBuilder(); Queue<int> sequence = new Queue<int>(); ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.DependencyInjection; namespace MediatR { // Note: This class is not needed for a AgentR client it just // encapsulates MediatR and Dependency Injection abstract class MediatorApp<T>...
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace ScriptableObjectFramework.Variables.Special.Editor { [CustomEditor(typeof(RandomIntVariable))] public class RandomIntInspector : UnityEditor.Editor { public override void OnInspectorGUI() ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class PlayerStatsManager : MonoBehaviour { public float health; public Image healthbar; public GameObject gameCamera; private GameObject gameManager; private float max...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class backForth : MonoBehaviour { public float x1,x2,dx,xpos; public Obstacle obstacle; // Use this for initialization void Start () { } void Update() { transform.position = new Vector3(xpos,...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using AutoMapper; using ScoreSquid.Web.ViewModels; using ScoreSquid.Web.Models; namespace ScoreSquid.Web.Mappers { public class ViewModelToDomainProfile : Profile { public override string ProfileName ...
using Sentry.Internal.Http; using Sentry.Internal.ScopeStack; using static Sentry.Internal.Constants; namespace Sentry.Tests; [Collection(nameof(SentrySdkCollection))] public class SentrySdkTests : IDisposable { private readonly IDiagnosticLogger _logger; public SentrySdkTests(ITestOutputHelper testOutputHel...
using System; using System.Collections.Generic; using BusinessLogic; using DataAccess; using Microsoft.VisualStudio.TestTools.UnitTesting; using NMock; namespace Tests { [TestClass] public class UnitTestOrders { private readonly MockFactory m_mockFactory; public UnitTestOrders() {...
using OpenUi; public class SampleModal : Modal<SampleModalType> { }
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace BanSupport { public abstract class Widget : IDisposable { protected ExBase exBase; protected Action completeAction; private List<IActionTrigger> registedTriggers; public Wid...
namespace MVCPrueba.Migrations { using System; using System.Data.Entity.Migrations; public partial class InitialCreate : DbMigration { public override void Up() { CreateTable( "dbo.Alumno_Materia", c => new { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using rent_a_car; namespace rent_a_car.Controllers { public class OfisController : Controller { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CommandPreprocessor { public static class Configuration { #region Properties public static bool absoluteProgamming; public static bool millimetersProgramming; public stat...
namespace NotificationService { class NotificationService : INotificationService { private readonly ITemplateRepository _templateRepository; private readonly INotificationSender _notificationSender; public NotificationService(ITemplateRepository templateRepository, INotificationSender ...
using CustomUI.Forms; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Skyrim_Background_Injector { public partial class formMain...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyMissileSpawner : MonoBehaviour { [SerializeField] private GameObject missilePrefab; [SerializeField] private float Ypadding = 0.5f; public float minX, maxX; public int missilesToSpawn = 10; public flo...
using Aspose.Cells; using DistCWebSite.Common; using DistCWebSite.Core.Entities; using DistCWebSite.Core.ViewModel; using DistCWebSite.Infrastructure; using Microsoft.Owin.Logging; using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using Sys...
using System.Collections.Generic; using System.Threading.Tasks; using UBaseline.Search.Core; namespace Uintra.Core.Search.Indexers { public interface IDocumentIndexer : ISearchDocumentIndexer { Task<int> Index(int id); Task<int> Index(IEnumerable<int> ids); Task<bool> DeleteFromIndex(...
using Backend.Model.Pharmacies; namespace IntegrationAdapters.Adapters { public interface IAdapterContext { IPharmacySystemAdapter PharmacySystemAdapter { get; } public IPharmacySystemAdapter SetPharmacySystemAdapter(PharmacySystem pharmacySystem); public void RemoveAdapter(); } }...
using System; using WtsMvvmBasic_v17.Helpers; namespace WtsMvvmBasic_v17.ViewModels { public class MainViewModel : Observable { public MainViewModel() { } // Observableクラスで定義されているSetメソッドを使うことで、 // プロパティの値が更新されたら、INotifyPropertyChangedでの更新通知イベントが呼び出されます。 privat...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public enum BallType { sword, hero, fire, firesword, water, watersword, } public class BallBase : MonoBehaviour { public int level; public BallType ballType; public flo...
using System; using FluentValidation.Results; using NUnit.Framework; using SFA.DAS.ProviderCommitments.Application.Commands.CreateCohort; namespace SFA.DAS.ProviderCommitments.UnitTests.Commands.CreateCohort { [TestFixture] public class WhenCreateCohortRequestIsValidated { private CreateCohortVali...
using System.Diagnostics.CodeAnalysis; using UnityEngine; namespace TC.Internal { [SuppressMessage("ReSharper", "InconsistentNaming")] public static class SID { public static readonly int _UseEmitList = Shader.PropertyToID("_UseEmitList"); public static readonly int _UseVelSizeColorPos = Shader.PropertyT...
using Blackjack21.Game.Exceptions; using Blackjack21.Game.Model; using Blackjack21.Game.Helper; namespace Blackjack21.Game.Logic { /// <summary> /// A card deck object, used to store and manage a deck which will be used in a game /// </summary> public class CardDeck { // Store our cards in ...
namespace EPI.Searching { /// <summary> /// Implement binry searching for a given value in an already /// sorted array of integers. /// </summary> public static class BinarySearch { /// <summary> /// Vanilla binary search algorithm /// If found, return any of the possible matching index. /// Otherwise re...
using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; namespace LeetCodeTests { public abstract class Problem_0054 { /* Given a matrix of m x n elements(m rows, n columns), return all elements of the matrix in spiral order. For example, Given the followin...
using System; using System.Collections.Generic; class Solution { // Complete the luckBalance function below. static int LuckBalance(int k, int[][] contests) { var totalLuck = 0; var lostImportant = 0; var sortDescendingComparer = new Comparison<int[]>((x, y) => y[0] - x[0]); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Fade : MonoBehaviour { Image image; Color tempColor; [Range(0f, 10f)] [SerializeField] float fadeInTime; // Use this for initialization void Start () { image = GetCom...
// Copyright (c) Christopher Clayton. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace praxicloud.core.metrics.tests { #region Using Clauses using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics.Code...
using UnityEngine; using MainCharacter; using System.Collections; using System.Collections.Generic; public class EnemyDeath : MonoBehaviour { public float health; public GameObject explosion; const float SPHERE_DURATION = 0.5f; const float SPHERE_RADIUS = 1f; PointMaster points; EnemyMovement movement; static ...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using DelftTools.Hydro; using DelftTools.Hydro.CrossSections; using DelftTools.Hydro.Helpers; using DelftTools.Hydro.Structures; using DelftTools.TestUtils; using DelftTools.Te...
namespace EddiDataDefinitions { // Optional enum: A null value indicates that the commodity is not normally sold/purchased at this station, but is currently temporarily for sale/purchase public enum CommodityBracket { None = 0, Low = 1, Medium = 2, High = 3 } }
using StructureMap; using StructureMap.Graph; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace NancyExample { public class StructureMapContainer { public static void Configure(IContainer container) { container.Configure(con...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayArea : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnTriggerExit(Collider col) { // Disable everything that leaves the trigger...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Inventor; using Autodesk.DesignScript.Geometry; using Autodesk.DesignScript.Interfaces; using Autodesk.DesignScript.Runtime; using Dynamo.Models; using Dynamo.Utilities; using InventorLibrary.Geome...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Web; namespace BootstrapIntroduction.Models { public class User:IIdentity { public User(string username, string password, string[] roles, List<string> validIpAddresse...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using InRule.Authoring.Services; using InRule.Authoring.Windows; using InRule.Repository; using InRule.Repository.DecisionTables; namespace DecisionTableImporter { public class ImportManager ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CapaDatos { public class DCotizacionPR { private SqlConnection cn; public DataTable SelectCotizacionesPR() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using TinhLuongBLL; namespace TinhLuong.Models { public class SaveLog { public void save(string UserName, string Action) { var ip = new GetInfoClient().GetIP(); var mode = new GetInfoCl...
using System; using System.Linq; using System.IO; using Tools; namespace _018 { class Program { private static int ComputeGoldenPath(int[][] mountain) { int[][] pathSum = new int[mountain.Length][]; pathSum[pathSum.Length - 1] = mountain[mountain.Length - 1]; ...
using FluentValidation; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using MikeGrayCodes.BuildingBlocks.Application.Exceptions; using MikeGrayCodes.BuildingBlocks.Service.Errors; using System; using System.Linq; using System.Net; namespace MikeGrayCodes.BuildingBlocks.Service.Filters { ...
using gView.Framework.Carto; using gView.Framework.Data; using gView.Framework.Geometry; using gView.Framework.system; using gView.Interoperability.GeoServices.Rest.Reflection; using Newtonsoft.Json; namespace gView.Interoperability.GeoServices.Rest.Json.Request { public class JsonExportMap { public J...
using AnyTest.ResourceLibrary; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; using System.Text.Json.Serialization; namespace AnyTest.Model { public class TestAnswer { [Key]...
using Business.Abstract; using Business.Constants; using Core.Utilities.Business; using Core.Utilities.Helpers; using Core.Utilities.Results; using DataAccess.Abstract; using Entities.Concrete; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.IO; using System.Linq.Expressio...
using System.Runtime.Serialization; namespace QuizApplication.Models { [DataContract] class Settings { [DataMember] public static GameSettings Game { get; set; } [DataMember] public static ApplicationSettings Application { get; set; } [DataMember] public static ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NumberScroller : MonoBehaviour { public int CurrentNum { get { return _currentNum; } set { _currentNum = value; } } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace APP_Form.Controller { class DifferentRandomController<T> { /// <summary> /// 从原数组中随机选出指定数量的元素(顺序不变) /// </summary> /// <param name="array"></param> ...
namespace RawData { using System; using System.Collections.Generic; using System.Linq; public class Raw_Data { public static void Main() { var allCars = new List<Car>(); var n = int.Parse(Console.ReadLine()); for (int i = 0; i < n; i++) ...
namespace SoftUniStore.Client.Api.Controllers.Contracts { using DependencyContainer; using Ninject; using Services.Contracts; using SimpleMVC.Controllers; public abstract class BaseController : Controller { protected readonly IAuthorizationService authorization; protected Base...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; namespace PROG1_PROYECTO_FINAL { public partial class Search_Proveedor...