text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
public class PortalScript : MonoBehaviour
{
private GameObject spawnedObject;
[SerializeField] private GameObject targetFrame;
[SerializeField] private GameO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallHouseManagerDAL;
using SmallHouseManagerModel;
namespace SmallHouseManagerBLL
{
public class BaseParkBLL
{
BaseParkDAL dal = new BaseParkDAL();
public bool CheckHomePark(int parkID)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
using TxHumor.Common;
using TxHumor.Model;
/// <summary>
///CommentHelper 的摘要说明
/// </summary>
public class CommentHelper
{
public CommentHelper()
{
//
//TODO: 在此处添加构造函数逻辑
//
}
/// <summary>
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sandbox
{
public abstract class Lærer : Person
{
public string Bankkonto { get; set; }
// Constructor som giver mulighed for at angive navn
public Lærer(string... |
namespace Sesi.WebsiteDaSaude.WebApi.ViewModels
{
public class LoginViewModel
{
public string Email {get;set;}
public string Senha {get;set;}
}
} |
using System;
using Reciclagem.Models;
using Reciclagem.Interfaces;
namespace Reciclagem.Models
{
public abstract class Materiais
{
}
} |
using FindSelf.Infrastructure.Idempotent;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace FindSelf.Infrastructure.Database.EntityConfigurations
{
public class IdempotentRequestEntityTypeConfigu... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Input;
using MahApps.Metro.Controls;
using MedicinesDatab... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using API.Models;
using Swashbuckle.Swagger.Annotations;
using System.Runtime.Serialization.Json;
using System.Text;
using System.IO;
using System.Web.Script.Serialization;
using System.We... |
using System;
using System.Collections;
namespace Collections.CollectionsExamples
{
public static class StackExample
{
public static void ShowStack()
{
Stack humsters = new Stack();
humsters.Push("John");
humsters.Push("Carter");
humsters.Push("... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace APIChallenge
{
public static class ReceitaUtils
{
public static Estabelecimento obterEstabelecimentoReceita(string cnpj)
{
string rece... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Converter.Units
{
[Unit(nameof(LenghtUnit))]
class Feet : LenghtUnit
{
protected override double UnitDevidedByMeter => 0.3048;
public override string ToString()
{
return nameof(Feet);
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UberFrba.Abm_Cliente;
namespace UberFrba.Facturacion
{
public class Factura
{
public DateTime FechaInicio { get; set; }
pub... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using JT7SKU.Lib.Twitch;
using Orleans;
using Services.Kirjasto.Unit.Twitch.Interfaces;
namespace Services.Kirjasto.Unit.Twitch.Grains
{
public class FollowerGrain : Grain, ITwitchFollower
{
private readon... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.0.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.Entities.Tabs
{
/// <summary>
/// This interface is responsible to provide the tab workflow settings
/// </summary>
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ConsultingManager.Domain.Repository;
using ConsultingManager.Dto;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace ConsultingManager.Api.Controllers
{
[Route("api/[controller]")]
[A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BPiaoBao.Web.SupplierManager.Models
{
public class TicketSumQueryEntity
{
public string OrderId { get; set; }
public string OutOrderId { get; set; }
public string PNR { get; set; }
pu... |
using LogicBuilder.Attributes;
using LogicBuilder.Expressions.Utils.Strutures;
namespace Contoso.Parameters.Expansions
{
public class SortDescriptionParameters
{
public SortDescriptionParameters()
{
}
public SortDescriptionParameters
(
[ParameterEditorCont... |
using System;
using System.Threading.Tasks;
using W3ChampionsStatisticService.CommonValueObjects;
using W3ChampionsStatisticService.Matches;
using W3ChampionsStatisticService.PadEvents;
using W3ChampionsStatisticService.Ports;
using W3ChampionsStatisticService.ReadModelBase;
namespace W3ChampionsStatisticService.Play... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson.Serialization.IdGenerators;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace AlquilerVideo.Models
{
public class Cliente
{
[BsonId(IdGenerator = typeof(StringObjectIdGen... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class SpriteController : MonoBehaviour
{
[SerializeField] private Sprite[] _Sprites;
private SpriteRenderer _SpriteRenderer;
private void Awake()
{
... |
using System;
namespace RipplerES.SubscriptionHandler
{
public interface ISubscriptionRepository
{
void Subscribe(Guid channelId, string name);
EventData[] Fetch(Guid channelId);
}
}
|
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 ImageProcAhmetCAN
{
public partial class Form2 : Form
{
public Form2()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using RoutingSlipWebApp.Models;
namespace RoutingSlipWebApp.Services
{
public class NewOrderCommand : ICommand
{
private readonly ILogger<ICommand> _logger;
priv... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Hotel.Data.Models
{
public class VrstaSmjestaja
{
public int Id { set; get; }
public string Naziv { set; get; }
}
}
|
using System;
namespace InterfacesDIDelegatesEvents
{
class Program
{
static void Main(string[] args)
{
var youngest = new YoungestSon();
var eldest = new EldestSon();
var dad = new Dad(eldest);
dad.SeekHelpConstructorInjection("Need help");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GameShop.Models
{
public class GamesPublishers
{
public int GameId { get; set; }
public int PublisherId { get; set; }
public int Id { get; set; }
public virtual Publisher... |
namespace DD5eShapedStatblockMaker.Data.Definition
{
public enum CreatureSize
{
Tiny, Small, Medium, Large, Huge, Gargantuan
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using SubSonic.Extensions;
namespace Pes.Core
{
public partial class GroupForum
{
public static int GetGroupIdByForumID(int ForumID)
{
int result = 0;
result = GroupForum.All(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Project.Service;
using Project.Service.Model;
namespace Project.MVC.Controllers
{
public abstract class VehicleMakeController : Controller
{
private IVehic... |
// Accord Imaging Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © Diego Catalano, 2013
// diego.catalano at live.com
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it... |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using WebAPI.Models;
namespace WebAPI.Data{
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options) : base (options) { }
public DbSet<Funcionario> Funcionario { get; set;... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Navigation.Models
{
public class Blog
{
[Key]
public int Id { get; set; }
[Required(ErrorMess... |
using System.Collections.Generic;
using Printer_Status.Helpers;
using SnmpSharpNet;
// ReSharper disable MemberCanBePrivate.Global
#pragma warning disable 1591
namespace Printer_Status.Printers
{
/// <summary>
/// An object representation of a printer's output tray.
/// </summary>
public struct Output
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace SolarDataUploader
{
public partial class Form1 : Form
{
/// <summary>
/// Database connection object
... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Windows.Input;
using City_Center.Clases;
using City_Center.Services;
using GalaSoft.MvvmLight.Command;
using Xamarin.Forms;
using static City_Center.Models.TarjetaUsuarioResultado;
namespace City_Center.ViewModels
{
public class C... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using UnityEngine.UI;
public class ObjectList{
private static ObjectList instance = new ObjectList();
private string[] objects;
private AcceptedTags[] acceptedTags;
private List<Text>[] currentObj... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HackerRank_HomeCode
{
public class SockMerchant
{
public void FindNoOfMatchingPairs()
{
int[] ar = Array.ConvertAll(Console.ReadLine().Split(' '), arTemp => Convert.ToInt32(arTemp));
var pairs... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UrTLibrary.Shaders.Directives.ShaderDirectives.General
{
public class NoPicMip : GeneralDirective
{
public override string ToString()
{
return "noPicMip";
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FictionFantasyServer.Data.Entities.Base;
using Microsoft.EntityFrameworkCore;
namespace FictionFantasyServer.Data
{
public class Repository<TEntity> : IRepository<TEntity> where TEntity : class, IEntity
{
... |
using SnakeGameConsole.Models;
namespace SnakeGameConsole.Interfaces
{
public interface IBoardService
{
void AddFood(Game game);
}
} |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Luxand;
namespace LogUrFace
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Applicati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class singletonMenu : MonoBehaviour
{
private static singletonMenu _instance = null;
public Button btPlay;
public static singletonMenu Instance
{
ge... |
namespace HandyControlDemo.UserControl
{
public partial class RepeatButtonDemoCtl
{
public RepeatButtonDemoCtl()
{
InitializeComponent();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Device
{
public enum InternalDeviceMode
{
SM_CONVERTIBLESLATEMODE = 0x2003,
SM_SYSTEMDOCKED = 0x2004
}
}
|
namespace MusicStoreSystem.Api.Controllers
{
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Web.Http;
using System.Web.Http.Cors;
using System.Web.Http.Description;
using Data;
using MusicStoreSystem.Models;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Airfield_Simulator.Core.Models
{
public class GeoPoint
{
public double X { get; set; }
public double Y { get; set; }
public GeoPoint(double x, double y)
... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades
{
public class EmailEmitente
{
[CampoTabela("IDEMAILEMITENTE")]
[MaxLength(18)]
public decimal IDEmailEmitente { get; set; } = -1;
[CampoTabela("IDEMITENTE")]
[MaxLength(18)]
public decimal IDEmitente { get; ... |
// -----------------------------------------------------------------------
// <copyright file="CSharpCodegenKeyCodeWriter.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 System.Data.Entity.ModelConfiguration;
using Logs.Models;
namespace Logs.Data.Mappings
{
public class UserMap : EntityTypeConfiguration<User>
{
public UserMap()
{
// Properties
this.Property(t => t.Description)
.HasMaxLength(500);
// Ta... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using System.ComponentModel;
using System.Globalization;
using System.Threading;
namespace DomaciRozpocet {
/// <summary>
/// Interaction logic for MainWi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
public enum EnemyType
{
Pink, Black
}
}
|
/* *********************************************************************** *
* File : AddSiteProcessor.cs Part of Sitecore *
* Version: 2.1.0 www.sitecore.net *
* *
* ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TableManageData;
namespace TableManagerData
{
public interface IOrdersRepository
{
/// <summary>
/// Adds passed order to a database
/// </summary>
/// <par... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine;
using UnityEngine.UI;
public class ControleAnim : MonoBehaviour {
Animator animator;
// Use this for initialization
void Start () {
animator = GetComponent<Animator>();
}
// Update is called once per frame
void... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InfoPole.Core.Models
{
public class OperationResult
{
public long Number { get; set; }
public IEnumerable<string> Messages { get; set; }
public bool IsSuccess {... |
using System;
using System.Collections.Generic;
namespace Dashboard.API.Domain.Models
{
public class UserSubscriptionModel
{
public List<ClientAndUserServices> Subscriptions { get; set; } = new List<ClientAndUserServices>();
public class ClientAndUserServices
{
public Guid... |
namespace WikiMusic.Services.Controllers
{
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Cors;
using AutoMapper.QueryableExtensions;
using Data;
using Models;
using WebGrease.Css.Extensions;
using WikiMusic.Models;
[EnableCors... |
using System;
namespace StringOfObjects
{
class Program
{
public static void Main(string[] args)
{
Enemy[] enemies = //string of class Enemy
{
new Enemy("Monster"), //object of class Enemy
new Enemy("Dragon")... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibrary.Model;
namespace ClassLibrary.ViewModels
{
public class VisitaModel
{
public int idVisita { get; set; }
public string data { get; set; }
public string ... |
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TNBase.External.DataImport;
namespace TNBase.Forms
{
public partial class FormDataImportReport : Form
{
private ImportResult result;
public FormDataImportReport(ImportResult result)
... |
using System;
namespace PositionOfMiddleElement
{
class Program
{
static void Main(string[] args)
{
//double[] threeNumbers = { 2, 3, 1 };
double[] threeNumbers = { 10, 14, 5 };
Console.WriteLine("The index of the middle number is {0}", Gimme(threeNumbers))... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Grades
{
public class CalculatingEventArgs : EventArgs
{
public float oldAverage;
}
public class AddGradeEventArgs : EventArgs
{
public float Grade;
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NoteAttractor : NoteInteractable
{
[Range(0f, 100f)]
public float scale;
private List<Projectile> projectiles;
private bool canInteract;
private void Awake()
{
col = GetComponent... |
using SGA.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SGA.Context;
using System.Net;
using System.Data.Entity;
namespace SGA.Controllers
{
public class VoluntarioController : Controller
{
private Context.AppContext db = new C... |
using System;
using System.Linq;
using System.Text;
using System.Net.Http.Headers;
namespace Microsoft.DataStudio.WebExtensions
{
public static class HttpRequestHeadersExtensions
{
public static string ToStringWithoutPII(this HttpRequestHeaders headers)
{
var requestHeadersText = n... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace FillablePdfExample.Models
{
public class Test1FormModel
{
[Display(Name = "Given Name")]
public string GivenName { get; set; }
[Display(Name = "F... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
using System;
using System.Globalization;
namespace EmployeeStorage.Api.Extensions
{
public static class StringExtensions
{
public static bool ToDate(this string value, string[] dateFormat, out DateTime scheduleDate)
{
if (DateTime.TryParseExact(value, dateFormat, DateTimeFormatInf... |
/*
* Bungie.Net API
*
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.1.1
* Contact: support@bungie.com
* Generated by: https://github.com... |
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 Logbog.DataAccess;
using Logbog.Model;
using System.Data.SqlClient;
namespace Kørselslogbog
{
... |
using System.Collections.Concurrent;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Dtos;
namespace Umbraco.Core.Persistence.Mappers
{
[MapperFor(typeof(AuditItem))]
[MapperFor(typeof(IAuditItem))]
public sealed class AuditItemMapper : BaseMapper
{
private static readonly Concurrent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using AutoMapper.QueryableExtensions;
using MoviesApp.Data.Models;
using MoviesApp.Data.Repositories;
using MoviesApp.Models;
namespace MoviesApp.Controllers
{
public class PeopleCont... |
using UnityEngine;
using System.Collections;
public class ActorController : MonoBehaviour
{
public Puppet puppet;
public LayerMask mask;
Vector3 goal;
[System.Serializable]
public class Puppet
{
public GameObject head;
public GameObject body;
public GameObject leftHand;
public GameObject rightHand;
}... |
using System;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
using Random = UnityEngine.Random;
namespace Game.Online.Users
{
public class Avatar : MonoBehaviour
{
public Image UserAvatar;
public static Sprite GetTextureFromServer(byte[] buffer)
{
var texture = n... |
namespace CloneDeploy_Entities.DTOs
{
public class ServerRoleDTO
{
public string Identifier { get; set; }
public bool IsImageServer { get; set; }
public bool IsMulticastServer { get; set; }
public bool IsTftpServer { get; set; }
public string OperationMode { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FoodDelivery.Models
{
public class Restaurant
{
public int Id { get; set; }
public string Name { get; set; }
public Address RestaurantAddress { get; set; }
public List<Dish> Menu { get; set; }
}
}
|
// Accord Neural Net 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 p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
// Write a program that reads a text file and inserts line numbers in front of
// each of its lines. The result should be written to another text file.
class InsertLineNumbers... |
namespace Yeasca.Requete
{
public interface IDetailConstatMessage : IMessageRequete
{
string IdConstat { get; set; }
}
}
|
namespace ChatAppUtils.Configuration
{
public interface IConfigurationProvider
{
string GetConnectionString(string key);
string GetDefaultConnection();
string GetAppSetting(string key);
object GetSection(string key);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IsADamager : MonoBehaviour {
private IsAMecha _mecha;
public MecaAnimationHandler mecaAnimationHandler;
public IsAMecha mechaMainPart
{
get { return _mecha; }
set { if (_mecha == null)_mecha =... |
using System;
using UnityEngine;
namespace RO
{
public class GyroHelper
{
private readonly Quaternion baseIdentity = Quaternion.Euler(90f, 0f, 0f);
private Quaternion cameraBase = Quaternion.get_identity();
private Quaternion calibration = Quaternion.get_identity();
private Quaternion baseOrientation = Qu... |
using System;
using System.ComponentModel;
using Penumbra.Mods;
namespace Penumbra.Game
{
[Flags]
public enum EqpEntry : ulong
{
BodyEnabled = 0x00_01ul,
BodyHideWaist = 0x00_02ul,
_2 = 0x00_04ul,
BodyHideGlovesS = 0x00_08ul,
_4 =... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PauseMenuPanelController : MonoBehaviour
{
[SerializeField]
private Button resume;
[SerializeField]
private Button quit;
private void Awake()
{
Initialize();
}
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Metrics.Logging;
using Microsoft.Owin.Hosting;
using ModernDataServices.App.Config;
using NLog;
namespace ModernDataServices.Service.Host
{
public class ServiceApi... |
using System;
using Microsoft.AspNetCore.Mvc;
namespace TimeDisplay
{
public class HomeController : Controller
{
[HttpGet("")]
public ViewResult MyTime()
{
DateTime CurrentTime = DateTime.Now;
ViewBag.day = CurrentTime.ToString("MMMM dd yyyy");
ViewBa... |
using System.ComponentModel;
using System.IO;
namespace CopyByExif.Core
{
public static class CopyPhotos
{
public static void Copy(CopySettings settings, BackgroundWorker copyWorker)
{
copyWorker.ReportProgress(0);
int i = 0;
var allPhotos = settings.FromDi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace POTM
{
public class FirstPersonCameraController : MonoBehaviour
{
public float HorizontalSens;
public Camera cineCam;
public LevelChanger lc;
private float startTime = 0f;
... |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Linq;
using AnnealingWPF.Common;
using AnnealingWPF.Exceptions;
using System.IO;
using System.Text.RegularExpressions;
namespace AnnealingWPF.Helpers
{
public static class InputFieldParser
{
public ... |
using System;
using System.Collections.Generic;
using System.Text;
using KnapsackProblem.Common;
namespace KnapsackProblem.DecisionVersion
{
public class DecisionBruteForce : DecisionStrategy
{
public override DecisionResult Solve(DecisionKnapsackInstance knapsackInstance)
{
number... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[SerializeField]
public class TileRect
{
public TileType type;
public int xMin;
public int zMin;
public int xMax;
public int zMax;
public int width
{
get
{
return xMax - xMin + 1;
... |
using System.Collections.Generic;
using eForm.Authorization.Users.Dto;
using eForm.Dto;
namespace eForm.Authorization.Users.Exporting
{
public interface IUserListExcelExporter
{
FileDto ExportToFile(List<UserListDto> userListDtos);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
namespace CoterieTakeHome.Interfaces
{
interface IBusinessType
{
public void Architect();
public void Plumber();
public void Programmer();
}
}
|
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class PlayerMovement : MonoBehaviour {
public float speed;
public Text scoreText;
public Text levelText;
public Text gameOverText;
public GameObject lifeAvatar1;
public GameObject lifeAvatar2;
public ... |
using LazyVocabulary.Common.Entities;
using LazyVocabulary.Common.Enums;
using LazyVocabulary.Logic.Services;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Ninject;
using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Mvc... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace OptGui.Services
{
public class NullableValueConverter : IValueConverter
{
public object Convert(object value, Type target... |
using System.Collections.Generic;
using System.Collections.Immutable;
using Domain.Entities;
namespace Domain.UseCase
{
public class ShortcutInteractor
{
public IReadOnlyCollection<Shortcut> GetShortcuts(int[][] matrix, int start)
{
var adjacencyMatrix = new AdjacencyMatrix(matrix)... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsultingManager.Dto
{
public class CustomerDto
{
public Guid Id { get; set; }
public DateTime CreatedDate { get; set; }
public string Name { get; set; }
public string LogoUrl { get; set; }
pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.