text stringlengths 13 6.01M |
|---|
using MarsRoverProject.Contracts.Data;
using System.Collections.Generic;
namespace MarsRoverProject.Domain
{
public class MarsSurfaceInfo : IMarsSurfaceInfo
{
private List<Rover> rovers;
private Location borders;
public MarsSurfaceInfo(List<Rover> rovers, Location borders)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebFormsConnectionString.MySessionUtility
{
public class MySession
{
private MySession()
{
//properties;
}
public static MySession Current
{
get
... |
using System.Collections.Generic;
using Newtonsoft.Json;
using OmniSharp.Extensions.DebugAdapter.Protocol.Serialization;
namespace OmniSharp.Extensions.DebugAdapter.Protocol.Models
{
/// <summary>
/// A Module object represents a row in the modules view.
/// Two attributes are mandatory: an id identifies ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EuropAssistance.Portugal.DRSA.Missioning.Models
{
public class VehicleModel
{
public string plateNumber { get; set; }
public string country { get; set; }
public string vin { get; set; }
publ... |
namespace PICSimulator.Model.Commands
{
static class PICComandHelper
{
public static PICCommand CreateCommand(string sct, uint scl, uint pos, uint cmd)
{
#region BYTE-ORIENTED
if (BinaryFormatParser.TryParse(PICCommand_ADDWF.COMMANDCODE, cmd))
return new PICCommand_ADDWF(sct, scl, pos, cmd);
else ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PlayStoreOdev
{
class GameManager
{
public void GameAdd(Game game)
{
Console.WriteLine("----------------------------------------------------------");
Console.WriteLine("Sisteme ***" + game.Game... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Xml.Linq;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
namespace InfiniteMeals
{
public partial class AddressValidationPage : ContentPage
{
public AddressValidationPage()
{
Initializ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace quanlysinhvien.Models.DAO
{
public class DAODash : baseDAO
{
public int getCountSv()
{
return db_.SinhVien.Count();
}
public int getCountC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ProjectMFS
{
public partial class ParticipantView : System.Web.UI.Page
{
string WIN = "";
protected void Page_Load(object sender, ... |
using System.Collections.Generic;
using cn.bmob.io;
namespace cn.bmob.response
{
/// <summary>
/// 获取数据列表的回调类
/// </summary>
/// <typeparam name="T">用户模型对象</typeparam>
public class QueryCallbackData<T> : BmobObject, IBmobWritable
{
/// <summary>
/// 返回结果列表
/// </summary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OtherQuestions.cs
{
public class _008_SlideWindows
{
/*
* Given a sequence of data (it may have duplicates), a fixed-sized moving window, move the
window a... |
using System;
namespace Paralect.Schematra.Definitions
{
/// <summary>
/// Can be schema, enum, namespace, using etc.
/// </summary>
public class TypeDefinition
{
/// <summary>
/// Name of the schema
/// </summary>
protected string _name;
/// <... |
namespace Nancy.Markdown.Blog.Example
{
public class Bootstrapper : DefaultNancyBootstrapper
{
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shop.BusinnesLogic.Models
{
public class ClientViewModel
{
public int Id { get; set; }
[Required(ErrorMessage ="Should"... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DBStore.Models
{
public class UserEmailOption
{
public List<string> ToEmails { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
public List<KeyValuePair<string, string>> ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
namespace WinSockSendRcv
{
class UdpEchoClient
{
static void Main(string[] args)
{
if ((args.Length < 2) || (args.Length >... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using TQVaultAE.Domain.Contracts.Providers;
using TQVaultAE.Domain.Contracts.Services;
using TQVaultAE.Domain.Entities;
using TQVaultAE.Domain.Search;
using TQVaultAE.GUI.Components;
using TQVaultAE.GU... |
using Domain.Interfaces;
using Repository;
using System;
namespace Domain.Fees
{
public class InvoiceFixedFee : IFee
{
public DateTimeOffset LastInvoiceFixedFeeDate;
public Transaction Calculate(Transaction transaction, MerchantInformation merchantInformation)
{
if (!NeedT... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Doctrine.DBAL.Schema
{
public interface Schema
{
}
}
|
using SFML.Graphics;
using SFML.Window;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LD30
{
class MouseMenu : GameObject
{
public bool Visible = true;
public List<string> Options = new List<string>();
public Vector2f Position;
... |
using DynamicData;
using MaterialDesignThemes.Wpf;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Windows;
using System.Windows.Forms.VisualStyles;
using TableTopCrucible.Core.Helper;
us... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Minigame28
{
public class Car : MonoBehaviour
{
#region variables
public Transform containerPath;
private float _speed = 180;
private UISprite _sprite;
private bool _isMove = fals... |
//
// - PropertyDefinition.cs -
//
// Copyright 2010 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lic... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using MySql.Data.MySqlClient;
using Models;
namespace DAL
{
public class learninfo : POJO<tb_learninfo>
{
public learninfo()
{ }
#region 成员方法
public void Add(tb_learninfo model)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class playerScoreScript : MonoBehaviour
{
private int score = 0;
[SerializeField]
TextMeshProUGUI gameScoreText,bestScoreText;
void Start()
{
}
void Update()
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UniInject;
using UnityEngine;
using UniRx;
using System.IO;
using UnityEngine.SceneManagement;
// Disable warning about fields that are never assigned, their values are injected.
#pragma warning disable CS0649
[Execute... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XyzOfficeEmployeeTrackerr.Models;
namespace XyzOfficeEmployeeTrackerr.Repository
{
public interface ISalaryRep
{
public List<SalaryDetail> GetDetails();
public SalaryDetail GetDetail(int id);... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PersonTag : MonoBehaviour
{
public int storeID;
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
public class CharacterController : MonoBehaviourPunCallbacks
{
public float MovementSpeed = 4.5f;
public float JumpForce = 10f;
private Rigidbody2D _rigidbody;
// Start is called bef... |
using System;
namespace Micro.Net.Exceptions
{
public class InitializationException : ApplicationException
{
public InitializationException(string message, int code) : base(message)
{
HResult = code;
}
public static InitializationException FeatureNotSupported(string... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class OverlayController : MonoBehaviour {
public static OverlayController Instance;
public UnityEvent onEndOverlay;
public UnityEvent onStartOverlay;
[SerializeField]
private Animator overlayAnimator;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenericsArrayCreator
{
public class ArrayCreator
{
public static T[] Create<T>(int length, T item)
{
var start = new T[length];
for(int i=0; i <... |
using FastSQL.Core;
using FastSQL.Sync.Core.Models;
using FastSQL.Sync.Core.Repositories;
using FastSQL.Sync.Core.Workflows;
using FastSQL.Sync.Workflow.Models;
using FastSQL.Sync.Workflow.Steps;
using Serilog;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
u... |
using Lfs.Persistense.Repositories;
using System;
using System.Data;
using System.Data.SqlClient;
namespace Lfs.Persistense.Infrastructure
{
public interface IUnitOfWork : IDisposable
{
IPersonRepository PersonRepository { get; }
IQueryRepository QueryRepository { get; }
void Commit()... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace Swiddler.Behaviors
{
public static class Button
{
private static readonly DependencyProperty ClickOpensContextMenuProperty =
DependencyProperty.RegisterAttached("ClickOpensContextMenu",... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace JJApi.Controllers
{
... |
using System;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Razor.Chunks;
using Microsoft.AspNetCore.Razor.CodeGenerators;
using Microsoft.AspNetCore.Razor.CodeGenerators.Visitors;
namespace Microsoft.AspNetCore.Mvc.RazorPages.Compilation
{
public class PageCodeGenerator : CSharpCodeGenerator
... |
using LAP_PowerMining.Core.Enums;
using LAP_PowerMining.Core.Helpers;
using LAP_PowerMining.Core.Repositories;
using LAP_PowerMining.Models.ViewModels.Account;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LAP_PowerMining.Core.Services
{
public static class Account... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEuler
{
public class TenThousandOnethPrime : ISolution
{
public void Run()
{
Result = Enumerable.Range(2, int.MaxValue - 1).TakeWhile(x => x < int.Ma... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("TwistingNetherSpell")]
public class TwistingNetherSpell : SuperSpell
{
public TwistingNetherSpell(IntPtr address)... |
// Copyright 2021 Google LLC. 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... |
using MD.PersianDateTime.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using OfficeOpenXml;
using OfficeOpenXml.Table;
using System;
usin... |
using UnityEngine;
using System.Collections;
using NewtonVR;
public class AntiPhobicPistol : MonoBehaviour {
public Material laserMaterial;
public Color onColor;
public Color offColor;
public Transform FirePoint;
public NVRHand Hand;
private Transform laser;
// Use this for initializat... |
using System.Collections.Generic;
namespace XorLog.Core
{
public class Page
{
public long OffsetStart { get; private set;}
public long OffsetStop { get; private set; }
public long TotalSize { get; private set; }
public long RequestedOffset{ get; private set; }
public IL... |
using Entities.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.ViewModels
{
public class PilotepdcaViewModel
{
public List<PDCA> pdcas { get; set; }
public Zone zone { get; set; }
publi... |
using System.Collections;
using UnityEngine;
public class LoadLevel : MonoBehaviour
{
#region Fields
[SerializeField]
private string levelName;
[SerializeField]
private FadeInFadeOutCanvas fadeInFadeOut;
[SerializeField]
private GameObject canvas;
#endregion
#region Behaviour Meth... |
namespace Zzz.Dic.MaxLengths
{
public class DataDictionaryMaxLength
{
public const int Name = 64;
public const int Description = 256;
public const int Label = 64;
public const int Value = 64;
}
}
|
using System.Reflection;
namespace Redback
{
public abstract class BaseFilter
{
public abstract bool IsMatch(MemberInfo memberInfo);
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Home : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
HttpCookieCollection cookies = Response.... |
using System;
using System.Collections;
namespace Tasks
{
public class UQueue
{
//////////////////////////////////////////////////
// Q operations
//////////////////////////////////////////////////
public void Enqueue(object el)
{
lst.Add(el);
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ERP_Palmeiras_LA.Models;
using ERP_Palmeiras_LA.Models.Facade;
using ERP_Palmeiras_LA.Core;
namespace ERP_Palmeiras_LA.Controllers
{
public class EquipamentosClinicaController : BaseController
{
... |
using FileDataService.Adapter;
using System.Linq;
namespace FileDataService.Service
{
public class FileService : IFileService
{
private readonly IFileDataTarget fileDataTarget;
private readonly FileDetailsClient _fileDetailsClient;
public FileService(FileDetailsClient fileDetailsClien... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PowerString.Data
{
public class EntityData<T> where T:class
{
public PowerStringEntities CreateContext()
{
PowerStringEntities context = new PowerStringEnti... |
/*
* Copyright 2014 Technische Universitšt Darmstadt
*
* 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 appli... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerMovement : MonoBehaviour
{
public float speed;
public float jumpforce;
public float jumpRaycastDistance;
public bool OnGround;
public GameObject objectToRotate;
private bool rotating;
priva... |
using System;
namespace Ex13
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Output");
Console.WriteLine("fizzbuzz");
for(int i=1;i<=50;i++)
{
if (i%3==0)
{
Console.WriteL... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace online_knjizara.EntityModels
{
public class KorisnickiNalozi
{
[Key]
public int KorisnickiNalog_ID { get; set; }
public string Korisn... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Content_Manegement.Test.Exceptions
{
public class EmailNotFoundException:Exception
{
public string Messages = " Email Not Found ";
public EmailNotFoundException(string message)
{
Messages = message... |
using System;
using System.Linq;
class Program
{
static void Main()
{
var inputList = Console.ReadLine().Split().ToList();
var nums = Console.ReadLine().Split().Select(int.Parse).ToList();
Console.WriteLine(inputList.Take(nums[0]).Skip(nums[1]).Where(x => x == nums[2].ToString()).Any(... |
using System;
using UnityEngine;
namespace RO.Config
{
public static class NavMeshArea
{
public const int MASK_ALL = -1;
public static readonly int NOT_WALKABLE = NavMesh.GetAreaFromName("Not Walkable");
public static int CalcMask(params int[] areas)
{
int num = 0;
for (int i = 0; i < areas.Length; i... |
using System;
using UnityEngine;
public class GameManager : MonoBehaviour{
[SerializeField] private int _scoreToWin;
[SerializeField] private int _currScore;
[SerializeField] public bool _gamePaused;
public static GameManager _instance;
private void Awake(){
_instance = this;
}
... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TextRefresher : MonoBehaviour
{
[SerializeField] private GameManager gameManager;
[SerializeField] private Text scoreText;
[SerializeField] private Text movesText;
[SerializeField] private... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using CatalogBooks.Properties;
namespace CatalogBooks
{
public partial class FormMain : Form
{
/// <summary>
... |
using Contoso.XPlatform.ViewModels.DetailForm;
using Contoso.XPlatform.ViewModels.EditForm;
using Contoso.XPlatform.ViewModels.ListPage;
using Contoso.XPlatform.ViewModels.ReadOnlys;
using Contoso.XPlatform.ViewModels.SearchPage;
using Contoso.XPlatform.ViewModels.TextPage;
using Contoso.XPlatform.ViewModels.Validatab... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
namespace DataUploads.DataModels
{
public class EmpInterest
{
#region Member variables
string _compcode,
_Empno,
_EmpName,
_upt... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ghost
{
private int blood=1000;
private float activityRange = 50f;
private Vector3 defoultPosition=Vector3.zero;
private float fightRange = 10f;
private float moveSpeed = 2f;
private bool isFightStatus... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///<summary>
/// Script Manager: Denver
/// Description: Handles the functionality of the bomb.
/// Date Modified: 8/11/2018
///</summary>
[RequireComponent(typeof(MeshRenderer))]
[RequireComponent(typeof(Sphe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Pitstop
{
public class LinesMaskBehaviour : MonoBehaviour
{
[SerializeField] CrystalAltarRecuperation crystalAltar = default;
[SerializeField] float propSpeed = 1;
[SerializeField] float maxSize = ... |
using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using PDTech.OA.Model;
namespace PDTech.OA.BLL
{
/// <summary>
/// 岗位职责
/// </summary>
public partial class DUTY_RESPONSIBILITY
{
private readonly PDTech.OA.DAL.DUTY_RESPONSIBILITY dal = new PDTech.OA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PESWeb.Friends.Interface;
using PESWeb.Friends.Presenter;
namespace PESWeb.Friends
{
public partial class ConfirmFriendshipRequest : System.Web.UI.Page, IConf... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class ProceduralGenerationAlgorithm
{
public static HashSet<Vector2Int> SimpleRandomWalk(Vector2Int startPos, int walkLength)
{
HashSet<Vector2Int> path = new HashSet<Vector2Int>();
path.Add(startPos);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapaAccesoServicios
{
public class ServiciosReserva
{
ProxyReserva.ServicioReservaClient objServicioReserva = new ProxyReserva.ServicioReservaClient();
public Boolean I... |
using Contoso.Forms.Configuration;
using Contoso.Forms.Configuration.Bindings;
using Contoso.Forms.Configuration.DataForm;
using Contoso.XPlatform.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
namespace Contoso.XPlatform.Utils
{
internal static class LayoutHelp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using XPowerAPI.Models;
using XPowerAPI.Repository.Collections;
using XPowerAPI.Logging;
using MySql.Data.MySqlClient;
using Microsoft.AspNetCore.Mvc;
using XPowerAPI.Models.Params;
using System.Dat... |
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ninject;
using Webcorp.lib.onedcut;
using GAF;
using GAF.Extensions;
using System.Diagnostics;
using ReactiveUI;
using System.Threading.Tasks;
using Webcorp.Model;
using Webco... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Linq;
using DevExpress.Xpo;
using prjQLNK.QLNK;
namespace prjQLNK
{
public partial class BcNhanKhau : DevExpress.XtraReports.UI.XtraReport
{
public string NguoiLap_ ... |
using org.in2bits.MyXls;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary
{
public class MyXlsHelper
{
private static HorizontalAlignments horizontalAlignment = HorizontalAlignments.Centered;
... |
using ProConstructionsManagment.Desktop.Models.Base;
namespace ProConstructionsManagment.Desktop.Models
{
public class Position : BaseModel
{
public string Name { get; set; }
public string JobDescription { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class AutoRot : MonoBehaviour {
public float rotX = 0;
public float rotY = 0;
public float rotZ = 0;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
this.transform.Rotate(rotX, rotY, rotZ);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Vuokranseuranta
{
public partial class ApartLayout : Form
... |
using System.Threading.Tasks;
using FORUM.BLL.DTO;
using FORUM.BLL.Infrastructure;
using FORUM.BLL.Services;
using FORUM.DAL.Interfaces;
using Moq;
using NUnit.Framework;
namespace FORUM.BLL.UnitTests
{
[TestFixture]
public class UserServiceTests
{
[Test]
public async Task CreateUser_... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2 {
class Day15 {
internal static void part1() {
FileInfo input = new FileInfo(Program.dir + "day15.txt");
var stream = input.OpenText();
List<Di... |
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using lianda.Component;
namesp... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Proyecto_Web.Patrones.FactoryMethod;
namespace Proyecto_Web.Controladores
{
public class ORGANOLEPTICACONTROLADOR
{
protected ORGANOLEPTICO Mol_Organoleptico = new ORGANOLEPTICO();
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmsChapter1
{
public class _1_1_21_FindGCD
{
/*
* GCD -- Euclid's method
*/
public int FindGCDEuclid(int p, int q, ref string tracker)
... |
using MrHai.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MrHai.Application
{
[Export(typeof(IMrHaiApplication))]
internal class MrHaiApplication
: MrHaiService, IMrHaiApplica... |
namespace ConcurrentLinkedList
{
public interface IConcurrentLinkedList<T>
{
Node<T> First { get; }
/// <summary>
/// Attempts to add the specified value to the <see cref="ConcurrentLinkedList{T}"/>.
/// </summary>
bool TryAdd(T value);
/// <summary>
//... |
using System;
using System.Linq;
using System.Reflection;
using UserStorageServices.Notification;
using UserStorageServices.Repositories;
using UserStorageServices.UserStorage;
namespace UserStorageApp
{
internal class SlaveDomainAction : MarshalByRefObject
{
public IUserStorageService SlaveService { g... |
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
/// <summary>
/// This file defines the ... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using WaitingListBot.Data;
namespace WaitingListBot.Api
{
[Route("[controller]")]
[ApiController]
public class GuildController : ControllerBase
{
readonly WaitingListDataContext dataContext;
... |
using HAGVeT.Helper;
using System.Collections.Generic;
using System.IO;
using System.Windows;
using Newtonsoft.Json;
namespace HAGVeT
{
/// <summary>
/// Interaktionslogik für MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainPage mPage;
public ... |
using UnityEngine;
using System.Collections;
using System;
public class Capture_AreaManager : MonoBehaviour, IGame {
// Transform de les posicions on es poden crear areas de captura
[SerializeField]
private Transform captureAreaParent;
private Transform previousArea;
public void OnGameSetup()
... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
[Serializable... |
namespace _02.ValidateURL
{
using System;
using System.Net;
public class Startup
{
public static void Main()
{
var url = Console.ReadLine();
var decodeUrl = WebUtility.UrlDecode(url);
var parseUrl = new Uri(decodeUrl);
if (string.IsNull... |
using ConsoleApplication1.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
using System.Diagnostics.Contracts;
namespace ConsoleApplication1.Microsoft.glassdoor
{
public class ProblemSet1
{
public sta... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Tem.Action;
public class CCSequenceAction : SSAction, ISSActionCallback {
public List<SSAction> sequence;
public int repeat = -1;
public int start = 0;
public static CCSequenceAction GetSSAction(List<SSAction> _sequence,int _star... |
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using ViNoToolkit;
/// <summa... |
using UnityEngine;
public class Waterfall : MonoBehaviour {
[SerializeField][Range(0.0f, 1.0f )]
private float fVolume = 1.0f;
AudioSource pAudioSource = null;
// Use this for initialization
void Start () {
pAudioSource = AudioManager.Play( "Waterfall", true );
if ( pAudioSource != null )
pAudioSo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.