text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : MonoBehaviour
{
public GameObject WeaponObject;
// Start is called before the first frame update
void Start()
{
var weapon = WeaponObject.GetComponent<Weapon>();
GetComponent... |
using System.Collections.Generic;
using System.Text;
namespace Euler_Logic.Problems.AdventOfCode.Y2019 {
public class Problem08 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2019: 8"; }
}
public override string GetAnswer() {
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Business;
using FiiiCoin.Models;
using FiiiCoin.Utility;
using FiiiCoin.Utility.Api;
using McMaster.Extensions.Comma... |
using UnityEngine;
public class FootstepController : MonoBehaviour {
// @ References to attach the footstep detector to
public Transform leftFoot;
public Transform rightFoot;
// @ Prefab
public GameObject footstepDetector;
// @ Instantiated prefab references
private GameObject leftFootstepDetector;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
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 System.Data.SqlClient;
using System.Configura... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FXB.Data
{
public class TDData
{
private Int64 orderId; //和订单ID用同一个ID
private bool isReturn; //是否退单
private string returnJobnu... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace LinQToSqlBuilder.DataAccessLayer.Tests.Entities
{
[Table("UsersGroup")]
public class UserGroup
{
[Key]
public long Id { get; set; }
public string Name { get; se... |
using System;
using System.Windows;
using SpatialEye.Framework.Client;
using SpatialEye.Framework.ServiceProviders;
using SpatialEye.Framework.Maps;
using SpatialEye.Framework.Geometry;
using Lite.Resources.Localization;
namespace Lite
{
/// <summary>
/// The LiteNewMapLayerViewModel holds the logic for adding ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ComplejoDeCines.Models
{
public class Reserva
{
public int IdReserva { get; set; }
public int IdSede { get; set; }
public int IdVersion { get; set; }
public int IdPelicula { get; set;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletDamage : MonoBehaviour
{
public string gunName;
public int damage;
public bool friendlyFire;
public bool destroyProps;
PlayerLife player;
private void Start()
{
player = FindObjectOfT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.XPath;
namespace Yti.Yget.RemoteClient
{
public class ConfigurationManager
{
private String _filePath;
private Boolean reloadXml = false;
XPathDocument document;
XPathNavigato... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
using System.Xml;
using System.Net.Sockets;
using System.Diagnostics;
using Kingdee.CAPP.UI.Resource;
using Microsoft.Win32;
using Kingdee.CAPP.Comp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Services.Client;
using System.Net;
using System.Net.Security;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Globalization;
using MicrosoftCompute;
nam... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace NeuralNetwork.Tests
{
[TestClass()]
public class PerceptronNetworkTests
{
[TestMethod()]
public void FeedForwardTest()
{
var dataset = new List<Tuple<double, double[]>>
... |
using Microsoft.AspNetCore.Mvc;
using Schober.Felix.ITunes.Controller;
using System;
using System.IO;
using System.Net;
namespace Schober.Felix.ITunes.Server.Controllers
{
[Route("api/[controller]")]
public class CurrentTrackController : Microsoft.AspNetCore.Mvc.Controller
{
[HttpGet]
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace PilerStationServices
{
... |
using Infrastructure.Factories.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Model;
using Model.Enums;
using Model.Interfaces;
using Moq;
using Services.Interfaces;
using Services.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace UnitTests
{
[TestClass]... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lucene.Net.Analysis;
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Store;
using Lucene.Net.Documents;
using Lucene.Net.Analysis.Stand... |
using System.Linq;
using Microsoft.AspNetCore.Identity;
using HotelBooking.Models;
using HotelBooking.ControllerHelpers.UserControllerHelpers.Abstract;
using HotelBooking.ViewModels;
using System;
using Microsoft.Extensions.Configuration;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
n... |
using UnityEngine;
using System.Collections;
public class spawnWaves : MonoBehaviour
{
public Transform spawner;
public GameObject palabras;
public GameObject[] hazard;
public Vector3 spawnValues;
public int hazardCount;
public float spawnWait;
public float startWait;
public float wave... |
using System;
using System.Collections.Generic;
using System.Text;
using EvernoteSDK;
using Thrift.Protocol;
using Thrift.Transport;
using Evernote.EDAM.Type;
using Evernote.EDAM.UserStore;
using Evernote.EDAM.NoteStore;
using Evernote.EDAM.Error;
using System.Runtime.InteropServices;
namespace initEvernote
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (PreviousPage != null && PreviousPage.IsCrossPagePos... |
using System;
using System.Collections.Generic;
using System.Threading;
namespace Training.Framework
{
public interface IEventPublisher
{
void Publish<T>(T @event) where T : Event;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mec.Model.Enums
{
public enum ModifyFlagEnum
{
Add = 0,
Modify = 1,
Remove = 9
}
}
|
using HRMoneyAPI.Models;
using MongoDB.Driver;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace HRMoneyAPI.Services
{
public class InstagramService
{
private readonly IMongoCollection<Instagram> _instagram;
public InstagramService()
{
var cl... |
using System.Collections.Generic;
namespace DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Models.ServiceBus
{
public class HowToBecomeData
{
public IEnumerable<RouteEntryItem>? RouteEntries { get; set; }
public MoreInformation? FurtherInformation { get; set; }
public FurtherRoutes? F... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using CapaEntidades;
// NOTA: puede usar el comando "Cambiar nombre" del menú "Refactorizar" para cambiar el nombre de interfaz "IServiceProducto" en... |
using RPG.Core;
using RPG.Saving;
using RPG.Stats;
using UnityEngine;
namespace RPG.Resources
{
public class Health : MonoBehaviour,ISaveable
{
private float healthPoints = -1f;
private bool isDead=false;
private Animator animator;
private ActionScheduler actionScheduler;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Toope_Varastonhallinta.Mallit
{
public class VarastoViewModel
{
public string VarastonNimi { get; set; }
public double Saldo { get; set; }
}
}
|
double x = 14.25d, y = -1.22d;
var z = 3.5 * Math.Pow(10, -2);
Console.WriteLine("Hello, World!");
|
using Rozmieszczenie.Widoki;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rozmieszczenie
{
public class Matryca
{
//rozmiar matrycy
public int rozmiar_x;
public int rozmiar_y;
//zajetosc z ... |
using ScriptableObjectFramework.Events.UnityEvents;
namespace ScriptableObjectFramework.Events
{
public class StringEventHandler : BaseEventHandler<string, StringEvent, StringUnityEvent> { }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace SpaceInviders
{
public class GameSetting
{
public const int Width = 800;
public const int Height = 600;
public const int MoveMonsterX = 50;
public const int Move... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Integer.Web.ValidationHelpers;
namespace Integer.Web.ViewModels
{
public class GrupoExtTreeViewModel
{
public GrupoExtTreeViewModel()
{
children =... |
using Com.Colin.WcfServiceLibrary;
using System;
using System.ServiceModel;
namespace Com.Colin.Demo.Host
{
public class DuplexHost
{
internal static ServiceHost myServiceHost = null;
internal static void StartService()
{
//Instantiate new ServiceHost
myServic... |
namespace Cosmos.Assembler
{
public abstract class AssemblerMethod
{
public abstract void AssembleNew(Cosmos.Assembler.Assembler aAssembler, object aMethodInfo);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))] //Makes sure Unity addss this component
//A base class for a simple generic entity, which will be inherited by other objects
public abstract class Entity : MonoBehaviour { //Making it abstract... |
using System;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Kinect;
namespace balletBot
{
/// <summary>
/// The Plie class handles the movement gesture of a ballet move called
/// a plie. This will call the correct methods in MovementMode to check
/// the user's alignment.
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Library.Entities.Models;
namespace Library.Entities.Filters
{
public class LibraryUserFilter : BaseFilter<LibraryUser>
{
public string Name { get; set; }
public override (IQueryable<LibraryUser> items,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace cs_dotnet_host
{
public sealed class Isolated<T> : IDisposable where T : MarshalByRefObject
{
private AppDomain _domain;
private T _value... |
namespace ViewModelFramework
{
public class BaseModelParams
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace AxiReports
{
/// <summary>
/// Отчет оборот товара
/// </summary>
public class TurnOverReportRecord:Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
pu... |
using StardewValley;
namespace SafeLightning.CommandParsing.Commands
{
/// <summary>
/// Removes every terrain feature in the player's farm.
/// </summary>
internal class RemoveFeaturesCommand : BaseCommand
{
public RemoveFeaturesCommand() : base("remove_features", "Removes all terrain... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Pobs.Domain;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Models.Activity;
using Xunit;
namespace Pobs.Tests.Integration.Activity
{
public class IndexActivityTests : IDisposab... |
using BHLD.Data.Infrastructure;
using BHLD.Data.Repositories;
using BHLD.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BHLD.Services
{
public interface Ihu_employee_cvServices
{
hu_employee_cv Add(hu_employee... |
using System.Linq.Expressions;
namespace CompiledValidators.Core
{
internal class ValidationImplementationContext<TDelegate> where TDelegate : class
{
private readonly Expression<TDelegate> _validationExpression;
private TDelegate _compiledValidationExpression;
public ValidationImplem... |
using UnityEngine;
using System.Collections;
public class TransitionsStageSelect : MonoBehaviour {
private bool isButton_startPressed;
// Use this for initialization
void Start () {
this.isButton_startPressed = false;
}
// Update is called once per frame
void Update () {
}
/// <summary>スタートボタン押された<... |
using DigitalFormsSteamLeak.Business;
using DigitalFormsSteamLeak.Entity.IModels;
using DigitalFormsSteamLeak.Entity.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitalFormsSte... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Generic.Data.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
namespace Generic.Data.Context
{
public partial class ApplicationDbContext : IdentityDbContext<A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PouringWater
{
class Edge
{
public BucketState FromNode { get; set; }
public BucketState ToNode { get; private set; }
public int Weight { get; private set; }
public Edge(BucketState... |
using System;
using NUnit.Framework;
using SpaceHosting.Index.Sparnn.Helpers;
namespace SpaceHosting.Index.Tests.Sparnn.Helpers.ListExtensionsTests
{
public class TakeKBestTests
{
[TestCase(-1)]
[TestCase(0)]
public void ThrowsWhenKIsIncorrect(int k)
{
var array = ne... |
using Exercise;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Execise.Tests
{
[TestClass]
public class UnitTests
{
//test the two calls to library instance return same instance
[TestMethod]
public void LibraryShouldBeSingleton()
{
//check that wh... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public void QuitGame()
{
Debug.Log("Quit");
Application.Quit();
}
public void PlayAgain()
{
BoardManager.Instance.White... |
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyWebDriver.Models
{
[Obsolete("Chuyen qua sai DriverOptionsConfig")]
public class ChromeOptionConfig
{
public bool IsDisableImage { get; set; }
... |
using TwitterLikeApp.Entity;
namespace TwitterLikeApp.Repositories
{
public interface IUserProfileRepository : IRepository<UserProfile>
{
}
} |
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace Shipwreck.TypeScriptModels
{
public class OwnedCollection<TItem, TOwner> : Collection<TItem>, IOwnedCollection
where TItem : class, IHasParent
where TOwner : class
{
[NonSerialized]
privat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Alabo.Data.Targets.Reports.Domain.Enums
{
/// <summary>
/// 统计方式
/// </summary>
public enum TargetReportType
{
/// <summary>
/// 安排人
/// </summary>
... |
using System.Collections.Generic;
using TheMapToScrum.Back.DTO;
namespace TheMapToScrum.Back.BLL.Interfaces
{
public interface IScrumMasterLogic
{
List<ScrumMasterDTO> List();
List<ScrumMasterDTO> ListActive();
ScrumMasterDTO Create(ScrumMasterDTO objet);
ScrumMasterDTO Upda... |
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 System.IO;
using Model;
namespace LoginFrame
{
public partial class FrmPerformance : Form
{
public FrmPerformanc... |
namespace XH.Commands.Projects
{
public class CreateProjectUserCommand : CreateOrUpdateProjectUserCommand
{
public string Password { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebApplication1.Models;
using WebApplication1.Tasks;
namespace WebApplication1.Controllers
{
public class TaxTypeController : ApiController
{
// GET: api/TaxType
... |
using System;
namespace JhinBot.Services
{
public interface IStatService : IService
{
string Author { get; }
TimeSpan GetUptime();
string GetUptimeString(string separator = ", ");
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
using Elmah;
namespace CreamBell_DMS_WebApps
{
public partial class frmPurchaseReversal : System.We... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json.Schema;
using pokedex.Models;
using pokedex.ViewModels;
namespace pokedex.Controllers
{
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NewFeaturesComparisonCS6
{
public interface IFeatureComparison
{
/// <summary>
/// Gets a read only property value.
/// </summary>
bool IsReadOnly { get; }
/// <summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ultra.Running.Domain
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "... |
using DesignPatternsApp.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatternsApp.RestaurantSearch
{
public abstract class AbstractExpression
{
public abstract List<RestaurantModel> Interpret(InterpreterContext context);
}
}
|
namespace Sentry.Android.Extensions;
internal static class HintExtensions
{
public static Hint ToHint(this JavaSdk.Hint javaHint)
{
// Note the JavaSDK doesn't expose the internal hint storage in any way that is iterable,
// so unless you know the key, you can't get the value. This prevents us ... |
using Cs_Notas.Aplicacao.Interfaces;
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Notas.Aplicacao.ServicosApp
{
public class AppServicoComplementos: AppS... |
using System;
using Xamarin.Forms;
namespace Kuromori
{
public class MasterPage : ContentPage
{
/// <summary>
/// stub class not being tested yet
/// </summary>
public MasterPage()
{
}
}
}
|
using System;
namespace Exercise_6
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
MiddleChar(input);
}
private static void MiddleChar(string input)
{
int length = input.Length;
if (l... |
namespace FoodApp.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class initialmigration2 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Tags",
c => new
{
... |
using System;
using System.Globalization;
using System.Text.Json.Serialization;
using System.Text.RegularExpressions;
using Cricetidae.Helper;
using Newtonsoft.Json.Linq;
namespace Cricetidae.DTO
{
public class BonusProductEvent
{
public BonusProductEvent(JObject bonusItem)
{
if (... |
namespace KingNetwork.Shared
{
/// <summary>
/// This enum is responsible for represents the type of network listener connection.
/// </summary>
public enum NetworkListenerType
{
TCP,
UDP,
RUDP,
WSBinary,
WSText
}
}
|
namespace Sentry;
/// <summary>
/// The unit of measurement of a metric value.
/// </summary>
/// <seealso href="https://getsentry.github.io/relay/relay_metrics/enum.MetricUnit.html"/>
public readonly partial struct MeasurementUnit : IEquatable<MeasurementUnit>
{
private readonly Enum? _unit;
private readonly ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.MRP.TRANS
{
[Serializable]
public partial class MrpFiPlan : EntityBase
{
#region O/R Mapping Properties
public Int32 Id { get; set; }
p... |
using System;
namespace NStandard
{
[Obsolete("Maybe it will be removed in the future.")]
public class Discards
{
public static readonly Discards _ = new();
private Discards() { }
}
}
|
using System;
using BenchmarkDotNet.Attributes;
using Nono.Engine;
namespace Nono.Benchmark
{
/// <summary>
/// Finding out difference between for and foreach for ReadOnlySpan.
/// From decompilation: generated code is identical.
///
///| Method | Mean | Error | StdDev | Ratio | Rat... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.Distribute
{
public class BorrowEntity
{
/// <summary>
/// 编号
/// </summa... |
using UnityEngine;
using UI;
using System.Collections;
using System.Collections.Generic;
public class ClipMatrixAttachment : BaseAttachment {
public Transform m_cubeParent;
public int m_cubeWidth = 4;
public int m_cubeHeight = 4;
public int m_cubeDepth = 4;
public float m_cubeSpacingMultiplier = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XH.Domain.Exceptions
{
public class DomainException : Exception
{
public DomainException() : this(string.Empty)
{
}
public DomainException(string messa... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Core.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Infraestructura.Core.CommandContract.Contractual
{
/// <summar... |
using System;
using System.IO;
using StardewModdingAPI;
namespace Entoarox.AdvancedLocationLoader
{
internal static class ContentPackExtensions
{
/*********
** Public methods
*********/
public static string GetRelativePath(this IContentPack contentPack, string fromAbsolutePath, ... |
using Quartz;
using RestSharp;
using System;
using System.Threading.Tasks;
namespace QuartzDemo
{
[DisallowConcurrentExecution]
class bitJob : IJob
{
private static string tag = "oioc";
private static string origin = "https://ceo.bi";
private static string url_index = $"{origin}/tr... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections;
using Spine.Unity;
public class Player2 : MonoBehaviour
{
#region 屬性
private Rigidbody2D rigi;
[Range(0, 500)]
public float jump;
[Range(0, 500)]
public float Move;
public static int p2pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WeatherForecast.Models;
namespace WeatherForecast.Services
{
public interface IUserAccount
{
bool IsAutorized { get; }
int Id { get; }
bool Login(LoginUser user);
void Logout();
v... |
using StockPriceSimulator.Domain;
using System;
using System.Collections.Generic;
using System.Text;
namespace StockPriceSimulator.Domain.MockImplementation
{
internal class MockStockPrice : StockPrice
{
public MockStockPrice(string ticker, decimal price, DateTime priceTime) : base(ticker, pr... |
using System;
using System.Windows.Forms;
using System.Diagnostics;
using Microsoft.WindowsAPICodePack.Dialogs;
using System.IO;
namespace WindowsFormsApplication2
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
videoCo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSounds : MonoBehaviour {
public void SwingNoise()
{
FindObjectOfType<DialogueAudio>().PlayerSwing();
}
}
|
namespace TY.SPIMS.POCOs
{
public class BrandColumnNames
{
public static string Id = "Id";
public static string BrandName = "BrandName";
public static string IsDeleted = "IsDeleted";
public static string AutoPartDetail = "AutoPartDetail";
}
}
|
using System;
namespace Autofac.Extras.AttributeMetadata.Test.ScenarioTypes.CombinationalWeakTypedAttributeScenario
{
public interface ICombinationalWeakTypedScenarioMetadata
{
int Age { get; }
string Name { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using POSServices.Data;
using POSServices.PosMsgModels;
namespace POSServices.WebAPIBackendController
{
[Route("api... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Linq;
using Xamarin.Forms;
using ToDoManager.Models;
using ToDoManager.Views;
using Prism;
using Prism.Commands;
using Prism.Navigation;
using ToDoManager.Events;
using Prism.Events;... |
using IO;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Data;
namespace DesktopInterface
{
public class RealTimeInferenceButton : IButtonScript
{
private void Awake()
{
button = GetComponent<Button>();
initi... |
using DTO;
using BLL;
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 PL
{
public partial class FrmClienteCadastrar : Form
{
p... |
using System;
class TwoNumbersSum
{
static void Main()
{
int firstNumber = int.Parse(Console.ReadLine());
int secondNumber = int.Parse(Console.ReadLine());
int magicNumber = int.Parse(Console.ReadLine());
int combinations = 0;
for (int i = firstNumber; i >= secondNumb... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Target : MonoBehaviour {
#region Variables
private Vector3 targetPos;
BezierPath path;
#endregion
// Start is called before the first frame update
void OnEnable() {
path =... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Xml;
using System.Drawing;
using OfficeOpenXml;
using OfficeOpenXml.Style;
using OfficeOpenXml.Drawing;
using Worker;
using System.Linq;
using Logs;
namespace ConvertLogToExcel
{
class Program
{
delegate string delega... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace WebAppCa.Models
{
public class Schedule
{
[Key]
public int ScheduleId { get; set; }
public string Image { get; set; }
[Displa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using ScoreSquid.Web.Models;
namespace ScoreSquid.Web.Context
{
public interface IScoreSquidContext
{
IDbSet<Season> Seasons { get; set; }
IDbSet<Team> Teams { get; set; }... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.