text stringlengths 13 6.01M |
|---|
using Microsoft.EntityFrameworkCore.Migrations;
namespace pokemonapp.Migrations
{
public partial class inicial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Pokemones",
columns: tab... |
/*
* Interface for Factories that makes Room.
* e.g.
* RawRoomFactory: makes room based on raw manual string
* XMLRoomFactory: makes room based on XML file
* Copyright (c) Yulo Leake 2016
*/
using Deadwood.Model.Rooms;
namespace Deadwood.Model.Factories
{
interface IRoomFactory
{
R... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Labyrinth
{
public static class Save
{
private static string pathBestTime = @"C:\Users\Jorge\Desktop\Labyrinth\Labyrinth-Escape-\Labyrinth\Content\BestScore.txt";
public static void SaveBestTime(strin... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace learn_180522_webservice
{
[DataContract]
public class ResultModel
{
[DataMember]
publi... |
using System;
using Microsoft.EntityFrameworkCore;
using WebAPITest.Models;
namespace WebAPITest.Data
{
public class ProductDbContext : DbContext
{
public ProductDbContext(DbContextOptions<ProductDbContext>options):base(options)
{
}
public DbSet<Product> Products { get; set; ... |
/**
* Author: János de Vries
* Date: Sep. 2014
* Student Number: 208418
**/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing... |
using GeoAPI.Extensions.Coverages;
using GeoAPI.Geometries;
using NetTopologySuite.Extensions.Coverages;
using SharpMap.UI.Forms;
using SharpMap.Layers;
using GeoAPI.Extensions.Feature;
using SharpMap.Styles;
using SharpMap.UI.Tools;
namespace SharpMap.UI.Editors
{
public class FeatureEditorFactory
{
... |
using AtomosZ.Cubeshots.WeaponSystems;
using UnityEngine;
namespace AtomosZ.Cubeshots.WeaponSystems
{
public class FireBullet : MonoBehaviour
{
public GameObject bulletPrefab;
public Vector3 bulletSpawnOffset;
public float cooldown = .25f;
[HideInInspector]
public BasicBullet[] bulletStore;
int bullet... |
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using needle.EditorPatching;
using UnityEditor;
using UnityEngine;
namespace Needle.Demystify
{
// ReSharper disable once UnusedType.Global
public class Patch_ConsoleWindowMenuItem : EditorPatchProvider
{
protected override ... |
namespace BettingSystem.Application.Identity
{
using System.Threading.Tasks;
using Commands;
using Commands.ChangePassword;
using Common;
public interface IIdentity
{
Task<Result<IUser>> Register(UserRequestModel userRequest);
Task<Result<UserResponseModel>> Login(UserRequestM... |
using System;
namespace ShapeCalculator
{
public class ShapeAreaCalculator
{
private double _width;
private double _height;
private double _radius;
public double Radius
{
get
{
return _radius;
}
set
{
_radius = value;
}
}
public double Width
{
get
{
return _widt... |
using Msit.Telemetry.Extensions.AI;
using Microsoft.ApplicationInsights.DataContracts;
namespace Microsoft.UnifiedPlatform.Service.Telemetry.Client
{
public interface IAppInsightsTelemetryClientWrapper
{
void TrackTrace(TraceTelemetry traceTelemetry);
void TrackException(ExceptionTelemetry exc... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GlobalRef : MonoBehaviour
{
// 全局引用
public static GlobalRef s_gr = null;
public GameObject m_playCamera = null;
public Transform m_uiCanvas = null;
public Transform m_sceneCanvas = null;
//private GameObj... |
namespace TripDestination.Test.Routes
{
using System.Web.Routing;
using MvcRouteTester;
using NUnit.Framework;
using Web.MVC;
using Web.MVC.Controllers.Media;
[TestFixture]
public class MediaRouteTests
{
private const string username = "pesho";
private const string guid... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BizService.Common;
using IWorkFlow.Host;
using IWorkFlow.ORM;
using Newtonsoft.Json;
namespace BizService.Services
{
class B_OA_SupervisionStaticSvc : BaseDataHandler
{
... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ConsoleApplication1
{
class UsingCollector:CSharpSyntaxWalker
{
public readonly List<SyntaxNode> Statements = new List<SyntaxNode>();
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResourcePack : MonoBehaviour {
public static void Load(string pack = null)
{
if(string.IsNullOrEmpty(pack))
{
//Load default
var terrain = Resources.Load<Texture>("default/terra... |
using System;
using System.Web;
using NHibernate.Cfg;
using NHibernate.Context;
namespace NHibernate.Session
{
public class Marshaler
{
private readonly object _lock = new object();
private readonly Configuration _configuration;
private readonly System.Type _sessionInterceptor;
... |
using MonitorBoletos.Business;
using MonitorBoletos.Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using BoletoNet;
using Semafaro.Titulos.Model;
using Semafaro.Titulos.Business;
using System.Linq;
using MonitorBoletos.Util;
using System.Data;
namespace MonitorBol... |
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 WebAutomation
{
public partial class WindowsLogon : Form
{
DataGridViewCell ac... |
using System;
using System.Collections.Generic;
using VideoStream.Models;
using VideoStream.ViewModels;
using Xamarin.Forms;
namespace VideoStream.Views
{
public partial class SecondPage : ContentView
{
public SecondPage()
{
InitializeComponent();
BackgroundColor = Colo... |
namespace P04TowerOfHanoi
{
using System;
using System.Collections.Generic;
using System.Linq;
public class EntryPoint
{
private static int move;
private static Stack<int> source;
private static readonly Stack<int> destination = new Stack<int>();
private static read... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace KartObjects.Entities.Documents
{
/// <summary>
/// Состояния чека
/// </summary>
[Serializable]
public enum ReceiptState
{
/// <summary>
/// Чек открыт
/... |
using System;
namespace HTB.v2.intranetx.bank
{
public partial class Bank : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace EmployeeTaskMonitor.Core.Models
{
public class EmployeeRequestModel
{
public int Id { get; set; }
[Required]
[StringLength(150)]
public string... |
using System.Collections.Generic;
namespace DataAccesLayer.Repositories
{
public interface IRepository<T> where T : class
{
void New(T entity);
void Save(int index, T entity);
void Delete(int index);
void SaveAllChanges();
List<T> GetAll();
T GetByNamn(string na... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.MD
{
[Serializable]
public partial class SwitchTrading : EntityBase, IAuditable
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
[Display(Name = "SwitchTrading_Flow", ResourceType =... |
using Spectre.Console;
namespace WitsmlExplorer.Console.Extensions
{
public static class StringExtensions
{
public static string WithColor(this string text, Color color) => $"[{color}]{text}[/]";
public static string Bold(this string text) => $"[bold]{text}[/]";
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LimenawebApp.Models.Frezzers
{
public class GetFrezzers_api
{
public int? code { get; set; }
public string message { get; set; }
public List<Frezzers_api> data { get; set; }
}
public ... |
using YourContacts.Contracts;
using YourContacts.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace YourContacts.Services.Database.Sql.Translators
{
public class ModelToSqlEntityTranslator : ITranslator<Contact, ContactDetail>
{
public ContactDetail ... |
using MyOnlineShop.DataAccess.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace MyOnlineShop.DataAccess.ViewModels
{
public class CustomerViewModel
{
public IEnumerable<Customer> Customers { get; set; }
public Customer Customer { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace BadSmellsTest.ExtractMethod
{
class Pedido
{
public int ObterValor()
{
return 1;
}
}
class Antes
{
public readonly string Nome;
private readonly List<Pedido> _pedidos;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class EventsBehaviour : MonoBehaviour
{
public UnityEvent mouseDownEvent;
public UnityEvent onTriggerEvent;
public UnityEvent exitTriggerEvent;
public void OnMouseDown()
... |
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.Library.Datatables;
using Claimdi.Web.TH.Filters;
using Claimdi.Web.TH.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Claimdi.Web.TH.Controllers
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IWorkFlow.DataBase;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_OA_FileList", "id")]
public class B_OA_FileList : QueryInfo
{
#region Model
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
namespace TumblrDownloader
{
class ResourcesDownloader
{
//private TumblrResource[] ToDownRes = null;
private List<TumblrResource> ToDownRes = ... |
using CarBooking.API.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json;
using System;
using System.IO;
usin... |
using System;
using System.IO;
using System.Linq;
namespace Graphs.FileUtilities
{
internal class ReportGenerator : FileGraphReader
{
public ReportGenerator()
{
ReportPath = DirectoryPath + @"\\Reports\\";
}
private string ReportPath { get; set; }
public v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SaveHandler : MonoBehaviour
{
public void SaveToFile()
{
EditorRoomManager.instance.SerializeRoom ();
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;
namespace TestAbp
{
public class PeopleDto: EntityDto<int>
{
public virtual int Age { get; set; }
public virtual string Name { get; set; }
}
}
|
namespace Funding.Common.Constants
{
public class Roles
{
public const string Admin = "Admin";
public const string ProjectAdmin = "Project Admin";
}
} |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace lastfmRecommedizer.WebServer
{
class ResponseThread
{
public ResponseThread(HttpListenerContext ListenerContext)
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Repositories.Interfaces;
using Auction = Models.DataModels.Auction;
namespace Tests.MockClasses
{
public class MockAuctionRepo : IAuctionRepo
{
public Task<bool> CreateAuction(Models.DataModels.Aucti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.IO;
using System.Data;
using Property;
using Property_cls;
namespace Property.Admin
{
public partial clas... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[RequireComponent(typeof(Rigidbody))]
public class Area : MonoBehaviour
{
[SerializeField] private string areaName;
private List<Collider> areaColliders = new List<Coll... |
using System;
namespace Atomic
{
/// <summary>
/// DES对称算法接口
/// </summary>
public interface IDesSymmetricAlgorithm : IEncryptAlgorithm, IDecryptAlgorithm
{
/// <summary>
/// 获取算法KEY(会自动从conf文件中读取symmetryKey节点配置,或不存在则会启用默认值)
/// </summary>
string AlgorithmKey { get;... |
using System;
using System.Windows;
using System.Windows.Controls;
namespace Ex2
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public string FullEquation { get; set; }
bool dotAvailable = false;
bool isF... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace DailyBlogger.Models
{
public class BlogPost
{
[Key]
public int blog_id { get; set; }
... |
using System.ComponentModel.DataAnnotations;
namespace ClipModels
{
public class TrafficList
{
[Key]
public int ID { get; set; }
public virtual TrafficClip TrafficClip { get; set; }
public int TrafficClipId { get; set; }
}
}
|
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MTProto.Client.Core
{
public class TLConstructor
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("predicate")]
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using BattleShots.Droid;
[assembly: Dependency(typeof(ToastLoader))]
namespace Battl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSSCriterias.Logic
{
public interface IReport
{
void Create();
void Open();
}
public abstract class Report : IReport
{
protected IStatGame Game { g... |
using Microsoft.Practices.Unity;
namespace OrgMan.Dependencies
{
public interface IDependencyRegistration
{
void Load(IUnityContainer unityContainer);
}
}
|
using System;
using System.Collections.Generic;
namespace ConsoleApp1
{
class Picture : IDraw
{
public List<Shape> Geometry;
public int NumberOfShapes { get { return Geometry.Count; } set { } }
//my indexer
public Shape[] shapes;
public Shape this[int index]
... |
using Alabo.Exceptions;
using Alabo.Validations;
using System.Linq;
using System.Runtime.Serialization;
namespace Alabo.Domains.Dtos {
/// <summary>
/// 请求参数
/// </summary>
[DataContract]
public abstract class RequestBase : IRequest {
/// <summary>
/// 验证
/// </su... |
using System;
namespace Axon
{
public class Material
{
public Texture Texture;
public Shader Shader;
public Material(Shader Shader, String TextureFilePath)
{
this.Shader = Shader;
Texture = new Texture(TextureFilePath);
}
}
} |
namespace Puppeteer.Core.Configuration
{
public class WorldStateDescription
{
public WorldStateDescription()
{
}
public WorldStateDescription(WorldStateDescription _worldStateDescription)
{
Key = _worldStateDescription.Key;
Value = _worldStateDescription.Value;
}
public string Key = string.Empty... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pot : MonoBehaviour
{
private Animator anim;
private AudioSource audioSource;
private BoxCollider2D boxCollider;
void Start()
{
anim = GetComponent<Animator>();
audioSource = GetComponent<A... |
using UnityEngine;
public class PowerUps : MonoBehaviour
{
public Sprite[] powerUpsStatic;
public GameObject[] powerUpsAnimated;
bool inGround;
SpriteRenderer sr;
private Movimiento2 m2;
private void Awake()
{
sr = GetComponent<SpriteRenderer>();
m2 = FindObjectOfType<Movim... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SinglePageApplication;
using SinglePageApplication.Controllers;
namespace SinglePageApplication.Tests.Controllers
{
[TestClass]
public class Hom... |
using System;
using System.Collections.Generic;
using System.Linq;
using DelftTools.Utils.Collections.Generic;
using GeoAPI.Extensions.Feature;
using GeoAPI.Extensions.Networks;
using GeoAPI.Geometries;
using DelftTools.Utils.Collections;
namespace GeoAPI.Extentions.Tests.Network
{
public class TestNetwork : INetw... |
namespace LAB02.Tools.Navigation
{
internal enum ViewType
{
EnterInfo,
ShowInfo
}
interface INavigationModel
{
void Navigate(ViewType viewType);
}
} |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class CarrierPadsLockedEvent : Event
{
public const string NAME = "Carrier pads locked";
public const string DESCRIPTION = "Triggered when your fleet carrier locks landing pads prior to jumping";
public static... |
using AutomationFramework.Enums;
using AutomationFramework.Helpers;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomationFramework.Extensions
{
public static class LocatorExtensions
{
/// <summary... |
namespace WinFormsMvpExample.Navigation
{
public static class NavigationService
{
public static BaseNavigator Navigator { get; set; }
}
}
|
using System.Threading.Tasks;
using CryptoLab.Infrastructure.Commands;
using CryptoLab.Infrastructure.Commands.Auth;
namespace CryptoLab.Infrastructure.Handlers.User
{
public class AuthHandler : ICommandHandler<AuthCommand>
{
public AuthHandler()
{
}
public async Task HandlerAs... |
using System;
using System.Collections.Generic;
namespace AuctionMaster.App.Model
{
public partial class ScheduledTaskFrequency
{
public ScheduledTaskFrequency()
{
ScheduledTask = new HashSet<ScheduledTask>();
}
public int Id { get; set; }
public string Nom... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExampleTimerUsage : MonoBehaviour {
Timer timer;
// Use this for initialization
void Start () {
// Create the timer
timer = new Timer();
// Register for the events
timer.OnTimeUp += Hand... |
using UnityEngine;
using System.Collections;
public class ExplosionScript : MonoBehaviour {
public GameObject player1;
public GameObject player2;
// Listen and change the health variables
public GameObject healthObj;
public PlayerHealth healthScript;
// Use this for initialization
void S... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ScoreOrcsManager : MonoBehaviour
{
public static ScoreOrcsManager instance;
public TextMeshProUGUI text;
public int score;
// Start is called before the first frame update
void Start()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShipDefinition : ScriptableObject {
public string shipName;
public GameObject shipPrefab;
public Sprite shipIcon;
public float shipPrice;
public bool isBought;
public bool isUsed;
#if UNITY_EDITOR
[UnityEditor.MenuItem... |
using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Client.Features.JobService.Models
{
public class PathCompareValue
{
[PrimaryKey]
public Guid Id { get; set; }
public string FullFile { get; set; ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class ABC121D{
public static void Main(){
var AB = Console.ReadLine().Split().Select(int.Parse).ToList();
var list = new List<char[]>();
foreach(var n in Enumerable.Range(AB[0],AB[0]-AB[1])){
... |
using System;
using FluentAssertions;
using HiLoSocket.CommandFormatter;
using NUnit.Framework;
using Ploeh.AutoFixture;
using ProtoBuf;
using Shouldly;
namespace HiLoSocketTests.CommandFormatter.Implements
{
[TestFixture]
[Category( "ProtobufCommandFormatterTests" )]
public class ProtobufCommandFormatter... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace com.zhifez.seagj {
public class UI_Main_Connections : Base {
public Text[] labels;
public Text instructSelectTm;
public Text instructSelectLink;
private int _selectionIndex = 0;
private... |
using System;
using System.Collections.Generic;
using Tweetinvi.Core.Controllers;
using Tweetinvi.Core.Factories;
using Tweetinvi.Core.Injectinvi;
using Tweetinvi.Models;
using Tweetinvi.Models.DTO;
using Tweetinvi.Parameters;
namespace Tweetinvi
{
/// <summary>
/// Receive and send private messages between u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace 用反射_Attribute控制属性的值
{
class Program
{
static void Main(string[] args)
{
Person p = new Person() { Name = "haha", Email = "sss@qq.com", Phone = "15000000000" };
... |
using gView.GraphicsEngine.Abstraction;
using gView.GraphicsEngine.GdiPlus.Extensions;
using System.Drawing.Drawing2D;
namespace gView.GraphicsEngine.GdiPlus
{
internal class GdiLinearGradientBrush : IBrush
{
private LinearGradientBrush _brush;
public GdiLinearGradientBrush(CanvasRectangleF r... |
using Microsoft.Extensions.DependencyInjection;
using Eda.Extensions.DependencyInjection;
namespace Eda.Integrations.Delivery.DependencyInjection
{
/// <inheritdoc />
/// <summary>
/// Base class for delivery application block.
/// </summary>
public abstract class DeliveryApplicationBlock : IApp... |
using System;
namespace Beeffective.Extensions
{
static class BooleanExtensions
{
public static bool IfTrue(this bool value, Action action)
{
if (value) action();
return value;
}
public static bool IfFalse(this bool value, Action action)
{
... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class ReadyController : MonoBehaviour {
public Image readyP1;
public Image readyP2;
public Text countDown;
private bool p1Ready;
private bool p2Ready;
private int countingDown;
// Update is called once per frame
void FixedUpdate () ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Node : MonoBehaviour {
[SerializeField]
private GameObject _tower;
[SerializeField]
private GameControler control;
public Material towerBuild;
public Material grass;
public bool SetTower(GameObject... |
using UnityEngine;
using UnityEngine.UI;
public class NodeTrigger : MonoBehaviour
{
// Setup the prompt for the node
public GameObject bluePrompt;
public Image blueRing;
public GameObject greenPrompt;
public Image greenRing;
public float maxTime;
public float leftTime;
private bool h... |
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Moq;
using Pobs.Comms;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Models.Questions;
using Xunit;
namespace Pobs.Tests.Integration.Questions
{
public class ReportAnswerTests : ID... |
using System;
namespace OrgMan.DomainObjects.Common
{
public class MemberInformationToMembershipDomainModel
{
public Guid UID { get; set; }
public Guid MembershipUID { get; set; }
public Guid MemberInformationUID { get; set; }
public MembershipDomainModel Membership { get; s... |
using _7DRL_2021.Behaviors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Results
{
class ActionChangeMomentum : IActionHasOrigin
{
public ICurio Origin { get; set; }
public int Momentum;
public ... |
using MediaBrowser.Model.ApiClient;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Plugins.DefaultTheme.Home
{
public class ItemStub
{
public string Name { get... |
namespace TaxiService.Discount.Models
{
public class Coupon
{
public int CouponId { get; set; }
public string Code { get; set; }
public int Amount { get; set; }
public bool AlreadyUsed { get; set; }
}
}
|
using System.Security.Principal;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PatternsCore.Security;
using Rhino.Mocks;
namespace Pattern.Tests
{
[TestClass()]
public class RhinoMocksAtPlay
{
[TestMethod()]
public
void TestMethod1()
{
var mrepo = ne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Bloodhound.Core.Model;
using Bloodhound.Models;
using Bloodhound.Core;
namespace Bloodhound.Controllers
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Ludotek.Api.Business;
using Ludotek.Api.Dao;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Localization;
using Microsoft.EntityFramewor... |
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LI... |
using System;
using org.ogre;
namespace PacmanOgre.Input
{
public class KeyboardEventArgs : EventArgs
{
public KeyboardEvent KeyboardEvent { get; set; }
}
public class InputManager : InputListener, IDisposable
{
public event EventHandler<KeyboardEventArgs> OnKeyPressed;
p... |
using System;
using Newtonsoft.Json;
using static Microsoft.UnifiedRedisPlatform.Core.Constants.Constant.LoggingConstants;
namespace Microsoft.UnifiedRedisPlatform.Core.Logging
{
public class LogConfiguration: ICloneable
{
public bool Enabled { get; set; }
public string LoggingStrategy { get; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Backend.Model.Pharmacies
{
public class Tender
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
[Required]
public string QueueName { get; set; }
... |
using System.Data.Entity;
namespace kidd.software.dotnet.shop.model
{
public static class DbSetExtension
{
public static void Clear<T>(this DbSet<T> obj)
where T : class
{
obj.RemoveRange(obj);
}
}
public class ShopContext : DbContext
{
public ShopContext(string databaseName) : base(databas... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using MoulaCod... |
using UnityEngine;
namespace Khronos
{
public class ProceduralRingPartModule : PartModule
{
[KSPField] public Vector4 outlineColor = Color.red; //new Vector4(0, 0, 0.2f, 1);
[KSPField] public float outlineWidth = 0.05f;
[KSPField] public string radiusKey = "r";
[KSPField] public... |
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 LoginForm.com.admin.userControl;
using LoginForm.com.supplier;
using LoginForm.com.product;
names... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Constant of type `Vector2`. Inherits from `AtomBaseVariable<Vector2>`.
/// </summary>
[EditorIcon("atom-icon-teal")]
[CreateAssetMenu(menuName = "Unity Atoms/Constants/Vector2", fileName = "Vector2Constant")]
public sea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.