text stringlengths 13 6.01M |
|---|
using System;
using System.Security.Cryptography;
using Apache.Shiro.Cache;
namespace Apache.Shiro.Session.Management.Enterprise
{
public class MemorySessionDao : CachingSessionDao
{
private RandomNumberGenerator _randomNumberGenerator;
public MemorySessionDao()
{
... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event of type `Collision`. Inherits from `AtomEvent<Collision>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/Collision", fileName = "CollisionEvent")]
public sealed cl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Data.SqlClient;
using System.Text;
using System;
using UnityEngine.UI;
public class RankingManager : MonoBehaviour
{
SqlConnectionStringBuilder builder;
SqlConnection connection;
SqlCommand command;
SqlDat... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Persistent Timer.
///
/// Utility class for repeatedtly doing something after a certain period of time.
/// </summary>
public class PersistentTimer : MonoBehaviour
{
public delegate void TimerCallBack();
public static PersistentTimer New(GameOb... |
using Newtonsoft.Json;
using System;
namespace EthereumChain
{
[Serializable]
public sealed class EtherTransaction : IEtherScanTransaction
{
[JsonProperty]
private readonly string blockNumber;
[JsonProperty]
private readonly string timeStamp;
[JsonProperty]
... |
using UnityEngine;
using System.Collections;
using UnityEngine.Audio;
public class Sun : MonoBehaviour
{
public GameObject waterDay, waterNight;
public float rotationSpeed = 10;
public Light sun;
public bool isMorning, isMidday, isDusk, isNight;
public Color morn, mid, dusk, night;
p... |
#define Prod
using LeadChina.CCDMonitor.Infrastrue;
using LeadChina.CCDMonitor.Infrastrue.Entity;
using Quartz;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Hosting;
namespace LeadChina.CCDMonitor.Web.jobs
{
/// <summary>
/// 删除文件的job
/// </summary>
[... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class GameController : MonoBehaviour
{
EnemyMissileSpawner myEnemyMissileSpawner;
[SerializeField] private GameObject endOfRoundPanel;
public int score = 0;
public int level = 1;
public int playerMis... |
using System;
using System.ComponentModel.DataAnnotations;
namespace com.Sconit.Entity.BIL
{
[Serializable]
public partial class PriceListMaster : EntityBase,IAuditable
{
#region O/R Mapping Properties
[Required(AllowEmptyStrings = false, ErrorMessageResourceName = "Errors_Common_FieldRequ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TestTask.CustomAuth.Models;
namespace TestTask.CustomAuth.Repositories
{
public class FakeProductRepository : IProductRepository
{
public IQueryable<Product> Products => new List<Product>
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
using TriangleCollector.Models.Interfaces;
namespace TriangleCollector.Models
{
public interface IClientWebSocket
{
public IExchange Exchange { get; set; ... |
using System;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.ISS
{
public partial class IssueTypeToUserDetail
{
#region Non O/R Mapping Properties
private string _userCode;
[Display(Name = "UserCode", ResourceType = typ... |
using System;
using System.Threading.Tasks;
namespace Uintra.Features.Groups.Services
{
public interface IGroupActivityService
{
void AddRelation(Guid groupId, Guid activityId);
void RemoveRelation(Guid groupId, Guid activityId);
Guid? GetGroupId(Guid activityId);
Task AddRela... |
/******************************************************************************\
* Copyright (C) 2012-2016 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Follow : MonoBehaviour {
public GameObject target;
public float speed;
private Rigidbody rb;
GameObject player;
void Start () {
rb = GetComponent<Rigidbody>();
player = GameObject.FindGameObjectWithTag("Pla... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using TelegramFootballBot.Core.Exceptions;
using TelegramFootballBot.Core.Helpers;
namespace TelegramFootballBot.Core.Tests
{
[TestClass]
public class SheetHelperTests
{
private r... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using WebApp.Game.... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace EasyDev.Taobao.Models
{
/// <summary>
/// ItemSearch Data Structure.
/// </summary>
[Serializable]
public class ItemSearch : Model
{
[XmlArray("item_categories")]
[XmlArrayItem... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebsiteManagerPanel.Data.Entities;
using WebsiteManagerPanel.Data.Configurations.BaseConfigurations;
namespace WebsiteManag... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using System;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual
{
/// <summary>
/// Clase que representa la entidad Flujo Aprobacion Estadio
/// </summary>
/// <remarks>
/// Creación: GMD 20150508 <br />
/// Modificación... |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class MissionAbandonedEvent : Event
{
public const string NAME = "Mission abandoned";
public const string DESCRIPTION = "Triggered when you abandon a mission";
public const string SAMPLE = "{ \"timestamp\":\"2... |
using Alabo.App.Asset.BankCards.Domain.Entities;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.App.Asset.BankCards.Domain.Repositories
{
public interface IBankCardRepository : IRepository<BankCard, ObjectId>
{
}
} |
using UnityEngine;
using System.Collections;
public class EffectBrightness : MonoBehaviour
{
//public Material targetMaterial { get; set; }
private float startVal;
private float endVal;
private float duration;
private float time;
public bool isBtnPressed { get; set; }
public UIWidget widge... |
namespace Fingo.Auth.AuthServer.Services
{
public enum DecodeResult
{
TokenValid = 0 ,
TokenInvalid = 1 ,
TokenExpired = 2
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BlazorShared;
using BlazorShared.Models.Appointment;
using BlazorShared.Models.AppointmentType;
using BlazorShared.Models.Client;
using BlazorShared.Models.Patient;
using BlazorShared.Models.Room;
using FrontDesk.Bla... |
using System;
namespace SFA.DAS.ProviderCommitments.Web.Models.Cohort
{
public class FileUploadReviewDeleteRequest
{
public long ProviderId { get; set; }
public Guid CacheRequestId { get; set; }
public FileUploadReviewDeleteRedirect? RedirectTo { get; set; }
}
public enum File... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using Guard;
namespace Panel
{
static class Program
{
// panel guard vars
private static ... |
using MMSEApp.Models;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Text;
using Xamarin.Forms;
namespace MMSEApp.ViewModels
{
public class ExamViewModel : INotifyPropertyChanged
{
public event PropertyChangedE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication1.Helpers
{
public static class SqlStringExtensions
{
public static string GetSqlCompatible(this string stringIn, bool quote = true)
{
string newString = "";
if (!string.IsNullOrEmpty(stringIn))
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lab2.Areas;
using Lab2.Properties;
using System.Configuration;
using Lab2.Services;
namespace Lab2.Services
{
public class LocationServiceBuilder
{
private ILocationService getLoca... |
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using OnlineClinic.Core.Services;
using System.Threading.Tasks;
using OnlineClinic.Core.ValidationAttributes;
using System;
namespace OnlineClinic.Core.DTOs
{
public class SpecializationEditDto: IValidatableObject
... |
using System.IO;
using System.Runtime.Serialization.Json;
using System.Threading.Tasks;
namespace TRPO_labe_6.Models.FileWorkers
{
public class JsonFileDeserializer<TType> : JsonFile<TType>
where TType : class
{
public JsonFileDeserializer(string path) : base(path) { }
public TTy... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyPatrol : MonoBehaviour
{
public Transform[] spots;
public float minDistance = 5;
public float attackDamage = -30;
public AudioClip attackSFX;
int index;
NavMeshAgent age... |
using RabbitMQ.Client;
using System;
using System.Text;
namespace Send
{
class Program
{
private const string HOST_NAME = "localhost";
private const string QUEUE_NAME = "Test";
static void Main(string[] args)
{
// create connection factory with default guest/guest ... |
using System;
using System.Collections.Generic;
using System.Linq;
using ILogging;
using ServiceDeskSVC.DataAccess.Models;
namespace ServiceDeskSVC.DataAccess.Repositories
{
public class NSDepartmentRepository:INSDepartmentRepository
{
private readonly ServiceDeskContext _context;
priv... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Text;
using System.IO;
namespace jaytwo.Common.Http
{
public partial class HttpClient
{
public string DownloadString(string url)
{
var request = CreateRequest(url);
... |
using NfePlusAlpha.Domain.Entities;
using NfePlusAlpha.Infra.Data.Context;
using NfePlusAlpha.Infra.Data.Retorno;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NfePlusAlpha.Infra.Data.Classes
{
public class P... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class chekeadorPiso : MonoBehaviour
{
private GameObject padre;
public bool tocandoPiso;
public string ladoColision;
// Use this for initialization
void Start()
{
padre = transform.root.gameObject;
... |
namespace myBOOK.data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Books",
c => new
{
... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
using Cs_Notas.Dominio.Entities;
using Cs_Notas.Windows.Escritura;
using Cs_Notas.Windows.Procuracao;
using Cs_Notas.Windows.Testamento;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threa... |
namespace Ave.Extensions.Text
{
/// <summary>
/// Adaptation of luhns algorithm of using checksums for base 32.
///
/// Ported from https://github.com/syncthing/syncthing
///
/// </summary>
public static class Luhn32
{
private const string digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZ2... |
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 CourseWork
{
public partial class Form7 : Form
{
public Form7(ref RedBlackTree... |
using System.Threading.Tasks;
namespace cyrka.api.common.projections.results
{
public class RemoveProjectionResult<TView> : IProjectionResult<TView>
where TView : IView
{
public RemoveProjectionResult(TView viewResult) => _view = viewResult;
public Task AccomplishAsync(IProjectionStore<TView> projectionStore)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LaptopShop
{
class Battery
{
private string batteryName;
private string life;
public Battery(string batteryName,string life)
{
this.battery... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
namespace ClassInventory
{
public partial class Form1 : Form
{
p... |
using System;
using System.Drawing;
using System.Media;
using System.Threading;
using System.Windows.Forms;
namespace FeriaVirtual.App.Desktop.SeedWork.FormControls.MsgBox
{
public static class MsgBox
{
public static DialogResult Show
(IWin32Window owner, String message) =>
Sho... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Docller.Core.Models;
namespace Docller.Core.Services
{
public class DistributionExtractor
{
private readonly long _customerId;
private readonly long _projectId;
private readonly IEnumerable<Subs... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace CredNet
{
// ReSharper disable once InconsistentNaming
public class CredUI
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.Code.Actors.Controller
{
[RequireComponent(typeof(AudioSource))]
public class WeaponSoundController : MonoBehaviour
{
private static WeaponSoundController instance;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task2
{
class Program
{
static void Main(string[] args)
{
int rounds = int.Parse(Console.ReadLine());
string line = string.Empty;
st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SAAS.FrameWork;
using SysBase.Domain.Models;
using SysBase.Domain.DomainService;
using SAAS.FrameWork.Extensions;
using static Common.Service.CommonEnum;
using Common.Servicei.ViewModels.Users;
using Common.Service.... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace StickFigure.Input
{
public static class Extensions
{
private static DateTime _then = DateTime.MinValue;
public static TimeSpan TotalRealTime(this GameTime time)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
namespace FSDP.DATA.EF.Repositories
{
public class LessonsRepository : GenericRepository<Lesson>
{
public LessonsRepository(DbContext db) : base(db) { }
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Coldairarrow.Entity.CB
{
/// <summary>
/// Frame_Employee
/// </summary>
[Table("Frame_Employee")]
public class Frame_Employee
{
/// <summary>
/// EmployeeID... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LuckyMasale.DAL.DataTables
{
/// <summary>
/// Contains all logic to be shared among all data tables in the DAL.
/// </s... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
//using System.Runtime.Serialization;
/*
* http://www.paraesthesia.com/archive/2015/02/13/advanced-object-serialization-in-web-api/
*/
namespace OptionalTypes
{
// [Serializable]
public struct Opt... |
// Copyright (c) 2017 Gwaredd Mountain, https://opensource.org/licenses/MIT
#if !UNIUM_DISABLE && ( DEVELOPMENT_BUILD || UNITY_EDITOR || UNIUM_ENABLE )
//#define GW_WEBSOCKET_DETAILED_LOGGING
using System;
using System.Security.Cryptography;
using System.Text;
using System.IO;
using System.Collections.Gener... |
namespace com.Sconit.Web.Controllers.Report
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Service;
using Models;
using Telerik.Web.Mvc;
using AutoMapper;
using com.Sconit.Entity.ORD;
using com.Sc... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace BanSupport
{
public partial class ScrollSystem
{
#region -----------------------外部事件-----------------------
/// <summary>
/// 设置打开回调(物体从无到有的时候)
/// 参... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PROYECTOFINAL.Models;
namespace PROYECTOFINAL.Controllers
{
public class MovimientosController : Controller
{
// GET: Movimientos
public ActionResult Index()
{
i... |
using UnityEngine;
public static class Debugx
{
public class AssertionFailureException : System.Exception
{
public AssertionFailureException(string message)
: base(message)
{
}
}
[System.Diagnostics.Conditional("ASSERTS")]
public static void Assert(bool assertion)
{
Assert(assertion, string.Empty);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace DiagramDesigner
{
public abstract class ConnectorInfoBase : INPCBase
{
private static double connectorWidth = 8;
private static double connectorHeight = 8;
public Conn... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Docller.Core.Common
{
public interface IPathMapper
{
string MapPath(string relativePath);
}
}
|
namespace CaveDwellers.Resources
{
public static class Images
{
public static readonly ImageName Smiley = new ImageName(@"Resources\Images\Smiley Angry.png");
public static readonly ImageName SmileyTimeout = new ImageName(@"Resources\Images\Smiley Angry_timeout.png");
public static re... |
using IronAHK.Rusty.Common;
using System;
using System.Collections.Generic;
using System.Security;
using System.Windows.Forms;
using Timer = System.Timers.Timer;
namespace IronAHK.Rusty
{
partial class Core
{
#region Delegates
/// <summary>
/// A function.
/// </summary>
/// <param name="args">Parameters.... |
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 CourseWork
{
public partial class Form2 : Form
{
public Form2()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
public GameObject path;
public bool isMoving = false;
public float speedRotate = 10;
public GameObject Effect;
public Transform[] PointMovement;
private float spe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CalculationServices
{
public class CalcServicesApi
{
#region FIELD
const string INIT_STATEMENT = "";
const string INIT_EDIT_NUMBER = "0";
string statem... |
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_protection_sizeServices
{
hu_protection_size Add(hu_... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicicio19
{
class AnosDeCapitalizacao
{
static void Main(string[] args)
{
{
const double Taxa = 2.5;
Console.Write("Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace REPARTIR
{
class Program
{
static void Main(string[] args)
{
int n;
do
{
Console.WriteLine("tapez la taille du table... |
using System;
namespace DChild.Gameplay.Combat
{
[Serializable]
public struct AttackInfo
{
private AttackDamage[] m_damage;
private float m_critChance;
private IOnHitEffect[] m_hitEffects;
private IOnKillEffect[] m_killEffects;
public AttackInfo(AttackDamage[] m_da... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
namespace FlippoMatchViewer // TODO: use ENTER key and double click instead of "Open" button
{
public static class MatchExplorer
{
public static readonly String LogDirectory = "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PartStore
{
public class Van
{
public string Make { get; set; }
public string Model { get; set; }
public string Registration { get; set; }
public int Mileage { get; set... |
namespace SharpStore.Data
{
using System.Data.Entity;
using Migrations;
using Models;
public class SharpStoryContext : DbContext
{
public SharpStoryContext()
: base("name=SharpStoryContext")
{
Database.SetInitializer(new MigrateDatabaseToLatestVersion<SharpSt... |
using ND.FluentTaskScheduling.Model;
using ND.FluentTaskScheduling.Model.request;
using ND.FluentTaskScheduling.Model.response;
using ND.FluentTaskScheduling.Web.App_Start;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.Mvc;... |
using System.Linq;
using TechEval.DataContext;
namespace TechEval.Core
{
public class ODataDispatcher : IODataDispatcher
{
private readonly Db _ctx;
public ODataDispatcher(Db ctx)
{
_ctx = ctx;
}
public IQueryable<T> Dispatch<T>() where T : class
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StageSequenceMachine : MonoBehaviour {
public enum State_StageSequence
{
START,
ENTER,
PLAY,
DEAD,
EXIT,
}
private StateMachine<State_StageSequence> stateMachine = new ... |
using UnityEngine;
using UnityAtoms.BaseAtoms;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Adds Variable Instancer's Variable of type CollisionGameObject to a Collection or List on OnEnable and removes it on OnDestroy.
/// </summary>
[AddComponentMenu("Unity Atoms/Sy... |
using System;
using System.Collections.Generic;
using System.Text;
namespace App.Model.Product
{
public class ProductDetailItem
{
public int ID { get; set; }
public int ProductID { get; set; }
public string Sku { get; set; }
public int ProductVarianID { get; set; }
publ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System;
using System.Runtime.Serialization.Formatters.Binary;
public class SaveDataController : MonoBehaviour
{
[SerializeField]
private UserData user;
protected void CreateUserData()
{
s... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HPBarEnemy : HPBar
{
public Image weakBallFire;
public Image weakBallWater;
public Text enemyAttackCounter;
// Start is called before the first frame update
vo... |
using System;
namespace OOP_phone
{
class Program
{
static void Main(string[] args)
{
Galaxy s8 = new Galaxy("S8", 97, "Verizon 'STEAL THE INTERNET' Wireless", "vrrr vrrrrrr");
s8.DisplayInfo();
System.Console.WriteLine(s8.Ring());
System.Console... |
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.Controls;
using DevExpress.XtraEditors;
using IRAP.Global;
u... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Wintellect.PowerCollections;
public class Organization : IOrganization
{
private readonly List<Person> personByIndex;
private readonly MultiDictionary<string, Person> personByName;
private readonly OrderedDi... |
using System;
using System.Text.RegularExpressions;
namespace _03.SoftUniBarIncome
{
class Program
{
static void Main()
{
var pattern = @"%(?<customer>[A-Z][a-z]+)%[^\|\$\%\.]*<(?<product>\w+)>[^\||\$|\%|\.]*\|(?<count>\d+)\|[^\||\$|\%|\.|\d]*(?<price>\d+[.]?\d*)\$";
... |
using System.Linq;
using App.Core.Interfaces.Dto.Requests;
using App.Core.Interfaces.Managers;
using Microsoft.AspNetCore.Mvc.Filters;
using SimpleInjector;
namespace App.Web.Filters
{
public class AuthFilter : IActionFilter
{
protected ISessionManager SessionManager { get; }
public Au... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Construction : MonoBehaviour {
private StatusBar statusBar;
public GameObject completedObject;
public GameObject completedSecondaryObject;
public int cost = 500;
//public bool idle { get; private set; }
public int total... |
class IndestructibleWall : GameItem
{
public override void OnHit() { }
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace System.Identity
{
public class Gender
{
public enum Sex { Unknown, Female, Male, Other };
private Sex sexComponent = Sex.Unknown;
public Sex... |
using System;
using System.Collections.Generic;
using Modelos;
using AcessoDados.Repositorio;
namespace Servicos
{
public class UnidadeServico
{
UnidadeRepositorio rep = new UnidadeRepositorio();
public List<Unidade> ObterUnidades(int pagina = 1, int linhas = 5)
{
return re... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EBS.Application;
using EBS.Application.DTO;
using Dapper.DBContext;
using EBS.Domain.Entity;
using EBS.Domain.ValueObject;
using EBS.Query;
using EBS.Query.DTO;
using Newtonsoft.Json;
using EBS.Admin.Servic... |
using PopulationFitness.Models;
namespace PopulationFitness.Simulation
{
public class SimulationThreadFactory : ISimulationFactory
{
private readonly Config _config;
private readonly Epochs _epochs;
public SimulationThreadFactory(Config config, Epochs epochs, Tuning tuning)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Orbbec;
public class OrbbecSkeleton : MonoBehaviour
{
public AvatarBind bind;
public BodyManager bodyManager;
private OrbbecUser user;
private Dictionary<SkeletonType, int> joints;
// Use this for initialization
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(gcd(20, 4));
Console.ReadKey();
}
static int gcd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercicio22
{
class Palindromo
{
static string Tirarespacos(string Frase, int Indice)
{
{
if (Indice == 0)
return Frase.Subs... |
using System;
using System.Collections.Generic;
namespace Hni.TestMVC6.Models
{
public partial class Part
{
public Part()
{
PartReceived = new HashSet<PartReceived>();
}
public int PartId { get; set; }
public int PartCategoryId { get; set; }
public s... |
using UnityEngine;
namespace FancyScrollView
{
public abstract class FancyScrollRectCell<TItemData, TContext> : FancyScrollViewCell<TItemData, TContext>
where TContext : class, IFancyScrollRectContext, new()
{
public override void UpdatePosition(float position)
{
var (scrol... |
using PopulationFitness.Models.Genes.Cache;
using System;
namespace PopulationFitness.Models.Genes.BitSet
{
/**
* Extend this to provide different fitness functions that use a bitset
*
* Created by pete.callaghan on 03/07/2017.
*/
public abstract class BitSetGenes : IGenes
{
p... |
using System;
using PlayerController.Animations;
using PlayerController.Input;
using PlayerController.Movement;
using PlayerController.Weight;
using UnityEngine;
using Zenject;
namespace PlayerController
{
public class PlayerState : MonoBehaviour
{
public event Action<State> OnStateChanged;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.