text stringlengths 13 6.01M |
|---|
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SignalR_Client
{
... |
using System.Collections.Generic;
using LightingBook.Test.Api.Common;
using LightingBook.Tests.Api.Dto.Dto.HotelSelection;
using LightingBook.Tests.Api.Dto.GetItinerary;
using LightingBook.Tests.Api.Proxy.Hotel;
namespace LightingBook.Tests.Api.Product.Hotel
{
public class HotelBooking
{
public HotelP... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AppointmentManagement.Entities.Concrete.Procedure
{
public class uspGetVendorOrders
{
public string CurrAccCode { get; set; }
public string OrderNumber { get; set; }
public string CurrAccDescription { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegateSample1
{
class DelegateSample
{
public delegate void printGreetingMsgDelegate(string s);
public static void Main(string[] args)
{
printGree... |
using System.Collections.Generic;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using Alabo.Exceptions;
using Alabo.Extensions;
using Alabo.Framework.Basic.PostRoles.Dtos;
using Alabo.Framework.Core.Enums.Enum;
using Alabo.Framework.Themes.Clients;
using Alabo.Framework.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual
{
/// <summary>
/// Representa el objeto response de ContratoFirmante
/// </summary>
/// <remarks>
/// Creació... |
namespace Application.Views.Admin
{
using Common;
using Common.Utilities;
using Models.ViewModels;
using SimpleMVC.Interfaces.Generic;
public class Edit : IRenderable<EditGameViewModel>
{
private readonly string header = Constants.HeaderHtml.GetContentByName();
private readonly... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Uintra.Core.Controls.FileUpload;
using Uintra.Features.Media;
using Uintra.Features.Media.Contracts;
using Uintra.Features.Media.Enums;
using Uintra.Features.Media.Helpers;
using Umbraco.Core.Models;
using Umbraco.Co... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PterodactylEngine
{
public class Table
{
private List<string> _headings;
private List<int> _alignment;
private string[,] _dataTree;
public Table(List<string> headings, List<int> alignment, string[,] d... |
using System;
using iSukces.Code.Interfaces;
namespace EqualityGeneratorSample
{
[Auto.EqualityGeneratorAttribute]
public partial class SimpleClass
{
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime BirthDate { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using Substrate.Nbt;
using Substrate.Core;
namespace Substrate.Core
{
/// <summary>
/// Represents a single region containing 32x32 chunks.
/// </summary>
public abstract cla... |
using MobileCollector.model;
namespace ServerCollector
{
public class MyFieldItem:FieldItem
{
public string listName { get; set; }
public string lookupValue { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Models.ViewModels
{
public class OrganisationIndexItemViewModel
{
public string Id { get; set; }
public string Name { get; set; }
}
public class OrganisationIndexViewModel
{
public List<Organisati... |
using System.Collections.Generic;
using NHibernate;
using Profiling2.Domain.Prf.Persons;
namespace Profiling2.Domain.Contracts.Queries
{
public interface IPersonQueries
{
Person GetPerson(ISession session, int personId);
IList<Person> GetPersonsByEthnicity(Ethnicity ethnicity, bool canAccessR... |
using System;
using CodeStage.AntiCheat.ObscuredTypes;
namespace Assets.Scripts
{
public class CurrencyManager
{
public static Action OnChangeCurrency;
public static ObscuredInt CurrentCurrency { get; private set; }
public static void AddCurrency(int amount)
{
Curr... |
/*
* Company:
* Motto: Talk more to loved ones!
* Assignment: A book shelf application
* Deadline: 2012-01-02
* Programmer: Baran Topal
* Solution name: .BookShelfWeb
* Folder name: .DataAccess
* Project name: .BookShelfWeb.IDAL
* File name: IBookShelfBookDAL.cs
* Status: Finished
*/
using System;
using... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Tails_Of_Joy.Models;
using Tails_Of_Joy.Repositories;
namespace Tails_Of_Joy.Controllers
{
//[Authorize]
[Route("api/[controller]")]
[ApiController]
public class AnimalController : ControllerBase
{
private read... |
using System;
using Microsoft.Extensions.Caching.Memory;
namespace RESTfulAPI.Middleware
{
public class Cache
{
public static MemoryCache MyCache = new(new MemoryCacheOptions());
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Behaviors
{
class BehaviorChasm : Behavior
{
public ICurio Curio;
public BehaviorChasm()
{
}
public BehaviorChasm(ICurio curio)
... |
using System.Collections.Generic;
using System.Net.Mail;
namespace WebApplication4.Helpers
{
public class EmailHelper
{
public const string ConfirmPasswordSubject = "Confirm Password";
private static volatile EmailHelper _instance;
private static object syncRoot = new object();
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Final
{
class Log
{
public static void UserLoggedIn(int userId)
{
string p = "log.text";
string log = $"User with ID {userId} l... |
using Repository.Base;
using System;
using System.Collections.Generic;
using System.Text;
using TestApp4.Models;
namespace Repository.Interface
{
public interface IUserRepository : IRepository<User>
{
}
}
|
using System.Reflection;
using MelonLoader;
[assembly: AssemblyTitle(TestMod.BuildInfo.Description)]
[assembly: AssemblyDescription(TestMod.BuildInfo.Description)]
[assembly: AssemblyCompany(TestMod.BuildInfo.Company)]
[assembly: AssemblyProduct(TestMod.BuildInfo.Name)]
[assembly: AssemblyCopyright("Created by " + Te... |
using System;
using Autofac.Extensions.DependencyInjection;
using FrontDesk.Infrastructure.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace FrontDesk.Api
{
public class Program
{
public s... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using IsoTools;
/// <summary>
/// Código encontrado em tutorial no Youtube postado por Sebastian Lague
/// </summary>
///
namespace Caapora.Pathfinding {
public class GoToPlace : Pathfinding {
private IsoObject seekerIso;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class Castel : MonoBehaviour
{
public TextMeshProUGUI costAncientText;
public TextMeshProUGUI costWeedText;
public TextMeshProUGUI valueText;
private int costWeed = 30;
pr... |
using LoowooTech.Stock.ArcGISTool;
using LoowooTech.Stock.Common;
using LoowooTech.Stock.Models;
using NPOI.SS.UserModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LoowooTech.Stock.Rules
{
public class FBaseRule:Models.IRule
{
public virtual string... |
using System.Collections;
using UnityEngine;
using System.Threading.Tasks;
public class TrafficLight : MonoBehaviour
{
public Sprite sprite_yellowlight;
public Sprite sprite_redlight;
public Sprite sprite_greenlight;
public SpriteRenderer spriteRenderer;
public GameObject intersection;
public ... |
using Simple.Statements;
namespace Simple
{
public class State
{
private readonly IStatement program;
private readonly IEnvironment environment;
public State(IStatement program, IEnvironment environment)
{
this.program = program;
this.environment = envi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio8
{
class OperacoesLogicas
{
static void Main(string[] args)
{
{
Console.WriteLine(4 == 5);
Console.WriteLine(4 !=... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using Google.Protobuf;
using Google.Protobuf.Reflection;
using Linedata.Foundation.Domain.Messaging;
namespace Accounts.Domain.Commands.Private
{
public class DebitAccount : Event
{
public string Acc... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Fast_Food
{
class Program
{
static void Main(string[] args)
{
int food = int.Parse(Console.ReadLine());
var orders = new Queue<int>(Console.ReadLine().Split().Select(int.Parse));
va... |
using System;
using System.Linq;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
namespace Anywhere2Go.Library
{
public static class ImageExtensionMethods
{
static private ImageCodecInfo GetEncoder(ImageFormat format)
{
return Im... |
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;
using Dominio.Repositorios;
using Dominio;
namespace TableroComando.Formularios
{
public partial class Form_MisionVis... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebShop.API.Models;
using WebShop.Data.Models;
using WebShop.Data.Repository.Contract;
namespace WebShop.Data.Repository
{
class OrderRepo : Repository<ORDER>, IOrderRepo
... |
namespace Serilog.Tests.Formatting.Json;
public class JsonValueFormatterTests
{
class JsonLiteralValueFormatter : JsonValueFormatter
{
public string Format(object literal)
{
var output = new StringWriter();
FormatLiteralValue(literal, output);
return output.T... |
using System;
using NerdStore.Core.DomainObjects;
namespace NerdStore.Catalog.Domain
{
public class Product : Entity, IAggregateRoot
{
public string Name { get; private set; }
public string Description { get; private set; }
public bool Active { get; private set; }
pub... |
using System;
using FluentAssertions;
using NUnit.Framework;
using Properties.Core.Objects;
using Properties.Infrastructure.Data.Mappers;
namespace Properties.Tests.UnitTests.Mappers
{
[TestFixture]
// ReSharper disable once InconsistentNaming
public class PropertyDetailMapper_TestFixture
{
pr... |
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.Library;
using System.IO;
using System.Web;
namespace Anywhere2Go.Business.Utility
{
public class EmailTemplateLogic
{
private static string TemplateNameChangeAppointment = "/... |
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 Problem216 : ProblemBase {
private PrimeSieve _primes;
public override string Problem... |
using System;
using Tomelt.ContentManagement;
namespace Tomelt.Tasks.Indexing {
public interface IIndexingTask {
ContentItem ContentItem { get; }
DateTime? CreatedUtc { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace TTT
{
public partial c... |
using System;
using System.Collections.Generic;
namespace BlazorShared.Models.AppointmentType
{
public class ListAppointmentTypeResponse : BaseResponse
{
public List<AppointmentTypeDto> AppointmentTypes { get; set; } = new List<AppointmentTypeDto>();
public int Count { get; set; }
public ListAppoint... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CalculatorDB;
namespace Calculator
{
public partial class Default : System.Web.UI.Page
{
public List<Operation> list { get; set; }
protected void... |
using ClinicManagement.Core.Aggregates;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ClinicManagement.Infrastructure.Data.Config
{
public class PatientConfiguration : IEntityTypeConfiguration<Patient>
{
public void Configure(EntityTypeBuilder<Patient> b... |
namespace MisskeyDotNet
{
public enum Permission
{
All = 1,
ReadAccount,
WriteAccount,
ReadBlocks,
WriteBlocks,
ReadDrive,
WriteDrive,
ReadFavorites,
WriteFavorites,
ReadFollowing,
WriteFollowing,
ReadMessaging,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Answer {
public Effect applyEffect;
public string outcome;
public Answer(Effect e, string outcome)
{
this.applyEffect = e;
this.outcome = outcome;
}
}
|
public class Solution {
public IList<IList<int>> CombinationSum2(int[] candidates, int target) {
Array.Sort(candidates);
IList<IList<int>> res = new List<IList<int>>();
DFSHelper(candidates, target, 0, new List<int>(), res);
return res;
}
public void DFSHelper(i... |
using Alabo.Datas.Stores;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Dtos;
using Alabo.Domains.Entities;
using Alabo.Domains.Services.Attach;
using Alabo.Extensions;
using Alabo.Validations.Aspects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.T... |
using System;
using System.Net.Mail;
using System.Threading.Tasks;
using PFRCenterGlobal.ViewModels.Interfaces;
namespace PFRCenterGlobal.ViewModels.Logic
{
public class QuestionLogic : IQuestionLogic
{
private readonly IQuestion questionModel;
public QuestionLogic(IQuestion model)
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace MapPosition.Map
{
public class XMLHelper
{
/// <summary>
/// 反序列化
/// </summary>
/// <typeparam name="T"></typeparam>
/// <pa... |
// <copyright file="GSLiveOption.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2019 Firoozeh Technology LTD. 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... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DayCycleController : MonoBehaviour
{
public bool day; // Boolean to determine if its day or night
public float rpm; // Revolutions per minute
public int fade; // Length of fade for the light's intenisty to transitio... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameOverScreen : MonoBehaviour
{
public void OpenStore()
{
Application.OpenURL("https://play.google.com/store/apps/details?id=com.Fcode.SolveMe");
}
public void GoHome()
{
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ToDoMod")]
[assembly: Guid("ef97c3ab-30ad-44e8-a1a6-98a53848def7")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Implementación del patrón WaitAllOneByOne cocechando resultados a medida que las tareas van finalizando
/// su ejecución, también se po... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class EndGame : MonoBehaviour {
public Text winLose;
public Button YES;
public Button NO;
public void setCondition(string condition)
{
winLose.text = condition;
}
public vo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
namespace Editor
{
partial class EditorForm
{
public bool OnViewpor... |
using System.Collections.Generic;
using Calculator.Operators;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using Ploeh.AutoFixture;
namespace Calculator.Tests.Unit
{
[TestFixture]
public class OperatorParserTests
{
private readonly Fixture _fixture = new Fixture();
[T... |
using Expenses.Services;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Mvc;
using System.Linq;
using System.Web.Mvc;
namespace Expenses.MVCIoC
{
public class Bootstrapper
{
public static IUnityContainer Initialise()
{
var container = BuildUnityContainer();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace DmxController.ViewModels
{
/// <summary>
/// Interface de base des ViewModels de l'application.
/// </summary>
public interface IPageViewModel
{... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
public static class CorrectedPangram
{
public static bool IsPangram(string input)
{
const string pangramList = "abcdefghijklmnopqrstuvwxyz";
string userInput = input.ToLower(... |
using System;
using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Reference of type `Collision`. Inherits from `AtomReference<Collision, CollisionPair, CollisionConstant, CollisionVariable, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction, Collisio... |
using UnityEngine;
using System.Collections;
public class LevelUINumber : MonoBehaviour, ITransition {
protected virtual void Start() {
StartingTransition();
GameManager.Instance.OnRestartLevel += RestartTransition;
}
public void StartingTransition() {
float yPos = GameVa... |
using OpenTK;
using OpenTK.Graphics;
using QuickFont;
using System.Collections.Generic;
using System.Drawing;
namespace Glib.Diagnostics
{
/// <summary>
/// Vypisuje na okno základní informace.
/// </summary>
public class GDebug
{
private List<GDebugItem> items = new List<GDebugItem>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApi.Models
{
public class Transaction
{
public string TransactionID { get; set; }
public long CustomerID { get; set; }
public long Amount { get; set; }
public string BankName { get... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ShowsTracker.API;
using ShowsTracker.Entities;
using ShowsTracker.Models;
using ShowsTracker.Services;
namespace ShowsTracker.Controllers
{
public class AddToHistory
{
public Wat... |
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
public class Game : MonoBehaviour
{
public GameObject[,] slotArray;
public GameObject[] n;
public GameObject gameOver;
public GameObject close;
public int size = 4;
public float xPos;
public float yPos;
public Text scoreTe... |
using System.Diagnostics;
using Windows.ApplicationModel.Background;
using Windows.System.Threading;
namespace LightSharp
{
public sealed class HttpServerTask : IBackgroundTask
{
private BackgroundTaskDeferral serviceDeferral;
private HttpServer httpServer;
public void Run(IBackground... |
namespace ThaiTable.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class OrderItem
{
[Key]
[Column(Order = 0)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Szab.Scheduling.Representation
{
public class Task
{
public string Name { get; set; }
public List<Task> Predecessors
{
get;
protected s... |
using DisqueriaAspNet.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
namespace DisqueriaAspNet.Views
{
public partial class Genre : System.Web.UI.Page
{
MusicStoreEnti... |
using System;
using System.Web;
using Compent.Extensions;
using Uintra.Infrastructure.ApplicationSettings;
namespace Uintra.Infrastructure.Providers
{
public class CookieProvider : ICookieProvider
{
private readonly IApplicationSettings _applicationSettings;
public CookieProvider(IApplicationSet... |
using Allyn.Domain.Models.Basic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Allyn.Infrastructure.EfRepositories.ModelConfigurations
{
/// <summary>
/// 用于"角色"领域概念模型和数据库映射配置.
/// </summary>
internal class RoleTypeConfiguration : EntityType... |
namespace SubC.Attachments {
public class AttachStrategyState {
}
} |
namespace RiverPuzzle1.Models
{
public class Farmer : Character
{
public override string Name => "Farmer";
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Application.DTO;
using EBS.Infrastructure;
using Dapper.DBContext;
using EBS.Domain.Entity;
using EBS.Domain.Service;
using EBS.Infrastructure.Caching;
using System.Security.Cryptography;
using... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rechercher_remplacer
{
class Program
{
static void Main(string[] args)
{
string mot1, mot2,text;
Console.WriteLine("Tapez votre texte");
... |
using ReactMusicStore.Core.Domain.Entities;
using ReactMusicStore.Services.Interfaces.Common;
namespace ReactMusicStore.Services.Interfaces
{
public interface IOrderAppService : IAppService<Order>
{
}
}
|
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Core.Common.Domain.Services
{
public class ICircleServiceTests : CoreTest
{
[Theory]
[InlineData(-1)]
[TestMethod("GetSingleFromCache_Test")]
public v... |
using System;
using System.Collections.Generic;
using Substrate.Nbt;
namespace Substrate
{
/// <summary>
/// Provides named id values for known block types.
/// </summary>
/// <remarks><para>The preferred method to lookup
/// Minecraft block IDs is to access the ID field of the corresponding stati... |
using UnityEngine;
using System.Collections;
public class BackButton : MonoBehaviour {
public Animator fade;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void OnBottonClick() {
//フェードの再生
fade.SetTrigger("onOpen");
Invoke(... |
namespace lesson1.Models
{
public class Product
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
public int Stocks { get; set; }
public string Describe { get; set; }
public string Category { get; set; }
}
}
|
#region License
// Copyright (c) 2012 Trafficspaces Inc.
//
// 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 Software without restriction, including without limitation the rights
// to use, c... |
using SMG.Common.Transitions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG.Common.Code
{
/// <summary>
/// String buffer for generated target code.
/// </summary>
public class CodeWriter
{
#r... |
using System;
using System.Linq;
using Fingo.Auth.DbAccess.Models.Policies.Enums;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Policies.ConfigurationClasses;
using Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces;
using Fingo.Auth.Domain.Policies.Services.Interfaces;
namespace Fingo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Z.Framework.WorkBench.Tools
{
public static class DPIAdpter
{
public static double Zoom = 1;
}
}
|
using ND.FluentTaskScheduling.Core;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Topshelf;
namespace ND.FluentTaskScheduling.NodeService
{
class Program
{
stati... |
using UnityEngine;
using System.Collections;
using System;
public class EnemyScript : MonoBehaviour {
struct Timer {
public void Pause(int seconds) {
float elapsed = 0;
while ((int)elapsed < seconds) {
elapsed += Time.deltaTime;
}
return;
}
}
public int speed = 5; // speed
public int roam = ... |
using System;
using System.ComponentModel.DataAnnotations;
using NHibernate.Mapping;
namespace Gourmet.Models
{
public class Person
{
[Key]
[Editable(false)]
public virtual int Id { get; set; }
[Required]
[StringLength(100, MinimumLength = 10, ErrorMessage = "* Введите... |
using ISE.Framework.Common.Aspects;
using ISE.Framework.Common.Service.Wcf;
using ISE.SM.Common.DTO;
using ISE.SM.Common.DTOContainer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace ISE.SM.Common.Contract
{
[... |
using Howler.Blazor.Components.Events;
using System;
namespace Howler.Blazor.Components
{
public interface IHowlEvents
{
/// <summary>
/// Fires when the sound begins playing.
/// </summary>
event Action<HowlPlayEventArgs>? OnPlay;
/// <summary>
/// Fires when ... |
using System;
using System.Linq;
using System.Windows.Forms;
using TY.SPIMS.Client.Transactions;
using TY.SPIMS.Controllers;
using TY.SPIMS.Entities;
using TY.SPIMS.POCOs;
using TY.SPIMS.Utilities;
using TY.SPIMS.Controllers.Interfaces;
namespace TY.SPIMS.Client.Controls
{
public partial class SalesControl : User... |
using MahApps.Metro.Controls;
using MinecraftToolsBoxSDK;
using System;
using System.IO;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace MinecraftToolsBox.Commands
{
/// <summary>
/// SetBlocks.xaml 的交互逻辑
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class PlayerModelController:BaseManager<PlayerModelController>
{
public void Init()
{
InitPlayerModel();
EventCenter.GetInstance().AddEventListener(EventDic.PlayerModelUpdate, SavePlaye... |
// <copyright file="MasterDropdown.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... |
using System.IO;
using Microsoft.Xna.Framework.Graphics;
namespace VoxelSpace.Resources {
public class Texture2DLoader : ResourceLoader<Texture2D> {
GraphicsDevice _graphics;
public Texture2DLoader(GraphicsDevice graphics) {
_graphics = graphics;
}
public ove... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3.EvenNumbers
{
class EvenNums
{
static void Main()
{
Console.WriteLine("Enter text: ");
string text = Console.ReadLine();
... |
using System;
using System.Collections.Generic;
namespace Entoarox.Framework
{
public interface IPlayerModifierHelper
{
int Count { get; }
void Add(PlayerModifier modifier);
void AddRange(IEnumerable<PlayerModifier> modifiers);
void Remove(PlayerModifier modifier);
void... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.