text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ParticleManager : Singleton<ParticleManager>
{
public GameObject bloodParticle;
public void PlayBlood(Vector2 position)
{
Instantiate(bloodParticle, position, Quaternion.identity);
}
}
|
using NUnit.Framework;
namespace HomeWorkDoublyLinkedList.Test
{
public class DoublyLinkedListTest
{
[SetUp]
public void Setup()
{
}
[TestCase(new int[] { 1, 2, 3 }, 5, new int[] { 5, 1, 2, 3 })]
[TestCase(new int[] {}, 5, new int[] { 5 })]
[TestCase(ne... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using KartLib.Views;
using KartObjects;
using System.IO;
using FastReport;
using KartLib;
using Excel = Microsoft.Office.Interop.Excel;... |
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace SmartStocksImporter.Models
{
public class Children
{
[JsonPropertyName("name")]
public string name { get; set; }
[JsonPropertyName("children")]
public List<Children> children { get; ... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Text;
using Trades.src;
namespace Trades.src
{
class TradeMigrate
{
public static void Migrate()
{
MySqlConnection con = new MySqlConnection(TradesContext.GetMYSQLStringLink());
... |
using Discord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord.Audio;
namespace TestCommons.DiscordImpls {
public class MockGuild : IGuild {
public ulong? AFKChannelId {
get {
throw new NotImpleme... |
namespace Exercises.Models.Queries
{
using System.Linq;
using CodeFirstFromDatabase;
/// <summary>
/// Problem04 - Employees with Salary Over 50 000
/// </summary>
public class EmployeesWithSalaryOver50000 : Query<SoftuniContext>
{
public override string QueryResult(SoftuniContext ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PointInterface
{
class Program
{
//public int result;
static void Main(string[] args)
{
CenterPoint centerPoint = new CenterPoint(3, 0);
... |
using FBS.Domain.Core;
using System;
namespace FBS.Domain.Booking
{
public class RejectBookingCommand : ICommand
{
public Guid Id { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
namespace KartSystem
{
public interface IDCTDocumentEditView : IDocumentEditView
{
DCTDocument DCTDocument
{ get; set; }
IList<DCTDocGoodSpecRecord> DCTDocGoodSpecRecords
{... |
using System.Collections.Generic;
namespace PatternsCore.FrameWorkStyleFactory.AbstractFactory
{
public class ChicagoPizzaIngreadientsFactory:IPizzaIngredientsFactory
{
public IDough CreateDough()
{
return new ChicagoDough();
}
public ISauce CreateSauce()
{
... |
namespace SharpStore.Services.Contracts
{
public interface IService
{
void Process();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL.DLib;
public partial class Controls_LibCmsForm_FormData : System.Web.UI.Page
{
#region vars
public int FormID
{
get { return Request["FormID"] == "" ... |
using System;
using System.Text;
using System.Threading;
using System.Globalization;
public static class Utility
{
private static CultureInfo culture = new CultureInfo("ms-MY");
public static decimal GetValidDecimalInputAmt(string input)
{
bool valid = false;
string rawInput;
decima... |
using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;
using System.Xml.Linq;
namespace GeoSearch.Web
{
[ServiceContract(Namespace = "cisc.gmu.edu/OtherQueryFunctionsService")]
[Silverli... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TorrentDotNet.Util
{
public static class Formatter
{
public static string BytesToEnglish(long bytes)
{
// Took Algorithm From:
// https://tinyur... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class AbuseTicketCreate
{
public string type { get; set; }
public string source { get; set; }
public ... |
using System;
public class UnionFind {
public static void Main() {
var uft = new UnionFindTree(10);
Console.WriteLine(uft.is_same_set(1, 3));
uft.unite(1, 2);
Console.WriteLine(uft.is_same_set(1, 3));
uft.unite(2, 3);
Console.WriteLine(uft.is_same_set(1, 3));
}
}
class... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Business.Models;
namespace MooversCRM.Controllers
{
public class NewCaseController : BaseControllers.SecureBaseController
{
//
// GET: /NewCase/
public Action... |
namespace Backpressure
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
internal interface IBackpressureOperator
{
void Request(int count);
}
}
|
using System;
using Microsoft.Ajax.Utilities;
using WebApplication1.Helpers;
namespace WebApplication1.Models
{
public class Customer
{
#region private properties
#endregion
#region Public properties
public string CustomerID { get; set; }
public int RecordID { get; set; }
public s... |
using Properties.Core.Interfaces;
using Properties.Core.Objects;
namespace Properties.Infrastructure.Data.Mappers
{
public class PropertyDetailMapper : IMapToExisting<PropertyDetail, PropertyDetail>
{
public bool Map(PropertyDetail source, PropertyDetail target)
{
target.MarkClean(... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Media;
using CODE.Framework.Core.Utilities;
namespace CODE.Framework.Wpf.Documents
{
/// <summary>
/// This helper class provides various extension methods useful in converting HMTL to XA... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Data;
using PlanMGMT.Model;
using PlanMGMT.Module;
using System.Windows.Input;
using PlanMGMT.Utility;
namespace PlanMGMT.ViewModel
{
/// <su... |
using System;
using System.Runtime.Serialization;
namespace pjank.BossaAPI.Fixml
{
public class BizMessageRejectException : FixmlErrorMsgException
{
public new BizMessageRejectMsg Msg { get { return msg as BizMessageRejectMsg; } }
public BizMessageRejectException(string str, BizMessageRejectMsg msg) :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ET.Main
{
class ModuleTypeTreeNode : ModuleTreeNode
{
//对应模块的ShowName属性
public override string TreeNodeName { get; set; }
//对应模块的Key属性
public string ModuleKey { get; set; }
... |
using System;
using System.Drawing;
namespace StartApp
{
public enum STAAdOrigin {
_Top = 1,
_Bottom = 2
}
public enum STAAdType {
_FullScreen = 1,
_OfferWall = 2,
_Automatic = 3,
_AppWall = 4,
_Overlay = 5
}
public enum STAGender {
... |
using System.Collections.Generic;
using System.Net.Sockets;
using Phenix.Core.Message;
using Phenix.Core.Net;
using Phenix.Core.Security;
using Phenix.Services.Contract;
namespace Phenix.Services.Client.Library
{
internal class MessageProxy : IMessage
{
#region 属性
private IMessage _service;
priva... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
public class PlayerCtrl : MonoBehaviourPun
{
[SerializeField]
private Animator animator;
[SerializeField]
private float directionDampTime = .25f;
//private float speed = 0.0f;
private float h = 0.... |
using System;
using System.Collections.Generic;
using XH.Infrastructure.Domain;
using XH.Infrastructure.Domain.Models;
using XH.Infrastructure.Identity.MongoDb;
namespace XH.Domain.Security
{
public class User : IdentityUser, IFullAuditableEntity, IEntity, IAggregateRoot, IMayHaveTenant
{
public User(... |
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Ricky.Infrastructure.Core.DataTables
{
public class DataTableJsResult<T>
{
/// <summary>
/// Gets the Draw counter for DataTables.
/// </summary>
//[DataMember(Name = "draw... |
using System;
using System.Collections.Generic;
namespace DDMedi
{
internal static class TypeConstant
{
internal readonly static Type IGenericAsyncSupplierOutputType = typeof(IAsyncSupplier<,>);
internal readonly static Type IGenericAsyncSupplierType = typeof(IAsyncSupplier<>);
interna... |
using System;
using System.Linq;
using System.Text;
using System.Data;
using System.Reflection;
using System.Collections.Concurrent;
using System.Collections;
using System.Collections.Generic;
using Dapper;
using Dapper.Contrib.Extensions;
using System.Configuration;
using System.Threading.Tasks;
using System.Data.Ole... |
using System;
using System.IO;
public class GClass0
{
public Stream stream_0;
public GClass0(Stream stream_1)
{
this.stream_0 = stream_1;
}
public virtual int vmethod_0()
{
throw new NotImplementedException();
}
public virtual uint vmethod_1()
{
throw new NotImplementedException();... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OneWayDropDown : MonoBehaviour
{
[SerializeField]
BoxCollider2D box;
//TODO add a trigger to use instead to see if it is more consistent
private void OnCollisionStay2D(Collision2D collision)
{
if(co... |
using ChannelMonitor.Models;
using CHM_Site_V3_RedBox.Models;
using ModelChannelMonitor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CHM_Site_V3_RedBox.Controllers
{
public class SitesController : Controller
{
readonly Repository... |
using Microsoft.EntityFrameworkCore;
namespace ICE_API.models
{
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options)
: base(options)
{
}
public DbSet<Admin> Admins { get; set; }
public DbSet<Status> Statuses { get... |
using CalculaJurosWebAPI.Models;
using Microsoft.AspNetCore.Mvc;
namespace CalculaJurosWebAPI.Controllers
{
[Route("[controller]")]
[ApiController]
public class CalculaJurosController : ControllerBase
{
[HttpGet]
public CalculaJuros Get(string valorinicial, string meses)
{
... |
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class SafeEvent : Event
{
public const string NAME = "Safe";
public const string DESCRIPTION = "Triggered when you are no longer in danger";
public const string SAMPLE = null;
public SafeEvent(DateTim... |
using System;
using System.Windows.Input;
using Inventory.Common;
using Inventory.ViewModels;
using Linphone;
using Linphone.Model;
using Windows.Devices.Enumeration;
using Windows.Media.Devices;
namespace Inventory.Services
{
public class AudioParametersViewModel : ViewModelBase
{
public AudioParamet... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shield : MonoBehaviour
{
[SerializeField]
private Shader _shader;
private Material _mat;
[SerializeField]
private Texture _texture;
[SerializeField]
private Color _color;
[SerializeField]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Meshop.Framework.Model;
namespace Meshop.Framework.Services
{
/// <summary>
/// Front web page services
/// </summary>
public interface IFront
{
IEnumerable<MenuItem> Menu();
b... |
using BP12;
using DChild.Gameplay.Environment;
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Pathfinding
{
public class NavigationManager : SingletonBehaviour<NavigationManager>
{
[SerializeField]
private P... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class DestroyObject : MonoBehaviour
{
public void destroyobjects()
{
Destroy(this.gameObject);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class MultiDimensionalInt
{
public int[] intArray;
}
|
using HtmlAgilityPack;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using Syst... |
using System;
using System.Collections.Generic;
using System.Linq;
/*
* tags: sort, 3-way partition, index sort
* Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3]....
*/
namespace leetcode
{
public class Lc324_Wiggle_Sort_II
{
/*
* Time(nlogn), Space... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Forgot : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ults
{
namespace Windows.Forms
{
public class MainFormBase : System.Windows.Forms.Form
{
private static readonly string _myEntry... |
using Projectmanagement.Models;
using System;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
namespace Projectmanagement.Controllers
{
[Authorize]
public class EmployeesController : Controller
{
private FirmaEntities db = new FirmaEntities();
// GET: ... |
using UnityEngine;
/// <summary>
/// Simple flying camera the behaves much like the editor camera.
/// </summary>
public class FlyingCamera : MonoBehaviour{
[SerializeField]
private float speed = 60f;
private Vector3 moveVector = Vector3.zero;
[SerializeField]
private float lookSpeed = 8f;
[S... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Atc.XUnit.Internal;
namespace Atc.XUnit
{
/// <summary>
/// CodeComplianceNamingHelper.
/// </summary>
public static class CodeComplianceHelper
{
/// <summary>
/// Asserts the exported types with wrong d... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class MechStationAndAttitudeControl : MonoBehaviour {
//The square the of max magnitude the velocity should be
private float maxSpeed;
private float maxSpeedSqr;
//The max accelration
private float accelerationRate;
private f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BallSpawnerTesting : MonoBehaviour
{
int numBalls=0;
public GameObject ballPrefab;
public bool ON;
public int totballs;
public Rigidbody2D[] ballsRigid;
// Start is called before the first frame update
... |
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using JobKey = System.Tuple<int, string>;
namespace WorldDominationCrawler
{
internal class ReportData
{
private CrawlJob _RootJob;
private Dictionary<JobKey, CrawlJob> _Jobs;
public ReportData(CrawlJob rootJob... |
using UnityEngine;
using System.Collections;
using Action;
public class Move : MonoBehaviour {
public GameObject target;
// Use this for initialization
void Start ()
{
ActionManager.Instance.Add(
this.gameObject,
ActionMove.Create(
this.target,
2f,
Vector3.zero,
new Vector3(10f, 0f, 0f)
... |
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
namespace Projeto.Application.Commands.Turmas
{
public class DeleteTurmaCommand : IRequest
{
public string Id { get; set; }
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Media3D;
using XamlCSS.Dom;
namespace XamlCSS.WPF.Dom
{
public class TreeNodeProvider : TreeNodeProviderBase<DependencyObject, Style, Dependenc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using AMS.Models;
using AMS.Models.ViewModels;
namespace AMS.Controllers
{
public class FeesController : C... |
/* Program Name: Movies Library System
*
* Author: Kazembe Rodrick
*
* Author Description: Freelancer software/web developer & Technical writter. Has over 7 years experience developing software
* in Languages such as VB 6.0, C#.Net,Java, PHP and JavaScript & HTML. Services offered include cu... |
using System;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
using Moq;
using NUnit.Framework;
using SignInCheckIn.Services;
namespace SignInCheckIn.Tests.Services
{
public class KioskServiceTest
{
private Mock<IKioskRepository> _kioskReposit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using IRAP.Global;
namespace IRAP.Entities.MES
{
public class BatchProductInfo
{
public BatchProductInfo()
{
BatchStartDate = DateTime.Now;
}
/... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace TimeTableApi.Core.Entities
{
public class User : Generic
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
... |
using ApiTemplate.Core.Entities.Weathers;
using ApiTemplate.Data.Repositories.Base;
namespace ApiTemplate.Data.Repositories.Weathers
{
public interface IWeatherRepository :IRepository<Weather>
{
}
} |
using Effigy.Entity.DBContext;
using System;
using System.Data;
using System.Data.SqlClient;
namespace Effigy.DataObject.UnitOfWork
{
public class CLSDALPayment : ClsBaseDAL
{
private GenericRepository<tblMstUserDetail> _userDetail = null;
public CLSDALPayment()
{
_userDet... |
/*
* @Author: Atilla Tanrikulu
* @Date: 2018-04-16 10:10:45
* @Last Modified by: Atilla Tanrikulu
* @Last Modified time: 2018-04-16 10:10:45
*/
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace JavaScriptClient
{
public class Startup
{
public voi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
using OfficeOpenXml;
namespace... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Alabo.Domains.Entities;
using Alabo.Domains.Repositories.Mongo.Extension;
using Alabo.Industry.Shop.Orders.Domain.Enums;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attribut... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using ApartmentApps.Api.BindingModels;
using ApartmentApps.Api.Modules;
using ApartmentApps.Api... |
using Alabo.Framework.Core.Reflections.Interfaces;
using Alabo.Helpers;
using Alabo.Industry.Cms.Articles.Domain.Services;
namespace Alabo.Industry.Cms.Articles
{
public class ArticleDefaultInit : IDefaultInit
{
public bool IsTenant => false;
public void Init()
{
//频道数据初始化... |
using ISE.Framework.Common.CommonBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISE.SM.Common.DTO
{
public partial class RoleToRoleConstraintDto:BaseDto
{
public RoleToRoleConstraintDto()
{
this.PrimaryKeyName = "RrConstraintId... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BaseAttackAudio
{
public AudioClip SE;
public int frame;
}
|
using System;
using System.Linq;
namespace Calculator.Logic.Operations
{
public abstract class BasicOperation
{
public string Tag { get; set; }
public string StringToFile { get; set; }
protected Operation OperationClass;
public BasicOperation(IOperation operationClass)
... |
using EBS.Query.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Query
{
public interface IAdjustStorePriceQuery
{
IEnumerable<AdjustStorePriceDto> GetPageList(Pager page, SearchAdjustStorePrice condition);
IE... |
using gView.Framework.Data;
using gView.Framework.Symbology;
using gView.Framework.Symbology.UI;
using gView.Win.Carto.Rendering.UI.Framework.Carto.Rendering.Extensions;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace gView.Framework.Carto.Rendering.UI
{
public partial class PropertyForm_... |
namespace WorkScheduleManagement.Application.Models.Requests
{
public class ReqeustTableModel
{
public string Id { get; set; }
public string Creator { get; set; }
public string RequestType { get; set; }
public string RequestStatus { get; set; }
public strin... |
// <copyright file="ObjectMatcher.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2020 Firoozeh Technology LTD. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licens... |
using System.Threading;
using System.Threading.Tasks;
namespace DDMedi
{
public interface IDecorator { }
public interface IAsyncDecorator<TInputs, TOutput> : IDecorator
where TInputs : IInputs<TOutput>
{
Task<TOutput> ProcessAsync(IAsyncDecoratorContext<TInputs, TOutput> context, Cancellat... |
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.Data.SqlClient;
namespace Otel_1
{
public partial class new_klient : Form
{
... |
using System.Collections.Generic;
namespace WebShop.API.Models
{
public class CategoryDto
{
public int Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public int SortOrder { get; set; }
public int? ParentId { get; set; }
... |
namespace Cs_Notas.Infra.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Complemento2 : DbMigration
{
public override void Up()
{
AddColumn("dbo.Complementos", "Enviado", c => c.String(maxLength: 1, unicode: false));
}
... |
using FluentValidation;
using MediatR;
using Projeto.Application.Commands.Alunos;
using Projeto.Application.Interfaces;
using Projeto.Domain.DTOs;
using Projeto.Domain.Interfaces.Caching;
using Projeto.Domain.Interfaces.IServices;
using Projeto.Domain.Models;
using Projeto.Domain.Validations;
using System;
using Syste... |
using capacited_facility_location_problem.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace capacited_facility_location_problem.optimizer
{
class ConstraintsNames
{
internal static string CustomerIsSuppliedConstraintNam... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Tndm_ArtShop.Models;
namespace Tndm_ArtShop.Controllers
{
public class HomeController : Controller
{
private readonly ProdavnicaContext db;
public HomeController(ProdavnicaConte... |
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 System;
using System.Collections.Generic;
using System.Linq;
namespace FeriaVirtual.Infrastructure.SeedWork.Events
{
public class DomainEventSubscribersInformation
{
private readonly Dictionary<Type, DomainEventSubscriberInformation> _information;
public DomainEventSubscribersInformati... |
using System;
using System.Collections.Generic;
using DFC.ServiceTaxonomy.GraphSync.Extensions;
using DFC.ServiceTaxonomy.GraphSync.Interfaces;
using DFC.ServiceTaxonomy.GraphSync.Models;
namespace DFC.ServiceTaxonomy.GraphSync.CosmosDb.Queries
{
public class CosmosDbMatchSynonymsQuery : IQuery<IRecord>
{
... |
using CC.Web.Dao.Core;
using CC.Web.Model;
using CC.Web.Model.Core;
using CC.Web.Model.System;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CC.Web.Service.Core
{
public class BaseService<T> : IBaseService<T> where T : class, IEntity
{
public IBaseDao<T> CurDao { get; se... |
using UnityEngine;
using System.Collections;
public class RunningPlayer : MonoBehaviour {
[SerializeField] private GameObject arm;
private bool armDropped = false;
private GameObject bear;
void OnCollisionEnter (Collision collision)
{
if (!armDropped && collision.collider.name == "Bear")
GameManager.ins... |
using System;
using System.Text;
class CodePage437
{
public static void Main(string[] args)
{
// Set the window size and title
Console.Title = "Code Page windows-1251: MS-DOS ASCII Characters";
Console.Write("Decimal".PadRight(10));
Console.Write("ASCII".PadRight(10));
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PausePopup : MonoBehaviour
{
private void OnEnable()
{
Time.timeScale = 0f;
}
private void OnDisable()
{
Time.timeScale = 1.0f;
}
public void Men... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class timescaleScript : MonoBehaviour
{
public float Timescale = 1f;
void Start()
{
Time.timeScale = Timescale;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FiiiCoin.Models
{
public class ListLockUnspent : BaseModel
{
private string txid { get; set; }
public string TxId
{
get { return txid; }
... |
/*
* Created by SharpDevelop.
* User: admin
* Date: 8/8/2016
* Time: 10:03 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Xml.Serialization;
using System.IO;
using System.Windows.Forms;
namespace Robot
{
/// <summary>
/// Description of Ing... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FPSCounter : MonoBehaviour {
public Player player;
Text text;
void Start () {
text = GetComponent<Text>();
}
void FixedUpdate () {
//text.text = "IVP : " + player.itemGrabInfoRight.itemVelocit... |
using DemoS3.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DemoS3.Controllers
{
public class ClienteController : Controller
{
public static List<Cliente> empList = new List<Cliente>
{
new Cliente
... |
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using SnakeMultiplayer.Models;
namespace SnakeMultiplayer.Controllers;
public class HomeController : Controller
{
public IActionResult Index() => View();
[HttpPost]
public IActionResult Error(string errorMessage =
"An error has occured.... |
namespace WarMachines.Machines
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WarMachines.Interfaces;
public class Tank : Machine, ITank
{
public bool DefenseMode
{
get { return d... |
using System;
using System.Drawing;
using CoreFoundation;
using IdeasLibrary;
using UIKit;
using Foundation;
namespace Playground.iOS
{
//[Register("UniversalView")]
[Register("IdeaPagerViewController")]
public class IdeaPagerViewController : UIViewController
{
private UIPageViewController pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebQLKhoaHoc.Models
{
public class topicChartViewModel
{
public List<object> Headers {get;set;}
public List<object> Rows { get; set; }
public topicChartViewModel()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.