text stringlengths 13 6.01M |
|---|
using CORE2;
using Accounts.Service.Contract.DTOs;
namespace Accounts.Service.Contract.Queries
{
public class GetAllGroupSmallDetailDTOQuery : Query<ListGroupSmallDetailDTO>
{
public GetAllGroupSmallDetailDTOQuery(BizflyIdentity identity)
:base(identity)
{
}
}
}
|
namespace Voronov.Nsudotnet.BuildingCompanyIS.Logic.DbInterfaces.DataInterfaces
{
interface IBuildingResource
{
string Name { get; }
int? Count { get; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class SubjectButton : MonoBehaviour
{
public string Name;
public void OnClick()
{
GameSettings.Instance.SetSubjectName(Name);
}
}
|
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CapaNegocio.Mesas
{
public class MesaLogica
{
public Control ListaPersona(ListBox lista)
{
for (int i = 1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace Simon.Pattern.Mediator
{
public abstract class ChatroomBase
{
public abstract void Register(Participant participant);
public abstract void Send(string from, string to, stri... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class UIRegister : MonoBehaviour {
public Image m_LadyTickImage;
public Image m_GentlemenTickImage;
public Text m_InputText;
int m_Sex;
public GameObject m_AlertObject;
// Use this for initialization
void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment_Part_A
{
class Course
{
public string Title { set; get; }
public string Stream { set; get; }
public string Type { set; get; }
public ... |
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
namespace TaskForce.Network.Core
{
/// <summary>
/// Helper class to forward all required objects to the listen thread
/// </summary>
internal class ListenParameters
{
/// <summary>
/// Constructor
/// </summary>
... |
using RestSharp.Deserializers;
namespace Jira.NET.Models
{
public class JiraUserGroup : JiraObject
{
[DeserializeAs(Name = "name")]
public string Name { get; set; }
[DeserializeAs(Name = "users")]
public JiraExpandedObject<JiraUser> Users { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
public class Spawn : MonoBehaviour {
public GameObject enemy;
// Use this for initialization
void Start () {
InvokeRepeating ("Spawner", 3f, 3f);
}
void Spawner ()
{
// Create an instance of the enemy prefab at the randomly selected spawn point's position and ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chpoi.SuitUp.Entity
{
public class ShoppingCartItem
{
public string seller_id { get; set; }
public string manufacturer_id { get; set; }
public string suit_id { ... |
using System.Collections.Generic;
namespace Microsoft.DataStudio.Services.Data.Models.Solutions
{
internal class NativeSolutionDetailsProperties
{
public NativeSolutionDetailsProperties()
{
History = new List<SolutionDetailsHistory>();
Diagram = new SolutionDiagram();
... |
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 DS1.Mantenimientos.CedulaMantenimiento
{
public partial class PrevisualizarCedula : Form
... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_RigidbodyConstraints2D : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.RigidbodyConstraints2D");
LuaObject.addMember(l, 0, "None");
LuaObject.addMember(l, 1, "FreezePositionX");
LuaObject.addMem... |
using System.Data.Entity;
using WinCompetitionsParsing.DAL.Domain;
namespace WinCompetitionsParsing.DAL
{
public class MakeUpContext: DbContext
{
public MakeUpContext() : base("name=DBConnection") { }
public DbSet<Product> Products { get; set; }
public DbSet<Subcategory> Subcategories ... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using AspNetCore.Identity.MongoDB;
using AspNetCore.MongoDB;
using Sample.Models;
using Microsoft.AspNetCore.Identity;
using AspNetCore.MongoDB.JWTIdentity;
... |
using System;
using System.Collections.Generic;
public sealed class LuaWriterApdater : WriterAdapter
{
public string rootName;
public bool local;
private LuaWriter writer;
private Stack<bool> arrayStates = new Stack<bool>();
public LuaWriterApdater(LuaWriter w, string rn = "Root", bool l = false)
{
this.wr... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SQLiteSQLExceptionConverterTest.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using UniformShop.Models;
using UniformShop.Repository;
namespace UniformShop.Controllers
{
[Route("api/category")]
[ApiController]
public class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace InvoicingWebApp.Models
{
public class InvoiceViewModel
{
public IEnumerable<Invoice> Invoices { get; set; }
public StaleStatus Status { get; set; }
}
}
|
using Dawnfall.Helper;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Dawnfall.Helper
{
public static class MeshUtils
{
}
} |
using Microsoft.VisualBasic;
using System;
using System.Drawing;
using TNBase.Objects;
using TNBase.DataStorage;
using Microsoft.Extensions.DependencyInjection;
using System.Windows.Forms;
namespace TNBase
{
public partial class FormStopSending
{
private NLog.Logger log = NLog.LogManager.GetCurrentClas... |
using System.Collections.Generic;
using System;
namespace Contoso.Common.Configuration.ExpressionDescriptors
{
public class CollectionConstantOperatorDescriptor : OperatorDescriptorBase
{
public string ElementType { get; set; }
public ICollection<object> ConstantValues { get; set; }
}
} |
namespace testcs {
#region CDoclet generated code
/**
* <summary>
* Generated by CDoclet from test.TestOverrideClassBase. Do not edit.
* </summary>
*/
public class TestOverrideClassBaseDto<T> : testcs.TestOverrideInterface<T> {
private T test;
public virtual T Test { get { return this.test; } set { this... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace XGhms.Web.Teacher.Message
{
public partial class MessageInfo :Common.TerPageBase
{
BLL.user_message umsgBll = new BLL.user_message();
... |
using System;
using System.Linq;
namespace ZiZhuJY.Common.Extensions
{
public static class StringExtensions
{
public static string TrimStart(this string source, string trimString, StringComparison comp = StringComparison.InvariantCultureIgnoreCase)
{
if (source.StartsWith(trimStrin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using ServerKinect.Shape;
namespace ServerKinect.DataSource
{
public class DepthDataFrameRepository
{
private IntSize frameSize;
public DepthDataFrameRepository(IntSize frameSiz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace OOP4
{
public interface IMechanic
{
event Action<string> ConveyerRepaired;
int TimeOfRepairing { get; }
string Message { get; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour
{
//=========================| Variables |=======================================
const float speed = 2000;
const float jumpForce = 11;
//const float sprintMultiplier = 2.0f;
V... |
namespace diyetisyenproje.Screens
{
public class RaporHastaBilgileri
{
public string Tc { get; set; }
public string Ad { get; set; }
public string Soyad { get; set; }
public string Telefon { get; set; }
public string Sikayet { get; set; }
public string Diyet { ge... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class WalkingWithArrows : MonoBehaviour {
CrossPlatformInputManager.VirtualAxis horizontal;
CrossPlatformInputManager.VirtualAxis vertical;
// Use this for initialization
void ... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using liteCMS.Web.Controller;
using liteCMS.Entity.Ventas;... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
namespace SystemXML_Example
{
public parti... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ServersList.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Powerup : MonoBehaviour {
[SerializeField]
private float _speed = 5.0f;
[SerializeField]
private int _powerupID; // 0 = tripleshot, 1= Speed boost, 2 = shields
// Use this for initialization
priv... |
using UnityEngine;
using System.Collections;
public class SplashEffect : MonoBehaviour {
// Use this for initialization
public GameObject splash;
RagdollController yes;
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider other){
if (other.tag == "Pla... |
using Google.Cloud.Translation.V2;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Babel.Controllers
{
public class Trans
{
public string Text { get; set; }
public string Code { get; set; }
}
p... |
using System;
using System.Collections.Generic;
using Android.Graphics;
using Java.IO;
using Java.Lang;
using Java.Net;
namespace App5
{
internal class ScreenshotService
{
private const string UpLoadServerUri = "http://37.18.74.149/test/home/test"; // "http://api.vegate.net/file";
private List... |
using System;
using SQLite;
namespace Practical_Assignment
{
public class objProjectData
{
public objProjectData()
{
}
/// <summary>
/// An object containing detailed information about the task
/// </summary>
/// <param name="pk">Must match the project task PK</param>
/// <param name="title">Project... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Points : MonoBehaviour
{
public int PointsInt;
public Text PointsText;
public GameObject Bullet;
public GameObject cube;
void Start()
{
PointsInt = 0;
}
void OnTriggerEnter()
{
if (Bul... |
using System;
using System.Collections.Generic;
namespace Zhouli.DbEntity.Models
{
public partial class BlogRelated
{
public int BlogRelatedId { get; set; }
public int RelatedArticleId { get; set; }
public int RelatedLableId { get; set; }
}
}
|
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ApplicationVersionTracking.Models;
using ApplicationVersionTracking.Data;
namespace ApplicationVersionTracking.ViewComponents
{
public class AppList : ViewC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ERP_Palmeiras_RH.Models;
using ERP_Palmeiras_RH.Models.Facade;
using ERP_Palmeiras_RH.Core;
namespace ERP_Palmeiras_RH.Controllers
{
[HandleERPException]
public class PagamentoController : BaseCon... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
// ReSharper disable CheckNamespace
namespace DotNetNuke.Entities.Content.Workflow
// ReSharper enable CheckNamespace
{
[Obsolete("Depr... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace bookstore.ViewModels
{
public class AddressesViewModel : IValidatableObject {
[UIHint("Address")]
public AddressViewModel BillingAddress { get; set; }
public IEnumerable<ValidationResult> Validate(Val... |
using AutoDataReader.Repositories;
using AutoDataReader.Repositories.Contracts;
using AutoDataReader.Service;
using AutoDataReader.Service.Contracts;
using Microsoft.Extensions.DependencyInjection;
using AutoDataReader.Context;
using Microsoft.EntityFrameworkCore;
using AutoDataReader.Helpers;
namespace AutoDataReade... |
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace C1ILDGen
{
public class CConf
{
#region Static Methods
/// <summary>
/// Gets a string from the configuration file.
/// </su... |
using System.Data.Entity.ModelConfiguration;
using Web.Models;
namespace Web.Data
{
public class CourseTemplateConfiguration : EntityTypeConfiguration<CourseTemplate>
{
public CourseTemplateConfiguration()
{
//Property(c=>c.)
//modelBuilder.Entity<Course>().HasMany(e =>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SmartMissile : MonoBehaviour
{
public float start_velocity;
public float attenuation;
public float acceleration;
public float y_range;
public float anim_range;
public float start_acceleration;
publ... |
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.IO;
using System.Security.Cryptography;
namespace Crypt
{
public partial ... |
using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using DataAggregator.Conecctor;
using System.Threading;
namespace DataAggregator.Data
{
class Aggregator
{
private readonly Responder _responder;
private readonly IPFS_EXCHANGE.Requestor _dataRequestor;
private readonly IP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using Entidades;
namespace datos
{
public class productoDAL
{
#region "Variables (Clases) de conexión"
private SqlCommand ComandoSQL;
private SqlDataAda... |
using System;
using System.Threading;
using log4net;
using Plus.Database.Interfaces;
namespace Plus.Core
{
public class ServerStatusUpdater : IDisposable
{
private static readonly ILog Log = LogManager.GetLogger(typeof(ServerStatusUpdater));
private const int UpdateInSeconds = 30;
... |
using System;
using System.Collections.Generic;
namespace OdmNet.Domains
{
public partial class Products
{
public Products()
{
OrderDetails = new HashSet<OrderDetails>();
}
public int Id { get; set; }
public string ProductName { get; set; }
public d... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Livraria.Models
{
public class Pedidos
{
[Display(Name = "Pedido Nº")]
public int Id { get; set; }
[Required(ErrorM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ComputerShop_withAuth.DTO
{
public class ComputerDTO
{
public int? CpuId { get; set; }
public int? VgaId { get; set; }
public int? MemoryId { get; set; }
public int? Mothe... |
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 SSL
{
public partial class Joueur : Form
{
//autoscale
public float ne... |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Hammock;
using System.Runtime.Serial... |
using System;
using System.IO;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.PixelFormats;
using static MigraDocCore.DocumentObjectModel.MigraDoc.DocumentObjectModel.Shapes.ImageSource;
namespace BookConverter.Custom
{
class CoreImageSourceImpl : IImageSource
{
re... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EstoEsLoQueHaceQueDispare : MonoBehaviour {
public int Bullets,puntaje;
public GameObject BulletSprite;
public Transform BulletSpwan;
public int Naves;
private delegate void Action();
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("MobileHitBox")]
public class MobileHitBox : MonoBehaviour
{
public MobileHitBox(IntPtr address) : this(address, "MobileHitBox")
{
}
public MobileHitBox(IntPtr address, string className) : base(... |
using BlueSportApp.Models;
using BlueSportApp.ModelsDTO;
using BlueSportApp.Services.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlueSportApp.Services.Category
{
public class CategoryService : ICategoryService
{
private string _pathAP... |
namespace ConsoleApp.Base
{
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using static Microsoft.AspNetCore.Http.StatusCodes;
public class ComponentControllerBase : ControllerBase
{
protected IActionResult InternalActionResult([ActionResultStatusCode] int h... |
using System;
namespace subtitle_finder_core_engine
{
class Program
{
static void Main(string[] args)
{
SubtitlesEngineTools.SearchVocabularyInSubtitles(new string[] {args[1]}, args[0]);
}
}
}
|
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 DAL;
using DevExpress.XtraReports.UI;
using BUS;
using ControlLocalizer;
using DevExpress.XtraEdito... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Controller : MonoBehaviour {
public Text gameName;
public Image logo;
public GameObject play;
public Text highscore;
public GameObject heart;
public int score;
public GameObject sound;
// Use t... |
using SDD.Events;
using UnityEngine;
public abstract class Enemy : SimpleGameStateObserver,IScore {
protected Rigidbody m_Rigidbody;
protected Transform m_Transform;
[SerializeField] private int m_NbLives;
[Header("Movement")]
[SerializeField] private float m_MaxTranslationSpeed;
[SerializeField] private fl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication12
{
class Program
{
public static void Main(string[] args)
{
string input;
Console.WriteLine("Insert a number:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Paint.Model.Models
{
public class MixRoom
{
public long MixRoomId { get; set; }
public string PaintName { get; set; }
public string PaintCode { get; set; }
... |
using System.Collections.Generic;
using System.Linq;
using CloneDeploy_Entities;
namespace CloneDeploy_DataModel
{
public class ComputerRepository : GenericRepository<ComputerEntity>
{
private readonly CloneDeployDbContext _context;
public ComputerRepository(CloneDeployDbContext context)
... |
using System;
using UnityEngine;
using UnityEngine.Audio;
using UnityEngine.SceneManagement;
public class SceneManagerScript : MonoBehaviour
{
public GameObject optionMenuUI;
public GameObject mainMenuUI;
public AudioMixer audioMixer;
public AudioSource audio;
public AudioClip intro;
private... |
using Deployer2._0.Models;
using Deployer2._0.Models.PowerCLIHelper;
using Deployer2._0.Resources.APIResources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace Deployer2._0.Controllers
{
... |
using CapstoneTravelApp.DatabaseTables;
using CapstoneTravelApp.TransportationFolder;
using SQLite;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CapstoneTravelApp
{
[XamlCompilation(XamlCompilationOptions.... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine.EventSystems;
// Use Polymorphism for item type
[System.Serializable]
public abstract class Item : ITooltip, IDraggable
{
public int id;
public string name;
public string description;
public ... |
namespace OPAM.Common
{
/// <summary>
/// This is the Class to hold all the Enum Values
/// </summary>
public static class Enum
{
/// <summary>
/// This Contains all the Pages in the Application
/// </summary>
public enum PAGE
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using System.Drawing.Imaging;
using Client.UI.Base.Enums;
using Client.UI.Base.Render;
using Client.UI.Base.Utils;
namespace Client.UI.Base.Controls
{
public sealed ... |
using System.ComponentModel.Composition;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Prism.ViewModel;
using Torshify.Radio.EchoNest.Views.Similar.Tabs;
using Torshify.Radio.Framework;
namespace Torshify.Radio.EchoNest.Views.Similar
{
[Export(typeof(MainStationViewModel))]
[PartCreatio... |
using Leap;
using System;
namespace FinalYearProject
{
public class CustomHandler : IDisposable
{
public CustomListener Listener { get; set; }
private readonly Controller _myController;
public CustomHandler()
{
try
{
Listener = new Cust... |
using System;
using Plugin.HttpTransferTasks;
namespace Sample
{
public abstract class ViewModel : AbstractNotifyPropertyChanged
{
}
}
|
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.Collections.Generic;
public static class BetterDefinesUtils
{
public const string DEBUG_PROFILER = "DEBUG_PROFILER";
public const string BANSHU = "BANSHU";
public static void AddProfiler()
{
BetterDefinesUtils.Toggle... |
namespace loggerApp.Queue
{
public interface IQueueingData
{
string Name { get; set; }
}
}
|
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TestProject.Models.Movies;
using TestProject.Models.Ratings;
namespace TestProject
{
public class MoviesContext : DbContext
{
public MoviesContext(DbC... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class StageBase : MonoBehaviour
{
public GameObject akariObject;
protected GameObject akari = null;
public GameObject speechWindowLeft;
public GameObject speec... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Chess.Pieces
{
public class Rook : Piece
{
public Rook(Color color, int x, int y) : base(color, x, y)
{
}
protected override IEnumerable<(int X, int Y)> GetPossibleMovements(Board board)
... |
using System;
using System.Web;
using System.Web.Mvc;
using ZiZhuJY.Web.UI.Utility;
using ZiZhuJY.Common.Extensions;
namespace ZiZhuJY.Web.UI.Attributes
{
public class CompressContentAttribute : ActionFilterAttribute
{
public override void OnActionExecuted(ActionExecutedContext filterContext)
... |
namespace CodeReuse.VirtualMachineExample
{
public class SnapshotCreator<T> where T: IResource
{
public Snapshot<T> CreateSnapshot(T resource)
{
return new Snapshot<T>(resource);
}
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class GuiMessageManager : MonoBehaviour
{
public TextMeshProUGUI text;
public static GuiMessageManager Instance = null;
bool isParsingMessages = false;
List<GuiMessage> guiMessages = new L... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace QuestionPaperGenerator.Models
{
[Table("TemplateDetails")]
public class Variable
{
public int Id { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 2
namespace ReverseString
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter some string: ");
string enterStr = Console.... |
using System;
using System.Diagnostics;
public class CompareArithmeticOperationsPrimitiveTypes
{
static void Main()
{
Stopwatch stopWatch = new Stopwatch();
int integer = 1;
long longInt = 1;
float floatingPoint = 1.0f;
double doubleFloatingPoint = 1.0d;
decimal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using UnityEngine;
using System.Collections;
public class Sprayable : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D other)
{
Spray spr = other.gameObject.GetComponent<Spray>();
if(spr != null)
{
spr.activate = true;
}
}
void OnTriggerExit2D(Collider2D other)
{
Spray spr = other.gameObject.GetCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodingTingz
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Insert a feeling");
string Feeling = Convert.ToString(Consol... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Linq;
using Microsoft.Extensions.Logging;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShellContext
{
/// <summary>
/// Provi... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank_HomeCode
{
public class ViralAdvertsing
{
public void GetCumulativeLikeCount()
{
//number of days
int n = Convert.ToInt32(Console.ReadLine());
var totalLikes = 0d;
... |
using System;
namespace Workout.Models.Workout
{
/// <summary>
/// Workout data class.
/// </summary>
public class WorkoutData
{
#region properties
/// <summary>
/// Start time.
/// </summary>
public DateTime StartTime
{
get; set;
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class MeasurementAverageAngles : Measurement
{
private List<float> angles = new List<float> ();
public override float Evaluate(Representation representation)
{
RepresentationMesh repre = representation as RepresentationMesh;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project_09
{
/// <summary>
/// The default class built for form apps
/// </summary>
static class Program
{
/// <summary>
/// The main entry point f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerPiece : MonoBehaviour {
public bool hasBeenPlayed = false;
public void playPiece() {
//If the player has selected a grid area
//Animate the piece into position
hasBeenPlayed = true;
... |
namespace E25_ExtractTextFromHTML
{
using System;
using System.IO;
using System.Text.RegularExpressions;
public class ExtractTextFromHTML
{
public static void Main(string[] args)
{
// Write a program that extracts from given HTML file its
// title (if avail... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.