text stringlengths 13 6.01M |
|---|
using System;
namespace dark_place_game
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Lancement du jeu Dark Place ...");
throw new Exception("Le jeu ne semble pas encore codé !");
}
}
}
|
public class Solution {
public IList<int> DiffWaysToCompute(string input) {
IList<int> res = new List<int>();
if (!input.Contains("+") && !input.Contains("-") && !input.Contains("*")) {
res.Add(Int32.Parse(input));
return res;
}
for (int i = 0; i < input.Lengt... |
namespace classicSortingAlgorithms.SortingClasses {
using System.Collections.Generic;
using System.Diagnostics;
abstract class Sort<T> {
public T[] Array { get; set; }
public Stopwatch Stopwatch { get; set; }
public IComparer<T> Comparer { get; set; }
public abstract string ClassName { get; set; }
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LobbyUIController : MonoBehaviour
{
[SerializeField]
private GameObject characterSelectPopup;
[SerializeField]
private GameObject OptionPopup;
[SerializeField]
private GameObject ExitPopup;
[Seri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Ghost : Entity
{
NavMeshAgent navMashAgent;
NavMeshPath path;
public float timeForNewPath;
bool isWorking;
Vector3 target;
bool validPath;
public Player player;
private vo... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Moq;
using System;
using System.Linq;
using TodoAPI;
using TodoAPI.Controllers;
using TodoAPI.Models;
using Xunit;
namespace XUnitTestProject
{
/// <summary>
/// initial the DbContext before running every test
/// </summary>
pub... |
using System;
using PostSharp.Extensibility;
namespace DelftTools.Utils.Aop.NotifyPropertyChange
{
/// <summary>
/// Apply this attribute to properties you do not want to be intercepted
/// by NotifyPropertyChangeAttribute.
/// </summary>
[Serializable, MulticastAttributeUsage(MulticastTargets.Pr... |
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.DataAccess.SurveyorPointObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace Claimdi.WCF.Public
{
// NOTE: You can... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace Zadanie_1
{
class Program
{
static bool Czy_niemalejący(int[] tab)
{
for (int i = 0; i < tab.Length - 1; i++)
{
if (!(tab[i] <= tab[i + 1])) return false... |
using DAL.Entities;
using DAL.EF;
using DAL.Interface;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace DAL.Repositories
{
public class ContactRepository : IRepository<Contact>
{
private SocialNetworkContext db;
public ContactRepository(SocialNetworkCon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProjectCollider : MonoBehaviour {
public Transform target;
private SphereCollider _collider;
private Vector3 _colliderOffset;
private float _colliderRadius;
void Start() {
_collider = GetComponent<SphereCollider>();
... |
namespace Welic.App.Services.ServicesViewModels
{
public interface ICriptografia
{
string Encriptar(string chave, string vetorInicializacao, string textoNormal);
string Decriptar(string chave, string vetorInicializacao, string textoEncriptado);
}
}
|
namespace Engaze.NotificationManager.Contract
{
public class PushNotification
{
public string Type { get; set; }
public string EventId { get; set; }
public string EventName { get; set; }
public string InitiatorId { get; set; }
public string InitiatorName { get; set; }
... |
using System;
using System.Linq;
namespace Autofac.Extras.AttributeMetadata.Test.ScenarioTypes.StrongTypedMetadataAttributeScenario
{
public interface IStrongTypedScenarioMetadata
{
int Age { get; }
string Name { get; }
}
}
|
using System.Collections.Generic;
using UnityEngine;
public class CollectBehavior : MonoBehaviour {
public bool invent;
public static GameManager instance;
public List<Item> itemList = new List<Item>();
public float generationChance = 0.5f;
public void DoInteraction() {
Debug.Log("Chest interacted");
... |
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 HomeBuh.Data;
using HomeBuh.Models;
using System.Globalization;
namespace HomeBuh.Controllers
{
publi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace Nac.Common {
public class NacSerializer {
public static string Serialize(obje... |
using System;
using System.Collections.Generic;
using System.Linq;
using ODL.DomainModel.Adress;
namespace ODL.DataAccess.Repositories
{
public class AdressRepository : IAdressRepository
{
private ODLDbContext DbContext { get; }
private readonly Repository<Adress, ODLDbContext> _internalGeneri... |
using EddiDataDefinitions;
using System;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class CarrierCooldownEvent : Event
{
public const string NAME = "Carrier cooldown";
public const string DESCRIPTION = "Triggered when you either were docked at a fleet carrier during a jump ... |
using System.Web.Mvc;
using Imp.Web.Framework.Controllers;
namespace Imp.Admin.Controllers
{
public class SecurityController : BaseController
{
public ActionResult AccessDenied()
{
return View();
}
}
} |
using JobSite.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace JobSite.Business_Logic
{
public class SortFactory
{
public Dictionary<string, Func<IOrderedQueryable>> strategyRepository;
private SortMethods sorter... |
namespace MdServices.Base.Interfaces
{
public class LoggerFactory : ILoggerFactory
{
public ILogger.LogLevel Level { get; set; }
public void SetLevel(ILogger.LogLevel level)
{
Level = level;
}
public ILogger CreateLogger<T>()
{
return n... |
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlyFundsWeb.Helpers
{
public class Utilities
... |
using System.Collections.Generic;
using System.Net.Http.Headers;
using System.Web.Http;
using TfsMobile.Contracts;
using TfsMobileServices.Models;
namespace TfsMobileServices.Controllers
{
public class BuildsController : ApiController
{
public IEnumerable<BuildContract> Get(string project, i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyDev.Common;
namespace EasyDev.EPS.Portal
{
public class PortalServiceException : ExceptionBase,IException
{
public PortalServiceException(string msg)
: base(msg)
{ }
}
... |
using Irony.Interpreter;
namespace Bitbrains.AmmyParser
{
public partial class AstAmmyBind
{
protected override object DoEvaluate(ScriptThread thread)
{
return GetData(thread);
}
public IAstAmmyPropertyValue GetData(ScriptThread thread)
{
var x ... |
using Microsoft.Extensions.Configuration;
using NHibernate.Cfg;
using NHibernate.Mapping.ByCode;
using NHibernate.NodaMoney.Tests.TestDomain;
using System;
using System.Collections.Generic;
using System.Text;
namespace NHibernate.NodaMoney.Tests.Fixtures
{
public class BlappFixture : NHibernateFixture
{
... |
using System.Collections.Generic;
using Proxynet.Models;
using UsersLib.Entity;
namespace Proxynet.Service.Converters
{
public interface IUserDtoConverter
{
List<UserDto> Convert( List<User> users );
UserDto Convert( User user );
User Convert( UserDto user );
List<UserDto> Con... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Net;
using System.Reflection;
using BruTile;
using BruTile.Cache;
using BruTile.PreDefined;
using BruTile.Web;
using DelftTools.Utils;
using DelftTools.Utils... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using DelftTools.Functions.Filters;
using DelftTools.Functions.Generic;
using DelftTools.Utils;
using DelftTools.Utils.Aop.NotifyPropertyChange;
using DelftTools.Utils.Colle... |
using CaseManagement.DataObjects;
using CaseManagement.Models.SQL;
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaseManagementReadIn
{
public class ExcelToAgency
{
public List<Agency> agencies = new L... |
using System;
using System.IO;
using System.Reflection;
using System.Xml;
using System.Xml.Schema;
using Messaging.Resolvers;
namespace Messaging.Validators
{
/// <summary>
/// SchemaValidator is a schema validator
/// </summary>
public sealed class SchemaValidator
{
private readonly ResourceResolver _external... |
using System.Security.Cryptography.X509Certificates;
namespace oAuth2JwtProfile
{
public class CertificateUtil
{
public static X509Certificate2 GetCertificate(string path, string password = "")
{
X509Certificate2 cert = null;
if (password == "")
cert = ... |
using System;
namespace MetroBlog.Domain
{
public class DocumentDbOptions
{
public string EndpointUrl { get; set; }
public string AuthorizationKey { get; set; }
public string DatabaseId { get; set; }
}
} |
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.OS;
using Acr.UserDialogs;
using Plugin.Permissions;
using ContactListSample.Services;
using Android.Support.V7.App;
namespace ContactListSample.Droid
{
[Activity(Label = "ContactListSample", Icon = "@mipmap/icon", Theme = "@style/... |
using UnityEngine;
using System.Collections;
using System;
public class Ease
{
#region Circular
public static float CircEaseOut( float curr, float start, float length)
{
float t = curr - 1;
return length * Mathf.Sqrt( 1 - t * t ) + start;
}
public static float CircEaseIn( float curr, float start, float leng... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Services;
namespace Lab1
{
/// <summary>
/// Summary description for WarsWebService
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = ... |
using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace Common.Presentation.Controls
{
/// <summary>
/// UserControl designed to allow both manual input and selection of a date from a dropdown.
/// </summary>
[DefaultEvent("Click")]
public partial class SelectableDate : UserControl
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AOEmelee : MonoBehaviour
{
/*
* public Collider hitBox
* public cooldown half a second
* public bool isRunning (animation)
*
* new script
* hitBox is the circle around the player
* find... |
using UnityEngine;
using System.Collections;
public class orfeoEyes : MonoBehaviour {
float timer = 0;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
timer += Time.deltaTime;
if (timer >= .2f)
{
timer = 0;
... |
using CodingExercise.Data;
using System.Data.Entity;
using AutoMapper;
using Moq;
using System.Collections.Generic;
using System.Linq;
using CodingExercise.API.App_Start;
namespace VehicleInventory.Tests
{
public class TestsBase
{
protected IMapper Mapper
{
get
{
... |
using System;
using System.Collections.Generic;
namespace Decorator
{
public class Emprestado : Decorator
{
protected List<string> _emprestados = new List<string>();
public Emprestado(ItemBiblioteca itemBiblioteca) : base(itemBiblioteca)
{
}
public void EmprestarItem(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Gobiner.PageRank.Stolen_Shit
{
class PageRank<V,E> : PageRankWithPriors<V,E>
{
/**
* Creates an instance for the specified graph, edge weights, and random jump probability.
* @param graph the input graph
* @pa... |
// Copyright 2013-2017 Serilog Contributors
//
// 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 License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Game
{
/// <summary>Represent an attack hitbox that can hit other entities</summary>
/// <remarks>This is done by using Physics2D.OverlapCircleAll in Update</remarks>
public class AttackHitBox : MonoBehaviour
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Query.SyncObject
{
/// <summary>
/// 库存商品同步
/// </summary>
public class ProductSync
{
public ProductSync()
{
UpdatedOn = DateTime.Now;
}
... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities;
using Alabo.Domains.Entities.Core;
using Alabo.Domains.Repositories;
using Alabo.Domains.Repositories.Model;
using Alabo.Domains.Services;
using Alabo.Extensions;
using Alabo.Reflections;
using Alabo.Runtime;
using Alabo.Tables.Domain.Entities;
using Alabo.W... |
using System.Linq;
using App.Core.Interfaces.Errors;
using App.Core.Interfaces.Managers;
using App.Core.Interfaces.Providers;
using App.Core.Providers;
using App.Data.Dsl;
using App.Data.Models;
using Microsoft.EntityFrameworkCore;
namespace App.Core.Managers
{
public class ChatManager : IChatManager
{
... |
using System;
namespace exercises
{
class MainClass
{
public static void Main(string[] args)
{
/*Console.WriteLine("Write an odd number: ");
var num = int.Parse(Console.ReadLine());
if (num % 2 == 0)
{
Console.WriteLine("Not an o... |
using BenchmarkDotNet.Attributes;
namespace Sentry.Benchmarks;
// Only really affects application startup time
public class SentrySdkInitAndDisposeBenchmarks
{
[GlobalSetup(Target = nameof(Init_Dispose_DsnEnvVar))]
public void SetDsnToEnvironmentVariable()
=> Environment.SetEnvironmentVariable("SENTRY... |
using gView.GraphicsEngine.GdiPlus;
using gView.GraphicsEngine.Skia;
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
namespace gView.Framework.system
{
public class SystemInfo
{
public static Version Version = new Version(5, 23, ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
namespace CoreCompare
{
/* As per this issue, https://stackoverflow.com/questions/8927558/why-is-the-binary-output-not-equal-when-compiling-again,
* we observe that a binary compiled over again has complete... |
using System;
using Microsoft.Practices.ServiceLocation;
using ReactMusicStore.Core.Data.Context.Interfaces;
namespace ReactMusicStore.Core.Data.Context
{
public class UnitOfWork<TContext> : IUnitOfWork<TContext>, IDisposable
where TContext : IDbContext, new()
{
private readonly ContextManager... |
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 Model;
using Control;
namespace View
{
public partial class FrmFuncionario : Form
{
... |
using System;
using NetEscapades.AspNetCore.SecurityHeaders.Headers;
// ReSharper disable once CheckNamespace
namespace Microsoft.AspNetCore.Builder
{
/// <summary>
/// Extension methods for adding a <see cref="CrossOriginEmbedderPolicyHeader" /> to a <see cref="HeaderPolicyCollection" />
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClickScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
RaycastHit hit;
Ray ray ... |
// Header for the flower sections
public partial class FlowerHeader : System.Web.UI.UserControl
{
protected void Page_PreRender(object sender, EventArgs e)
{
if (!IsPostBack)
{
try
{
//resets the litContentCartError
litContentCartError.Text = "";
string strCurrentCate = "... |
namespace DFC.ServiceTaxonomy.GraphSync.Interfaces
{
//
// Summary:
// Provides information about the database that processed the query.
public interface IDatabaseInfo
{
//
// Summary:
// The name of the database where the query is processed.
//
// Re... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Threading;
using log4net;
namespace irrsa
{
public static class Settings
{
static Settings()
{
TryUpdate();
updateThread = new Thread(() =>
{
TryUpdate();
Thread.Sleep(30000);
}) {IsBackground = true};
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Objects;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IDALRepository
{
public partial interface IDBSession
{
DbContext DbContext { get; }
//IUserInfoRepos... |
namespace Construction_Project
{
internal class Document
{
private object a4;
private float v1;
private float v2;
private float v3;
private float v4;
public Document(object a4, float v1, float v2, float v3, float v4)
{
this.a4 = a4;
... |
namespace EPI.Searching
{
/// <summary>
/// Design an algorithm that checks whether a number appears in a 2D sorted array or not.
/// A 2D array is considered sorted if all rows and columns are sorted.
/// </summary>
public static class Search2DSortedArray
{
public static bool Search(int[,] array, int valueTo... |
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 learn_180308//小写汉字金额转换为大写汉字金额
{
public partial class Form1 : Form
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IdomOffice.Interface.BackOffice.MasterData;
using IdomOffice.Interface.BackOffice.PriceLists;
using IdomOffice.Interface.BackOffice.Booking;
using IdomOffice.Interface.BackOffice.BookingTemplate;
u... |
//
// TextField.cs: single-line text editor with Emacs keybindings
//
// Authors:
// Miguel de Icaza (miguel@gnome.org)
//
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using NStack;
using Terminal.Gui.Resources;
using Rune = System.Rune;
nam... |
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 Hackathon_4_Advance
{
public partial class Form1 : Form
{
int[] number = new i... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace lsc.Common
{
public class HttpUtils
{
HttpClient Client { get; } = new HttpClient();
/// <summary>
/// Http请求UA
/... |
using StardewValley;
namespace SafeLightning.CommandParsing.Commands
{
/// <summary>
/// Sets the weather for today and tomorrow as lightning.
/// </summary>
internal class SetLightningCommand : BaseCommand
{
public SetLightningCommand() : base("set_lightning", "sl", "Sets today and to... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Docller.Core.Models;
namespace Docller.Core.Common
{
public interface IFolderContext
{
Folders AllFolders { get; set; }
long CurrentFolderId { get; set; }
void Inject(Folders folders, long curre... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace PropertyGridExample.PropertyClasses
{
class PropertyTrueFalse
{
bool m_LogicField;
[Browsable(true)]
[Description("Example of logic field")]
[DisplayName... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Runtime.Caching;
using System.Threading;
using System.Linq;
using ThirdParty;
namespace Adv
{
public class AdvertisementService
{
private static MemoryCache _cache = new MemoryCache("AdvertMemoryCache");
p... |
namespace useSOLIDin
{
interface IOutPut
{
void Print(string text);
}
}
|
using System;
using Tomelt.Localization;
using Tomelt.Utility.Extensions;
namespace Tomelt.Modules.Extensions {
public static class StringExtensions {
public static string AsFeatureId(this string text, Func<string, LocalizedString> localize) {
return string.IsNullOrEmpty(text)
... |
using System;
using System.Collections.Generic;
using Uintra.Core.Member.Abstractions;
namespace Uintra.Features.Groups
{
public interface IGroupMember : IIntranetMember
{
IEnumerable<Guid> GroupIds { get; set; }
}
}
|
using System;
using System.Net;
using System.Net.Sockets;
using Framework.Core.Config;
using NUnit.Framework;
namespace Tests.Projects.Van.Maintenance
{
public class DNSCheck
{
/// <summary>
/// check DNS, throw error if host is not found
/// </summary>
[Test]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ASPNetRefresher.Models
{
public class MineralViewModel
{
public string sample_name { get; set; }
public string lat_max { get; set; }
public string long_max { get; set; }
public string... |
using System;
using System.Collections.Generic;
using System.Linq;
class BiggestTriple
{
static void Main()
{
string strNum = Console.ReadLine();
List<string> lNum = new List<string>();
int iSum = 0, iMaxSum = int.MinValue, index = 0, curIndex = -1;
int[] aNum = strNum.Split().... |
using damdrempe_zadaca_1.Podaci.Modeli;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static damdrempe_zadaca_1.Podaci.Enumeracije;
namespace damdrempe_zadaca_1.Pomagaci
{
class Inicijalizator
{
public static List<Ulica> Odre... |
using System;
using System.Threading;
using System.Threading.Tasks;
using ApiTemplate.Common.Markers.DependencyRegistrar;
using ApiTemplate.Data.ApplicationDbContexts;
using ApiTemplate.Data.Repositories.Weathers;
namespace ApiTemplate.Data.UnitOfWorks
{
public class UnitOfWork : IUnitOfWork ,IScopedDependency
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace YoloCampersTwoPointO.Web.Areas.Admin.ViewModels
{
public class CampersAfbToevoegenVm
{
public Guid CamperId { get; set; }
}
}
|
using E_ticaret.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
namespace E_ticaret.Controllers
{
public class MarkalarController : Controller
{
Model1 k = new Model1();
// GET: Markal... |
namespace com.Sconit.Web.Controllers.MRP
{
#region Retrive
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Utility;
using Telerik.Web.Mvc;
using com.Sconit.Web.Models.SearchModels.MRP;
using com.Sconit.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace solmates {
public class SoulAction : MonoBehaviour {
//is soul clean?
public bool clean = false;
//reference to friendlysoul
public FriendlySoul friendsoulref;
//time to look at base... |
using Tndm_ArtShop.Models;
using System.Collections.Generic;
namespace Tndm_ArtShop.ViewModels
{
public class ProizvodiListViewModel
{
public IEnumerable<Proizvod> Proizvodi { get; set; }
public string TrenutnaKategorija { get; set; }
}
}
|
using System.Collections.Generic;
namespace Records.Buildings
{
public class BuildingsRecordMap
{
private Dictionary<int, Dictionary<int, BuildingRecord>> _map = new Dictionary<int, Dictionary<int, BuildingRecord>>();
public BuildingRecord GetByBuildingId(int id, int race)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Move : MonoBehaviour
{
protected bool canMove;
protected Vector3 mouseOffSet;
protected string currentLayer;
protected bool doSomething;
protected virtual void FixedUpdate()
{
currentLayer = Ga... |
namespace Sentry.Internal;
/// <summary>
/// This is a struct-based alternative to <see cref="System.Diagnostics.Stopwatch"/>.
/// It avoids unnecessary allocations and includes realtime clock values.
/// </summary>
internal struct SentryStopwatch
{
private static readonly double StopwatchTicksPerTimeSpanTick =
... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.Mobile.Editor
{
/// <summary>
/// Event property drawer of type `TouchUserInputPair`. Inherits from `AtomDrawer<TouchUserInputPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPro... |
namespace PatientService.Model.Specification
{
public enum LogicalOperator
{
And = 0,
Or = 1
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NodaTime;
using PluralKit.Core;
#nullable enable
namespace PluralKit.Bot
{
public class MemberListOptions
{
public SortProperty SortProperty { get; set; } = SortProperty.Name;
public bool Reverse { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PROnline.Models.Users;
using System.ComponentModel.DataAnnotations;
namespace PROnline.Models.Service
{
public class VolunteerFeedback
{
//志愿者反馈表ID
public Guid VolunteerFeedbackID { get; set;... |
using PizzaBezorgApp.Models;
using PizzaBezorgApp.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Wind... |
namespace DChild.Gameplay.Systems
{
public interface IGameplayInitializable
{
void Initialize();
}
}
|
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace ClaimDi.DataAccess.Object.API
{
public class APIToken
{
[Required]
public string user_key { get; set; }
[Required]
public string app_key { get; set; }
[Required]
public s... |
using System;
using DalesTruckMaintenance.Domain;
using DalesTruckMaintenance.Domain.DTOs;
using DalesTruckMaintenance.Domain.Exceptions;
using DalesTruckMaintenance.Domain.Interfaces;
using FakeItEasy;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DalesTruck... |
using System.Collections.Generic;
using Alabo.Domains.Services;
using Alabo.Framework.Core.WebUis.Models.Links;
using Alabo.Industry.Cms.Articles.Domain.Dto;
using Alabo.Industry.Cms.Articles.Domain.Entities;
using Alabo.Industry.Cms.Articles.ViewModels;
using MongoDB.Bson;
namespace Alabo.Industry.Cms.Articles.Domai... |
namespace E_ticaret.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("renk")]
public partial class renk
{
[System.Diagnostics.CodeAna... |
namespace NumbersInReversedOrder
{
using System;
public class StartUp
{
public static void Main()
{
string number = Console.ReadLine();
Console.WriteLine(Reverse(number));
}
public static string Reverse(string number)
{
string re... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.SQLServer.Generates.Model
{
public class ColumnConstraints : List<ColumnConstraint>
{
private Column parent;
public ColumnConstraints(Column parent)
... |
////-----------------------------------------------------------------------
// <copyright file="DBContext.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace SmartLibrary.Dat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.