text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Reflection;
namespace ISESecurityLoginRemote
{
public class RemoteLogin
{
string path = PathProvider.RemoteLoginDll();
string extToken = "";
Dictionary<string,string> tokenData=new Dictionary<string,string>();
public ... |
using LeaveApplication.Dal.Models;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace LeaveApplication.Dal.Configuration
{
public class LeaveConfiguration : BaseEntityConfiguration<Leave>
{
public override void Configure(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Predictr.Data;
using Predictr.Mod... |
namespace ResolveUR.Library
{
using System.IO;
public class ResolveURFactory
{
const string Proj = "proj";
const string Sln = "sln";
public static IResolve GetResolver(
ResolveUROptions options,
HasBuildErrorsEventHandler hasBuildErrorsEvent,
Pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Salle.Model.Commun;
namespace Salle.Model.Salle
{
public interface IClient
{
int ClientCommande { get; set; }
string Repas { get; set; }
bool Mange { get; se... |
using System.Collections.Generic;
using Lanches.Web.Models;
namespace Lanches.Web.ViewModels
{
public class HomeViewModel
{
public IEnumerable<Lanche> LanchesPreferidos { get; set; }
}
} |
using System;
using System.IO;
using System.Security.Cryptography;
namespace Ingen.Network
{
public class AesCryptoService : ICryptoService, IDisposable
{
public byte[] IV => CryptoService?.IV;
public byte[] Key => CryptoService?.Key;
private AesManaged CryptoService { get; }
private ICryptoTransform Encry... |
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CabMedical
{
public partial class Ordonn... |
using System;
using System.Collections.Generic;
using System.Text;
namespace _05._Teamwork_Projects
{
class Team
{
public Team(string creator, string name)
{
Creator = creator;
Name = name;
Members = new List<string>();
}
public string Name {... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SMARTplanner.Entities.Helpers;
namespace SMARTplanner.Entities.Domain
{
public class ProjectUserAccess
{
[Key, Column(Order = 0)]
public long ProjectId { get; set; }
[Ke... |
using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Telerik.OpenAccess;
namespace Sparda.Contracts
{
public interface IService
{
bool IsPublic { get; set; }
string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CacheSqlXmlService.SqlManager
{
[Flags]
public enum ConnectFlags
{
And =0x1,
Or =0x2,
Group =0x4,
EndGroup = 0x8,
AndGroup = 0x16,
OrGroup = 0x32
}
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TravelExperts
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
p... |
using ScriptableObjectFramework.Variables;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ScriptableObjectFramework.Conditions.Watchers
{
public class IntComparisonWatcher : BaseConditionWatcher<int, IntVariable, IntComparableConditionCollection>{ }
}
|
using System.Collections.Generic;
using TheMapToScrum.Back.BLL.Interfaces;
using TheMapToScrum.Back.BLL.Mapping;
using TheMapToScrum.Back.DAL.Entities;
using TheMapToScrum.Back.DTO;
using TheMapToScrum.Back.Repositories.Contract;
using TheMapToScrum.Back.Repositories.Repo;
namespace TheMapToScrum.Back.BLL
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TaskScheduler
{
public class TaskScheduler : ITaskScheduler
{
private List<Task> Tasks;
private List<Task> Results;
private List<Task> TaskPath;
/// <s... |
using System;
using DelftTools.Utils.PropertyBag;
namespace SharpMap.UI.Tools
{
public class QueryResultEventArgs : EventArgs
{
public PropertyTable Result;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Speed
{
Program prog = new Program();
public void IncreaseSpeed()
{
string test = prog.ReturnScore().ToString();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.MRP.TRANS
{
[Serializable]
public partial class MrpFiShiftPlan : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Final_Project
{
class Dogs : Animal
{
//Variables
private string type;
//Get, set and construct
public new string Type { get { return type; } }
... |
namespace KK.AspNetCore.EasyAuthAuthentication.Samples.Web.Repositories
{
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IRepository
{
Task<IEnumerable<string>> GetRoles(string userIdentifier);
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using RazorSample1.Models;
using RazorSample1.Models.Enums;
u... |
using System;
using System.Collections.Generic;
using System.Text;
namespace WebApp.Data.Models
{
public partial class TiresModelsBrands
{
public static TiresModelsBrands CreateAsgt(string brand, string model, string country, string category, double startPrice = 0)
{
return new Tir... |
using Galeri.Entities.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Galeri.Entities.Concrete
{
public class Model:IEntity
{
public Model()
{
Tasitlari = new List<Tasit>();
}
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterMoveHV : CharacterBehaviour
{
protected override void OnHorizontal()
{
hInput = Input.GetAxis("Horizontal")*moveSpeed.value;
movement.Set(hInput,yVar,vInput);
}
}
|
using AppNotas.Modelo;
using CarritoCompras.Modelo;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace CarritoCompras.Service
{
public class ApiServiceAuthentication
{
public static ... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using ExamOnline.BaseClass;
namespace ExamOnline.Admin
{
public partial class ExaminationDetail : System.Web.UI.Page
... |
using System;
using System.Collections.Generic;
namespace Core.Entities
{
public partial class RTeam
{
public int RTeamId { get; set; }
public int RLeagueId { get; set; }
public string TeamName { get; set; }
public bool? FCheck { get; set; }
public RLeague RLeague { ge... |
using System.ComponentModel.DataAnnotations;
namespace MessageClicker.Web.Models
{
public class UserView
{
public int Id { get; set; }
[Required(ErrorMessage = "Введите login")]
public string Login { get; set; }
[Required(ErrorMessage = "Введите пароль")]
public strin... |
using Xamarin.Forms;
namespace RRExpress.Seller.Views {
public partial class AddGoodsView : ContentPage {
public AddGoodsView() {
InitializeComponent();
}
}
}
|
using gView.Framework.Data.Cursors;
namespace gView.Framework.Data
{
public class XmlCursor : IXmlCursor
{
private string _xml;
public XmlCursor(string xml)
{
_xml = xml;
}
#region IXmlCursor Member
public string Xml
{
get { re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generics
{
internal class ClassExc04<T>
{
T[] arr;
public ClassExc04(T[] arr)
{
this.arr = arr;
}
public T this[int k]
{
... |
using Anywhere2Go.DataAccess.Entity;
using System.Collections.Generic;
namespace Claimdi.Account.Models
{
public class ReportViewModel
{
public string RepTaskId { get; set; }
public string RepTaskProcessId { get; set; }
public string RepInsurerId { get; set; }
public string Rep... |
using System;
namespace PostgresIssue855
{
public class TestClass
{
// Can be ignored in this sample
public int Id { get; set; }
public DateTime Start { get; set; }
public DateTime End { get; set; }
public TestSubClass SubClass { get; set; }
}
} |
using System.Drawing;
namespace RectangleGame.Map
{
/// <summary>
/// An empty map without any additional objects.
/// </summary>
class Map
{
/******** Variables ********/
/// <summary>
/// The position of the map. It will not automatically be drawn at this point!
/// </summary>
public Point position;... |
using System;
namespace IrsMonkeyApi.Models.Dto
{
public class OrderDto
{
public int OrderStatusId { get; set; }
public DateTime OrderDate { get; set; }
public float Discount { get; set; }
public string DiscountType { get; set; }
public string DiscountCode { get; set; }
... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
using zm.Questioning;
using zm.Users;
using zm.Util;
namespace zm.Levels
{
public class LevelsModel : GenericSingleton<LevelsModel>
{
#region Constants
/// <summary>
/// Path of directory that holds all serialized levels... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ManageDomain.DAL
{
public class ServerWatchDal
{
public const int ChartMaxItmes = 4000;//10万
public void AddDataCpu(CCF.DB.DbConn dbconn, Models.ServerWatch.DataCpu model)
{
stri... |
using ArquiteturaLimpaMVC.Aplicacao.DTOs;
using ArquiteturaLimpaMVC.Aplicacao.Interfaces;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace ArquiteturaLimpaMVC.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ProdutosController : ControllerBase
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UseCoroutineColor : MonoBehaviour {
private Color _currentColor;
private bool _CoroStatus = false;
private void Start() {
_currentColor = this.GetComponent<MeshRenderer>().material.color;
Debug.Log(... |
using System.Collections.Generic;
namespace Ofl.Atlassian.Jira.V3
{
public class ErrorCollection
{
public IReadOnlyCollection<string>? ErrorMessages { get; set; }
public IReadOnlyDictionary<string, string>? Errors { get; set; }
public int Status { get; set; }
}
}
|
using System;
using System.Collections;
namespace CustomIterator
{
public class People_A : IEnumerable
{
private Person[] _person;
public People_A(Person[] pArray)
{
_person = new Person[pArray.Length];
for (int i = 0; i < pArray.Length; i++)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerMovement : MonoBehaviour
{
Rigidbody rb;
public GameObject joystick;
private float speed;
public float currentSpeed;
private float maxSpeed = 8f;
public bool ... |
using System;
namespace ITCastOCSS.Model
{
/// <summary>
/// Teacher:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class Teacher : IConvertible
{
public Teacher()
{}
#region Model
private int _tid;
private string _tno;
private string _tname;
private string _tsex;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebAPI.Core.DomainModels.Customers;
namespace WebAPI.Infrastructure.Repositories
{
public interface ICustomerRepository : IRepository<Customer>
{
Task<CustomerDTO> GetCustomerByIdAsync(int id);
... |
namespace IATenderService.Settings
{
public class ServiceSettings
{
public string ActionBenefitServiceUrl { get; set; }
public string DrugServiceUrl { get; set; }
public string TenderServiceUrl { get; set; }
public string PharmacySystemServiceUrl { get; set; }
}
}
|
using System;
namespace _03.Ferrari
{
class Program
{
static void Main(string[] args)
{
var driver = Console.ReadLine();
var car = new Ferrari(driver);
Console.WriteLine($"{car.Model}/{car.Brakes()}/{car.Gas()}/{car.Driver}");
}
}
}
|
using System.Windows.Forms.DataVisualization.Charting;
using Stock_Exchange_Analyzer.Data_Storage;
using Stock_Exchange_Analyzer.DataRepresentation;
using System;
using System.Collections.Generic;
namespace Stock_Exchange_Analyzer.Graph_Rendering
{
static class RenderGraph
{
/// <summary>
/// ... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectBueno.Utility
{
static class RectangleHelper
{
public static Vector2 ToVector(this Rectangle rect)
{
return new Vector2(rect.X, rect.Y);
}
p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PatronPrototipo
{
class CPersona:IPrototipo
{
private string nombre;
private int edad;
public string Nombre { get => nombre; set => nombre = value; }
public int Edad { get => edad; set => edad = value... |
using System.Net.Http;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Options;
namespace AspNetCore.Security.CAS
{
public class CasPostConfigureOptions :IPostConfigureOptions<CasOptions>
{
private rea... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Values
{
public static float gridSize = 4.0f;
public static float innerWallThicknessScale = 0.5f;
public static float outerWallThicknessScale = 1f;
public static int cellCount = 9;
pu... |
using Microsoft.AspNet.SignalR;
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
[assembly: OwinStartup(typeof(Livefeed.Api.Startup))]
namespace Livefeed.Api
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
// For more information on how to configu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace _2_Class_Courses
{
class Student
{
public int id;
public string name;
public DateTime registerDate;
public Student(string name, int id)
{
this.id = id;
t... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EnsorExternSimulation
{
class EnsorIOSocketAdaptor
{
private EnsorIOController ensorIOController;
... |
using System.Collections.Generic;
using DFC.ServiceTaxonomy.VersionComparison.Models;
using Newtonsoft.Json.Linq;
namespace DFC.ServiceTaxonomy.VersionComparison.Services.PropertyServices
{
public interface IPropertyService
{
bool CanProcess(JToken? jToken, string? propertyName = null);
IList... |
using Microsoft.Extensions.DependencyInjection;
using System;
namespace DDMedi.DependencyInjection
{
public class SupplierScopeFactory : ISupplierScopeFactory
{
IServiceScopeFactory _factory;
public SupplierScopeFactory(IServiceScopeFactory factory)
{
_factory = factory;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace Автошкола
{
public class GroupsDA
{
private SqlDataAdapter dataAdapter;
// сохранить изменения строки
public void Save(AutoschoolD... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using Alabo.Validations.Aspects;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Alabo.Datas.Stores.Update.Mongo {
public abstract class UpdateMongoStore<TEntity, TKey> : UpdateAsyncMo... |
namespace TalkExamples.SOLID.OCP.Example1
{
public abstract class Cargo
{
public virtual decimal PercentualBonificacao()
{
return 0;
}
}
public class Diretor: Cargo
{
public override decimal PercentualBonificacao()
{
return 0.1M;
... |
using DiscomonProject.Discord.Entities;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace DiscomonProject.Discord
{
public class Connection
{
private readonly DiscordSocketClient _client;
private reado... |
using System.Collections.Generic;
using EdjCase.JsonRpc.Core.JsonConverters;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Linq;
using System;
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Local
// ReSharper disable UnusedMember.Local
namespace EdjCase.JsonRpc.Core
{
/// <summary>
/// Model r... |
using Domain;
namespace RepositoryInterface
{
public interface IUserRepository : IRepository<TUSR>
{
TUSR GetUserRolesByCompanyAndUsername(TUSR user);
TUSR GetUserRolesByPrimaryKey(TUSR user);
}
} |
using System;
namespace Assignemnt_1
{
class Program
{
static void Main(string[] args)
{
fruit ex1 = new fruit();
fruit ex2 = new fruit();
ex1.amount = 5;
ex2 = ex1;
ex2.amount = 6;
Console.WriteLine(ex1.amount);
... |
using System.ComponentModel.DataAnnotations;
namespace StudyMateLibrary.Enities
{
public class Subject : Entity
{
public string Description { get; set; }
[Required]
public string SubjectText { get; set; }
}
} |
namespace TagProLeague.Models
{
public class GameFormat : Document
{
public int Accel { get; set; }
public int TopSpeed { get; set; }
public int Bounce { get; set; }
public int PlayerRespawn { get; set; }
public int BoostRespawn { get; set; }
public int BombRespa... |
using Microsoft.SqlServer.XEvent.Linq;
using NLog;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using XESmartTarget.Core.Responses;
namespace XESmartTarget.Core.Utils
{
class XEventDataT... |
using AudioText.DAL;
using AudioText.Models;
using AudioText.Models.DataModels;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Net.Configuration;
using System.Net.Mail;
using System.Threading;
using System.Threading.Tasks;
namespace AudioText.Services
{
public class Email... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebsiteQuanLyPhatHanhSach.Models;
using WebsiteQuanLyPhatHanhSach.ViewModels;
namespace WebsiteQuanLyPhatHanhSach.Controllers
{
public cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ToDoList
{
public class CTaskManager
{
private Dictionary<CTodoTask, DateTime> todoTaskList;
public CTaskManager()
{
this.todoTaskList = new Dictionary<CTodoTask, DateTime>();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using Docller.Common;
using Docller.Core.Common;
using Docller.Core.Models;
using Newtonsoft.Json;
namespace Docller.Mo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Assignment2
{
public class TodoRepository : ITodoRepository {
private readonly IGenericList<TodoItem> _inMemoryTodoDatabase;
public TodoRepository(IGenericList<TodoItem> initialDbState = null)
{
... |
using System;
using System.Threading.Tasks;
namespace Barebone.Common.Services.Interfaces
{
public interface IConnectivityService
{
bool HasNetworkConnection { get; }
event EventHandler<ConnectivityChangedEventArgs> ConnectivityChanged;
Task<bool> IsRemoteReachable();
void Fa... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class TempDB : MonoBehaviour {
public string userID;
public int userLEVEL;
public int userMMR;
public int userEXP;
public int userWIN;
public int userLOSE;
public int userGOLD;
public bool ... |
using Crystal.Plot2D;
using Crystal.Plot2D.Charts;
using Crystal.Plot2D.DataSources;
using System;
using System.Data;
using System.Windows;
using System.Windows.Media;
namespace S002MarkerGraph
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
priva... |
using System;
using System.ComponentModel;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Appnotics.Library.UI.UserControls
{
/// <summary>
/// Interaction logic for IntegerUpDown.xaml
/// </summary>
public partial class TimePicker : UserControl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Drawing;
using System.IO;
using System.Web;
using log4net;
namespace mssngrrr
{
public class Upload : BaseHandler
{
protected override AjaxResult ProcessRequestInternal(HttpContext context)
{
if(context.Request.Files.Count == 0)
throw new AjaxException("No files uploaded");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoGrabberMod.Models;
using Microsoft.Xna.Framework;
using StardewModdingAPI.Events;
using StardewValley;
using StardewValley.TerrainFeatures;
namespace AutoGrabberMod.Features
{
using SVObject = StardewValley.Object;
class Forage : Fe... |
using AspNet.Security.OAuth.GitHub;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using System;
namespace Microsoft.Extensions.DependencyInjection
{
public static class GitHubAuthenticationExtensions
{
public static Authenticat... |
using System;
using System.IO;
namespace WordGuessGame
{
public class Program
{
static void Main(string[] args)
{
//string path = "../../../../wordbank.txt";
//ShowWordBank(path);
//ShowMysteryWord(path);
ShowMenu();
Console.WriteL... |
using System.Threading.Tasks;
using TaxiService.Order.Models;
using System.Collections.Generic;
namespace TaxiService.Order.Repositories
{
public interface IOrderRepository
{
Task<IEnumerable<Reservation>> GetAllOrders();
Task<Reservation> GetOrderByUserId(string userId);
Task<IEnumerab... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestStack.White;
using System.IO;
using System.Threading;
/// <summary>
/// Test UI with TestStack.White
/// </summary>
namespace tWhiteTestApp.MainWindowTests
{
[TestClass]
public class MainWindowTests
{
private const string ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace testMonogame
{
class UnlimitedBombs : ICommand
{
IPlayer player;
public UnlimitedBombs(IPlayer playerIn)
{
player = playerIn;
}
public void Execute()
{
player.B... |
using gView.Framework.Carto;
using gView.Framework.Data;
using System.Linq;
namespace gView.MxUtil.Lib
{
public class MapPersist : Map
{
public void SetDataset(int datasetId, IDataset dataset)
{
if (datasetId >= 0 && datasetId < _datasets.Count())
{
_dat... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Reflection;
namespace Pe.Stracon.SGC.Infraestructura.Core.Context
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Pokemon_Internal_Blades_CSharp
{
class Constants
{
/// <summary>
/// Defines all constants needed for entire program
/// </summary>
// ----... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Newtonsoft.Json;
namespace AspNetCoreDemo.Provider
{
public class SessionStore : OAuthSPA.ITicketStore
{
//private StackExchange.Redis.ConnectionMultiplexer... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LeftHandOrientationController : MonoBehaviour
{
public Transform leftHandTarget;
private Rotate rotate;
private float speed = 1.0f;
private float ang = 90.0f;
public bool ReOrient(string initialOrientatio... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using System.Collections;
using System.Reflection;
using Microsoft.VisualBasi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections.Generic;
namespace Vapoteur.Models
{
public class TestBox : Box
{
public string Nom { get; set; }
public string Test { get; set; }
}
} |
using System;
using System.Runtime;
using System.Text;
using System.Collections.Generic;
using System.Web.UI.WebControls;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rwd.Framework.Extensions;
namespace Rwd.FrameworkTests.ExtensionsTests
{
/// <summary>
/// Summary description for DataTableExtens... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication1.EfStuff.Model.Energy
{
public class PersonalAccount : BaseModel
{
public string Number { get; set; }
public DateTime DateRegistration { get; set; }
public DateTi... |
using UnityEngine;
using System.Collections;
public class GameDoor : MonoBehaviour {
public int waitTime;
public static bool zoomedIn = false;
public GameObject back;
void OnMouseDown ()
{
zoomIn ();
Instantiate (back);
}
void zoomIn ()
{
// Zoom Camera in
Vector3 pos;
pos.x = -2;
pos.y = 0;
... |
using Business.Abstract;
using Entities.Concrete;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ProducerController : Controller
{
... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Script.Serialization;
using ClosedXML.Excel;
using System.IO;
using Elmah;
using CreamBell_DMS_WebApps.App_Code;
n... |
public interface IId
{
int Id {get;set;}
} |
/*
Description Script:
Name:
Date:
Upgrade:
*/
using UnityEngine;
using System.Collections;
using System;
public class BulletDefaultBehaviour : Bullet
{
/// <summary>
///
/// </summary>
void Update()
{
//Movimenta o objeto
move();
//verifica onde o objeto está para desliga... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.