text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace usuariotwitter
{
class usuario
{
//atributo - campos
private string nombre;
private string correo;
private int numerodeseguidores;
public void ... |
namespace Properties.Core.Interfaces
{
public interface IReferenceable<T>
{
T CreateReference(IReferenceGenerator referenceGenerator);
}
}
|
namespace Ricky.Infrastructure.Core
{
public static class PatternMessage
{
public const string EmailFormat = @"Wrong email format, ex: abc@gmail.com";
//public const string PasswordFormat = @"Wrong password format: at least 8 characters with Upper case and number";
//public const strin... |
// <copyright file="HtmlHelperExtensions.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Rendering;... |
using System;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using AutoMapper;
using Model.Models;
using Data.Infrastructure;
using Service;
using Data.Models;
using Purchase.Controllers;
using Model.ViewModels;
using Model.ViewModel;
namespace Purchase.App_Start
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FootballApp_AutomaticMigrationEnabled_false
{
public class FootballDbContext:DbContext
{
public DbSet<Team> Teams { get; set; }
public DbSet<P... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp.Data.Models
{
public partial class TiresImages
{
public static TiresImages CreatePreviewFromRequestModel(ImageRequestModel imageModel, Guid modelBrandId)
{
return new T... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Fartscript : SoundPlayer {
private float counter;
private bool isJumping;
private float cooldown = 5f;
private Rigidbody rigidbody;
[SerializeField] private Image fartImage;
[SerializeField] private ParticleSystem... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdventOfCode2017
{
public class IndecisionGenerator
{
private static string[] Results = {
"I'm not sure...",
"Hmm...",
"Maybe it's... no...",
"What could it be?",... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Camara : MonoBehaviour
{
float fovInicial = 170f;
float fovFinal = 60f;
float fovSpeed = 1f;
public Camera miCamara;
public Barra barra;
public Bola bola;
void Start()
{
miCamara.fieldOf... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace BDONotiBot.Models
{
[Table("Resps")]
public class Resp
{
[Key]
public int Id { get; se... |
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.Runtime.InteropServices;
namespace lab_040
{
public partial class Form1 : Form
{
... |
/**
Copyright (c) 2020, Institut Curie, Institut Pasteur and CNRS
Thomas BLanc, Mohamed El Beheiry, Jean Baptiste Masson, Bassam Hajj and Clement Caporal
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are m... |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class Block : MonoBehaviour
{
private int hitsRemaining = 5;
private SpriteRenderer spriteRenderer;
private TextMeshPro text;
private void Awake()
{
spriteRenderer = GetC... |
using System.Collections.Generic;
using System.Web.Http;
using BarGraphClientServerApp.Models;
using BarGraphClientServerApp.Services;
namespace BarGraphClientServerApp.Controllers
{
public class FileController : ApiController
{
// GET api/file
public IEnumerable<Bar> Get()
{
... |
using System.Diagnostics;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using ControlData;
using System.Web.Http;
namespace ControlWebApp
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
... |
/*
* Creado en SharpDevelop
* Autor: IsaRoGaMX
* Fecha: 17/09/2015
* Hora: 10:24 p.m.
*
*/
using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Schema;
using IsaRoGaMX.CFDI;
namespace IsaRoGaMX.IO
{
public class CFDIReader
{
XmlSchemaSet esquemas;
XmlDocument do... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Quantum.Samples.CHSHGame
{
using System;
using Microsoft.Quantum.Simulation.Simulators;
/// <summary>
/// The classical driver for the quantum computation.
/// </summary>
public... |
namespace ForumSystem.Web.Areas.Administration.Controllers
{
using System;
using System.Threading.Tasks;
using ForumSystem.Services.Data;
using ForumSystem.Web.ViewModels.Administration.Categories;
using ForumSystem.Web.ViewModels.PartialViews;
using Microsoft.AspNetCore.Authorization;
usi... |
using System;
using System.Management;
namespace DeviceId.Components
{
/// <summary>
/// An implementation of <see cref="IDeviceIdComponent"/> that uses the system UUID.
/// </summary>
public class SystemUUIDComponent : IDeviceIdComponent
{
/// <summary>
/// Initializes a new insta... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropdownGraphicsResolution : MonoBehaviour
{
public MainMenuController menuController;
public Dropdown dropDownResolution;
private void Awake()
{
dropDownResolution = GetComponent<Dropdown>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Newtonsoft.Json;
using System.Net.Http;
using System.Collections.ObjectModel;
using XamarinTimesheet2021.Models;
using Xamarin.Essentials;
namespace ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DissolveHandler : MonoBehaviour {
public Transform dissolveStart;
public Transform dissolveEnd;
private Material monsterMat;
// Use this for initialization
void Start ()
{
monsterMat = GetComponent... |
namespace SGCFT.Dados.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<SGCFT.Dados.Contextos.Contexto>
{
public Configuration()
{
AutomaticMigr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio27
{
class TotalVendasVectorDeMatrizes
{
static void Main(string[] args)
{
{
int N = 3;
double[][,] Prod = new dou... |
using System.Collections.Generic;
using ServiceDeskSVC.Domain.Entities.ViewModels.HelpDesk.Tickets;
namespace ServiceDeskSVC.Managers
{
public interface IHelpDeskTicketManager
{
List<HelpDesk_Tickets_View_vm> GetAllTickets();
HelpDesk_Tickets_vm GetTicketByID(int id);
List<HelpDesk_T... |
using System;
using FlightSimulator.Model;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Windows.Input;
using System.Windows.Media;
namespace FlightSimulator.ViewModels
{
class AutoPilotViewModel : BaseNotify
... |
using GucciBazaar.Models;
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace GucciBazaar.Controllers
{
public class ProductController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChangeList2
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine()
.Split(' ')
.Select(i... |
using System.ComponentModel;
using System.Globalization;
using System.Resources;
namespace Properties
{
internal class Resources
{
private static ResourceManager resourceMan;
private static CultureInfo resourceCulture;
[EditorBrowsable(EditorBrowsableState.Advanced)]
internal ... |
namespace UseFul.Uteis.UI
{
public enum Result
{
Yes,
No,
Cancel
}
} |
using System;
using System.Collections.Generic;
namespace Data.Models
{
public partial class subject
{
public subject()
{
this.publications = new List<publication>();
}
public int id_subject { get; set; }
public string message { get; set; }
public st... |
using Common.Business;
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
namespace Entity
{
public partial class TrackBQCHistory
{
public bool AddRecord(string connectionString, TrackBQC... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ModLoader;
namespace StarlightRiver.Items.StarJuice
{
class StarLamp : StarjuiceStoringItem
{
public StarLamp() : base(500) ... |
using PhobiaX.SDL2.Wrappers;
using System;
using System.Collections.Generic;
using System.Text;
namespace PhobiaX.SDL2
{
public class SDLTexture : IDisposable
{
private readonly ISDL2 sdl2;
private readonly SDLRenderer renderer;
private IntPtr Handle { get; }
internal SDLTexture(ISDL2 sdl2, SDLRenderer ren... |
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 sistemaDeGestionDeMantenimientos
{
public partial class formRegistrarMantenimientoGrupal : Form
{
public str... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GridController: MonoBehaviour {
public GameObject tileFloor;
public GameObject tileMonster;
public GameObject tileFog;
public GameObject tileDark;
public GameObject tileTrap;
public static string FLOORTAG = "TileFloor"... |
namespace Fingo.Auth.Domain.Projects.Interfaces
{
public interface IUpdateProject
{
void Invoke(int id , string newName);
}
} |
namespace DropDowny.Models
{
public class Zatrudnienie
{
public int Id { get; set; }
public string AktywnoscZawodowa { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEngine.SceneManagement;
using Mechanics.Player;
namespace Mechanics.Tiles{
public class GridBehaviour : MonoBehaviour{
public GameObject slimeManObject;
public GameObject blockTiles... |
using System;
namespace GameProject
{
class Program
{
static void Main(string[] args)
{
GamerManager gamerManager = new GamerManager(new UserValidationManager());
gamerManager.Add(new Gamer { BirthYear = 1999, FirstName = "Berke", LastName = "Özden", ID = 1, IdendityNum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace IPAdressen
{
partial class User : System.Web.UI.Page
{
public static DBaseDataContext db = new DBaseDataContext();
bool IsAdmin()
{
... |
namespace TestApplication.Models
{
public class Suggest : BaseEntity
{
public string Text { get; set; }
}
}
|
using IntegrationAdapters.Dtos;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace IntegrationAdapters.MicroserviceComunicator
{
public interface IPrescriptionService
{
public Task<List<PatientDto>> GetAllPatients();
}
}
|
using System;
using Unity.Mathematics;
namespace IzBone.Common {
static public partial class Math8 {
/**
* 値を一定区間蓄積して、そこから平均を求めるためのモジュール
*/
public sealed class LinearSampler {
public LinearSampler(int sampleNum = 5) {
_buf = new float[sampleNum];
clear();
}
/** 値を蓄積 */
public void addSample(f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSConsoleRL.Game.Managers;
using CSConsoleRL.Components;
using CSConsoleRL.Components.Interfaces;
using CSConsoleRL.Events;
namespace CSConsoleRL.GameSystems
{
public class CharGraphicsSystem : ... |
public interface IBehaviour
{
void MyStart();
void MyAwake();
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
/*
* External dependencies, OAuth 2.0 support, and core client libraries are at:
* https://code.google.com/p/google-api-dotnet-client/wiki/APIs#YouTube_Data_API
* Also see the Samples.zip file for the Google.Apis.S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lesson6
{
class BankAccount
{
private double _balance;
public double GetBalance()
{
return _balance;
}
public void Deposit(double ... |
using System;
using System.Collections.Generic;
namespace Euler_Logic.Problems.AdventOfCode.Y2018 {
public class Problem19 : AdventOfCodeBase {
private List<Instruction> _instructions;
private ulong[] _registers;
private int _indexRegister;
private enum enumInstructionType {
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Audio;
[RequireComponent(typeof(Slider))]
public class MixerController : MonoBehaviour
{
private Slider slide; //Slider for music
[SerializeField] private AudioMixer audioM; //the audi... |
using System;
namespace School.Domain
{
public class Class1
{
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
namespace DelftTools.Utils
{
/// <summary>
/// Provides properties from base interface for derived interface type
/// todo: check if it can be removed
/// </summary>
public class InterfaceProper... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OOPLibrary
{
public class Companies : Customer
{
private string CUI
{
get
{
throw new System.NotImplementedException();
}
set
... |
using System;
using System.Collections.Generic;
using UBaseline.Shared.Media;
using Uintra.Core.Controls.FileUpload;
using Uintra.Features.Media.Contracts;
using Uintra.Features.Media.Enums;
using Uintra.Features.Media.Models;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
namespace Uintra.Fea... |
using DevCard.Models;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace DevCard.Controllers
{
public class HomeController : Controller
{
private readonly List<Service> _Services = new List<Service>
{... |
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 RPG
{
public partial class Form3 : Form
{
public Form3()
{
... |
using Alabo.Domains.Enums;
using Alabo.Domains.Query.Dto;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Cloud.Support.Domain.ViewModels
{
public class UserWordOrder
{
[Display(Name = "标题")]
[Required(ErrorMessage = ErrorMe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mechanisam;
namespace Client
{
class Program
{
public static void Function1()
{
Console.WriteLine("aaaaaaaa");
}
public static void Function2()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ace
{
class ObjectSystemFactory
{
/// <summary>
/// ObjectSystemFactory クラスをインスタンス化する。
/// </summary>
/// <param name="factory">ネイティブのインスタンス</param>
public ObjectSystemFactory(swig... |
using Lidgren.Network;
using Modulus2D.Entities;
using NLog;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Modulus2D.Network
{
/// <summary>
/// Called when an event is triggered
/// </summary>
/// <param na... |
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Alabo.Framework.Themes.Domain.Entities;
using Alabo.Framework.Themes.Domain.Services;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace Alabo.Framework.Themes.Controllers {
[ApiExceptionFilter]
[Route("... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace EmailExtractor.DatabaseModel
{
public class MailItem
{
[Key]
[Required]
public int Id { get; set; }
[Required]
public string Server { get; private set; }
[Required]... |
using EPI.LinkedLists;
using EPI.Sorting;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Sorting
{
[TestClass]
public class StableSortLinkedListUnitTest
{
[TestMethod]
public void StableSortaLinkedList()
{
SingleLinkedList<int> list = new SingleLinkedLi... |
// User can edit thier account
public partial class MemberEditAccount : PortalModuleBase
{
protected void Page_PreRender(object sender, EventArgs e)
{
if (!IsPostBack)
{
//checks if the user is already logged in and if so then send them to the homepage
if (Session[""] == null)... |
using System;
using System.Web.UI;
using System.Linq;
using BLL.DLib;
public partial class Controls_Type_TypeInput : System.Web.UI.Page
{
#region vars
public int LangID
{
get { return Request["LangID"] == "" ? 0 : Convert.ToInt32(Request["LangID"]); }
}
#endregion
protected void Page_... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Core.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Drupal
{
public class SocialOrgRecruitingTask
{
public Driver _driver;
publi... |
using System;
using System.Runtime.Serialization;
namespace Lecture08.BlogPosts.WebApi.Models
{
[DataContract]
public class AuthorDataTransfer
{
[DataMember]
public Int32 Id { get; set; }
[DataMember]
public String FullName { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyMiniMips
{
class ALU
{
private CPU cpu;
public ALU(CPU cpu)
{
this.cpu = cpu;
}
public void Exec(Instruction i)
{
... |
using Microsoft.Xna.Framework;
using StardewValley;
using StardewValley.Menus;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace Common.StardewValley.LetterMenu
{
/// <summary>
/// A helper class for a [LetterViewerMenu]. Enables simplified creation and inte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.ComponentModel.Composition;
using System.Configuration;
using GitSharp;
using GitSharp.Commands;
using Foundry.Domain;
namespace Foundry.SourceControl.GitIntegration
{
[SourceControlPro... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Moves the invironment around the train in order to simulate the train moving.
/// </summary>
public class EnvironmentMover : MonoBehaviour {
/// <summary>
/// Change the position of the environment every fixed upda... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StudyManagement.Admin
{
public partial class AddTeacher : System.Web.UI.Page
{
... |
using UnityEngine.SceneManagement;
using zm.Levels;
namespace zm.Common
{
public static class SceneNavigation
{
public static void LoadMain()
{
SceneManager.LoadScene("Main");
}
public static void LoadQuestions()
{
SceneManager.LoadScene("Questions");
}
public static void LoadLevel()
{
Le... |
using UnityEngine;
using System;
using System.Collections;
public delegate void SelectEventHandler(Block sender);
public class Block : MonoBehaviour {
public enum BlockTypes {
Air,
Damage,
Earth,
Fire,
Special,
Water
}
public static int size = 100;
public bool selected = false;
public event SelectEv... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
using Microsoft.Kinect;
namespace balletBot
{
/// <summary>
/// The Gesture class handles the interaction of the user with a specific
/// button or other type of selection object on ... |
using System;
namespace LogFile.Generator.Core.Generator
{
public class SizeGenerator : IGenerator<int>
{
public int Generate(Random myRandom)
{
return myRandom.Next(1, 50000);
}
}
} |
namespace Assets.Scripts.Models.ResourceObjects.CraftingResources
{
public class GlassFragments : ResourceObject
{
public GlassFragments()
{
LocalizationName = "glass_fragments";
Description = "glass_fragments_descr";
IconName = "glass_fragments_icon";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MVCnetcore.Models.DB
{
public class Classes
{
public int IdClasses { get; set; }
public int IdSubjects { get; set; }
public int IdTeachers { get; set; }
public TimeSpan? T... |
// <copyright file="GetScriptTagTests.cs" company="Morten Larsen">
// Copyright (c) Morten Larsen. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
// </copyright>
using System.Threading.Tasks;
using AspNetWebpack.AssetHelpers.Testing;
using... |
// <copyright file="GsUdpClient.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 Li... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace gView.Cmd.FillLuceneServer
{
public class ImportConfig
{
[JsonProperty(PropertyName = "lucene_server_connection")]
public LuceneServerConnectionConnection Connection
{
get; set;
}
... |
using ServiceStack;
using SpatialEye.Framework.XY.Dtos;
namespace Lite
{
public class ServerNotificationsReceiver : ServerEventReceiver
{
/// <summary>
/// Pushed changes from the server
/// </summary>
public void Changes(MapLayerChangeCollectionDto notification)
{
// Do this using the s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade_9
{
class TabelaQualquer
{
public static Random randi = new Random();
static void Main11(string[] args)
{
int[,] ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Configuration;
using DevExpress.XtraEditors.Controls;
namespace IRAP.Client.Global
{
public partial class frmSysParams : I... |
using Sales.Models;
using System.Collections.Generic;
using System.Linq;
using System.Data.Entity;
namespace Sales.Services
{
public class SaleOfferCategoryServices
{
public void AddSaleOfferCategory(SaleOfferCategory saleOfferCategory)
{
using (SalesDB db = new SalesDB())
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace EcomStore.Models
{
public class Product : BaseEntity
{
[Key]
public int product_id {get;set;}
[Required(ErrorMessage="Product Name is required")]
[MinLength(3, ErrorMessage="Pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Data;
using EasyDev.Presentation;
using EasyDev.Resources;
namespace EasyDev.Presentation
{
public class GenericUserControl : UserControl
{
private ActionFactory actionF... |
using Unity.Entities;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace IzBone.IzBCollider.Core {
using Common.Entities8;
/** BodyAuthのデータをもとに、Entityを生成するモジュール */
public sealed class EntityRegisterer : EntityRegistererBase<BodiesPackAuthoring>
{
// ------------------------------------- ... |
using System;
namespace Assignemnt_1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(animes.bokuno);
}
enum animes
{
bokuno = 1,
academia = 2
}
}
} |
using Allyn.Application.Dto.Manage.Front;
using Allyn.Domain.Models.Front;
using Allyn.Infrastructure;
using AutoMapper;
using System.Collections.Generic;
namespace Allyn.Application
{
public static class ShopMap
{
#region Shop | ShopDto
public static ShopDto ToShopDto(this Shop source)
... |
using System.Data.Entity.ModelConfiguration;
using ExpenseBucket.Core.Entities;
namespace ExpenseBucket.EF.Configurations
{
internal class UserConfiguration : EntityTypeConfiguration<User>
{
public UserConfiguration()
{
ToTable("Users");
HasKey(x => x.Id);
... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Inventory.Data
{
public class Restaurant : BaseEntity
{
[Required]
public string Name { get; set; }
public string Code { get; set; }
[MaxLength(50)]
public string Manufacturer { g... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPG.Core
{
public class SpinMe : MonoBehaviour
{
[SerializeField] float xRotationsPerMinute = 1f;
[SerializeField] float yRotationsPerMinute = 1f;
[SerializeField] float zRotationsPerMinute = 1f;
void Update ()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class uManager : NetworkBehaviour
{
// we need a nice script here.
// this is where the server communicates with the player for the first time, this object will never get deleted unless the play... |
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.Med... |
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 MappingDistrict : MappingBase
{
}
public class MappingDistrictConfig : Entity... |
using System;
using System.Collections.Generic;
using System.Linq;
using ILogging;
using ServiceDeskSVC.DataAccess.Models;
namespace ServiceDeskSVC.DataAccess.Repositories
{
public class HelpDeskTicketRepository : IHelpDeskTicketRepository
{
private readonly ServiceDeskContext _context;
privat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IAttackAI
{
string _name { get; set; }
float _health { get; set; } // health = vision/speed
float _Vision { get; set; } // Damage = Attack Range/ Fire Rate
float _damage { get; set; }
float _fireRate { g... |
using Assets.Scripts.Weapons;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public enum FacingDiractions
{
Up,
Down,
Left,
Right,
}
public class PlayerMoveScript : MonoBehaviour
{
[SerializeField] public PlayerInput playerInput;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.