text stringlengths 13 6.01M |
|---|
using System.IO;
using Microsoft.Extensions.Configuration;
namespace Sandbox.Test.Configuration {
public static class SandboxTestConfiguration {
private static IConfigurationRoot _config;
public static IConfigurationRoot ConfigurationRoot {
get {
if (_config == null) {
_config = new ... |
using System;
using Telegram.Bot;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace TestBot.Models.Commands
{
public interface ICommand
{
public string CommandName { get; }
public void Execute(Message message, TelegramBotClient client);
public bool Contains(Settings... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Linq.Dynamic;
using System.Web.Mvc;
using SincolPDV.Dominio;
using SincolPDV.Repositorio.Compartilhado;
using SincolPDV.Repositorio.Implementacao;
namespace... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeManagement.Models
{
public enum Dept
{
IT=0,
Finance=1,
HR=2,
Other=3
}
}
|
using System;
using Braspag.Domain.Interfaces.UnityOfWork;
namespace Braspag.Domain.Service
{
public abstract class AppService :IDisposable
{
private readonly IUnitiOfWork unitOfWork;
public AppService(IUnitiOfWork unitOfWork)
{
this.unitOfWork = unitOfWork;
}
... |
using Microsoft.Extensions.DependencyInjection;
using Rinsen.IdentityProvider.ExternalApplications;
using Rinsen.IdentityProvider.LocalAccounts;
using Rinsen.IdentityProvider.Core;
using System;
namespace Rinsen.IdentityProvider
{
public static class ExtensionMethods
{
public static void AddRinsenIden... |
using UnityEngine;
public class Health : MonoBehaviour
{
public float maxHealth = 100;
private float health;
private bool isDead;
void Start ()
{
health = maxHealth;
isDead = false;
}
void Update ()
{
}
public void ChangeHealth(float changeAmt)
{
h... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HtmlAgilityPack;
using System.Text.RegularExpressions;
using System.Net;
using System.Text;
using System.IO;
using System.Xml;
namespace MvvmTest.HtmlAgility
{
public static class GetRSS
{
/// <summary>
... |
namespace Yeasca.Metier
{
public interface IRessourceValidation
{
//Adresse
int LONGUEUR_MAX_NUMÉRO_VOIE { get; }
int LONGUEUR_MAX_RÉPÉTITION { get; }
string NUMÉRO_VOIE_REQUIS { get; }
string NUMÉRO_VOIE_INVALIDE { get; }
string NUMÉRO_VOIE_LONGUEUR_MA... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class ArcElektronischerStatus
{
public ArcElektronischerStatus()
{
ArcAkte = new HashSet<ArcAkte>();
}
public int ElektonischerStatusId { get; set; }... |
using UnityEngine;
using System.Collections;
public class Player_Controller : MonoBehaviour {
public float speed = 6.0f;
public float sensitivity = 15.0f; // be nice to tie this to a sensitivity setting
//private Vector3 move_direction = Vector3.zero;
private Vector3 rotation = Vector3.zero;
// Use this for i... |
using System;
using ReadyGamerOne.EditorExtension;
using ReadyGamerOne.Utility;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
namespace DialogSystem.Model
{
[Serializable]
public class VarUnitInfo
{
public string VarName;
public ArgChooser ArgChooser;
public Ar... |
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Specialized;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Hackathon
{
class Throttling
{
/// We are writing a simple application here
/// which demonstrates a simple way through which
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_WebCamFlags : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.WebCamFlags");
LuaObject.addMember(l, 1, "FrontFacing");
LuaDLL.lua_pop(l, 1);
}
}
|
using System;
using System.Collections.Generic;
public class WorldCloudData
{
string delimeters = ".,;:?!() ";
//Input: "After beating the eggs, Dana read the next step:")
//Output: {"after"=>1, "beating"=>1, "the"=>2, "eggs"=>1, "dana"=>1, "read"=>1, "next"=>1, "step"=>1}
public Dictionary<string, int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Millo.Models.Social
{
public class AffiliationType
{
public int Id { get; set; }
public string College { get; set; }
public string HighSchool { get; set; }
public string Work { get; s... |
using System;
namespace taskApi.Models
{
public class TaskModel
{
public string taskName { get; set; }
public int workingHours { get; set; }
public string currentStatus { get; set; }
public int userId { get; set; }
}
}
|
using System;
using System.Linq;
using System.Threading.Tasks;
using FinanceBot.Models.EntityModels;
namespace FinanceBot.Models.Repository
{
public interface ICategoryRepository
{
IQueryable<Category> Categories { get; }
void AddCategory(Category category, UserAccount userAccount);
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using System.Reflection;
namespace MyGame
{
static class Utils
{
/// <summary>
/// Write a Player into a json.
/// </summary>
... |
using Whale.DAL;
using AutoMapper;
namespace Whale.API.Services.Abstract
{
public abstract class BaseService
{
protected readonly WhaleDbContext _context;
protected readonly IMapper _mapper;
protected BaseService(WhaleDbContext context, IMapper mapper)
{
_context =... |
using KitFesta_LojaAPI.DAO;
using KitFesta_LojaAPI.Models;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace KitFesta_LojaAPI.Controllers
{
public class CarrinhoController : ApiController
{
public HttpResponseMessage GetCarrinho(i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BL.Rentas
{
public class SeguridadBl
{
public bool Automatizar(string usuario, string contrasena)
{
if ( usuario == "gladys" && contrasena == "g... |
using UnityEngine;
using System.Collections;
public class AnimationPlayerController : MonoBehaviour
{
Animator anim;
private float speed = 0.5f;
void Start(){
anim = GetComponent<Animator>();
}
void Update(){
if (Input.GetKeyDown(KeyCode.Space)){
anim.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;
namespace MyPage.Areas.Treinamento.Models
{
[DataContract]
public class AtividadeExercicio
{
[DataMember]
public long? ExercicioId { get; set; }
[Dat... |
using Identity.Data;
using Identity.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Identity.Controllers
{
publ... |
using Lite_Berry_Pi.Models.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Lite_Berry_Pi.Models
{
public class UserDesign
{
public int UserId { get; set; }
public int DesignId { get; set; }
//navigation aids
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace WindowsFormsApplication1
{
public partial class PurchaseMaste... |
using System.Diagnostics.Eventing.Reader;
namespace Pluralize
{
public static class PluralizeTask
{
public static string PluralizeRubles(int count)
{
// Напишите функцию склонения слова "рублей" в зависимости от предшествующего числительного count.
count = count % 100;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Netfilmes.Business.Entidades;
using Netfilmes.Business.Servicos.Interfaces;
using Newtonsoft.Json;
namespace... |
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 market_takip
{
public partial class Form12 : Form
{
public Form1 frm1;
public Form12()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infestation
{
class Marine : Human
{
public Marine(string name)
: base(name)
{
this.AddSupplement(new WeaponrySkill());
}
protected override bool CanAttackUn... |
namespace A2CourseWork
{
partial class CrecheData
{
}
}
namespace A2CourseWork.CrecheDataTableAdapters {
public partial class DataTable1TableAdapter {
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cashbag.Integrated
{
public class SellSerial
{
public string OrderId { get; set; }
public DateTime SellTime { get; set; }
public decimal Money { get; set; }
public string Remark { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogUrFace.Domain.Entities;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Luxand;
namespace LogUrFace.Hardware
{
public class FakeCamera : IFaceCamera
{
... |
using System;
using Whale.DAL.Models;
namespace Whale.Shared.Models.User
{
public class UserDTO
{
public Guid Id { get; set; }
public string FirstName { get; set; }
public string SecondName { get; set; }
public DateTimeOffset RegistrationDate { get; set; }
public string... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.Xml.Li... |
using UnityEngine;
using System.Collections;
public class PlayerMovement : MonoBehaviour
{
public float speed = 6f;
private Animator anim;
private Rigidbody2D rb;
void Start()
{
rb = GetComponent<Rigidbody2D>();
anim = GetComponent<Animator>();
}
void FixedUpdate()
... |
using FLS.Business;
using FuelSupervisorSetting.Helpers;
using FuelSupervisorSetting.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FuelSupervisorSetting.ViewModel
{
class ViewModelInterpola... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bitcoin.BitcoinUtilities;
namespace Bitcoin.Blox
{
public class InventoryItem
{
public enum ItemType
{
Error,
Transaction,
Block
}
public ItemType Type { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.GamerServices;
namespace LegendOfGit
{
class InputManager
{
#region Member Variables
private GamePadState mCu... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace diyetisyenproje
{
class DataIslemleri
{
private readonly OleDbConnection baglanti = new OleDbConnection(... |
using CTB.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CTB.DAC
{
public class ContribuyenteRepositorio : IContribuyenteRepositorio
{
private SICDbContext db = new SICDbContext();
... |
// Copyright 2020 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace HowToStudyKorean
{
// Class "word"
// A word for use generating sentences.
public class word
{
// The... |
using System;
using System.Collections.Generic;
using System.Linq;
using SubSonic.Extensions;
namespace Pes.Core
{
public partial class GroupToGroupType
{
public static void SaveGroupTypesForGroup(List<long> SelectedGroupTypeIDs, int GroupID)
{
//get a list of current... |
using System;
namespace Alarmy.Common
{
internal class AlarmReminderEventArgs : EventArgs
{
public string Caption { get; private set; }
public string Message { get; private set; }
public AlarmReminderEventArgs(string caption, string message)
{
if (caption == null)
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace BlumAPI.MyB.Versions
{
public class V2011 : MybVersion
{
public V2011(VersionMyBusinessPos version, DirectoryInfo directory, DirectoryInfo virtualDirectory) : base(version, directory, virtualDirectory)
... |
using System;
using System.Collections.Generic;
#nullable disable
namespace DesiClothing4u.Common.Models
{
public partial class Store
{
public Store()
{
NewsComments = new HashSet<NewsComment>();
ProductReviews = new HashSet<ProductReview>();
StoreMappings ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using System;
using AssemblyCSharp;
using Common;
using UnityEngine.UI;
public class pinzhuang: MonoBehaviour
{
private Camera cam;... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace online_knjizara.Migrations
{
public partial class ADDNazivOdlomka : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "NazivOdlomka",
... |
using Application.V1.Users.Commands;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace WebAPI.Controllers.V1
{
[Authorize(Policy = "Admin")]
public class UsersController : ApiControllerBase
{
[AllowAnonymous]
[HttpPost("regist... |
//Lance Pedersen
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.Entity;
using System.Xml;
namespace OCMenu.Models
{
public class Cafeteria
{
public string BreakfastMenu { get; set; }
public string LunchMenu { get; se... |
using System.IO;
namespace RastreioFacil.Library.Web
{
public static class CompressionHelper
{
public static byte[] GzipCompression(byte[] response)
{
if (response == null)
{
return response;
}
using (var outPut = new MemoryStrea... |
using StructureMap;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace JoveZhao.Framework.HttpServers
{
public class HttpDistributer
{
public static IHttpHandler Distribute(HttpListenerContext context)
{
va... |
using System;
/// <summary>
/// Advent of Code - Day 5 namespace
/// </summary>
namespace AdventOfCodeDay5
{
/// <summary>
/// Intcode insufficient argument exception class
/// </summary>
public class IntcodeInsufficientArgumentsException : Exception
{
/// <summary>
/// Number of a... |
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;
using OpenTK;
namespace AndroidUI.Scene
{
class Transformation
{
public Matrix4 transforma... |
using System;
using System.Collections.Generic;
using System.Text;
using Application.DTO;
using Application.Interfaces;
using Application.Responses;
using Application.Searches;
namespace Application.Command
{
public interface IGetPostsCommand : ICommand<PostSearch, Pagination<PostDto>>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace Infrastructure
{
public class UserTDG
{
public DataTable GetUserById(int id)
{
// SQL goes there
return new DataTable();
}
}
}
|
using System;
using System.Reflection;
namespace PmSoft
{
[Serializable]
public class EntityPropertyInfo
{
public EntityPropertyInfo() { }
internal EntityPropertyInfo(string name)
{
this.Name = name;
}
/// <summary>
/// 属性名称
/// </summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Evpro.Data.Models;
namespace Evpro.Data.Infrastructure
{
public class UnitOfWork : IUnitOfWork
{
private eventContext context;
IDataBaseFactory dbfac;
public Unit... |
using System;
using System.IO;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using OptionsExampleApp.Mode... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Server.Base.Packets
{
/// <summary>
/// 接受到的包
/// </summary>
public class UserPacket
{
/// <summary>
/// 发送这个包的用户
/// </summary>
public NetUser netUser;
/// <summary>
/// 接受... |
using System;
using System.Collections.Generic;
namespace QLTHPT.Models
{
public partial class Thoikhoabieu
{
public string TkbMa { get; set; }
public string LopLopMa { get; set; }
public string MonhocMhMa { get; set; }
public string ThuThuMa { get; set; }
public string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AmmoPickUp : MonoBehaviour
{
[SerializeField] int ammoAmount = 5;
[SerializeField] AmmoType ammoType;
[SerializeField] AudioClip ammoPickUpSFX;
private void OnTriggerEnter(Collider other)
{
if (oth... |
using Paydock.SDK;
using Paydock.SDK.Entities;
using Paydock.SDK.Services;
using Paydock.SDK.Services.Base;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Web.Script.Serialization;
namespace Paydock.ConsoleTest
{
class Program
{
static String email = ""... |
using AfterburnerOledDisplay.ViewModel;
using System.Windows;
namespace AfterburnerOledDisplay.View
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private AfterburnerConnector _afterburnerConnector;
private MainWi... |
using RSDK;
using System.IO;
namespace RSDK5
{
public class Hitbox : IHitbox
{
public int Left { get; set; }
public int Top { get; set; }
public int Right { get; set; }
public int Bottom { get; set; }
public Hitbox() { }
public Hitbox(BinaryReader reader)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cricket_Scoring_App
{
public class ScorecardHandler
{
public List<string> Temp_MatchDetailsList = new List<string>();
public List<string> Temp_HomeTeamList = new List<s... |
using System;
using System.Net;
using System.Security.Cryptography.X509Certificates;
namespace doob.Scripter.Module.Http
{
public class HttpOptionsBuilder
{
private readonly HttpHandlerOptions _httpHandlerOptions;
public HttpOptionsBuilder(string url)
{
_httpHandlerOptions... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Framework;
#endregion
namespace DotNetNuke.ComponentModel
{
internal class SingletonComponentBuilder... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.Data;
using System.Xml.Serialization;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities;
#endregio... |
/*
* ProWritingAid API V2
*
* Official ProWritingAid API Version 2
*
* OpenAPI spec version: v2
* Contact: hello@prowritingaid.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
... |
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using Vaccination.Data;
using Vaccination.Models;
using Vaccination.Models.DTO;
using Vaccination.Services.Exceptions;
namespace Vaccination.Services
{
public class VaccineService
{
private readonly App... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using tut2.Models;
namespace tut2
{
public class CustomComparerStudiesName : IEqualityComparer<StudiesList>
{
public bool Equals(StudiesList x, StudiesList y)
{
return StringCo... |
// ****************************************************************
// This is free software licensed under the NUnit license. You
// may obtain a copy of the license as well as information regarding
// copyright ownership at http://nunit.org.
// ****************************************************************
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Beamore.DAL.Contents.Models
{
[Table("BeaconNoteTable")]
public class BeaconNote : BaseModel
{
public string NoteHeader ... |
/* The metadata reader is responsible for doing recon within the model we're working with.
It should do some basic things like serialize to a known, workable format (probably json),
and then from that point derive the information we're going to need to complete the looking between
two given models.
TODO:
[X] Se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CAHCommon.Service
{
public class GameProviders
{
public static IGameProvider GameProvider;
public static IUserProvider UserProvider;
}
}
|
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Degree.Models.Twitter;
using Newtonsoft.Json;
using Nominatim.API.Geocoders;
namespace Degree.Services.Location.OpenStreetMap
{
public class OpenStreetMapHelper : ILocation
{
public async Task<L... |
#region License
/***
* Copyright © 2018-2025, 张强 (943620963@qq.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://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
using UnityEngine;
using System.Collections;
public class Objective_Controller : MonoBehaviour {
public bool game_over;
public GameObject objective_particle;
//private Collider collider;
void Start () {
game_over = false;
//does not work since colors are determined on Start()
//tr... |
using UnityEngine;
using System.Collections;
public class com : MonoBehaviour
{
public static player p;
public static wave_controler mon;
//public static thing_control things;
public static hourglass_manager ts;
public static camera_and_input ci;
public static fire_manager fires;
public static coin_manager coi... |
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace BethanyPieShop.Filters {
public class RateExceptionFilter : ExceptionFilterAttribute {
public override void OnException (ExceptionContext context) {
if (context.Exception is TimeoutException) {
context.R... |
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Runtime.Remoting.Contexts;
namespace Csharp2
{
public class BloggingContext : Context
{
public ISet<Blog> Blogs { get; set; }
public ISet<Post> Posts { get; set; }
protected void OnConfiguring(DbContex... |
using System;
using System.Collections.Generic;
namespace Checkpoint_06
{
class Program
{
static readonly DataAccess _dataAccess = new DataAccess();
static void Main(string[] args)
{
RecreateDatabase();
AddSpaceship("USS Enterprise");
AddSpaceship(... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class DynamicInventory : MonoBehaviour {
[SerializeField]
protected GameObject InventorySlotPrefab;
[SerializeField]
protected GameObject InventoryItemPrefab;
[SerializeField]
protected Transform InventorySlotContainer;
p... |
// By Ernesto July, 11, 2019
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Controller2D : MonoBehaviour
{
// public variables
public float moveSpeed = 8f;
public float jumpPower = 18f;
public float climbSpeed = 5f;
public bool died = false;
public... |
using FastSQL.Core.UI.Interfaces;
using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FastSQL.Core.UI.Events
{
public class AddPageEvent: PubSubEvent<AddPageEventArgument>
{
}
public class AddP... |
using System.ComponentModel.DataAnnotations;
namespace HJR.MSDN.Domain
{
/// <summary>
/// Represents a user with one or more MSDN License Keys.
/// </summary>
public class User
{
[Key]
public virtual int Id { get; set; }
[Required(ErrorMessage="The user must have a... |
// 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 Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Xunit;
// ReSharper disable InconsistentNa... |
using UnityEngine;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Debug = UnityEngine.Debug;
namespace CoreEditor.Drawing
{
public static class Convert
{
public enum ResizeFilter {Lanczos, Point, Cubic}
public class ConvertParams
{
public string InputFile;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SFP.SIT.SERV.Model.ADM
{
public class SIT_ADM_AREAORG
{
public int agnclave { set; get; }
public int araclave { set; get; }
public int orgorden { set; get; }
public int orgclavereporta { set; get... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
namespace Proyek_Informatika.Models
{
public class PenempatanContainer
{
public int id { get; set; }
public string npm { get... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossTrigger : BaseEnemy
{
[SerializeField] int KeyReq = 0, numOfSwings = 0;
//[SerializeField] float ShakeTime = 0;
[SerializeField] Sprite[] breakeffect = null;
[SerializeField] GameObject BossLevel = null, Pr... |
using System.Collections;
using UnityEngine;
// Abstract class responsible of the Activity 3 Learning Phase
public abstract class LearningPhaseActivity3 : LearningPhaseManager
{
protected PossessivesManager possessivesManager;
protected AudioContext3 audioContext;
protected override void LearningPhase()... |
using System.Linq;
using System.Threading.Tasks;
using DDDSouthWest.Domain.Features.Account.Admin.ManagePages.CreatePage;
using DDDSouthWest.Domain.Features.Account.Admin.ManageUsers.ListUsers;
using DDDSouthWest.Website.Framework;
using FluentValidation;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using ... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using Seguros.Models;
using Seguros.DataAccess;
namespace Seguros.Contro... |
namespace Azure.CosmosDB.Net.FluentAPI.CRUDOperation.Interface
{
public interface IOrderBy
{
IInclude Include();
}
} |
namespace E02_GenericClass
{
using System;
public class GenericClassMain
{
public static void Main(string[] args)
{
//test GenericList
Console.WriteLine("Test \"GenericList\"");
GenericList<int> list = new GenericList<int>(5);
int length = l... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Zillow.Core.Constant;
using Zillow.Core.Dto.CreateDto;
using Zillow.Core.Dto.UpdateDto;
using Zillow.Core.Exceptions;
using Zillow.Core.ViewModel;
using Zillow.D... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.