text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class controller : MonoBehaviour {
public float speed = 6.0f;
public float jumpSpeed = 8.0f;
public float gravity = 20.0f;
// Use this for initialization
private Vector3 moveDirection = Vector3.zero;
void Start () {
}
// Update is called once per fram... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : Person {
public Camera firstPerson;
public Camera overhead;
GameObject result;
void showOverhead(){
firstPerson.enabled = false;
overhead.enabled = true;
}
... |
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Timers;
namespace ZebraUDP
{
public class ZebraPrinter : IPrinter
{
private string IP { get; set; }
private int Port { get; set; }
private PrinterState Stat... |
namespace CapaAplicacion
{
using CapaDominio;
using Common;
using System;
internal class CA_Update : CD_Requerimientos, ICube
{
private int x { get; set; }
private int y { get; set; }
private int z { get; set; }
private int w { get; set; }
private int dimen... |
using System.Windows.Controls;
namespace Lite
{
/// <summary>
/// The Footer page
/// </summary>
public partial class LitePrintA4Template1FooterPageView : UserControl
{
/// <summary>
/// The default constructor
/// </summary>
public LitePrintA4Template1FooterPageView()
{
Initialize... |
using Microsoft.Xna.Framework;
using ProjectBueno.Engine;
using ProjectBueno.Game.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectBueno.Game.Spells
{
class ProjectileStream : Projectile
{
public ProjectileStream(Spell s... |
using Godot;
using System;
[Serializable]
public class VehicleWheelData
{
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSG东莞路测客户端
{
class DiscreteScanInfo
{
//设备ID
public string DeviceID { get; set; }
public double FreqStart { get; set; }
public double FreqStop { get; se... |
using System.Collections.Generic;
using System;
namespace HTBAntColonyTSP
{
public class UpdateEventArgs : EventArgs
{
private readonly int m_CurrentIteration;
private readonly int m_SuccessfulIterations;
private readonly int m_Failures;
private readonly double m_CurrentBestValue;
private readonly double ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Network : MonoBehaviour
{
[SerializeField] Node node;
public GameObject nodePrefab;
[SerializeField] public static int layers = 5;
[SerializeField] public static int nodesPerL... |
using System;
namespace BlazorShared.Models.Client
{
public class DeleteClientResponse : BaseResponse
{
public DeleteClientResponse(Guid correlationId) : base(correlationId)
{
}
public DeleteClientResponse()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeepTeamAutotests.Model
{
public class Candidate
{
public string CanVacancy { get; set; }
public string CanStatus { get; set; }
public string CanLastName { get;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class responder : MonoBehaviour{
private int idTema;
public Text pergunta;
public Text respostaA;
public Text respostaB;
public Text respostaC;
public Text respostaD;
public Text... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterSelectionControl : MonoBehaviour
{
public Category category;
public enum Category{
PROART,
PAINTING,//3dpaint
DESIGN,//cad3d
ARTS//2dpaint
}
}
|
using System.Threading.Tasks;
namespace NETTRASH.BOT.Telegram.Core.Data
{
public class InputFile
{
#region Public properties
public string FileName { get; set; }
public byte[] FileContent { get; set; }
#endregion
#region Public static methods
public st... |
using System.Collections.Generic;
namespace CodeComb.CodeAnalysis.OmniSharp.Models
{
// [OmniSharpEndpoint(OmnisharpEndpoints.MembersFlat, typeof(MembersFlatRequest), typeof(IEnumerable<QuickFix>))]
public class MembersFlatRequest : Request
{
}
}
|
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
using TimeTableApi.Application.Shared.EventManagement.Dtos;
using TimeTableApi.Core.Entities;
namespace TimeTableApi.Application.AutoMapper
{
public class TimeTableProfile : Profile
{
public TimeTableProfile()
... |
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 Car_Wash
{
public partial class paymentMethodForm : Form
{
publi... |
using System;
using System.Collections.Generic;
using LorikeetMApp.ViewModels;
using Xamarin.Forms;
namespace LorikeetMApp
{
public partial class LoginPinPage : ContentPage
{
public LoginPinPage()
{
InitializeComponent();
NavigationPage.SetHasNavigationBar(this, false)... |
using System;
namespace AxiEndPoint.EndPointServer.Logging
{
public interface ILogger
{
void Trace(string message);
void Trace(string message, params object[] args);
void Debug(string message);
void Debug(string message, params object[] args);
void Warn(string message);
void Warn(string message, params o... |
using System;
using System.Collections.Generic;
using System.Text;
using Example1 = DesignPatterns.Decorator.CarRentalExample;
using Example2 = DesignPatterns.Decorator.CarRentalExample2;
using Xunit;
namespace DesignPatternsTest
{
public class DecoratorTest
{
[Fact]
public void CanRentalWithN... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: Euclid gcd
* Time(logn), Space(1)
*/
namespace leetcode
{
public class Lc780_Reaching_Points
{
public bool ReachingPoints(int sx, int sy, int tx, int ty)
{
while (sx < tx && sy < ty)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace webApp.Areas.Flota.Controllers
{
public class MaestrosController : Controller
{
public ActionResult Modelo()
{
return View();
}
public ActionResult ... |
using System.ComponentModel.DataAnnotations;
namespace MundoMascotaRosario.Models.ViewModels
{
public class CuentaUsuarioVM
{
[Required]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[DataType(DataType.Password)]
[Display(Name = "Contra... |
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.CustomData.Factories.Actions.Implementation;
using Fingo.Auth.Domain.CustomData.Factories.Actions.Interfaces;
using Fingo.Auth.Domain.CustomData.Factories.Implementation;
using Fingo.Auth.Domain.CustomData.Factories.Interfaces;
using Fingo.Auth.D... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
public Graph m_Graph;
public float scale = 1;
public int x = 5, y = 5, startX = 0, startY = 0, endX = 0, endY = 0;
// Use this for initialization
void Start () {
m_Graph.C... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Olive.Data;
using Olive.Data.Uow;
using Olive.Web.MVC.Areas.Administration.ViewModels;
using System.Threading;
namespace Olive.Web.MVC.Areas.Administration.Cont... |
using Sentry.Android.Extensions;
namespace Sentry.Android.Callbacks;
internal class BeforeBreadcrumbCallback : JavaObject, JavaSdk.SentryOptions.IBeforeBreadcrumbCallback
{
private readonly Func<Breadcrumb, Hint, Breadcrumb?> _beforeBreadcrumb;
public BeforeBreadcrumbCallback(Func<Breadcrumb, Hint, Breadcrum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GangOfFourDesignPatterns.Behavioral.State
{
/// <summary>
/// This is an abstract/interface that is used by the Context object
/// to access the changeable functionality.
/// ... |
using Ezconet.GerenciamentoProjetos.Application.Contracts;
using Ezconet.GerenciamentoProjetos.Application.Dtos;
using Ezconet.GerenciamentoProjetos.Application.Services;
using Ezconet.GerenciamentoProjetos.UI.Web.Models.Solicitacao;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;... |
using ShopDAL.Interfaces;
using ShopDAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopDAL.Repositories
{
public class TovarRepository : ShopRepository<Tovar>, IRepository<Tovar> //IRepository<Tovar>//
{
public... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GesCMS.Services.BaseServices
{
public interface IBaseService<TDB, TVM>
{
Task<int> Add(TVM dto);
Task<int> AddItems(List<TVM> dtos);
Task<int> Remove(TVM ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using Pobs.Domain.Utils;
namespace Pobs.Domain.Entities
{
public class Comment : IHasWatches
{
public Comment()
{
this.ChildComments = new ... |
using Sales.ViewModels;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Sales.Views
{ // Learn more about making custom code visible in the Xamarin.Forms previewer
// by visiting https:/... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace LocusNew.Core.AdminViewModels
{
public class AddAsSoldViewModel
{
public int Id { get; set; }
[Required(ErrorMessage = "Ime j... |
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 CYT.Entities;
using CYT.Web.DataContext;
namespace CYT.Web.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssignmentNo8
{
class AssignmentNo8
{
static void Main(string[] args)
{
GermanShepard max = new GermanShepard();
max.Origin = Origions.Ge... |
using System;
using System.Linq;
using OpenQA.Selenium;
using System.Collections.Generic;
using OpenQA.Selenium.Support.UI;
using FC_TestFramework.Core.Setup;
using OpenQA.Selenium.Remote;
namespace FC_TestFramework.Core.Utils
{
public class ElementUtils : IManager
{
public ElementUtils (RemoteWebDri... |
namespace TripDestination.Web.MVC.Areas.Admin.ViewModels
{
using Common.Infrastructure.Mapping;
using System;
using System.Web.Mvc;
using TripDestination.Data.Models;
[Bind(Exclude = "CreatedOn")]
public class ContactFormAdminViewModel : IMapFrom<ContactForm>
{
public int Id { get;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using webapicrud.Models;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
namespace webapicrud.Controllers
{
public class crudwebapiController : ApiControll... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DBDiff.Schema.Sybase.Options
{
public class AseOptionFilter
{
private Boolean filterIndex = true;
private Boolean filterConstraint = true;
private Boolean filterTrigger = true;
private Boolean filterUse... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PetController : MonoBehaviour
{
public Transform goal;
public float speed = 0.5f; //ajustar para la animacion
public float acc = 1.0f;
public float rotSpeed = 0.5f;
void LateUpdate()
{
Vector3... |
namespace ClipModels
{
public class CustomSupplierUser
{
public static char BC_TYPE_DELIMITER = ',';
public int ID { get; set; }
public string UserName { get; set; }
public string SupplierName { get; set; }
public string SupplierID { get; set; }
public string E... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace Senparc.Core.Models.DataBaseModel.Mapping
{
public class CompetitionProgramConfigurationMapping : IEntityTypeConfiguration<CompetitionProgram>
... |
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace DgKMS.Cube.CubeCore
{
public class EvernoteTag : Entity<int>, IPassivable, IH... |
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.Adapter.Contractual
{
/// <summ... |
// kcp server logic abstracted into a class.
// for use in Mirror, DOTSNET, testing, etc.
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace kcp2k
{
public class KcpServer
{
// callbacks
// even for errors, to allow liraries to show popups etc.... |
namespace EPI.Strings
{
/// <summary>
/// Remove all instances of "b" and replace all instances of "a" with "dd"
/// Assume string is stored in an array with sufficient capacity to handle final result
/// and we cannot use any new string or data structure, the original array must be modified in-place
/// </summa... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AiBridge
{
public class Dendrite
{
/// <summary>
/// Input value (Pulse)
/// </summary>
public double Value { get; set; }
/// <summary>
/// Synaptic Weight
/// </summary>
... |
namespace JunimoIntelliBox
{
using System;
using JunimoIntelliBox.Animations;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
public class JunimoSlave: NPC
{
pri... |
using System.Web.Cors;
using Microsoft.Owin;
using Owin;
using Umbraco.Web;
using TestSite;
using Umbraco.Core;
using Umbraco.RestApi;
//To use this startup class, change the appSetting value in the web.config called
// "owin:appStartup" to be "UmbracoStandardOwinStartup"
[assembly: OwinStartup("UmbracoStandardOwinS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestSharp;
using TfsMobile.Contracts;
using TfsMobile.Repositories.v1;
namespace TfsMobile.TestClient
{
class Program
{
static void Main(string[] args)
{
... |
using StateMachine;
namespace PJEI.Invaders {
/// <summary>
/// Reference alien state to use as a base to create the actual alien states.
/// </summary>
class SampleAlienState : State<Alien> {
#region Singleton
private static SampleAlienState instance = null;
public static S... |
using gView.Framework.Carto;
using gView.Framework.Geometry;
namespace gView.Framework.Symbology
{
public interface ITextSymbol : ISymbol, ILabel, ISymbolTransformation, ISymbolRotation
{
GraphicsEngine.Abstraction.IFont Font { get; set; }
float MaxFontSize { get; set; }
float MinFont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace PixelRobot
{
public class PixelRobotTarget
{
private TargetStatus status;
private string fileName;
private string sourceFolder;
public PixelRobotTarget(string f, string s)
{
fileName = f;
... |
namespace Application
{
public class MemberDto
{
public int Id { get; set; }
public decimal Rating { get; set; }
}
}
|
using LookieLooks.Api.Interfaces;
using LookieLooks.Api.Model;
using Microsoft.AspNetCore.Mvc;
namespace LookieLooks.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class VoteController : ControllerBase
{
private readonly IVoteService _voteService;
public VoteContr... |
using Discord;
using System.Collections.Immutable;
namespace JhinBot
{
public interface IBotCredentials : IService
{
ulong ClientId { get; }
string Token { get; }
ImmutableArray<ulong> OwnerIds { get; }
string TrelloToken { get; }
string TrelloApiKey { get; }
... |
namespace P05LinkedQueue
{
using System.Collections.Generic;
public interface IQueue<T> : IEnumerable<T>
{
int Count { get; }
void Enqueue(T element);
T Dequeue();
T[] ToArray();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Serialization.Configuration
{
public interface ICorrelator
{
ICorrelationMatrixColumn GetColumns();
}
public interface ICorrelationMatrix
{
// Opcional.Name
string TitleSource {... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using static Terraria.ModLoader.ModContent;
namespace ReducedGrinding.Items.LockBoxes
{
public class Shadow_Lock_Box : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Shadow Lock Box");
Tooltip.SetDefault(... |
namespace KK.AspNetCore.EasyAuthAuthentication.Models
{
using System;
using System.Security.Claims;
/// <summary>
/// All options you can set per provider.
/// </summary>
public class ProviderOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="ProviderOp... |
using System;
namespace Robot.Cli
{
class Program
{
static void Main(string[] _)
{
try {
var robot = new Robot(new World(5, 5));
var cli = new TextInterface(Console.In, Console.Out, Console.Error);
cli.Run(robot);
... |
using System.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class ChartController : DemoController {
[HttpGet]
public ActionResult RangeViews() {
ChartViewTypeDemoOptions options = new ChartViewTypeDemoOptions();
options.View = DevExpress.XtraCharts.ViewType.Range... |
namespace SnowBLL.Models.Routes
{
public interface IPagingRequestModel
{
int? Page { get; set; }
int? PageSize { get; set; }
}
} |
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(AspNetMvcWebApplicationIdentity.Startup))]
namespace AspNetMvcWebApplicationIdentity
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
|
using Pe.Stracon.Politicas.Aplicacion.Core.ServiceContract;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Request.General;
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual;
using Pe.Stracon.SGC.Application.Core.ServiceContract;
using Pe.Stracon.SGC.Cross.Core.Base;
using Pe.Stracon.SGC.Infraes... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.JScript.Vsa;
using Devin;
namespace Web.EncodeAndDecode
{
public partial class WebForm2 : System.Web.UI.Page
{
protected void Page_Loa... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using vega3.Models;
using vega3.Controllers.Resources;
namespace vega3.Controllers {
[Route ("/api/vehicles")]
public class VehiclesControl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Taser : Interactable {
public override void Activate()
{
base.Activate();
if (!electrified)
{
GetElectrified(null);
electricityScript.canSpread = true;
electricityScript.firstGeneration = true;
}
else Dea... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WindowsFormsApplication2;
using ZipOneCode.ZipProvider;
public partial class adm... |
// Displays the Sub Menu For Resource Section
partial class ResourcesSubMenu : PortalModuleBase
{
protected void Page_Init(System.Object sender, System.EventArgs e)
{
string strTabName = "";//holds the Name of the Tab for which ever launage the user is using
string strExtraClasses = "";//holds and extra c... |
using Efa.Domain.Entities;
using Efa.Domain.Interfaces.Specification;
using Efa.Domain.Validation.Documentos;
namespace Efa.Domain.Specification.Alunos
{
public class AlunoPossuiEmailValido : ISpecification<Aluno>
{
public bool IsSatisfiedBy(Aluno aluno)
{
//if (!string.IsNullOrEmp... |
// basic: variable erstellen
// typedefinieren variablenameDefinieren
// bits
// 1 Bit = (0, 1) -> 2 Informationen
// 2 Bit = (00, 01, 10, 11) --> 4 Informationen
// 3 Bit = ()
// 1 2 3
// -----
// 0 0 0
// 0 0 1
// 0 1 0
// 0 1 1
// 1 0 0
// 1 0 1
// 1 1 0
// 1 1 1
// formel:
// ... |
using System;
using System.Collections.Generic;
namespace POSServices.Models
{
public partial class LogRecord
{
public int Id { get; set; }
public DateTime? TimeStamp { get; set; }
public string Tag { get; set; }
public string Message { get; set; }
public string Transac... |
using System.Collections.Generic;
namespace ProjetctTiGr13.Domain.FicheComponent
{
public class Competence
{
public int IdComp { get; set; }
public Competence()
{
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
/// <summary>
/// 神经元
/// </summary>
public class Neuron : INeuron
{
#region 构造函数
/// <summary>
/// 神经元
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Festival.Models
{
public class SQLFestivalRepository : IMusicFestivalRepository
{
private readonly AppDbContext context;
public SQLFestivalRepository(AppDbContext context)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MusicManager : MonoBehaviour {
public AudioClip[] levelMusicChangeArray;
[SerializeField] private AudioClip winConditionClip;
private AudioSource source;
priva... |
using System.Reflection;
using NLog;
using Sandbox.Game.Entities.Cube;
using Torch.Managers.PatchManager;
namespace DataValidateFix
{
//TODO this patch cause crash
//[PatchShim]
public static class MyLaserAntennaPatch
{
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
[SerializeField] Collider colissionMesh;
[SerializeField] ParticleSystem deathFX;
[SerializeField] ParticleSystem shotedFX;
[SerializeField] int hitPoints = 6;
privat... |
namespace Sentry.Tests.Protocol;
public class PackageTests
{
private readonly IDiagnosticLogger _testOutputLogger;
public PackageTests(ITestOutputHelper output)
{
_testOutputLogger = new TestOutputDiagnosticLogger(output);
}
[Fact]
public void SerializeObject_AllPropertiesSetToNonDefa... |
using A4CoreBlog.Common;
using A4CoreBlog.Data.Services.Contracts;
using A4CoreBlog.Data.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace A4CoreBlog.Web.Areas.Api.Controllers
{
public class ImagesController : BaseApiAreaController
{
private readonly ISystemImageService _sysImgService;
pu... |
namespace ReverseNumbers
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
var input = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.Sele... |
using DataLayer.Repositories;
using System;
namespace DataLayer
{
public interface IUnitOfWork : IDisposable
{
IUserRepository Users { get; }
ICityRepository DefaultCities { get; }
IRequestRepository Requests { get; }
int Complete();
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace damdrempe_zadaca_2.Sustav
{
/// <summary>
/// Client
/// </summary>
public class Ispisivac
{
public void IspisiTekst(Ispis ispis, string redakTekst... |
using System.Collections.Generic;
using System.Linq;
using Fingo.Auth.DbAccess.Context.Interfaces;
using Fingo.Auth.DbAccess.Models;
using Fingo.Auth.DbAccess.Repository.Implementation.GenericImplementation;
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace Fingo.Auth.DbA... |
using System;
using System.Collections.Generic;
using System.Linq;
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using Pe.Stracon.SGC.Aplicacion.TransferObject.Request.Contractual;
using Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Co... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace CC.Utilities
{
public static class CollectionExtensions
{
public static string SafeJoin(this IEnumerable<String> items, String separator = ", "){
var result = String.Empty;
if (items != null && items.Count ... |
using CodeCityCrew.Settings.Model;
using Microsoft.EntityFrameworkCore;
namespace CodeCityCrew.Settings
{
/// <summary>
/// Settings Context.
/// </summary>
/// <seealso cref="DbContext" />
public class SettingDbContext : DbContext
{
/// <summary>
/// Initializes a new instance... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.Common;
namespace YFVIC.DMS.Model.Models.Process
{
public class Process... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TAiMStore.Model.ViewModels
{
public class ProfileViewModel
{
public string PersonFullName { get; set; }
public string Organization { get; set; }
public string P... |
using CQRSWebAPI.Behaviors;
using CQRSWebAPI.Caching;
using CQRSWebAPI.Filter;
using CQRSWebAPI.Model;
using CQRSWebAPI.Redis;
using CQRSWebAPI.Validation;
using MediatR;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Direction
{
North, East, South, West
}
public enum Orientation
{
Vertical, Horizontal
}
public enum Verticality
{
Up,
Down
}
public static class DirectionUtil
{
public static Direction Reverse(Dire... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace PiDataAdayProje.Models.Entities
{
public class Isyeri
{
public Guid Id { get; set; }
[Display(Name ="İşletme Adı")]
public string Isle... |
using Nac.Common.Control;
using System.Collections.Generic;
using System.Linq;
namespace Nac.Wpf.Common.Control {
public class NacWpfSection : NacWpfObjectWithChildren {
public NacWpfSection(NacSection nacSection) : base(nacSection) { }
public new NacSection Base { get { return base.Base as NacSec... |
using System;
using System.Collections.Generic;
using System.Text;
using Domain.Base;
using System.ComponentModel.DataAnnotations;
namespace Domain.Entities
{
public class Empleado : Entity<int>
{
[Required] public string Cedula { get; set; }
[Required] public string Nombre { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Text.Json;
namespace Ultranaco.Crypto.SHA256
{
public static class ObjectHash256Extend
{
public static string Hash256(this object obj)
{
var objStr = string.Empty;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Ideal.Ipos.RealTime.Skat.Model {
public enum Symbol {
Ass = 11,
Zehn = 10,
Koenig = 4,
Dame = 3,
Bube = 2,
Neun = 9,
Acht = 8,
Sieben = 7
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GestaoBiblioteca
{
public partial class frmPlanta : Form
{
public frmPlanta()
{
Initiali... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.