text stringlengths 13 6.01M |
|---|
using DatVentas;
using EntVenta;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusVenta
{
public class BusSerializacion
{
public void Agregar_Serializacion(Serializacion s)
{
int fila... |
using System;
namespace Algorithms.LeetCode
{
public class MaxConsecutiveOnesIII
{
public int LongestOnes(int[] nums, int k)
{
var start = 0;
var max = 0;
var cur = 0;
while (cur != nums.Length)
{
if (nums[cur] == 1)
... |
namespace QStore.Tests.Comparers
{
using System.Collections.Generic;
public class NonSerializableComparer<T> : IComparer<T>
{
public int Compare(T x, T y)
{
return Comparer<T>.Default.Compare(x, y);
}
}
} |
using Alabo.Domains.Repositories.EFCore;
using System;
namespace Alabo.Domains.Repositories.SqlServer {
public sealed class SqlServerRepositoryTransaction : IRepositoryTransaction {
private readonly SqlServerRepositoryContext _context;
public SqlServerRepositoryTransaction(SqlServerRepositoryCon... |
namespace TagProLeague.Models
{
public class Statline : Document
{
public string DisplayName { get; set; }
public int Score { get; set; }
public int Tags { get; set; }
public int Grabs { get; set; }
public int Hold { get; set; }
public int Captures { get; set; }
... |
using System;
class Chapter7
{
static void Main()
{
string string1 = "Hello, world!";
int len = string1.Length;
int pos = string1.IndexOf(" ");
string firstWord, secondWord;
firstWord = string1.Substring(0, pos);
secondWord = string1.Substring(pos+1,
(len-1)-(pos+1));
Console.WriteLine("First word... |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace CustomServiceRegistration.Domain.Models
{
public class ApplicationUser : IdentityUser
{
public string FirstName { get; set; }
public string SecondName { get; set; }
public string CountryName { get; set; }
public int Age { get; set; }
}
}
|
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Library
{
public interface IDataFiller
{
List<Person> GetPeopleList();
Dictionary<string, Item> GetItemsList();
ObservableCollection<Event> GetEventsList();
List<StateDescription> GetStatesList();... |
using FPGADeveloperTools.Common.Model.Ports;
namespace FPGADeveloperTools.Common.ViewModel.Ports
{
public class ResetViewModel : PortViewModel
{
private Reset reset;
public Reset Reset
{
get { return this.reset; }
}
public bool Polarization
{
... |
using AspCoreBl.Misc;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
namespace AspCoreBl.Services
{
public class EmailService
{
private EmailSettings _settings;
public... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UserStory
{
[TestClass]
public class SevenSegmentStringTests
{
//TODO: UTs
}
}
|
namespace SoftUniStore.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class User
{
private ICollection<Game> games;
public User()
{
this.games = new HashSet<Game>();
}
[Key]
public int Id... |
using XH.Infrastructure.Bus;
namespace XH.Infrastructure.Event
{
public class EventBase : IEvent
{
}
}
|
using System;
using System.Collections;
using System.Drawing;
using System.Text;
using System.Threading;
using GHIElectronics.TinyCLR.Devices.Spi;
using GHIElectronics.TinyCLR.Pins;
namespace Drivers.Led
{
public class LPD8806LEDStrip
{
private byte[] pixelData;
private SpiController controlle... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Menu.Dtos;
using Welic.Dominio.Models.Menu.Mapeamentos;
namespace Welic.Dominio.Models.Menu.Command
{
public class CommandMenu
{
public string NameUser { get; ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class eventParentitem : MonoBehaviour {
public Image Image;
public GameObject EventInformationGO;
public Button MyButton;
// Use this for initialization
void Start () {
MyButton.onClick.AddListener (GotCl... |
using System;
using System.Threading;
using Autofac;
using Framework.Core.Common;
using Framework.Core.Helpers.Data;
using NUnit.Framework;
using Tests.Data.Van;
using Tests.Data.Van.Input;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main;
using Tests.Pages.Van.Main.Common.DefaultPage;
using Tests.Pa... |
using UnityEngine;
using System.Collections;
public class FlickeringLight_OrbitalBeam : MonoBehaviour {
public Light fuseLight;
private int fuseLightIntensity = 10;
void Start (){
}
void Update (){
fuseLightIntensity = (Random.Range (4 , 8));
fuseLight.intensity = fuseLightIntensity;
}
} |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
namespace AspNetCore.Security.CAS
{
public class Cas1TicketValidator : ICasTicketValidator
{
public async Task<Auth... |
using FluentValidation;
using SocialWorld.Business.DTOs.CompanyDtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialWorld.Business.ValidationRules.FluentValidation
{
public class CompanyEditDtoValidator : AbstractValidator<Compan... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PatientMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void GoToTraining()
{... |
using CarManageSystem.helper;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler.CarManage.CarQuery
{
/// <summary>
/// ChangeCarInfo 的摘要说明
/// </summary>
public class ChangeC... |
using System.Collections;
using System.Collections.Generic;
using DChild.Gameplay.Combat;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Objects.Characters.Enemies
{
public class BookSnatcher : Minion
{
[SerializeField]
[MinValue(0f)]
private float m_moveSpee... |
using System;
using System.Configuration;
namespace SecureNetRestApiSDK_UnitTest
{
public static class Helper
{
private static bool? _isSoftDescriptorEnabled;
private const string SoftDescriptorValue = "Valid Soft Descriptor";
private static bool? _isDynamicMCCEnabled;
privat... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class InputButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
[SerializeField]
private bool next;
[SerializeField]
private GameController gameController;
[SerializeField]
pri... |
using DataAccess.Abstract;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//namespace DataAccess.Concrete.InMemory
//{
//public class InMemoryCarDal : ICarDal
//{
// List<Car> _car;
// public InMemoryCarDal()
// {
// ... |
/**************************************************
*
* Base class for all Pools
*
***************************************************/
using System.Collections;
using System.Collections.Generic;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild
{
/// <summary>
///
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraLookAtPlayer : MonoBehaviour
{
//Public Tuneables
public Transform TargetPlayer;
public float RotateSpeed;
//Private Variables
// Start is called before the first frame update
void ... |
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
namespace Appnotics.PCBackupLib
{
public class StringHelper
{
public static string ValidatePathName(string sourceString)
{
string regexSearch = new string(Path.GetInvalidPathChars());
Regex r = new Regex(string.Forma... |
using UnityEngine;
using System.Collections;
public class TimeMgr : MonoBehaviour {
//싱글톤 패턴. {get; private set;} = readonly
public static TimeMgr Instance { get; private set; }
public float DeltaTime { get; set; }
float _lastFrame;
float _currentFrame;
float _myDelta;
void Awake ()
{
... |
using System.Collections.Generic;
using IFS.Models;
using Microsoft.Extensions.Logging;
namespace IFS.Services
{
public class NewsService : AbstractService<IFSContext>, INewsService
{
public NewsService(ILogger<NewsService> logger, IFSContext context)
: base(logger, context)
{
... |
using System.Collections.Generic;
using UnityEngine;
public class CardManager : Singleton<CardManager>
{
[SerializeField]
private GameObject CardPrefeb;//持有卡牌Prefab
//判断卡组中已有卡牌的信息
// 总共有多少张卡牌
public int HowManyCard = 14;
//总共抽多少张卡牌
public int HowManytoDrug = 7;
//还剩多少张卡牌
public ... |
using Microsoft.Practices.Unity;
using MusicaManager.Application.MusicLibrary.SongModule.Services;
using MusicManager.Domain.MusicLibrary.SongModule.Aggregates.SongAgg;
using MusicManager.Infrastructure.Crosscutting.Adapter;
using MusicManager.Infrastructure.Crosscutting.NetFramework.Adapter;
using MusicManager.Infras... |
using OpenTK.Mathematics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Framework2D.Graphics
{
public class SubTexture2D
{
TextureRegion bounds;
public Texture2D Texture { get; set; }
public Vector2[] TexCoords
{
get;
priv... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
//Add the namespace from the one you're testing.
using CountCapitals;
namespace CountCapitalsTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestCountCapitalsStarWarsTest()
{
Assert.AreEqual(2, Uppe... |
using Microsoft.Win32;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Web;
using System.Xml;
using Microsoft.Win32;
using System;
using System.Co... |
using AutoMapper;
using FamilyAccounting.BL.DTO;
using FamilyAccounting.BL.Interfaces;
using FamilyAccounting.DAL.Entities;
using FamilyAccounting.DAL.Interfaces;
namespace FamilyAccounting.BL.Services
{
public class AuthenticationService : IAuthenticationService
{
private readonly IMapper mapper;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Vlc.DotNet.Core.Interops;
namespace Vlc.DotNet.Core
{
internal class AudioOutputsManagement : IAudioOutputsManagement
{
private readonly VlcManager myManager;
private readonly VlcMediaPlayerInstance myMediaPlayerInstance;... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using DevExpress.XtraEditors;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.WCF.C... |
using System;
using System.Collections.Generic;
using System.Text;
using Exemplo.Domain.Entities;
using Exemplo.Repository.Data.Contexts;
namespace Exemplo.Repository.Data.Repositories
{
public class ContatoRepository : BaseRepository<Contato>, IContatoRepository
{
public ContatoRepository(Context con... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
[RequireComponent(typeof(Image))]
public class MoveController : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
[SerializeField] private bool _active = false;
[SerializeF... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Data;
using API.Dtos;
using API.Models;
namespace API.Controllers
{
public class CommonMethods
{
public string GetScope(UserForListDto user)
{
... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace VoxelSpace.Graphics {
public abstract class GeometryRenderer<T, M> : IDisposable where M : GeometryMaterial {
public M Material { get; private set; }
public ShadowMap ShadowMap { get; private set; }
... |
using UnityEngine;
using System.Collections;
public class FadeIn : MonoBehaviour {
public static float fadeTime=300f;
public void fadeInA (AudioSource sound) {
float volume=0.1f;
while (sound.volume < 1) {
sound.volume += (1 / fadeTime);
Debug.Log (sound.volume);
}
//yield return null;
}
}
|
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;
// 匯入System.Net命名空間
using System.Net;
namespace Host
{
public partial class Form1 : Form
{
public Form1()
{
Initial... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
namespace Login
{
class LoginUser
{
public List<User> listuser;
public LoginUser() {
listuser = new List<User>();
string sql... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIPanelScreenTalk : UIPanelBase
{
public Animator _Animator;
public Sprite _TalkBgSprite_L;
public Sprite _TalkBgSprite_R;
public Sprite _Sprite_RoleA;
public Sprite _Spr... |
using System;
using System.Collections.Generic;
using System.Data.Services.Providers;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sparda.Contracts
{
[AttributeUsage(AttributeTargets.Property)]
public class PropertyAttribute : Attribute
{
private int? order;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using umbraco;
using Umbraco.Core;
using Umbraco.Core.Models;
namespace Deploy.Helpers
{
public class MediaHelper
{
/// <summary>
/// The purpose of this method is to double check that a media has been really... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TypeInThai.Models;
using Dapper;
using System.Data;
namespace TypeInThai.Repositories
{
public class CookieRepository
{
public CookieData Add(string cookieGuid, int UserId, IDbConnection theConn)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace SecuritySite.Models
{
public partial class UserContext : DbContext
{
public UserContext()
: base("StoreDB")
{
}
public DbSet<Role... |
using Content.Server.Hands.Components;
using Content.Server.Weapon.Ranged.Ammunition.Components;
using Content.Shared.Examine;
using Content.Shared.Interaction;
using Content.Shared.Interaction.Events;
using Content.Shared.Weapons.Ranged.Barrels.Components;
using Robust.Shared.Containers;
using Robust.Shared.Player;
n... |
using System;
using System.Collections.Generic;
using System.Text;
namespace _03._P_rates
{
public class City
{
public string CityName { get; set; }
public int Population { get; set; }
public int Gold { get; set; }
public City(string name, int population, int gold)... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Input;
using PFRCenterGlobal.Views.AuthZone;
using Xamarin.Forms;
namespace PFRCenterGlobal
{
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessObjects
{
public sealed class Player
{
public string PlayerName { get; set; }
public string Gender { get; set; }
public int Age { get; set; }
... |
using ProtoBuf;
using System.Collections.Generic;
namespace RRExpress.Service.Entity {
[ProtoContract(AsReferenceDefault = false, ImplicitFields = ImplicitFields.AllFields, EnumPassthru = true)]
public class Region {
public string AreaName { get; set; }
public decimal Lng { get; set; }
... |
namespace PostRequestFactory.Core.Interfaces
{
public interface IRequestParameter
{
/// <summary>
/// Name of the field/variable to which corresponds the content
/// </summary>
string Name { get; }
string ContentType { get; }
string ContentDisposition { get; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NonstopMover : MonoBehaviour
{
[Header("Locally moves an object in the specified speed.")]
[SerializeField] private Vector3 unitsPerSecond;
private void Update()
{
transform.localPosition ... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using UIKit;
using Foundation;
using Aquamonix.Mobile.Lib.Domain;
using Aquamonix.Mobile.Lib.Database;
using Aquamonix.Mobile.IOS.Views;
using Aquamonix.Mobile.Lib.ViewModels;
using Aquamonix.Mobile.Lib.Services;
using Aq... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XH.Console.NH.BookChoice
{
public class CustomAttributeAttribute : Attribute
{
public string Prefix { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PropellerSpin : MonoBehaviour
{
public float spinSpeed;
public GameObject propeller;
private void Update()
{
propeller.transform.Rotate(0, 0, spinSpeed * Time.deltaTime);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DistCWebSite.Core.Entities;
namespace DistCWebSite.Core.Interfaces
{
public interface IMasterDictionary
{
List<M_MasterDictionary> GetDictionaryList();
}
}
|
namespace DFC.ServiceTaxonomy.PageLocation.Models
{
public class PageLocationPartSettings
{
public bool DisplayRedirectLocationsAndDefaultPageForLocation { get; set; }
public string? DefaultPageLocationPath { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using EasySave.Helpers.Files;
using EasySave.Model.Management;
using System.Windows;
namespace EasySave.Model.Management
{
class ProgressSocket
{
//... |
using System;
namespace CourseHunter_29_Self_Euclid_sAlgorithm
{
class Program
{
/// <summary>
/// Algoritm help to find the max common divider (делитель).
/// </summary>
static void Main(string[] args)
{
Console.WriteLine("Enter first number");
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml;
using DelftTools.Functions.Filters;
using DelftTools.Units;
using DelftTools.Utils;
using DelftTools.Utils.Aop.NotifyPropertyChange;
using DelftTools.Utils.Collections;
using DelftTool... |
using UnityEngine;
using System.Collections;
public class Crush : MonoBehaviour {
[SerializeField]
private CrusherController crusherController;
public float force = 7.5f;
void OnTriggerEnter2D(Collider2D collider) {
if (!crusherController.GetIsActive())
return;
if (collider.gameObject.layer == LayerMask.N... |
namespace Menu
{
using System.Linq;
using System.Text;
using PizzaMore.Data;
using PizzaMore.Models;
using PizzaMore.Utility;
using System.Collections.Generic;
using PizzaMore.Utility.Contracts;
public class Menu
{
private readonly Header header;
private readonly Se... |
using Alabo.App.Share.OpenTasks.Base;
using Alabo.App.Share.OpenTasks.Modules;
using Alabo.Data.People.Users.Domain.Services;
using Alabo.Data.Things.Orders.Extensions;
using Alabo.Data.Things.Orders.ResultModel;
using Alabo.Domains.Enums;
using Alabo.Extensions;
using Alabo.Framework.Basic.Grades.Domain.Services;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shoot : MonoBehaviour {
public float bulletspeed;
Rigidbody2D myRB;
// Use this for initialization
void Awake () {
myRB = GetComponent<Rigidbody2D>();
if(transform.localRotation.z>0)
myRB.AddForce(new Vector2(-1,... |
using BookApi.Domain.Models;
namespace BookApi.Domain.Intefaces
{
public interface IBookRepository : IRepository<Book>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
namespace CRL.Business.OnlinePay.Company.Bill99
{
public class MessageBase
{
public string signMsg
{
get;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AssetsSDK
{
public abstract class Asset
{
public abstract bool CanAddFields { get; set; }
public abstract Dictionary<string,Field> Fields { get; set; }
public virtual bool ValidateFields()
{
... |
using Yaringa.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yaringa.Services {
public interface INavigationService {
/// <summary>
/// The ViewModel of the second top page in the page stack.
/// </s... |
using System;
using System.Linq;
using System.Collections.Generic;
using Google.Maps;
using System.Web;
namespace DoGoService.Paths
{
public class WaypointLink
{
public string SourceWaypoint { get; set; }
public string DestWaypoint { get; set; }
public int Duration { get; set; }
}
} |
using System;
using System.Threading;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
namespace DataCrawler
{
class Program
{
static void Main(string[] args)
{
var driverService = ChromeDriverService.CreateDefaultService();
driverS... |
using FrameOS.Systems.CommandSystem;
using System;
using System.Collections.Generic;
using System.Text;
using FrameOS.FileSystem;
using Cosmos.HAL;
namespace FrameOS.Commands
{
class CatCommand : ICommand
{
public string description { get => "Read the contents of a file."; }
public string com... |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XF40Demo.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class LinearGaugeView : Grid
{
#region Gauge
public static BindableProperty CornerRadiusProperty = BindableProperty.Create(nameof(CornerRadius), typeo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SecurityCam : MonoBehaviour, IHackable
{
private enum State
{
Patrol,
Off,
Detect
};
[SerializeField]
private Transform lightCone;
[SerializeField]
private float lightRange ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Globalization;
namespace VisualPhaseCalculation
{
class BinarySystemFactory
{
private IList<IBinarySystem> systems;
public IList<IBinarySystem> getSystems()
{
... |
using CreamBell_DMS_WebApps.App_Code;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Web;
using System.Web.UI;
using System.Data.OleDb;
using System.Web.UI.WebControls;
using Elm... |
using System;
using System.Threading.Tasks;
using Grains.Objects;
using Grains.Observers;
using Orleans;
namespace Grains
{
public class UserConnectionGrain : Grain, IUserConnectionGrain
{
private ObserverSubscriptionManager<IUserConnectionObserver> _subscriptionManager;
public override Task ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DrugMgmtSys.codes
{
class Drug
{
public string Name { get; set; }
public int Unit { get; set; }
public string Spec { get; se... |
using BattleEngine.Engine;
using BattleEngine.Utils;
using Common.Composite;
namespace BattleEngine.Actors.Bullets
{
public class BulletMoveComponent : BattleComponent
{
private BattleTransform _moveTo;
public BulletMoveComponent()
{
}
override public bool needRemove... |
using System;
using System.Collections.Generic;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem02 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2017: 2"; }
}
public override string GetAnswer() {
retu... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace MVVM_Person.Model
{
//zapisuje obiekty do pliku xml za pomocą serializacji
public static class Serializacja_wczytaj_zapisz
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria.ModLoader;
namespace StarlightRiver.Codex.Entries
{
class WindsEntry : CodexEntry
{
public WindsEntry()
{
Category = (int)Categories.Abilities;
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Ejercicio
{
public class Batman
{
private List<Tecnologias> batiriñonera;
private int vida;
private int estres;
public Batman(List<Tecnologias> batiriñonera)
{
this.batiriñonera = ba... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EsferixisLazyCSharp.Esferixis.Misc
{
public sealed class Optional<T>
{
private T value_m;
private bool isEmpty_m;
public Optional(T value)
{
... |
// ===============================
// AUTHOR : Guillaume Vachon Bureau
// CREATE DATE : 2018-08-29
//==================================
using System.Collections.Generic;
namespace BehaviourTree
{
/// <summary>
/// Parent class for all CompositeTask of a behaviour tree
/// </summary>
public abs... |
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;
namespace IpTextBox
{
[ToolboxBitmap(typeof(TextBox))]
public partial class IpAddressTextBox : U... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace BirthdayCalculator.Models
{
public class BirthDateModel
{
public int Id { get; set; }
[Required(ErrorMessage ="Vul dit in!")]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApplication1.Models;
namespace WebApplication1.Models
{
public class Coupon : Item
{
public Coupon ()
{
}
public bool SelectedItemsOnly { get; set; }
public float DiscountPercent { get; set; }
public bool Ma... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms.Maps;
using FuelRadar.Model;
namespace FuelRadar.Geo
{
/// <summary>
/// Provides the functionality to determine a coordinate for an address
/// </summary>
public s... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Infrastructure
{
/// <summary>
/// A type which can evaluate a policy for a particular <see cref="HttpContext"/>.
/// </summary>
public interface ICustomHeaderService
{
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WebSocketSharp;
using UnityEngine.UI;
public class Chat : MonoBehaviour
{
public Text Message;
WebSocket ws = new WebSocket("ws://app-labs-crawlers.ru:9090");
void Start()
{
ChatSocketConnect();
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIManager : MonoBehaviour {
//Singleton
private static UIManager instance = null;
public static UIManager Instance { get { return instance; } }
private void Awake()
{
if (instance != null && insta... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Welic.Dominio.Models.Menu.Enums
{
public enum MenuWebEnum
{
Courses,
Marketplace,
User,
About,
MailBox,
Schedules,
Suport,
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace MonoDroid.Common.Adapters
{
public class IEnumerableBaseAdapter<T>:... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Work_Cache_Esm
{
public partial class Form1 : Form
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.