text stringlengths 13 6.01M |
|---|
using Foundation;
using System;
using System.CodeDom.Compiler;
using ResidentAppCross.iOS.Views;
using ResidentAppCross.Resources;
using UIKit;
namespace ResidentAppCross.iOS
{
public partial class LabelWithButtonSection : SectionViewBase
{
public LabelWithButtonSection()
{
}
public LabelWithBut... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Xml.Serialization;
[XmlRoot("Hero")]
public class Hero {
[XmlAttribute("name")]
public string name;
[XmlArray("CardList"), XmlArrayItem("Card")]
public List<HeroCards> cards;
[XmlElement("Statistics")]
... |
#if DEBUG
using Common.Business;
using Entity;
using System;
using System.Collections.Generic;
using System.ServiceModel;
namespace Contracts.Info2257
{
[ServiceContract(SessionMode = SessionMode.Required, Namespace = "http://www.noof.com/", Name = "Info2257")]
[ServiceKnownType(typeof(LicensorContact))]
[ServiceK... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.ComponentModel;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows;
using System.Windows.Controls;
namespace WpfApp1
{
class ReportPdf : INoti... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace PiwoBack.Data.ViewModels
{
public class RegisterViewModel
{
[Required]
[StringLength(30, ErrorMessage = "Nazwa użytkownika powinna mieć od 5 do 30 znaków", MinimumLength = ... |
using System;
using UnityEngine;
namespace Egret3DExportTools
{
public class ParticleRendererSerializer : ComponentSerializer
{
protected override bool Match(Component component)
{
var obj = component.gameObject;
ParticleSystemRenderer comp = component as ParticleSystem... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSConsoleRL.Entities;
using CSConsoleRL.Events;
namespace CSConsoleRL.Components.Interfaces
{
public interface IComponent
{
Entity EntityAttachedTo { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Authorization;
us... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Timer.
///
/// Utility class for doing something after a certain period of time.
///
/// Works by adding a child gameobject with this component that calls
/// the callback when the timer ends then self destructs.
/// </summary>
public class Timer : Mono... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using System.Windows.Shapes;
using SpatialEye.Framework;
using SpatialEye.Framework.Geometry;
namespace Lite
{
/// <summary>
/// The measurer that is used for measuring in free mode, allowing the user
/// to place... |
namespace Sfa.Poc.ResultsAndCertification.Dfe.Domain.Models
{
public class TqProvider : BaseEntity
{
public int AwardingOrganisationId { get; set; }
public int ProviderId { get; set; }
public int RouteId { get; set; }
public int PathwayId { get; set; }
public int Specia... |
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogInApp.Server.Entities
{
public class Blog
{
public int BlogId { get; set; }
public string Title { get; set; }
public string Description { get; ... |
namespace Types
{
public enum EnemyColor
{
Magenta,
Green,
Cyan,
}
public enum DialogueType
{
Normal,
Ending,
Change,
Start,
}
public enum GameState
{
Opening,
Game,
Ending,
}
}
|
using System;
using System.Collections;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace ConsoleApp1
{
public class HandleClient
{
private TcpClient clientSocket;
private string clientID;
private Hashtable clientsList;
private Log... |
using DataImporter.Business;
using DataImporterApi.Web.Extensions;
using DataImporterApi.Web.Models;
using System.Web.Http;
namespace DataImporterApi.Web.Controllers
{
public class ExpenseController : ApiController
{
private readonly IApplicationService _applicationService;
public ExpenseCont... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Animals
{
public class Animal
{
public Animal(string name, string favFood)
{
Name = name;
FavFood = favFood;
}
public string Name { get; }
public string FavFood { get; }... |
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmirateHMBot.Models
{
static public class SaveFromPermitRenewEid
{
public static IWebDriver EidDriver;
public static EID Eid;
public stat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LimenawebApp.Models
{
public class HistorialVentas
{
public string CardCode { get; set; }
public decimal Invoices { get; set; }
public int SKUs { get; set; }
public int PreviousPeriod... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.BIZ
{
public class ImagesHelper
{
/// <summary>
/// Resize the... |
using System;
using System.Threading;
using Pizzeria.Models;
using System.Collections.Generic;
namespace Pizzeria.Models
{
public class OrderDetail
{
public int Id { get; set; }
public int Amount { get; set; }
public double TotalCost {get; set;}
public static int globalOrderD... |
using UnityEngine;
using System.Collections;
public class MenuHeart : MonoBehaviour {
// Use this for initialization
public void Enable()
{
GetComponent<SpriteRenderer>().color = Color.white;
}
public void Fade()
{
GetComponent<SpriteRenderer>().color = new Color(0.1f, 0.1f, ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NERFAddAmmo : MonoBehaviour
{
public NERFcounter NERFCounter;
public GameObject Canvas;
private void Start()
{
Canvas = GameObject.FindGameObjectWithTag("Canvas");
NERFCounter = Canvas.GetComp... |
using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using log4net;
using DMS.Utils;
namespace DMS.DataAccessObject
{
/// <summary>
/// Summary description for clsAutUserDAO.
/// </summary>
/// <remarks>
/// Author: PhatLT. FPTSS.
/// Created date: 14/02/2011... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using bd.log.servicios.Interfaces;
using bd.log.entidades.ViewModels;
using Microsoft.AspNetCore.Mvc.Rendering;
using bd.log.entidades;
using System;
using PagedList.Core;
using PagedList.Core.Mvc;
using bd.log.entidades.Uti... |
using System;
using System.Collections.Generic;
using System.Text;
using Dados.DAO;
using Repository.Repositorio;
using Interfaces.Interfaces;
namespace Business
{
public class CategoryBS: ICategoryBS
{
public int insert(string pDsCategory)
{
int iReturn = 0;
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
using System.Globalization;
namespace PeriodicTable
{
//class contains list of chemical substances taken from file
public static class Explosives
{
//list of explosives
publi... |
using MmsApi.Models;
using MmsDb;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace MmsApi.Controllers
{
public class LoginController : HomeController<UserEntity>
{
public LoginController(Repository<UserEntity> repo) : base(repo) { }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EmployeeWages
{
class CompanyEmpWage
{
Employee _emp = new Employee();
Company _company;
int _totalMonthlyWage = 0;
List<int> _dailyWages = new List<int>();
public CompanyEmpWage()
{
... |
using Microsoft.EntityFrameworkCore;
using Payment.Infrastructure.Contexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Payment.Infrastructure.DesignTime
{
internal class PaymentDbContextFactory : DesignTimeDbContextFactoryBase<Paym... |
// <copyright file="TestConsoleExporter.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.a... |
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 Snow
{
public partial class FavouritesForm : Form
{
private Form1 fm;
pr... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Consensus;
using FiiiChain.Data;
using FiiiChain.Data.Accesses;
using FiiiChain.DataAgent;
using FiiiChain.Entities;
us... |
using System;
using DataLightning.Core.Operators;
using FluentAssertions;
using System.Collections.Generic;
using Xunit;
namespace DataLightning.Core.Tests.Unit.Operators
{
public class MultiJoinTests
{
private readonly MultiJoin _sut;
private readonly PassThroughUnit<TestEntityA> _inputA;
... |
using Limilabs.Client.SMTP;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VirtualLab
{
public p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BE.Seguridad
{
public partial class usuariomenu
{
public Int32 inCodUsuario { get; set; }
public Int32 inCodMenu { get; set; }
}
}
|
using System;
using Alabo.Industry.Shop.Products.Domain.Services;
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Shop.Product.Domain.Services
{
public class IProductServiceTests : CoreTest
{
/*end*/
[Fact]
... |
using UnityEngine;
using System.Collections;
public class Goal : MonoBehaviour {
public GameObject opponent;
public GameObject friendly;
private Vector3 startingPositionBall;
private Vector3 startingPositionFriendly;
private Vector3 startingPositionOpponent;
private Transform opponentChassis;
... |
using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class LevelState : NetworkBehaviour {
public static LevelState singleton;
public BouncingBall spawnedBall;
public GameObject spawnedBallRipples;
public ForceArea s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrainingApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter mass rows:");
int massLenth = MassLenth();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace AxisPosCore
{
public class POSSelectDiscountReasonState:POSAbstractState
{
public override event POSStateDelegate OnStateEnter;
public override void ExecState(PosCore core)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DSSCriterias.Logic.Extensions;
namespace DSSCriterias.Logic.Criterias
{
public class CriteriaGurvits : Criteria
{
public IOption GurvitsCoeff { get; private set; } = new Option("... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data;
namespace Автошкола
{
public class BusinessLogic
{
private ReplacementsCarriersDA replacementsCarriersDA;
private CarriersRepairsDA... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
/// <summary>
/// Attach component to gameobject and call from other scripts to initiate smooth translation and rotation actions
///
/// </summary>
public class SmoothMover : MonoBehaviour {
private List<Coroutine> m_ru... |
using Godot;
using System;
public class PictureStoryUnit
{
public Texture Background {get; set;}
public float[] RegionRect {get; set;}
public string Text {get; set;}
public AudioStream Audio {get; set;}
public VideoStream Video {get; set;}
public Label.VAlign TextVAlign {get; set;} = Label.VAlign.Bottom;
publ... |
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class SchedulerController: DemoController {
public ActionResult Templates() {
return DemoView("Templates", SchedulerDataHelper.DataObject);
}
public ActionResult TemplatesPartial() {
return Partia... |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Atc.CodeAnalysis.CSharp.SyntaxFactories
{
public static class SyntaxBaseListFactory
{
public static BaseListSyntax CreateOneSimpleBaseType(string typeName)
{
retu... |
using System;
using System.Collections.Generic;
namespace EPI.HashTables
{
/// <summary>
/// Design a hash function for chess game states.
/// It should take as input the current state, the hash code of the current state and a move.
/// And efficiently compute the hash code of the update move
/// </summary>
pub... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace TypeAlias.Tests
{
internal class FooAttribute : Attribute
{
}
[Foo]
internal class BarClass
{
}
[Foo]
internal class CarClass
{
}
public class TypeUtilityTest : AssertionHelper
{
... |
using Contracts;
using System.Collections.Generic;
namespace AnalysisEngine.Analyzers
{
public class ScriptAnalyzer : AnalyzerBase, IAnalyzer
{
public ScriptAnalyzer()
{
Name = "CScript";
Threats = new List<Threat>(){
new Threat{FilePath = @"C:\Windows\S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Empresa.DesignPatterns.Vendas;
namespace Empresa.DesignPatterns.Impostos
{
public class CalculadorDeImpostos
{
public double CalcularImposto(Orcamento orcamento, Imposto imposto)
... |
using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using DevExpress.XtraDataLayout;
using DevExpress.XtraLayout;
using Phenix.Core;
using Phenix.Core.Log;
using Phenix.Core.Windows;
namespace Phenix.Windows.Helper
{
/// <summary>
/// LayoutControl助手
/// </summary>
public stati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TurpialPOS.Controllers
{
public class PaymentController : Controller
{
// GET: Payment
public ActionResult BeginPayment()
{
return PartialView("_BeginPayment... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using System.Web;
using LibraryManagement.Data;
using LibraryManagement.Model;
using LibraryManagement.Model.Authentication;
using LibraryManag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Integer.Domain.Agenda;
using Integer.Domain.Paroquia;
using Integer.Infrastructure.Validation;
using DbC;
using Rhino.Mocks;
using Xunit;
namespace Integer.UnitTests.Domain.Agenda
{
public class Reserva_AlterarHorario
... |
namespace ModelTransformationComponent.SystemRules
{
/// <summary>
/// Системная консрукция окончания описания трансляции
/// <para/>
/// Наследует <see cref="SystemRule"/>
/// </summary>
public class End : SystemRule
{
/// <summary>
/// Литерал конструкции окончани... |
using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Icu.Text;
using Android.Views;
using Android.Widget;
using Cashflow9000.Models;
namespace Cashflow9000.Adapters
{
public class BudgetAdapter : BaseAdapter<Budget>
{
private readonly Activity Context;
... |
using System;
namespace Library.API.Extensions
{
public static class DateTimeExtension
{
public static int GetCurrentAge(this DateTimeOffset birthDate)
{
DateTime now = DateTime.Now;
int age = now.Year - birthDate.Year;
if (now.Month < birthDate.Month || (no... |
using System;
using System.Collections.Generic;
using System.Text;
namespace crud
{
class readFile
{
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HandlingExceptions
{
class Program
{
static void Main(string[] args)
{
try
{
string content = Fi... |
using FamilyAccounting.BL.DTO;
using FamilyAccounting.DAL.Entities;
using Moq;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace FamilyAccounting.Tests.Integration_Tests
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VBRepo
{
public class Kontakt
{
public int ID { get; set; }
public string Map { get; set; }
public string Tider { get; set; }
public string Telefon {... |
using Common.Data;
using Common.Exceptions;
using System;
using System.Collections.Generic;
using System.Data;
namespace Entity
{
public partial class SystemLocationFCP
{
public List<string> GetFCPLocations(string connectionString)
{
//select location from system_location_fcp
string sql = "P_Get_Locations... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Enemy : MonoBehaviour
{
[Header("Enemy attributes :")]
public float speed = 5.0f;
public float originalSpeed;
public int souls = 10;
public float hp = 100;
public float damage;
... |
using ApiCatalogoJogos.InputModel;
using ApiCatalogoJogos.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiCatalogoJogos.Services
{
public interface IGameService : IDisposable
{
Task<List<GameViewModel>> GetGame(int page, int quan... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text.RegularExpressions;
public class CustomDialogueRunner : Yarn.Unity.DialogueRunner
{
public int seed = 0;
private static string YarnHack(Match match)
{
return Regex.Replace(match.Value, @"(?<!---|\]\])\n(?!===)", "<b... |
using UnityEngine;
namespace Assets.Scripts
{
public class InWaterCar : MonoBehaviour
{
public GameManager GameManager;
private LayerMask _carLayer = 1 << 15;
void OnTriggerEnter(Collider col)
{
if ((_carLayer.value & 1 << col.gameObject.layer) == 0)
... |
public enum TypeGameObject { Ground, Items, Wall, Ememy, Used, Npc, Hero ,UI} //возможные типы обьектов
public enum GroundType { Water, Road, Dirt, Grass, DeadZone } // типы пола
public enum ItemsType { Weapon, Armor, Posion, QuestItem, Garbage } //типы Вещей
public enum EnemyType { Quest, Boss, Normal } //Типы в... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using DatabaseManagement.Models;
using DatabaseManagement.ProjectHelpers;
using NHibernate.Tool.hbm2ddl;
namespace DatabaseManagement.Migrations
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appnotics.PCBackupLib.Helpers
{
public class IOHelper
{
public static bool BuildFolderPath(string path)
{
if (Directory.Exists(path))
return true;
try
{
... |
using Alabo.Domains.Entities.Extensions;
using Alabo.Industry.Shop.Orders.Domain.Enums;
namespace Alabo.Industry.Shop.Orders.Domain.Entities.Extensions
{
/// <summary>
/// 订单评价
/// </summary>
public class OrderRate : EntityExtension
{
/// <summary>
/// 买家评价
/// </su... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LivePerformance2016.CSharp;
using LivePerformance20... |
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using thedailypost.Service.Models;
using thedailypost.Service.Interfaces;
namespace thedailypost.Service
{
public class AuthenticationService : IAuthenticationService
{
... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Web.Models.Cohort;
namespace SFA.DAS.ProviderCommitments.Web.Validators.Cohort
{
public class FileUploadAmendedFileViewModelValidator : AbstractValidator<FileUploadAmendedFileViewModel>
{
public FileUploadAmendedFileViewModelValidator()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XOXServer
{
public enum Opcodes : byte
{
NULL = 0,
JOIN = 1,
LOBBY = 2,
START = 3,
TURN = 4
}
public struct OpcodesHandler... |
using System;
using Calculator;
using Xunit;
namespace XUnitTest
{
public class CalculatorTestX
{
private readonly ICalculator _c = new Calculator.Calculator();
[Theory]
[InlineData(0,1,1)]
[InlineData(0,-1,-1)]
[InlineData(1,-1,0)]
[InlineData(-1,1,0)]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Configuration;
using Dapper;
using System.IO;
namespace Pronto.Common
{
//public class SqLiteDataAccess : DataAccess
//{
// string database... |
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.Data;
using System.Text;
using Elmah;
namespace CreamBell_DMS_WebApps
{
public partial class frmInvoiceGeneration : System.Web.UI.Pag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FXB.Common;
namespace FXB.Data
{
//qt级别
public enum QtLevel
{
// 摘要:
//没有qt级别
None = 0,
//
// 摘要:
// 业务员。
Salesman = 1,
... |
namespace Apache.Shiro.Authz.Aop
{
public class GuestAttributeMethodInterceptor : AuthorizingAttributeMethodInterceptor
{
public GuestAttributeMethodInterceptor()
: base(new GuestAttributeHandler())
{
}
}
} |
using UnityEngine;
using System.Collections;
public class Move : MonoBehaviour {
public float speed=100;
Rigidbody rb;
void Start ()
{
rb=GetComponent<Rigidbody> ();
}
// Update is called once per frame
void Update ()
{
if (Input.GetAxis("Horizontal")<0 )
{
rb.AddForce(0,0,-10f);
}
if (I... |
using Alabo.Cloud.Support.Domain.Entities;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Cloud.Support.Domain.Repositories
{
public interface IWorkOrderRepository : IRepository<WorkOrder, ObjectId>
{
}
} |
/* Note:- This file was initially used to setup the project structure as Page object model after succesful execution, later integrated with Specflow.
using System;
using System.IO;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using vicroads.Pages;
namespace vicroads
{
public class Te... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
namespace WebApplication1
{
/// <summary>
/// EmailStatusSet 的摘要说明
/// </summary>
public class EmailStatusSet : IHttpHandler
{
public void ProcessRequest(Htt... |
using BooksWebAPI.Client.Interfaces;
using BooksWebAPI.Client.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
namespace BooksWebAPI.Client.Helpers
{
public class BookApiClient ... |
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
public class PlayerMovement : MonoBehaviour
{
[Header("Configurables")]
[SerializeField]
private float moveSpeed = 5f;
private Rigidbody2D rb;
private void Awake()
{
rb = GetComponent<Rigidbody2D>();
}
private void F... |
using System;
using Substrate.Core;
namespace Substrate
{
public class AlphaBlockManager : BlockManager
{
public AlphaBlockManager (IChunkManager cm)
: base(cm)
{
IChunk c = AlphaChunk.Create(0, 0);
chunkXDim = c.Blocks.XDim;
chunkYDim = c.Block... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OUTDOOR.src.tools;
namespace OUTDOOR.src.tools.objects
{
public class Jugador
{
private String _usuario;
private String _clave;
private Strin... |
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using BlazorShared.Models.Room;
using ClinicManagement.Core.Aggregates;
using Microsoft.AspNetCore.Mvc;
using PluralsightDdd.SharedKernel.Interfaces;
using Swashbuckle.AspNetCore.Annotations;
namespace ClinicManagement... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ezconet.GerenciamentoProjetos.Domain.Contracts.Repositories.Core
{
public interface IRepositoryGetByCodigo<in TCodigo, out TEntity>
where TEntity : Entities.Core.Entity<TCodigo>
... |
using System;
using Android.Content;
using Android.Graphics;
using Android.Views;
using Android.Widget;
using Models.DTO;
using ChallengeProgress = OdborkyApp.Model.ChallengeProgress;
using TaskProgress = OdborkyApp.Model.TaskProgress;
namespace OdborkyApp.Components
{
internal class TaskComponent
{
p... |
using DemoApp.Entities;
using DemoApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DemoApp.ServiceMappers
{
public class PropertyMappingService : IPropertyMappingService
{
private Dictionary<string, PropertyMappingValue> _centreProp... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Modelos
{
[Table("Unidade")]
public class Unidade
{
[Key]
[Display(Name = "Sigla")]
[StringLength(6)]
[Column(TypeName = "varchar")]
public string SgUnidade { ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Assistenza.BufDalsi.Web.Models.AgitatoreViewModels
{
public class UpdateAgitatoreViewModel
{
public int ipt_Id { get; set; }
public int clt_Id... |
using MediatR;
using System;
namespace MikeGrayCodes.BuildingBlocks.Application
{
public interface ICommand<out TResult> : IRequest<TResult>
{
Guid Id { get; }
}
public interface ICommand : IRequest
{
Guid Id { get; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Temp
public enum EventType
{
ON_MOUSE_DOWN = 0,
ON_MOUSE_UP = 1,
ON_MOUSE_DRAG = 2,
}
public static class EventHandler
{
public delegate void MyEventDelegate();
private static Dictionary<EventType, MyEventDelegate> ... |
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 MySql.Data.MySqlClient;
using System.IO;
namespace InventoryReceiveShipUpload
{
public partial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JobPortal.Entities;
using JobPortal.Models;
using JobPortal.Services.Interfaces;
namespace JobPortal.Services.Services
{
public class JobService : IJobService
{
JobModel dbModel;
... |
using System;
namespace Fbtc.Domain.Entities
{
public class Isencao
{
public int IsencaoId { get; set; }
public int? AnuidadeId { get; set; }
public int? EventoId { get; set; }
public string Descricao { get; set; }
public DateTime? DtAta { get; set; }
public int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace Starbucks
{
[DataContract]
public class Trip
{
[DataMember]
public int id { get; set; }
[DataMember]
public string routeName { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models.HR;
using YFVIC.DMS.Model.Models.FileI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.