text stringlengths 13 6.01M |
|---|
using System;
using Xunit;
namespace Account.Company.Sut
{
public class TestGetGroupEnpoint
{
//private readonly TestServer _server;
//private readonly HttpClient _client;
//public TestGetGroupEnpoint()
//{
// // Arrange
// _server = new TestServer(new WebH... |
using ProBuilder2.Common;
using ProBuilder2.Math;
using ProBuilder2.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
[AddComponentMenu(""), ExecuteInEditMode, RequireComponent(typeof(pb_Entity)), RequireComponent(typeof(MeshRenderer)), RequireComponent(typeof(MeshFil... |
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using PaymentService.Infrastructure.Common;
namespace PaymentService.Infrastructure.Contracts
{
public interface IApplicationLogger<T> where T : class
{
void LogInformation(string eventCode, string message, params (stri... |
using UnityEngine;
using System.Linq;
using System.Collections.Generic;
public class GoblinCombatStrategy : BasicSteeringStrategy {
public static GoblinCombatStrategy Instance()
{
if (s_strategy == null)
s_strategy = new GoblinCombatStrategy();
return s_strategy;
}
... |
using System;
using Whale.DAL.Abstraction;
namespace Whale.DAL.Models
{
public class MeetingScript : BaseEntity
{
public Guid MeetingId { get; set; }
public Meeting Meeting { get; set; }
public string Script { get; set; }
}
}
|
using PrjFinal.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace PrjFinal.Contracts
{
interface IEmployeeService
{
void AddEmployee(Employee employee);
void ListEmail(double value);
void SalarySum();
}
}
|
namespace BPiaoBao.DomesticTicket.EFRepository.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _201411121024 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.PlatformPointGroupRule",
c => n... |
namespace Yeasca.Metier
{
public enum TypeUtilisateur
{
Administrateur,
Huissier,
Secrétaire,
Superviseur,
Inconnu
}
}
|
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class Program
{
static void Main()
{
var nullRegex = @"((%20|\+)+)";
while (true)
{
var input = Console.ReadLine();
if (input == "END")
{
break;
... |
using System;
namespace Lab13
{
class Program
{
static void Main(string[] args)
{
Random rockpaperscissor = new Random();
Console.WriteLine("Enter your name: \n");
string userName = Console.ReadLine();
Console.WriteLine("\n");
Consol... |
using System.Collections.Generic;
using System.Linq;
namespace SGDE.ReadingCertifications.Models
{
public class CertificarionXLS
{
public List<Partida> Partidas { get; } = new List<Partida>();
public List<Partida> Capitulos { get; } = new List<Partida>();
public List<Partida> SubCapitu... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
/// <s... |
using System;
namespace _9_human_samurai_wizard{
class Human{
public string name;
public int health;
public int strength;
public int intelligence;
public int dexterity;
public Human(){
}
public void attack(object obj){
Human enemy = obj as Human;
if(enemy == null){
Console.WriteLine("Atta... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
namespace MyCore
{
public class PanelMain : UIBase
{
Text m_touchScreenText;
protected override void Start()
{
base.Start();
m_touchScreenTe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Airfield_Simulator.Core.Simulation
{
public interface IWeatherController
{
int WindDegrees { get; }
}
}
|
using System;
namespace Swiddler.Common
{
public class ValueException : Exception
{
public ValueException(string propertyName, string message) : base(message)
{
PropertyName = propertyName;
}
public string PropertyName { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using KnowledgeTester.Ninject;
using KT.ServiceInterfaces;
namespace KnowledgeTester.Code
{
public static class Utils
{
public static string GetFullName(this string username)
{
var user = ServicesFactory.GetService<IKtUsersS... |
using Alarmy.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Alarmy.Tests.Utils
{
internal abstract class FakeAlarmService : IAlarmService
{
private readonly List<IAlarm> alarms = new List<IAlarm>();
public event EventHandler<AlarmEventA... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Syndication;
using System.ServiceModel.Web;
using System.Text;
using Nest;
using DataLoader;
using System.Configuration;
usin... |
using System.IO;
using System.Linq;
namespace Breezy.Sdk.Console
{
internal class Program
{
private static void Main(string[] args)
{
const string apiClientKey = "";
const string apiClientSecret = "";
const string mdmAuthKey = "";
const string us... |
using System;
using System.Collections.Generic;
using System.Text;
namespace System.IO.Compression
{
internal static partial class Library
{
internal const string BrotliEnc = "libbrotlienc.dylib.1.0.0";
internal const string BrotliDec = "libbrotlidec.dylib.1.0.0";
}
}
|
using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using Maticsoft.DBUtility;//Please add references
namespace PDTech.OA.DAL
{
/// <summary>
/// 数据访问类:RISK_TYPE_INFO
/// </summary>
public partial class RISK_TYPE_INFO
{
public RISK_TYPE_INFO()
{}... |
using PuddingWolfLoader.Framework.Util;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XQSimulator.Model;
namespace PuddingWolfLoader.Framework.ViewModel
{
[PropertyChanged.AddINotifyPropertyChangedInt... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
//the Game Controller is a persistant class that exists in every room of the game and holds all kinds of important information.
public class GameController : MonoBehaviour {
public enum LightState {NOLIGHT, ROOMLIGHT, PLAYERLIGHT, TWOLIG... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Master.Contract;... |
using NtApiDotNet;
using NtObjectManager.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
namespace NtObjectManager.Cmdlets.Object
{
/// <summary>
/// <para type="synopsis">Write manual security audit... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace CRMebyas.Models
{
public class Customer
{
public int ID { get; set; }
[Display(Name = "First Name"), Required]
public string FirstName { get; set... |
using System;
namespace Micro.Net.Exceptions
{
public class MicroDispatcherException : MicroTransportException
{
public MicroDispatcherException() : this("An unspecified error with a Dispatcher component has occurred!", -1)
{
}
public MicroDispatcherException(string message, i... |
using M32COM_CW.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace M32COM_CW.Data
{
public class Seed
{
public static async Task Initialize(M32COM_CWContext context, UserManager<Applic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ERP.Models.Entity
{
public class CustomerEntity
{
private static CustomerEntity _instance;
public CustomerEntity()
{
}
public static CustomerEntity GetInstance()
{
... |
namespace CryptoInvestor.Core.Exceptions
{
public static class ErrorCodes
{
public static string InvalidEmail => "invalid_email";
public static string InvalidPassword => "invalid_password";
public static string InvalidUsername => "invalid_username";
public static string InvalidF... |
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using RDB_API.Models.ClienteModels;
using RDB_API.Models.ClienteParams;
using RDB_API.Models.Enums;
using RDB_API.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RDB_API.Controllers
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Swashbuckle.Swagger;
using AdventureWorks.Services.Common;
namespace AdventureWorks.API.Controllers
{
public cla... |
using OpenQA.Selenium;
using System.Collections.Generic;
using System;
using DotCom.Pages.Util;
namespace DotCom.Pages.ProviderSearch
{
/// <summary>
/// Represents the Find a Doctor page.
/// </summary>
public class ProviderSearchPage
{
private const string url = "https://hmsa.com/search/... |
namespace Cogent.IoC.Generators.Models
{
internal class TransientDependencyNode
{
public TransientDependencyNode(DependencyNode[] dependencies, string typeName)
{
Dependencies = dependencies;
TypeName = typeName;
}
public DependencyNode[] Depen... |
using WebDataDemo.Model;
namespace WebDataDemo.Option_07_Repo;
public interface IAuthorRepository
{
IQueryable<Author> List();
Task<Author> GetByIdAsync(int id);
Task CreateAsync(Author newAuthor);
Task UpdateAsync(Author author);
Task DeleteAsync(Author author);
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shredder : MonoBehaviour {
private void OnTriggerExit(Collider thingLeft) {
GameObject hitPin = thingLeft.gameObject;
if (hitPin.GetComponent<Pin>()) {
Destroy(hitPin);
}
}
}
|
namespace TestApplicationDomain.Entities
{
public class RoomFacility : Facility
{
public Room Room { get; set; }
public RoomFacilityType FacilityType { get; set; }
}
}
|
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 Yelemani
{
public partial class Fournisseur : Form
{
string Sele... |
// Copyright 2016 Google Inc. 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 at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities
{
public class ClientCapabilities : CapabilitiesBase, IClientCapabilities
{
/// <summary>
//... |
using GAP.Procesos.Model.Dao;
using GAP.Seguros.Entities;
using System.Collections.Generic;
namespace GAP.Procesos.Model.Repository.Clientes
{
public class ClientesRepository : IClientesRepository
{
private readonly ClientesDao _clientesDao;
public ClientesRepository()
{
... |
using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
namespace tryfsharpforms
{
public class BrownianMotionViewModel
{
public ObservableCollection<DoubleIntDataPoint> PriceData { get; set; }
ObservableCollection<DoubleIntDataPoint> data = new ObservableCollection<DoubleIntDataPo... |
using UnityEngine;
using System.Collections;
public class Mover : MonoBehaviour {
private Transform _target;
public Transform Target {
get { return _target; }
set { _target = value; }
}
public float speed;
// Use this for initialization
void Update() {
float step = speed * Time.deltaTime;
if (this.Ta... |
using System.Collections.Generic;
using Microsoft.Xna.Framework.Input;
namespace InputHandlers.Keyboard
{
public interface IKeyboardInput
{
KeyboardState OldKeyboardState { get; }
KeyboardState CurrentKeyboardState { get; }
IList<Keys> UnmanagedKeys { get; }
IStopwat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ConsoleOrganizer
{
class Program
{
[STAThread]
static void Main(string[] args)
{
var source_path_dialog = new FolderBrow... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Entities.Urls;
namespace Dnn.PersonaBar.Pages.Components
{
public class UrlRewriterUtilsWrapper : IUrlRewriterUtilsWrapper
{ ... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContactMap.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SecondRoom : MonoBehaviour
{
[SerializeField]
private Transform m_device;
private bool m_isInRoom = false;
private float m_swapThreshold = -0.05f;
private bool m_EnterInStairesDoor = false;
bo... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Urls;
namespace Dnn.PersonaBar.Pages.Components
{
public class FriendlyUrlWrapper : IFri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace vivek
{
public partial class MCQ : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
/* Drink.cs
* Author: Ben Hartman
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace DinoDiner.Menu
{
/// <summary>
/// Abstract class to represent any drink.
/// </summary>
public abstract class Drink : IMenuItem, INotifyPropertyChanged, IOr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary.Model
{
public class POIDTO
{
public int PoiID { get; set; }
public string Nome { get; set; }
public string Descricao { get; set; }
public ... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccess.EntityFramework.Migrations
{
public partial class ComplectationAdded : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Complectation... |
using BLL;
using Entidades;
using Entidades.View;
using ProyectoFinal.UI.Consultas.Reporte;
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 Pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField]
private Stat shield;
private void Awake()
{
shield.Initialize();
}
void Update()
{
if (Input.GetKeyDown(KeyCode.Q))
{
... |
using System;
using System.Diagnostics;
using System.Linq;
using VsDebugger.AppController;
namespace VsDebugger
{
class Program
{
public static void Exit(string message, params object[] args)
{
Console.WriteLine(message, args);
Environment.Exit(1);
}
st... |
using System;
using Logs.Data.Contracts;
using Logs.Factories;
using Logs.Models;
using Logs.Providers.Contracts;
using Logs.Services.Contracts;
namespace Logs.Services
{
public class CommentService : ICommentService
{
private readonly ILogService logService;
private readonly IDateTimeProvider... |
using System;
namespace Factory.PrivateFactory
{
public class CarManufacturer
{
public Car MakeCar(Order order)
{
var car = CreateOrderedCar(order);
// Some complicated logic that configured the car.
// ...
return car;
}
// Priva... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Juego_v3
{
class Colores : ILogica
{
private string[] _validas = { "Rojo", "Verde", "Azul" };
public Colores()
{
}
public int comprobar(string ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace t4ccer.Noisy
{
/// <summary>
/// Line is simple wrapper for 1D double array
/// </summary>
public class Line
{
public int width;
readonly double[] values;
public Line(double[... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlataformasMoveis : MonoBehaviour {
public Transform Plat,P_A,P_B; // Pa= Ponto A, PB = Ponto b
public float speed;
//Varia o Ponto -----------------
IEnumerator Start(){
while (true) {
yield return Repeting(Plat,P_A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PolymorphExampleEasy
{
class Program
{
static void Main(string[] args)
{
Enimal en = new Enimal();
//en.WhatTheEnimalSay();
Enimal ... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Kers.Models.Entities.KERScore{
public partial class CountyEventPlanningUnit
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public int Co... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
namespace FinalYearProject
{
/// <summary>
/// Interaction logic for PatientResultWindow.xaml
/// </summary>
public partial class PatientResultWindow : Page
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
using UnityEngine.Networking;
[ExecuteInEditMode]
public class MapSaver : MonoBehaviour
{
[Header("Level Prefabs")]
#r... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace PayRoll.BLL
{
public interface PayrollDatabase
{
void AddEmployee(Employee employee);
Employee GetEmployee(int id);
void DeleteEmployee(int id);
void AddUni... |
using GithubRepository.Contracts;
using System.Collections.Generic;
using System.Threading.Tasks;
using Language = GithubRepository.Contracts.Language;
using Repository = GithubRepository.Contracts.Repository;
namespace GithubRepository.Accessors
{
/// <summary>
/// Interface IRepositoryAccessor
... |
using Store.Books.Domain;
using System.Threading.Tasks;
namespace Store.Books.Infrastructure.Interfaces
{
public interface IOrderRepository : IGenericRepository<Order> { }
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class second_event : MonoBehaviour
{
public ArrayList list = new ArrayList();
public Text answer_text;
public int cipher_num; //정답 자리수
public string answer; //정답
public int last = -1;
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ModeSelector : MonoBehaviour
{
public Toggle ARmode;
public Toggle LazyMode;
// Start is called before the first frame update
void Start()
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Scoutworks.Views.PitViews
{
public partial class PitPageTab5Notes : ContentPage
{
public PitPageTab5Notes()
{
... |
namespace Power_Plants
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class PowerPlants
{
public static void Main(string[] args)
{
//read the flowers;
var flowers = Console... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
using UnityEngine.SceneManagement;
//using UnityEngine.UI;
public class Thanks : MonoBehaviour {
public GameObject video;
public UnityEngine.UI.Image negro;
byte alp = 255;
bool entrada = true;
bool salida;
... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace FreeGoods.Web
{
public partial class MyCa... |
using Irony.Parsing;
namespace ScriptServer
{
public class ScriptGrammar : Grammar
{
public ScriptGrammar()
{
//// 1. Terminals
Terminal number = new NumberLiteral("number");
Terminal str = new StringLiteral("string", "\"");
//// 2. Non-terminal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RGiesecke.DllExport;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
namespace re
{
public static partial class re
{
/// <summary>
///
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test_sanity : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void SanityUp()
{
sanity_bar.UpdateSanity(10f);
... |
namespace Distinct_List
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class DistinctList
{
public static void Main(string[] args)
{
//read the input, split and convert to integer list... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebsiteBanHang.ViewModels
{
public class OrdersViewModel
{
public int OrderId { get; set; }
public DateTime OrderDate { get; set; }
public DateTime ShippedDate { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
List<long> Primes = new List<long>();
for (long i = 2; i < 2000000; i++... |
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
namespace NMoSql.Helpers
{
public class All : Helper, IQueryHelper
{
public string Fn(JToken @bool, IList<object> values, Query query) => ((IQueryHelper)this).Fn(@bool, values, query);
string IQueryHelper.Fn(JToken value, IList<obj... |
/*
* Copyright (c) The Game Learner
* https://connect.unity.com/u/rishabh-jain-1-1-1
* https://www.linkedin.com/in/rishabh-jain-266081b7/
*
* created on - #CREATIONDATE#
*/
#define TGL_DEBUG
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TGL.FSM;
public class DummyState0... |
using UnityEngine;
using System.Collections;
// By Anish Dhesikan
public class IcosphereObjectPool : BetterObjectPool /* Make sure to inherit from BetterObjectPool */ {
/* Set all your properties in the inspector */
/* Read more about what the properties are in BetterObjectPool.cs */
// - This is so that you ca... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Dz10.Domain
{
public class Ticket : Entity
{
public int Price { get; set; }
public Person Person { get; set; }
public Airplane Airplane { get; set; }
}
}
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Task4.cs" company="">
//
// </copyright>
// <summary>
// The task 4.
// </summary>
// ----------------------------------------------------------------------------------------... |
//
// - PropertyTreeXmlWriter.PTXWriterState.cs -
//
// Copyright 2010 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// 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 at
//
// http://... |
using CMS_ShopOnline.Areas.CMS_Staff.Models;
using System.Web.Mvc;
namespace CMS_ShopOnline.Areas.CMS_Staff
{
public class StaffAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "CMS_Staff";
}
}
... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Schotland.Models
{
public partial class gitosContext : DbContext
{
public virtual DbSet<Places> Places { get; set; }
public virtual DbSet<Users> Users { get; set; }
public gitosC... |
using System;
public class ChapterTargetAttribute : Attribute {
}
|
using System;
namespace Goop
{
public static class StringEx
{
public static int CompareToI (this string value, string? other)
{
return string.Compare(value, other, StringComparison.OrdinalIgnoreCase);
}
public static bool ContainsI (this string value, string other)
{
return value.Contains(other, St... |
using NetUtilities;
using System.Runtime.CompilerServices;
using MethodImplementation = System.Runtime.CompilerServices.MethodImplAttribute;
namespace System
{
public static class MathX
{
private const MethodImplOptions Inlined = MethodImplOptions.AggressiveInlining;
/// <summary>
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Kraken : MonoBehaviour {
public int health;
public Water bossWater;
public GameObject[] tentacles;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {... |
using System.Collections.Generic;
namespace RaspberryPi
{
public class Lights
{
public List<LED> AllLights { get; set; }
public LED L1 { get; set; }
public LED L2 { get; set; }
public LED L3 { get; set; }
public LED L4 { get; set; }
public LED L5 { get; set; }
public LED L6 { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace bossnotificationnamespace
{
public static class Constants
{
public const string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WindowsFormsApplication1
{
public static class Usuario
{
private static string m_perfil = "";
public static string Perfil
{
get { return m_perfil; }
set { m_perfil = ... |
using MF.ApplicationSettings.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MF.ApplicationSettings.Validation.CustomAttributes
{
public interface ICheckableValueEntity
{
string Value { get; }
SettingType Typ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shadow : MonoBehaviour {
public float yOff;
public GameObject parent;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
this.transform.position = new Vector3 (... |
using System;
using System.ComponentModel.DataAnnotations;
namespace JobsityChatroom.WebAPI.Models.Authentication
{
public class SignupViewModel : AuthViewModel
{
[Required, EmailAddress]
public string Email { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.