text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
/// <summary>
/// Quit the game on click.
/// </summary>
public class QuitOnClick : MonoBehaviour {
/// <summary>
/// Returns to Unity editor if running within, otherwise the game's application is quit.
/// </summary>
public void quit(){
#if UNITY_EDITOR
UnityEditor.E... |
using System;
using System.Collections.Generic;
using System.Net;
using Microsoft.AspNet.Mvc;
using Socialease.Models;
using Microsoft.Extensions.Logging;
using AutoMapper;
using Microsoft.AspNet.Authorization;
using Socialease.ViewModels;
namespace Socialease.Controllers.Api
{
[Authorize]
[Route("api/people"... |
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using NSubstitute;
using OmniSharp.Extensions.JsonRpc.Testing;
using OmniSharp... |
using System;
namespace OCP.FullTextSearch.Model
{
/**
* Class IIndexDocument
*
* This is one of the main class of the FullTextSearch, used as a data transfer
* object. An IIndexDocument is created to manage documents around FullTextSearch,
* during an index and during a search.
* The... |
/*
* DialMyCalls API
*
* The DialMyCalls API
*
* OpenAPI spec version: 2.0.1
* Contact: support@dialmycalls.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... |
using InterviewCodings;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InterviewUnitTests
{
[TestFixture]
class IsStringsAnagramTest
{
[Test]
public void AnagramWithDifferentWord()
... |
using System;
using System.Linq;
using TreeStore.PsModule.PathNodes;
using Xunit;
namespace TreeStore.PsModule.Test.PathNodes
{
public class RootNodeTest : NodeTestBase
{
#region P2F node structure
[Fact]
public void RootNode_has_name_and_ItemMode()
{
// ACT
... |
//
// commercio.sdk - Sdk for Commercio Network
//
// Riccardo Costacurta
// Dec. 30, 2019
// BlockIt s.r.l.
//
//
using System;
using System.Text;
using System.Collections.Generic;
using System.Diagnostics;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace commercio.sdk
{
// *** This is inherited by... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TimerDisplay
{
public class StandardMessage
{
public void StartupMessage()
{
Console.WriteLine("Display current time in Human Friendly Text.\n");
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CoundowTutorialStep : FTUEStep
{
public float GameTime;
public TMPro.TextMeshProUGUI Display;
private CanvasGroup _canvasGroup;
public override IEnumerator OnExecute()
{
Hasht... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UsecaseSwitcher : MonoBehaviour
{
private Transform currentSelected;
private void Start()
{
for (var index = 0; index < transform.childCount; index++)
transform.GetChild(index).gameObject.SetAc... |
using System;
using System.Data;
using System.Text.RegularExpressions;
namespace Utility
{
/// <summary>
/// Class Name : Validations
/// Author : Pratik SOni
/// Creation Date : 12 Dec 2017
/// Purpose : Common class to contain all validation methods.
/// Revision ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RockPaperScissors
{
public class Human : IPlayer
{
public int Input { get; set; }
public string Name { get; set; }
public int Score { get; set; }
public... |
using System.Collections;
using System.Linq;
namespace TypicalInterviewQuestions
{
//Write a function to count a total number of set bits in a 32 bit Integer?
public static class CountBitsInInteger
{
public static int CountBits(this int input)
{
BitArray bitArray = new BitArray... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LordG.Tools.Extensions.Classes
{
public abstract class SettingsBase
{
public abstract object this[string item] { get; set; }
public abstract void Save();
public abstract void Reload();
public abstra... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("TavernBrawlScene")]
public class TavernBrawlScene : Scene
{
public TavernBrawlScene(IntPtr address) : this(address, "TavernBrawlScene")
{
}
public TavernBrawlScene(IntPtr address, string classN... |
using System;
using System.Collections.Generic;
using System.Linq;
using Turnamentor.Core.Loading;
using Turnamentor.Core.RoundSelecting;
using Turnamentor.Interfaces;
namespace Turnamentor.Core
{
public class TurnamentorBuilder<Contestant, Score, ScoreBoard> : ITurnamentorBuilder<Contestant, Score, ScoreBoard> w... |
using System.Collections.Generic;
namespace Printer_Status.Helpers
{
/// <summary>
/// Helper class for object identifiers.
/// </summary>
internal static class Oids
{
#region System Information Oids
public static string SysDescr = "1.3.6.1.2.1.1.1.0";
public static string ... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using NUnit.Framework;
namespace CloudinaryDotNet.Test
{
[TestFixture]
public partial class ApiTest
{
[Test]
public void TestAgentPlatformHeaders()
{
HttpRequestMessage request = new HttpRequestMessa... |
using Capacitacion.Services;
using Capacitacion.WebApi.Models;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace Capacitacion.WebApi.Controllers
{
public class GenresController : ApiController
{
private readonly IGenresService _genresSvc;
public GenresContr... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.DataStudio.Diagnostics;
using MLApiClientTestApp.Models;
namespace MLApiClientTestApp
{
class TextBoxLogger : ITestLogger
{
... |
using System;
using Common;
using Common.Input;
using OpenTK;
namespace Glass
{
public class Player
{
public Player()
{
}
const float stepLen = 0.4f;
public Vector3 DefaultTarget = new Vector3(100, 0, 0);
protected Vector3 StepForward = new Vector3(stepLen, ... |
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
using PlatformRacing3.Server.Game.Communication.Messages.Outgoing;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming;
internal sealed class GetUserListIncomingMessage : MessageIncomin... |
using ImpostoDeRenda.Domain;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ImpostoDeRenda.Repository
{
public class PessoaRepository
{
private static PessoaRepository instance;
public RendimentoRepository RendimentoRepository { get; private set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab3_1
{
class Program
{
static void Main(string[] args)
{
Console.Write("Write a number: ");
string input = Console.ReadLine();
var... |
namespace PurificationPioneer.View
{
public partial class DebugPanel
{
private DebugPanelScript script;
partial void OnLoad()
{
//do any thing you want
script = m_TransFrom.GetComponent<DebugPanelScript>();
script.InitSettings();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vektorel.KalitimTekrar.App
{
public class Car : Vehicle
{
public int Seats { get; set; }
public override string GetValues()
{
return ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Adrenaline : PowerUp
{
public Adrenaline(Sprite newIcon)
{
icon = newIcon;
}
public override void Use(Character plyrChar)
{
plyrChar.m_PlayerStats.m_Speed += (plyrChar.m_PlayerStats.m_Speed / 2)... |
using LagoVista.ZigBee.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LagoVista.ZigBee
{
public interface IZigBeeComms
{
event EventHandler<Models.Frame> FrameReady;
ev... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SocketIO;
public class Network : MonoBehaviour {
static SocketIOComponent socket;
public GameObject playerPrefab;
Dictionary<string, GameObject> players;
// Use this for initialization
void Start () {
socket = GetComponent<... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using DrBAE.Congress.Common;
namespace DrBAE.Congress.Driver
{
public partial class DriverLogic ... |
using System;
namespace Selenite.Extensions
{
public static class TypeExtensions
{
internal static string GetCommandName(this Type type)
{
return type.Name.Replace("Command", String.Empty);
}
}
} |
using BPiaoBao.SystemSetting.Domain.Services.Auth;
using JoveZhao.Framework;
using JoveZhao.Framework.Auth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.ServiceModel;
using System.ServiceModel.Dispatcher;
using System.Text;
using BPiaoBao.Comm... |
using System.Linq;
using Coolables;
using UnityEngine;
using UnityEngine.UI;
namespace Submarine
{
public class CoolingUnit : CoolableComponent
{
public Text HeatText;
private void FixedUpdate()
{
ApplyHeatChange(-GetMaxHeatTransfere()/5);
Ui();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IncreaseJump : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D c)
{
if (c.GetComponent<Collider2D>().tag == "Player")
{
GameObject.Find("Player").GetComponent<PlayerController>().j... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
namespace WebRole1.Controllers
{
public class AzureSQLController : Controller
{
// GET: AzureSQL
public... |
using System;
using System.Collections.Generic;
using System.Drawing;
public class Circle : Ellipse {
public Circle(){
}
public override void draw(Graphics formGraphics)
{
int difX = Math.Abs(this.getCenter().X - this.Point.X);
int difY = Math.Abs(this.getCenter().Y - this.Point.Y);
... |
using Master.Contract;
using Master.DataFactory;
using System.Collections.Generic;
namespace Master.BusinessFactory
{
public class CompanyBO
{
private CompanyDAL companyDAL;
public CompanyBO()
{
companyDAL = new CompanyDAL();
}
public List<Company> GetList... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MageClass : ClassBase
{
public GameObject fireBallPrefab;
public float fireBallSpeed;
public GameObject magicBurst;
public GameObject specialAbilityPrefab;
public override void _normalAttack ()
{
... |
using System;
using UnityEngine;
namespace RenderHeads.Media.AVProVideo.Demos
{
public class DemoInfo : MonoBehaviour
{
public string _title;
[Multiline]
public string _description;
public MediaPlayer _media;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using Webservice.Repo;
using System.Web.Script.Services;
using Webservice.helper;
using Webservice.Models;
using System.Globalization;
using System.Text;
using System.Net.Http;
using System.Net.Http.Headers;... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class healthScript : MonoBehaviour
{
public int maxHealth;
public int currentHealth;
Slider[] slider;
Slider player1Slider;
Slider player2Slider;
// Use this for initialization
void Start()
{
slider = Fi... |
namespace Belot.Engine.Tests.Game
{
using System;
using System.Linq;
using Belot.Engine.Cards;
using Belot.Engine.Game;
using Belot.Engine.Players;
using Xunit;
public class AnnounceTests
{
[Theory]
[InlineData(AnnounceType.FourJacks, CardSuit.Spade, CardType.Jack, An... |
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.Med... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Minigame27
{
public class Cell : MonoBehaviour
{
#region variables
/// <summary>
/// Позиция клетки на поле по координате X
/// </summary>
public int positionX { get ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CanWalk : MonoBehaviour {
public enum MoveDirection : int {
Left = -1,
Right = 1,
None = 0
}
// Inspector fields
public float unitsPerSecond = 1f;
public float input... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Shooter
{
class MultiPlayer : IScreen
{
static List<FileInfo> _maps;
public MultiPlayer()
{
_maps = new List<FileInfo>();
Console.Clear();
}
public IScreen Start()
... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
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.... |
using BPiaoBao.Common.Enums;
using BPiaoBao.DomesticTicket.Domain.Models.Orders.Behaviors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Domain.Models.Orders.States
{
/// <summary>
/// 退款
/// </summary>
[OrderState(EnumOrderStat... |
using LuaInterface;
using RO;
using SLua;
using System;
using UnityEngine;
public class Lua_RO_VersionUpdateManager : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int SetUI(IntPtr l)
{
int result;
try
{
VersionUpdateManager versionUpdateManager = (VersionUpdateManager)LuaObject.ch... |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GlobalDevelopment.SocialNetworks.Facebook.Models
{
public class FacebookEvent
{
/// <summary>
/// The event ID.
/// </s... |
using MetroFramework;
using MetroFramework.Forms;
using PDV.CONTROLER.Funcoes;
using PDV.UTIL;
using PDV.VIEW.App_Context;
using System;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace PDV.VIEW.Forms.Vendas.NFe
{
public partial class GVEN_SeletorClientes : DevExpress.XtraEditors.XtraFo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoom : MonoBehaviour
{
public float defaultFOV;
public float minFOV;
public float maxFOV;
public float foxSpeed = 10f;
public moving camMovSys;
public gridPlaceScript CursorManager;
public flo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MidtermReview
{
class Program
{
static void Main(string[] args)
{
//concepts of OOP
List<Course> CourseList = new List<Course>(); //array lis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MVP.UI.Base
{
public partial class BaseView : Form, IBaseView
{
public void ShowMessage(string message)
{
MessageBox.Show(messag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using RocksmithToolkitLib.Extensions;
namespace RocksmithToolkitLib.DLCPackage.AggregateGraph
{
public abstract class ElementFile : Element
{
private Stream _data;
public string File { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SupercapController
{
/// <summary>
/// Is used for easy creating list of commands and then converting everything to message with protocol that charger can decode (message length and checksum are calculated and appe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputeAreas
{
class ComputeAreas
{
public static double squareArea()
{
return 1;
}
public static double rectangleArea()
{
... |
using FluentValidation;
using MediatR;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using OrderSimulator.Commands;
using OrderSimulator... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace RMSKOT
{
public partial class ServerSettingView : FormBase
{
public ServerSett... |
using NServiceBus;
using System;
public class NextNumber : IMessage
{
public int Value { get; set; }
public string SequenceId { get; set; }
public int Thread { get; set; }
} |
using System;
namespace DryRunTempBackend.API.Controllers
{
public class Transaction
{
public DateTime TimeStamp { get; set; }
public string To { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Game1
{
class Button : GUIElement
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GestureRecognizer;
public class CreateInteractableObjectFromDrawing : MonoBehaviour
{
[SerializeField]
private LocationManager m_LocationManager;
[SerializeField]
private DrawDetector m_DrawDetector;
[SerializeF... |
using System;
namespace BinarySearch
{
public class Program
{
static void Main(string[] args)
{
//test array and value. Testested both values that exsist inside and not inside array
int[] testArray = new int[12] { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 };
... |
namespace physics2
{
public interface IGoalManager
{
bool IsEnabled();
IEvent GetGoalEvent(double time, Collision collision);
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace homeworkCSharp2020
{
class nal3
{
public static void func(double premer)
{
const double PI = 3.141592653589;
double polmer = premer / 2;
double o = (2 * PI) * polmer;
... |
using System.Windows.Forms;
namespace MH_Database.Classes.MultiLang
{
class MultiLangGroupBox
{
internal MultiLang displayText = new MultiLang();
internal GroupBox linkedGroupBox = new GroupBox();
internal MultiLangGroupBox(GroupBox groupBox)
{
linkedGroupBox = grou... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
namespace Tokenizer
{
public static class Tokenize
{
public static IEnumerable<Token> FromString(string content)
{
return new TokenEnumerableFromString(content);
}
class TokenEnumerableFromString : IEnumerable<Tok... |
using Service;
using MKService.DefaultModel;
using MKService.ModelFactories;
using MKService.Queries;
using MKService.Updates;
namespace MKService.QueryFactories
{
/// <summary>
/// The airplane query factory.
/// </summary>
/// <seealso cref="MKService.QueryFactories.QueryFactoryBase{MKService.Queri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TurnDisplayRender : MonoBehaviour {
/// <summary>
/// The fade out delay.
/// </summary>
public float fadeOutDelay = 1f;
/// <summary>
/// The time.
/// </summary>
private float time;
///... |
namespace Objects
{
public sealed class SmsMessage : IMessage
{
public SmsMessage(string to, string body)
{
To = to;
Body = body;
}
public string Body { get; private set; }
public string To { get; private set; }
}
}
|
using System;
namespace APIHealthChecker.Models
{
public class TestResult
{
public EndPoint EndPoint { get; set; }
public bool IsWorking { get; set; }
public string Details { get; set; }
}
}
|
#region usings
using System;
using System.ComponentModel;
using System.Data.Linq;
using System.Data.Linq.Mapping;
#endregion
namespace Zengo.WP8.FAS.Models
{
[Table]
public class UpdateCheckRecord : INotifyPropertyChanged, INotifyPropertyChanging
{
// Define ID: private field, public property,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Child : Parent
{
void Start()
{
ParentFunction();
}
public override void FunctionA()
{
base.FunctionA();
}
}
|
using Payment.Application.Service;
using Payment.Domain.Payment;
using Payment.Domain.Transfer;
namespace Payment.Application.Deposit
{
public class PayDepositHandler
{
private readonly IPaymentRepository _paymentRepository;
private readonly PaymentService _paymentService;
public PayDe... |
using System;
using Microsoft.Practices.Prism.ViewModel;
namespace Torshify.Radio.Framework
{
public class HeaderInfo : NotificationObject
{
#region Fields
private string _iconUri;
private bool _isSelected;
private string _title;
private object _toolTip;
... |
using EkwExplorer.Core;
using EkwExplorer.Core.Models;
namespace EkwExplorer.ChromeScraper;
internal class BookInfoSeeker
{
public BookInfoSeeker(IClicker clicker)
{
Clicker = clicker;
}
public IClicker Clicker { get; }
public bool ReadBookInfo(BookInfo bookInfo)
{
... |
namespace Timesheet.Domain.Models
{
public class StaffEmployee
{
public decimal Salary { get; set; }
public string LastName { get; set; }
}
}
|
using NUnit.Framework;
namespace Logs.Models.Tests.NutritionTests
{
[TestFixture]
public class PropertiesTests
{
[TestCase(1)]
[TestCase(999)]
[TestCase(326)]
[TestCase(1257)]
[TestCase(73)]
[TestCase(14)]
public void TestNutritionId_ShouldInitialize... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using AgentStoryComponents;
using AgentStoryC... |
using GameSimulationN.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GameSimulationN.Controllers
{
public class BuildingTypeController : Controller
{
//private IBuildingType _repo;
//public BuildingType... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Cubes
{
/// <summary>
/// Manages the score of the game.
/// </summary>
public class GameManager : MonoBehaviour
{
public static GameManager Instance { get; private set; }
[Header("Game Setting... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infra;
namespace LeetCodeCSharp
{
public class _032_RestCodes
{
/*
* http://leetcode.com/onlinejudge#question_89
*/
public List<string> _033_GrayCode(int ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CardLib;
namespace Durak_Game
{
public partial class CardBox : UserControl
{... |
using AutoMapper;
using Lfs.Calculator;
using Lfs.Calculator.Models;
using Lfs.Persistense.Infrastructure;
using Lfs.Web.Api.Models.Query;
using Lfs.Web.Api.Services.Common;
using Lfs.Web.Api.Services.Query;
using Moq;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xunit;... |
using EatDrinkApplication.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EatDrinkApplication.Contracts
{
public interface IRecipeByIngredientsRequest
{
Task<List<JObject>> GetRecipesByIngredients(string ing... |
using APIpoc.Data;
using APIpoc.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APIpoc.Controllers
{
[ApiController]
[Route("api/product")]
public class ProductController: ControllerBase
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Console2.G_Code
{
public class G_039_MySet
{
/*
* 设计一个集合数据结构(set,只存unique的value)要求能在O(1)时间内insert,delete,
* random query(比如目前set中有n个元素,给一个介于1到n的随机数k,可以在O(1)时间内返回第k个value)
* Can no... |
using AutoMapper;
using Enrollment.Forms.Configuration;
using Enrollment.Forms.Configuration.DataForm;
using Enrollment.Forms.Configuration.ListForm;
using Enrollment.Forms.Configuration.SearchForm;
using Enrollment.Forms.Configuration.TextForm;
using Enrollment.Forms.Parameters.DataForm;
using Enrollment.Forms.Parame... |
using System;
using System.Net;
using log4net;
namespace ICOMSProvisioningService
{
public class CustomerInformationRequest : CRM4cInterfaceAccessManager
{
private static readonly ILog logger = LogManager.GetLogger(typeof(CustomerInformationRequest));
private string CustomerId = string.Empty;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetodCagirimlari
{
class Program
{
static void Main(string[] args)
{
//Normalde c#'ta referans tipler (object, string, class)
//referansa göre ç... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace Metani.Models
{
public class MetaniContext
{
private MySqlConnec... |
using System.Xml;
using FluentAssertions;
using FluentAssertions.Primitives;
using JetBrains.Annotations;
namespace SimpleMvcSitemap.Tests
{
public static class XmlAssertionExtensions
{
public static void BeXmlEquivalent(this StringAssertions assertions, [PathReference]string filename)
{
... |
using UnityEngine;
using System.Collections;
//This script is outdated. The jumping code is now inside the player controls script.
//maybe delete? not sure.
public class Jump : MonoBehaviour {
// Update is called once per frame
void Update() {
if (Input.GetMouseButtonDown(0) || Input.GetKeyDown(Key... |
using System.Collections.Generic;
using System.Threading.Tasks;
using WebApi_1.DTO.Character;
using WebApi_1.Models;
namespace WebApi_1.Services
{
public interface ICharacterService
{
Task<ServiceResponse<List<GetCharacterDTO>>> GetAllCharacters(int userId);
Task<ServiceResponse<GetCharacterDTO... |
using System;
using DataDynamics.ActiveReports;
using DataDynamics.ActiveReports.Document;
using System.Collections;
using lianda.Component;
using System.Data.SqlClient;
using System.Data;
namespace lianda.REP
{
public class LDRPG5RP : ActiveReport
{
private string FKPZH = null;
public LDRPG5RP(stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using lauthai_api.DataAccessLayer.Data;
using lauthai_api.Helpers;
using lauthai_api.DataAccessLayer.Repository.Implements;
using lauthai_api.DataAccessLayer.Repository.Interfaces;
using Microsoft.AspNetCo... |
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using AutoMapper;
using Eventures.Data;
using Eventures.Models;
using Eventures.ViewModels;
using Eventures.ViewModels.Users;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ikea
{
public interface IPartes
{
string[] GetPartes();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.