text stringlengths 13 6.01M |
|---|
namespace OmniSharp.Extensions.JsonRpc
{
public interface IRequestProcessIdentifier
{
RequestProcessType Identify(IHandlerDescriptor descriptor);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AuthProject.Models;
namespace AuthProject.Helpers
{
public static class CreateDataBase
{
public static void Initialize(ProjectContext context)
{
if (!context.Users.Any())
... |
using Android.Widget;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using Liddup.Droid.Effects;
using Xamarin.Forms;
[assembly: ResolutionGroupName("Liddup")]
[assembly: ExportEffect(typeof(AudioSliderEffect), "AudioSliderEffect")]
namespace Liddup.Droid.Effects
{
class AudioSliderEffect : Platfor... |
using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
using System.Web.Security;
using System.Web.SessionState;
using UrbanScience.Si2.Mvc.InjectableServices;
using Newtonsoft.Json;
namespace UrbanScienc... |
using System;
namespace Application
{
class MainClass
{
public static void Main (string[] args)
{
string source = Console.ReadLine ();
string[] stringSeparators = new string[] {" "};
string[] result;
result = source.Split(stringSeparators, StringSplitOptions.None);
float a, b, c, x;
a = floa... |
using System;
namespace DomainDrivenDesign.Payments
{
public class MenuItem
{
public Guid Id { get; private set; }
public string Name { get; private set; }
public string Description { get; private set; }
public decimal Price { get; private set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _14备忘录模式
{
//要保存的细节 给封装在了 Memento 中,那一天要更改保存的细节 也不用影响客户端
//适用场景 :
//比较适用于功能比较复杂的,但需要维护或记录属性历史的类
//,或者需要保存的属性,只是众多属性中的一小布部分时,Originator 可以根据保存的Memento
//信息还原到前一状态
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NodeConn
{
public int n1;
public int n2;
public NodeConn(int n1, int n2)
{
this.n1 = n1;
this.n2 = n2;
}
public override bool Equals(object obj)
{
//
// See the full... |
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.PER")]
public partial class Person : Entite
{
[... |
public class GetTreated : GAction
{
public override bool PrePerform()
{
target = inventory.FindItemWithTag(ObjectTag.Cubicle);
if (target == null)
return false;
return true;
}
public override bool PostPerform()
{
GWorld.Instance.GetWorld().ModifyState(... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Reactive.Linq;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using WagahighChoices.Toa.Imaging;
using WagahighChoices.Toa.X11;
namespace WagahighChoices.Toa
{
public class LocalWagahighOperator ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio_Lagash
{
public interface IControladorParquimetro
{
string Patente
{
get;
}
int MinutosEstacionado
{
get;
... |
using System.Management.Automation;
namespace TreeStore.PsModule.Cmdlets
{
[Cmdlet(VerbsCommon.New, "TreeStoreDrive", DefaultParameterSetName = "Path")]
public sealed class NewTreeStoreDriveCmdlet : PSCmdlet
{
private string name;
/// <summary>
/// Gets or sets the name of the dri... |
using System;
using System.Collections.Generic;
using System.Text;
using MySql.Data.MySqlClient;
namespace DataAccess
{
public class Conexion
{
//private string MysqlString = "server = 127.0.0.1; uid = root; pwd = admin; database = hospital";
private string MysqlString = "server = 127.0.0.1; u... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System;
public class CharacterSaveSlot : MonoBehaviour {
[SerializeField]
private Image _portraitImage;
[SerializeField]
private Text _nameLabel;
[SerializeField]
private GameObject _emptyContainer;
[SerializeField]
private GameObjec... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Endianness
{
class Program
{
static void Main(string[] args)
{
//Single Hexadecimal Digit == 4 Bits //0xF == 1111
//Single Byte == 8 Bits //which means 1 Byte could hold... |
using Common;
using Microsoft.AspNetCore.SignalR;
using physics2;
using Prototypist.TaskChain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Server
{
public class RemoteGame
{
public readonly Game2 game2 = new Game2(... |
// Accord Math Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publish... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Business.Abstract;
using Business.BusinessAspects.Autofac;
using Business.Constants;
using Business.ValidationRules.FluentValidation;
using Core.Aspects.Autofac.Logging;
using Core.Aspects.Autofac.Validation;
using Core.CrossCuttingConcerns.Logging.... |
using System;
using System.Collections.Generic;
using FluentAssertions;
using Xunit;
namespace LeeConlin.ExtensionMethods.Tests.DateTimeExtensions
{
public class NextWeekday_Should
{
public static IEnumerable<object[]> TestData => new List<object[]>
{ // We only really care to the day.
... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Threading.Tasks;
namespace TestingEFCodeFirst.EF
{
public class Repository<TEntity> : IRepository<TEntity> where TEntity : class
{
private CustomerDbContext _customerDbContext;
private... |
using ShCore.Utility;
using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
namespace ShCore.Reflectors
{
/// <summary>
/// Reflect để lấy được danh sách PropertyInfo của một Type
/// </summary>
public class ReflectTypeListProperty : DictionaryCacheBase<Type, List<... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class particleSystemEmiter : MonoBehaviour, IRecalculate
{
public ParticleSystem MainEmit;
public ParticleData data;
//List<Particle> Particles = new List<Particle>(10);
float AllTime;
... |
#region Usings
using Zengo.WP8.FAS.Models;
using System;
using System.Windows;
using System.Windows.Controls;
#endregion
namespace Zengo.WP8.FAS.Controls
{
public partial class PlayerStatsControl : UserControl
{
#region Events
public event EventHandler<EventArgs> BackPressed;
#end... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using HumanResourceEntityFramworkDBFirstWeb.Models;
namespace Huma... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Passenger.Core.Domain;
namespace Passenger.Infrastructure.Repositories
{
class InMemoryDriverRepository : IDriverRepository
{
private static ISet<Driver> _drivers = new HashSet<Driver>
{
... |
using System;
using System.Windows.Forms;
namespace Shelly_Client.Forms
{
public partial class Lock : Form
{
public Lock()
{
InitializeComponent();
}
private void Lock_Load(object sender, EventArgs e)
{
FormBorderStyle = FormBorder... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data;
using MySql.Data.MySqlClient;
namespace AzmanSys
{
class customerDbConn: dbConn
{
public void insertCustomer(string CusFName, string CusLName, string CusTelNum, string ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ACAD_Machine_Priority;
namespace MachinePriorityControlTest {
[TestClass]
public class TestForm {
//[TestMethod]
//public void TestShowDialog() {
// MachinePriority mp = new MachinePriority();
// mp.ShowDialog();
//}
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrashCollectorApp.Data.Migrations
{
public partial class V22 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "AspNetRoles",
ke... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ComponentModel;
namespace QuestStudio
{
public class Condition
{
private byte[] originalData = null;
public void setOriginalData(byte[] d) { originalData = d; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
/// <summary>
/// Summary description for Globalconnection
/// </summary>
public class Globalconnection
{
public SqlConnection cn;
public Globalconnection()
{
string sqlc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using SmallHouseManagerModel;
namespace SmallHouseManagerDAL
{
public class AdDAL
{
public List<AdModel> ShowAd()
{
SqlDataReader dr =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace AudioStream.Areas.Identity.Data
{
// Add profile data for application users by adding properties to the AudioStreamUser class
public class AudioStreamUser : IdentityU... |
using Newtonsoft.Json.Linq;
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 S... |
using System.Web.Http;
using ws_seta.Eao;
namespace ws_seta.Controllers
{
public class MarcasController : ApiController
{
ProdutoEao pEao = new ProdutoEao();
[AcceptVerbs("GET")]
public MarcaResponse obterMarcas(string token)
{
MarcaResponse ps = new MarcaResponse... |
using EWF.Util;
using EWF.Util.Page;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace EWF.IServices
{
public interface IIcejamService : IDependency
{
/// <summary>
/// 查询多站水温数据-未分页
/// add by Zhao
/// </summary>
/// <param... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TacticalMaddiAdminTool.ViewModels;
namespace TacticalMaddiAdminTool.Services
{
public class ItemsProvider
{
public ItemViewModel[] LoadItems()
{
var itemViewMod... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerManager : MonoBehaviour{
private InputState inputState;
private Walk walkBehavior;
private Animator animator;
private CollisionState collisionState;
private Duck duckBehavior;
private Rigidbody2... |
using System;
using System.Net;
using System.Net.Http;
using Microsoft.Identity.Client;
namespace MicrosoftGraphApplicationAuth
{
internal class HttpClientFactoryWithProxy: IMsalHttpClientFactory, IDisposable
{
private readonly HttpClient _httpClient;
public HttpClientFactoryWithProxy(string ... |
namespace HCL.Academy.Model
{
public class AcademyVideo
{
public string title { get; set; }
public string url { get; set; }
public string description { get; set; }
public string isLink { get; set; }
public string externalLink { get; set; }
}
} |
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace Publicon.API.Binders.BodyandRoute
{
public class BodyAndRouteBindingSource : BindingSource
{
public static readonly BindingSource BodyAndRoute = new BodyAndRouteBindingSource(
"BodyAndRoute",
"BodyAndRoute",
tru... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazoServerGridTestrApp9.Data
{
public class EmployeeService
{
public Task<Employee[]> GetEmployees()
{
return Task.FromResult(new Employee[] {
new Employee()... |
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 GestDep.Services;
namespace GestDep.GUI
{
public partial class PantallaDeInicio : Form
{
... |
using CustomerAgenda.Business.Interfaces;
using CustomerAgenda.Business.Models;
using System;
using System.Linq;
using System.Collections.Generic;
namespace CustomerAgenda.Business.Services
{
public class AddressService : IAddressService
{
private readonly IAddressRepository _addressRepository;
... |
using UnityEngine;
using System.Collections;
using System;
public class Character : Entity, ILevelable
{
public Character(string name, float speed)
{
Name = name;
CurrentHealth = 100;
Speed = speed;
}
public override bool DrawUI()
{
bool clicked = false;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using frameWork.view.viewInterface;
namespace frameWork.view.basemodel
{
class MessageCenter : IMessageCenter
{
public Object msg = null;
public String msgName = "";
public List<IObserver> observe... |
using System;
using System.Reflection;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
namespace Client
{
public class TileSetAddresser
{
private readonly Assembly _assembly = typeof(TileSetAddresser).Assembly;
public readonly Image<R... |
using UnityEngine;
using UnityEngine.EventSystems;
public class PointInteract : MonoBehaviour
{
[SerializeField] private GameObject infoBoard;
private void OnMouseDown()
{
//For Demo Only! Take out of "if" when build
if (!EventSystem.current.IsPointerOverGameObject())
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _02委托到匿名函数
{
public delegate string DelProStr(string name);
class Program
{
static void Main(string[] args)
{
string[] name = { "ABCfgh", "IJKimn", "OPQrst", "UVWyze" };
... |
public int FindComplement(int num) {
int number = 0;
string s = "";
while (num > 0) {
s = ((num % 2) ^ 1).ToString() + s;
num /= 2;
}
for (int i = s.Length - 1; i >= 0; i--)
number += (Convert.ToInt32(s[i]) - 48) * (int) Math.Pow(2, pow++);
}
return number;
} |
using System;
using System.Data.Entity;
using System.Linq;
namespace iTemplate.Web.Models
{
public interface IApplicationDbContext :IDisposable
{
IQueryable<T> Query<T>() where T : class;
void Add<T>(T entity) where T : class;
void Update<T>(T entity) where T : class;
void Remove<T>(T entity) wher... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Razor.Models;
namespace Razor.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
var OrderSummarys = new List<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NHiber.Tables
{
class Service
{
public int id { get; set; }
public int idAirport { get; set; }
public int idPlane { get; set; }
public DateTime dateStar... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Li... |
using Sbidu.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sbidu.ViewModels
{
public class HomeViewModel
{
public HomePoster HomePoster { get; set; }
public List<AuctionProduct> AuctionProducts { get; set; }
public Lis... |
namespace Factory.Library.Ingredients.Veggies
{
public class Onion :IVeggie
{
}
}
|
using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using RealEstate.BusinessObjects;
using RealEstate.DataAccess;
namespace RealEstate.BusinessLogic
{
public class HomeBL
{
#region ***** Init Methods *****
HomeDA objHome... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ExampleAPI.DataModel;
using ExampleAPI.DAL;
namespace ExampleAPI.Services
{
public class TaskRepositoryService : ITaskRepositoryService
{
private readonly IGenericRepository _genericRepository;
public T... |
using System;
using System.Collections.Generic;
using CursoCSharp.Fundamentos;
using CursoCSharp.EstruturasDeControle;
namespace CursoCSharp {
class Program {
static void Main(string[] args) {
var central = new CentralDeExercicios(new Dictionary<string, Action>() {
{"E... |
namespace E01_ClassChefInCSharp
{
using System;
public class Chef
{
private KitchenUtensils bowl;
public void Cook(Vegetable currentVegetable)
{
bowl = GetBowl();
currentVegetable = Cut(currentVegetable);
currentVegetable = Peel(cur... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LePapeo.Models
{
public class RegistradoViewModel
{
[ScaffoldColumn(false)]
public int id { get; set; }
[Display(Prompt = "Email del registrado", ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GOLRule {
private int inst1;
private int inst2;
private int inst3;
private int inst4;
private int[] instructions = new int[4];
// aliveNeighbours < inst0 >>> future dead
// inst0 <= aliveNeighbour... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Block : MonoBehaviour {
[SerializeField] AudioClip breakSound;
[SerializeField] GameObject blockSparklesVFX;
[SerializeField] float sparklesDestroy = 2.0f;
[SerializeField] Sprite[] hitSprites;
... |
using Newtonsoft.Json;
namespace CarWash.ClassLibrary.Models
{
/// <summary>
/// Storage queue email message.
/// </summary>
public class Email
{
/// <summary>
/// Gets or sets the recipient of the email.
/// </summary>
[JsonProperty("to")]
public string To ... |
using UnityEngine;
using System.Collections;
[System.Serializable]
public class HitCsv : CsvBase {
public bool interrupt;
public int damage;
public int[] buff;
public float[] buffTime;
}
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReflexConfigurationTest.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class finishTrigger : MonoBehaviour
{
private GameObject _gm;
private bool triggered = false;
private void Start()
{
_gm = GameObject.Find("_GM");
}
private void OnTriggerEnter(Collider other)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Delegatai
{
class Calculator
{
//private delegate double MyOperation(double x, double y);
// private Dictionary<string, MyOperation> operations = new Dictionary<string,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace GameShop.Models
{
public class GameShopContext : DbContext
{
public virtual DbSet<Publishers> Publishers { get; set; }
public virtual DbSet<GamesPubli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
namespace Shooter
{
class SaveLoad
{
public static void SaveData(object obj, string filename)
{
XmlSerializer sr = ne... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace problem6_1
{
class Program
{
static void Main(string[] args)
{
Random r = new Random();
MinMax m = new MinMax();
var a = r.Next(1, 5... |
using System;
using UnityEngine;
using System.Diagnostics;
using System.Reflection;
using System.Text;
namespace OzLib.Log
{
[SLua.CustomLuaClass]
public class LoggerHelper
{
public static LogLevel CurrentLogLevels = LogLevel.NONE | LogLevel.DEBUG | LogLevel.INFO | LogLevel.WARNING | LogLevel.ERROR... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WeaponModel {
public int Id { get; set; }//武器编号
public string Name { get; set; }//武器名字
public WeaponType Type { get; set; }//武器类型
public string Description { get; set; }
public int Atk { get; set; }//武器攻击力... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eIVOGo.Module.Base;
using eIVOGo.Helper;
using Model.DataEntity;
using Model.InvoiceManagement;
using Model.Locale;
using Model.Security.Membe... |
using System;
using System.IO;
using SqlFileizer.Data;
namespace SqlFileizer.Commands
{
public class GenerateSampleConfigCommand : ICommand
{
/// <summary>
/// The folder for our sample config files.
/// </summary>
private static string _sampleConfigFolder = "SampleConfigs";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
namespace Eyefinity.PracticeManagement.Controllers.Api
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Web.Http;
using System.Web.Mvc;
us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Accord.Neuro;
using Accord.Neuro.Networks;
using Accord.Neuro.Learning;
using Accord.Neuro.ActivationFunctions;
using Accord.Math;
using Accord.Statistics;
namespace DeepLearning.MachineLearning
{... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Лаба_10
{
class Collection : IEnumerator
{
List<Worker> elements = new List<Worker>();
int position = -1;
public void Add(params Worke... |
using System.Collections.Generic;
using WebApplication.Data.Infrastructure;
namespace WebApplication.Data.DataModels.Configurations
{
public class ConfigurationType
{
public int Id { get; set; }
public ConfigurationTypeEnum TypeName { get; set; }
public IList<ConfigurationItem> Configur... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
/// <summary>
/// A tower of pieces
/// </summary>
public class PieceTower {
private static readonly float baseY = 20f;
/// <summary>
/// The pieces.
/// </summary>
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Common;
#endregion
namespace DotNetNuke.Services.Log.EventLog
{
[... |
// -----------------------------------------------------------------------
// <copyright file="CSharpProxyCodeWriter.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </... |
using Microsoft.Practices.Prism.Events;
namespace Torshify.Radio.Framework.Events
{
public class AlbumRelatedCommandBarPayload
{
#region Constructors
public AlbumRelatedCommandBarPayload(string artistName, string albumName, ICommandBar commandBar)
{
ArtistName = artistName;... |
using Assets.blackwhite_side_scroller.Scripts;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RadioHitProjectile : Projectile
{
public LayerMask HitLayers;
public GameObject WeaponShootPrefab;
public GameObject BulletHitEnvironmentPrefab;
public f... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using Project.Extension;
namespace Project.Converter
{
class DoubleToPriceConverter : IValueConverter
{
public object Convert(objec... |
using System;
using System.Collections.Generic;
using Umbraco.Core.Media;
using Umbraco.Web.Mvc;
using Umbraco.Web.Trees;
using Umbraco.Web.WebApi;
using Umbraco.Core.Composing;
namespace Umbraco.Web
{
/// <summary>
/// Extension methods for the PluginTypemgr
/// </summary>
public static class TypeLo... |
using ScribblersPad.Controllers;
using ScribblersSharp;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
/// <summary>
/// Scribble.rs Pad triggers namespace
/// </summary>
namespace ScribblersPad.Triggers
{
/// <summary>
/// A classd that describes a brush size slider trigger script
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalProject
{
class Magazine : Book
{
public int IssueNumber { get; set; }
public Magazine(int IssueNumber, string Title, int PageCount, string MediaType) : base(Page... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades.Exceptions
{
public class ValidacionEntidadException: Exception
{
public ValidacionEntidadException(string mensaje): base(mensaje)
{
}
}
}
|
using Godot;
using System;
public class Selected : Node2D
{
public override void _Ready()
{
}
public override void _Process(float delta)
{
Godot.Camera cam = GetTree().GetRoot().GetCamera();
if (cam != null) {
var target = GetParent<PhysicalEntity>();
GetNode<Label>("Info").SetText(target.GetTargetting... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using CarRentalWeb.Domain;
using CarRentalWeb.ViewModels;
namespace CarRentalWeb
{
public static class DomainExtensions
{
public static Car ConvertToDomain(this InsertCarViewModel insertCarViewModel)
{
Car... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ReinforcementCalc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReinforcementCalc.Tests
{
[TestClass()]
public class BeamTests
{
[TestMethod()]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
namespace DoE.Quota.Web.Api
{
public static class Ide... |
using SFML.Graphics;
using SFML.Window;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LD30
{
class Item : GameObject
{
Sprite sprite;
public Vector2f Position
{
get
{
return sprite.Position;
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Microsoft.Maui.Controls;
namespace Contoso.XPlatform.Converters
{
public class FirstValidationErrorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInf... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DBStore.Models.VModels
{
public class OrderViewModel
{
public int Id { get; set; }
public int OrderId { get; set; }
public int Quantity { get; set; }
public DateTime OrderDate { get; set; }
publ... |
using UnityEngine;
using System.Collections;
public class scene2 : MonoBehaviour {
SimpleGameManager GM;
void Awake () {
GM = SimpleGameManager.Instance;
GM.OnStateChange += HandleOnStateChange;
Debug.Log("Current game state when Awakes: " + GM.gameState);
}
void Start () {
Debug.Log("Current game state when Start... |
using Business.Abstract;
using Business.Constants;
using Business.ValidationRules.FluentValidation;
using Core.Aspects.Autofac.Caching;
using Core.Aspects.Autofac.Validation;
using Core.Utilities.Results;
using DataAccess.Abstract;
using Entities.Concrete;
using Entities.DTOs;
using System;
using System.Collections.Ge... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.