text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class TextMeshWrapper {
// Wrap text by line height
public string ResolveTextSize(string input, int lineLength){
// Split string by char " "
string[] words = input.Split(" "[0]);
// Prepare result
string result = "";
// Temp line string
strin... |
//Problem 15.* Number calculations
//Modify your last program and try to make it work for any number type, not just integer (e.g. decimal, float, byte, etc.)
//Use generic method (read in Internet about generic methods in C#).
using System;
using System.Collections.Generic;
namespace Problem15NumberCalculations
{
... |
using BPiaoBao.DomesticTicket.Domain.Models.Orders;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.EFRepository.OrdersMap
{
public class AfterSaleSkyWayMap : EntityTypeConfiguration<AfterSaleSkyWa... |
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 DiaxeirisiPoiotitas
{
public partial class Swab : Form
{
public ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.Linq;
using System.Xml;
namespace Uxnet.Web.Module.Common
{
public class PrintProxy : WebControl
{
... |
namespace Core.EF
{
public class Employee
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public Dept? Department { get; set; }
}
public enum Dept
{
IT,
Admin,
HR
}
}
|
using System;
using System.IO;
using System.Text.Json;
using System.Collections.Generic;
/// <summary>
/// this is the global namespace
/// </summary>
namespace InventoryLibrary
{
public class JSONStorage
{
public Dictionary<string, object> objects = new Dictionary<string, object>();
string f... |
namespace VehiclesController
{
public class InBayAutomatics : IWashService
{
public void Wash(out string logs)
{
logs = @"In-Bay Automatics wash facilities has been chosen.
This service is assigned to a trunk by default.
Automatic machine will rolls back and forth over a stationar... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AccessModifiersCL
{
public class GoldCustomer:CustomerCL
{
public void offer()
{
var customer = new CustomerCL();
//customer.
}
}
}
|
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Modularity;
namespace Nm.Reservation.EntityFrameworkCore
{
[DependsOn(typeof(AbpEntityFrameworkCoreModule))]
[DependsOn(typeof(ReservationDomainModule))]
public ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using PNPUCore.Rapport;
using PNPUTools;
using PNPUTools.DataManager;
using PNPUCore.Controle;
namespace PNPUCore.Process
{
public interface IProcess
{
void ExecuteMainProcess();
String FormatRepor... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class PlayerController : MonoBehaviour
{
public GameObject laserPrefab;
public float health = 200f;
private float maxHealth;
public float laserSpeed;
public float firingRate;
public float playerSpeed;
public Sprite[] damageSprites;
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Entity : MonoBehaviour {
public enum Entities {
SCORPION,
BUG,
COIN,
SPIDER
}
protected EntityObjective objective;
/// <summary>
/// Sets the Objective this Entity... |
using System;
using TP_Groupe.Models;
namespace TP_Groupe.Repository
{
public class PositionMagasinRepository : IPositionMagasinRepository
{
public void Insert(PositionMagasin positionMagasin)
{
throw new NotImplementedException();
}
public void Update(PositionMagasi... |
using System;
using System.Net;
using Microsoft.AspNetCore.Http;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace BuindingBlocks.Resilience.Http
{
public class StandardHttpClient : IHttpClient, IDisposable
{
private readonly IHttpContextAcce... |
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class CityValidator:AbstractValidator<City>
{
public CityValidator()
{
RuleFor(c => c.CountryId).NotEmpty().WithMessage("Ülke boş bırakılamaz");
RuleFor(c => c.... |
using System;
using TableTopCrucible.Core.Models.ValueTypes.IDs;
namespace TableTopCrucible.Domain.Models.ValueTypes.IDs
{
public struct TileTypeId : ITypedId
{
private Guid _guid;
public TileTypeId(Guid guid)
=> this._guid = guid;
public override bool Equals(object obj)
... |
namespace JPProject.Sso.AspNetIdentity.Models
{
public enum BusinessCategories
{
Retail = 1,
Export = 2
}
}
|
using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading;
using System.IO;
using System.Net;
namespace ToDoList.HtppClient
{
public partial class ProgressStreamContent : StreamContent
{
public ProgressStreamContent(Stream stream, CancellationToken token)
: ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EASEntity
{
public enum DataStatus
{
/// <summary>
/// 默认状态
/// </summary>
Default =0,
/// <summary>
/// 新增
/// </summary>
NeedAdd ... |
using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Interfaces.Repositories
{
public interface IItemRepository
{
Task<Item> GetItemByIdAsync(int id);
Task<IReadOnlyList<Item>> GetItemsAsync();
Task<IRe... |
namespace ns25
{
using System;
using System.Collections.Generic;
using Triton.Game.Mono;
internal class Class246<T> : MonoClass where T: struct
{
internal Class246(IntPtr address) : base(TritonHs.MainAssemblyDir + @"\mscorlib.dll", "System.Array", "Array<" + typeof(T).FullName + ">")
... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace model
{
public class NCContext : DbContext
{
public DbSet<AccountTable> Accounts { get; set; }
public DbSet<StoragesTable> Storages { get; set; }
public DbSet<AppConfigTabl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using sayHi.Model;
namespace Sayhi.Areas.FormalSysManagement.Controllers
{
public class ManagingHomePageController : Controller
{
sayHiEntities DBcontext = GetDBContext.CreateDbContext();
... |
/***********************************************
* GENERATED BY ZEBBLE
***********************************************/
#region UI.Modules.MainTabs
namespace UI.Modules
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using D... |
using System;
namespace Working_with_Unix_Timestamps
{
class Program
{
static void Main(string[] args)
{
long timestamp = 1617282420;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinkedListsTraining
{
public class MyLinkedList
{
public ListNode Head { get; set; }
int length = 0;
/** Initialize your data structure here. */
public... |
/*This script serves to handle conflicts arising from the issue of both players using one player controller
* we place our player scripts to be ignored into the array by adding them within the Player Networking component in Unity (drag and drop)
*
*///
using System.Collections;
using System.Collections.Generic;
u... |
/*
* Copyright 2023 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distributio... |
/***********************
@ author:zlong
@ Date:2015-01-06
@ Desc:收入分类逻辑层实现
* ********************/
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DriveMgr.Common;
namespace DriveMgr.BLL
{
public class IncomeCategoryBLL
{
private stat... |
namespace WebAppAuthentication
{
public static class Constants
{
public static class ApiKeySection
{
public const string AUTHENTICATION_SCHEME = "ApiKeyAuthenticationScheme";
public const string API_KEY = "123456789";
}
public static class BasicAuthSecti... |
using System;
namespace UnityUIPlayables
{
[Serializable]
public class TextMeshProUGUIAnimationClip : AnimationTimelineClip<TextMeshProUGUIAnimationBehaviour>
{
}
} |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace LabEleven
{
class Program
{
public static void Main(string[] args)
{
string choice = "yes";
int appSelect;
List<Movie> movieList = new List<Movie> { };
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Millo.Models
{
public class Gender
{
public int Id { get; set; }
public string Unspecified { get; set; }
public bool Male { get; set; }
public bool Female { get; set; }
}
} |
using System;
using MyResources;
namespace TeaseAI_CE.Scripting.VType
{
public class TimeFrame : IKeyed, IVType
{
public TimeSpan Value;
public TimeFrame(TimeSpan value)
{
Value = value;
}
public override bool Equals(object obj)
{
return Value.Equals(obj);
}
public override int GetHashCode()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TypeLite;
namespace FPS.Service.Models
{
[TsClass]
public class ApartmentServiceModel
{
public int Id { get; set; }
public int ResidentId { get; set; }
public b... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// whenever either of the controllers' menu buttons are pressing: toggles the 'MST' (Prim minimum spanning tree) visualization for the graph //
public class AlgorithmController : MonoBehaviour
{
public Controller controllerLeft, contro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactoryMethodPattern
{
public class ObjectFactory : IObjectFactory
{
private IObject MakeInt()
{
var objInt = new ObjectInt();
objInt.Initialize... |
using DapperDB.CodeGen.Base;
using System;
using System.ComponentModel.DataAnnotations;
namespace DapperDB.Dal.Entities
{
public partial class temp_Shops : BaseModel
{
/// <summary>
///
/// </summary>
[Display(Name = "")]
public Int32 ID { get; set; }
/// <summary>
///
/// </summary>
[Display(... |
//=======================================================================
// ClassName : ScrollViewController
// 概要 : スクロールビューコントローラ
//
//
// LiplisLive2D
// Create 2018/03/11
//
// Copyright(c) 2017-2018 sachin. All Rights Reserved.
//==========================================================... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeleeEnemy : EnemyUnit
{
const float STOPPING_DISTANCE = 0.4f;
const int ASTAR_PATH_OFFSET = 0;
bool moveRight = true;
bool targetFound;
bool isJumping = false;
bool canAttack = false;
Collide... |
using System.IO;
namespace FlWaspMigrator.Support
{
public interface IFileSystem
{
Stream OpenRead(string fileName);
Stream OpenWrite(string fileName);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.IO;
using System.Security.Cryptography.X509Certificates;
namespace Sunny.Lib
{
public class EncryptAndDecryptHelper
{
//private static Encoding defaultEncoding = Encod... |
using Microsoft.Xrm.Sdk;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FdxLeadAssignmentPlugin
{
public class UpdateProspectData : IPlugin
{
public void Execute(IServiceProvider serviceProvider)
{
... |
namespace ReadyGamerOne.Data
{
public interface IDataFactory
{
ITxtSerializable CreateData(string initLine);
}
}
|
namespace Domain.Core.Abstractions
{
public interface IQuery<TR>
{
}
} |
using AutoFixture.Xunit2;
using Crt.Data.Database;
using Crt.Data.Repositories;
using Crt.Domain.Services;
using Crt.Model.Dtos.Role;
using Moq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Crt.Tests.Role
{
public class RoleServiceShould
{
[Theory]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebBanHang_FoodHub.Model;
namespace WebBanHang_FoodHub.Web
{
public partial class WebForm3 : System.Web.UI.Page
{
protected void Page_Load(object sender, Eve... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using SFP.Persistencia.Dao;
using SFP.Persistencia.Model;
using SFP.SIT.SERV.Model.ADM;
namespace SFP.SIT.SERV.Dao.ADM
{
public class SIT_ADM_PERFILDao : BaseDao
{
public long iSecuencia { get; set; }
public SIT... |
using Microsoft.EntityFrameworkCore;
using Project33.Services.Models;
namespace Project33.Data
{
public class FavoritesContext : DbContext
{
public FavoritesContext(DbContextOptions<FavoritesContext> options) : base(options)
{
}
public FavoritesContext()
{
... |
using SDL2;
namespace SharpDL.Graphics
{
public enum TextureAccessMode : int
{
Static = SDL.SDL_TextureAccess.SDL_TEXTUREACCESS_STATIC,
Streaming = SDL.SDL_TextureAccess.SDL_TEXTUREACCESS_STREAMING,
Target = SDL.SDL_TextureAccess.SDL_TEXTUREACCESS_TARGET
}
} |
using System;
using UnityEngine;
public enum TypePhysicsCheck { Cast, Overlap }
public enum PhysicsCast { Ray, Box, Sphere, Capsule }
public enum PhysicsOverlap { Box, Sphere, Capsule }
public enum PhysicsCountCast { One, All }
[Serializable]
public class PhysicsCastData
{
public TypePhysicsCheck PhysicsCheck;
... |
using LazyVocabulary.Common.Entities;
using System.Data.Entity.ModelConfiguration;
namespace LazyVocabulary.DataAccess.Mapping
{
internal class SourcePhraseMapping : EntityTypeConfiguration<SourcePhrase>
{
internal SourcePhraseMapping()
{
HasKey(s => s.Id);
HasRequired... |
/*
* This class is used to demo object initializers for C#.
* NOTE that this file will hav 3 classes for the demo purpose.
* There are three ways how object can be initialized.
* Default Constructor, Parameterized Constructor and Object Initializers.
* CSBasic.cs and Unit Test will demonstate the object initiliz... |
using UnityEngine;
using System.Collections;
public class LigthChange : MonoBehaviour {
public Light light;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
// Change ();
}
void Change() {
float r = Random.Range (0f, 1f);
float g = Random.Range ... |
using System.Collections;
using System.Collections.Generic;
public class PlayerInfo
{
private string name;
private string fileName;
public PlayerInfo(string _name,string _fileName)
{
name = _name;
fileName = _fileName;
}
public void SetName(string _name)
{
name ... |
using System;
class Program {
public static void Main (string[] args) {
Console.WriteLine ("Insira os numeros:");
int perfeito1 = int.Parse(Console.ReadLine());
int perfeito2 = int.Parse(Console.ReadLine());
int flag1=0;
int flag2=0;
for(int i=1; i<perfeito1; i++){
if(perfeito1%i==0){
... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Game1
{
[XmlInclude(typeof(Mo... |
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
using System.Collections.Generic;
public class Packager{
static List<AssetBundleBuild> maps = new List<AssetBundleBuild>();
[MenuItem("TestGame/Build iPhone Resource", false, 100)]
public static void BuildiPhoneResource()
... |
namespace JustAsk.Web.Controllers
{
using System.Linq;
using System.Web.Mvc;
using Infrastructure.Mapping;
using Services.Data;
using ViewModels.Idea;
public class SearchController : BaseController
{
private IIdeasServices ideas;
public SearchController(IIdeasServices ide... |
namespace Skeleton
{
using System;
using System.Collections.Generic;
using System.Text;
public class comments
{}
} |
// Copyright 2017-2019 Elringus (Artyom Sovetnikov). All Rights Reserved.
using System.Threading;
using System.Threading.Tasks;
namespace Naninovel.Commands
{
/// <summary>
/// Adds a line break to a text printer.
/// </summary>
/// <example>
/// ; Second sentence will be printed on a new line
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using PMA.Store_Domain.Customers.Entities;
namespace PMA.Store_Infrastructures.Customers.Configs
{
public class CustomerConfig : IEntityTypeConfiguration<Customer>
{
public void Configure(EntityTypeBuilder<Cust... |
using LogicBuilder.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contoso.Forms.Parameters.Common
{
public class MultiSelectFormControlSettingsParameters : FormControlSettingsParameters
{
public MultiSelectFormControlSettingsParameters()
{
}
... |
using System.Collections.Generic;
using UnityEngine;
namespace HT.Framework
{
[DisallowMultipleComponent]
[DefaultExecutionOrder(-700)]
internal sealed class MeshOutlineObject : HTBehaviour
{
private static Material GetOpaqueMaterial()
{
Material mat = new Material(OpaqueSh... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Biblioteca.Models;
using Microsoft.AspNetCore.Http;
namespace Biblioteca.Controllers
{
public class UsuarioController ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CustomGrid : MonoBehaviour
{
[SerializeField] int width = 1, height = 1;
[SerializeField] float tileSize = 1;
[SerializeField] GameObject defaultTile;
[SerializeField] float offsetX = 0.5f, offsetY = 0.5f;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Blog.Contadores
{
public partial class ContadorViewState : System.Web.UI.Page
{
private int contador = 0;
private const string CLAVE_VIEWSTATE =... |
using UnityEngine;
using System.Collections;
using UnityEngine.Advertisements;
public class UIStore : MonoBehaviour {
public UpgradesPage m_UpgradePages;
public StoreTab m_StoreTab;
// Use this for initialization
void Start () {
if (Advertisement.isSupported) {
if (Applicati... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class CameraRig : MonoBehaviour, IEnumerable<Camera>
{
public Camera[] cameras;
public IEnumerator<Camera> GetEnumerator()
{
return ((IEnumerable<Camera>)this.cameras).GetEnumera... |
namespace Game.ConsoleUI.Interfaces.Services
{
using System.Collections.Generic;
using Game.Models;
public interface IPlayerProvider
{
List<GamePlayer> GetPlayers();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SWT_20_ATM
{
public class Calculator : System.Exception
{
public static double GetDirection2D(int x1, int y1, int x2, int y2)
{
int dx = x1 - y2;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Quartz;
using Ninject.Extensions.Logging;
namespace MvcApplicationWithNinjectAndQuartz.App_Quartz
{
public class MyCustomJob : IJob
{
ILogger _logger;
public MyCustomJob(ILogger logger)
{
... |
using System;
using System.Net.Http.Headers;
namespace Microsoft.DataStudio.WebExtensions
{
public static class HttpResponseHeadersExtensions
{
public static void SetServerRequestId(this HttpResponseHeaders headers, Guid serverRequestId)
{
headers.Remove(WebConstants.HeaderServerRe... |
using System;
using System.Text;
public class LuaWriter
{
private StringBuilder buffer;
private bool currentTableFirstElement = true;
private bool allowElementValue;
private int tabCount;
public LuaWriter(StringBuilder sb)
{
this.buffer = sb;
}
public void WriteTableStart(bool asValue = false)
{
if (... |
namespace AdvancedTeamCreation.Configs
{
using Exiled.API.Interfaces;
public class Translation : ITranslation
{
public string TeamKillBroadcast { get; set; } = "You got teamkilled report this to the admins if you dont think its an accident";
public string KilledByNonfriendlyPlayer { get; s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Text;
using System.IO;
using System;
//Code for creating CSV's in Unity/C# from:
//https://sushanta1991.blogspot.com/2015/02/how-to-write-data-to-csv-file-in-unity.html
public class GameController : MonoB... |
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.OleDb;
namespace ABPPriject
{
public partial class IncComp : Form
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("ParticlePlaybackSpeed")]
public class ParticlePlaybackSpeed : MonoBehaviour
{
public ParticlePlaybackSpeed(IntPtr address) : this(address, "ParticlePlaybackSpeed")
{
}
public ParticlePlaybackSp... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MySel20Proj
{
public class Suite3 : LoadableComponent<Suite3>
{
private IWeb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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 System.Windows.Media.Imaging;... |
using Catalogo.Domain.Entities;
using Catalogo.Domain.Repositories;
using Catalogo.Domain.Services;
namespace Catalogo.Services
{
public abstract class Service<T> : IService<T> where T : EntityBase
{
protected readonly IUnitOfWork _unitOfWork;
public Service(IUnitOfWork unitOfWork)
{
... |
using PlatformRacing3.Common.User;
namespace PlatformRacing3.Web.Responses.Procedures;
public class DataAccessGetMyFriendsProcedureResponse : DataAccessDataResponse<PlayerUserData>
{
private DataAccessGetMyFriendsProcedureResponse()
{
}
public DataAccessGetMyFriendsProcedureResponse(IReadOnlyCollection<PlayerU... |
namespace Phonebook
{
using System;
using System.Collections.Generic;
using System.Linq;
using Wintellect.PowerCollections;
public class PhonebookRepository : IPhonebookRepository
{
private OrderedSet<PhoneEntry> entriesSorted = new OrderedSet<PhoneEntry>();
private Dictionary<... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Yandex.Dialogs.Models.Input
{
[JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class InputSession : Session
{
public bool New { get; set; }
public string SkillId { get; set; }
public Lo... |
using Ornithology.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using X.PagedList;
namespace Ornithology.Web.Models
{
public class AveVM
{
public AveVM()
{
NombreComunOCientifico = string.Em... |
using Assignment5.Model;
using Math3D;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment5.Data
{
public class Parser
{
public static Matrix GetPointsFromFile(string path)
{
strin... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using static ToyTwoToolbox.F_Save;
namespace ToyTwoToolbox {
public partial class T2Control_SaveEditor : UserControl {
pub... |
using System.Data.Entity.ModelConfiguration;
using RMAT3.Models;
namespace RMAT3.Data.Mapping
{
public class UserGroupMap : EntityTypeConfiguration<UserGroup>
{
public UserGroupMap()
{
// Primary Key
HasKey(t => t.UserGroupId);
// Properties
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinqDemo
{
record Employee
{
public int Id { get; set; }
public string Department { get; set; }
public string Name { get; set; }
public int Age { get; s... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Kers.Models.Entities.SoilData
{
public partial class FarmerAddress : IEntityBase
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ... |
namespace SharpathonTask.Contracts
{
public interface ICustomerData
{
/// <summary>Получить абонента по его уникальному идентификатору</summary>
/// <remarks>В связи с ограничением в клиенте на то, что параметры метода должны быть классами, входной параметр customerId заворачивается в класс-обёртку</remarks>
C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BarController : MonoBehaviour {
public bool autoPlay = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (autoPlay)
transform.po... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using CT.Data;
using CT.Data.Instance;
using CT.Instance;
using CT.UI.Upgrade.Helper;
namespace CT.UI.Upgrade
{
public class TrainingZoneUpgradeUI : UpgradeUI<TrainingZoneInstanceData>
{
public Transfo... |
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Text;
namespace DBStore.Models.VModels
{
public class ProductVM
{
public Product Product { get; set; }
public IEnumerable<SelectListItem> CategoryList { get; set; }
public IEnumerable<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
/// <summary>
/// Summary description for DirectoryHelper
/// </summary>
public class DirectoryHelper
{
private string directoryPath;
public string DirectoryPath
{
get
{
... |
using System.Drawing;
namespace TQVaultAE.Domain.Entities
{
public record IconInfo(IconCategory Category, RecordId On, Bitmap OnBitmap, RecordId Off, Bitmap OffBitmap, RecordId Over, Bitmap OverBitmap)
{
/// <summary>
/// Tell if <see cref="Over"/> is a duplicate of <see cref="On"/> or <see cref="Off"/>
/// <... |
using LuaInterface;
using RO;
using SLua;
using System;
public class Lua_RO_IndependentTest : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
IndependentTest o = new IndependentTest();
LuaObject.pushValue(l, true);
LuaObject.pushVal... |
using System.Collections.Generic;
using System.Windows.Forms;
using Microsoft.Practices.Prism.ViewModel;
namespace Torshify.Radio.Core.Services
{
public interface IHotkeyService
{
#region Properties
bool IsEnabled
{
get; set;
}
IEnumerable<GlobalHotkeyDef... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cadastro.API.Interface;
using Cadastro.API.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Cadastro.API.Controllers
{
[Produces("application/json")]
[Route("api/Seed")]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.