text stringlengths 13 6.01M |
|---|
// <copyright file="JsonUtcResult.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace SmartLibrary.Site.Classes
{
using System;
using System.Web.Mvc;
using Ne... |
using IrsMonkeyApi.Models.Dto;
namespace IrsMonkeyApi.Models.DAL
{
public interface IProductItemDal
{
ItemProductDto GetProductItems(int productId);
}
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
namespace SampleMVCSolution.DataAccessLayer.ExchangeResources
{
/*
* These exceptions may be used on higher levels of DAL like repository
* as well as on lower layers like external re... |
using System;
namespace Aquamonix.Mobile.Lib.Utilities
{
public class MathUtil
{
public static int RoundToNearest(int n, int roundTo)
{
int nn = n;
if (n % roundTo == 0)
return n;
for (int x = 1; x <= roundTo; x++)
{
nn = (n - x);
if (nn % roundTo == 0)
{
return nn;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XboxCtrlrInput;
public class Wave {
public XboxButton Button;
public float Percentage;
public GameObject WavePrefab;
public bool AttemptedHit;
public Wave(XboxButton button, float percentage, GameObject prefab) {
Button = bu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms... |
//
//Code for Research paper on neural networks.
//For questions contact: Sjoerdteunisse at google mail dot com
//
using System.Collections.Generic;
namespace NeuralEngine
{
/// <summary>
/// represents a layer of the neural network
/// </summary>
public class NeuralLayer : List<Neur... |
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Witsml;
using Witsml.Data;
using Witsml.Extensions;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Models;
using WitsmlExplorer.Api.Query;
using WitsmlExplorer.Api.Services;
namespace WitsmlEx... |
using Npgsql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.... |
using System;
using System.Collections.Generic;
using Profiling2.Domain.Contracts.Queries;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Contracts.Tasks.Sources;
using Profiling2.Domain.Prf.Events;
using Profiling2.Domain.Prf.Organizations;
using Profiling2.Domain.Prf.Persons;
using Profiling2.Domai... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.SQLServer.Model
{
public class TableOptions:SchemaList<TableOption,Table>
{
public TableOptions(Table parent)
: base(parent)
{
}
... |
using System.Collections.Generic;
using System.Net.Http;
namespace ApiTemplate.Model.Rest
{
public class SendParameterModel
{
public string QueryString { get; set; }
public string BaseAddress { get; set; }
public bool HasApiKey { get; set; }
public bool SendApiKeyByHeader { get... |
using System;
namespace DelftTools.Utils.ComponentModel
{
/// <summary>
/// Used to mark method as a validation method used to check if property value can be set.
/// <seealso cref="DynamicReadOnlyAttribute"/>
/// </summary>
public class DynamicReadOnlyValidationMethodAttribute : Attribute
{
... |
#if !NETFRAMEWORK
namespace Sentry.PlatformAbstractions;
/// <summary>
/// No-op version for netstandard targets
/// </summary>
public static partial class FrameworkInfo
{
/// <summary>
/// No-op version for netstandard targets
/// </summary>
/// <param name="clr"></param>
public static FrameworkIn... |
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Domain.AbstractRepository;
using Infrastructure.DomainBase;
using Infrastructure.Encryption;
using Web.Controllers.Base;
using Web.ViewModels.User;
namespace Web.Controllers
{
public class UserController : AuthorizedController
{
... |
using Presenter.Core.Entities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Presenter.Core.Interfaces
{
public interface IScreenManager
{
Process StartPresentation(Presentation presen... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class StartCounter : MonoBehaviour
{
[SerializeField]
Image maskImage;
[SerializeField]
Text text;
private bool isGameStart = false;
private void Awake()
{
}
priva... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Versioning;
using System.Transactions;
using PhobiaX.Assets;
using PhobiaX.Graphics;
using PhobiaX.Physics;
using PhobiaX.SDL2;
using SDL2;
namespace PhobiaX.Game.GameObjects
{
public class Anima... |
using System.Collections.Generic;
using Profiling2.Domain.Prf;
using Profiling2.Domain.Prf.Events;
namespace Profiling2.Domain.Contracts.Queries.Search
{
public interface IEventSearchQuery
{
IList<Event> GetResults(string term);
IList<Tag> SearchTags(string term);
}
}
|
using System;
public static class JadenCase {
public static string recursive(string input, string output, int i){
if(input.Length == output.Length){
return output;
}
if(i == 0){
return recursive(input, output + Char.ToUpper(input[i]), i + 1);
}
if(input[i] == ' '){
return rec... |
using System;
namespace Zesty.Core.Entities
{
public class Translation
{
public string Original { get; set; }
public string Translated { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace ScheduleService.Model
{
public class Room
{
public int Id { get; }
public RoomType RoomType { get; }
private IEnumerable<Appointment> UnavailableAppointments { get; }
public Room(int id, RoomType room... |
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.PermissionsPolicy
{
/// <summary>
/// Controls access to autoplay of media requested through the
/// <code>HTMLMediaElement</code> interface. If disabled in a document,
/// then calls to <code>play()</code> without a user gesture will
/// re... |
using Cottle.Functions;
using Cottle.Values;
using EddiDataDefinitions;
using EddiDataProviderService;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class MaterialDetails : ICustomFunction
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
public static class TogglTest
{
private static void ToggleInterview()
{
var ar = new[] { 1, 2 };
var ar2 = ar.Select(x =>
... |
using System.Text.RegularExpressions;
namespace Infrastructure.PasswordPolicies
{
/// <summary>
/// Password policy based on regular expression
/// </summary>
public class RegularExpressionPasswordPolicy : IPasswordPolicy
{
private readonly string _regularExpression;
/// <summ... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebAPI.Models;
namespace WebAPITest.Test
{
[TestClass]
public class ParallelExceptionHandlingTest : TestBase
{
[TestMethod]
... |
using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
using OrchardCore.ContentManagement;
using StockAndShare.OrchardCoreDemo.Models;
using StockAndShare.OrchardCoreDemo.Settings;
namespace StockAndShare.OrchardCoreDemo.ViewModels
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aviso
{
abstract public class AvisoReporter
{
abstract public bool PrintCurrent(System.Windows.Forms.BindingSource bs, string result_file);
}
}
|
using System;
namespace Lesson4.Linq
{
class Program
{
static void Main(string[] args)
{
// Language-Integrated Query
// https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/
// We will use Linq (Language-Integrated Query) to quer... |
using Infrostructure.Exeption;
namespace DomainModel.Entity.ProductParts
{
/// <summary>
/// سرعت
/// </summary>
public class Speed
{
private const decimal MinValue = 0m;
public decimal Value { get; private set; }
public Speed(decimal value)
{
ValidateS... |
using System;
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using Atc.CodeAnalysis.CSharp.SyntaxFactories;
// ReSharper disable once CheckNamespace
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
public static class ClassDeclarationSyntaxExtensions
{
public static ClassDeclarat... |
using System;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
namespace SqlServerRunnerNet.Infrastructure
{
public sealed class TrulyObservableCollection<T> : ObservableCollection<T> where T : class, INotifyPropertyChanged, new()
{
privat... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
namespace AGCompressedAir.Windows.Validation
{
public class ValidationBuilder
{
public ValidationBuilder()
{
RuleMaps = new ObservableCollection<RuleMap>();
}
publ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using EZCameraShake;
using UnityEngine.SceneManagement;
public class PlayerController : MonoBehaviour
{
public float speed;
public float speedUpDown;
public int health = 100;
public int e... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using PterodactylCharts;
using Xunit;
namespace UnitTestEngine
{
public class TestGraphAxisHelper : TheoryData<string, string, string>
{
public TestGraphAxisHelper()
{
Add("XAxis", "Y Axis Name",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BHLD.Data.Infrastructure
{
public interface IDbFactory : IDisposable
{
BHLDDbContext Init();
}
}
|
using System.ComponentModel.DataAnnotations.Resources;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
namespace System.ComponentModel.DataAnnotations
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Method | AttributeTarge... |
using System;
using System.IO;
using System.Reflection;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace HTBPdf
{
public class ECPPdfWriter
{
private static readonly log4net.ILog log =
log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
protected S... |
// ReSharper disable InconsistentNaming
namespace Properties.Infrastructure.Rightmove.Objects
{
public class RmrtdfResponseProperty
{
public string agent_ref { get; set; }
public int? rightmove_id { get; set; }
public string rightmove_url { get; set; }
public string change_type ... |
using System;
using BootLoader.Impl;
using BootLoader.Interfaces;
namespace BootLoaderUnitTestProject
{
public class FakeTimer : ITimer
{
private double _interval;
private double _currentTime;
private bool _isStarted;
public void Dispose() {
}
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ProgressBar : MonoBehaviour //U use this script for do something with scene(chenge it)
{
public float F_speed;
public GameObject G_Fill; //To do something with f... |
namespace TripDestination.Web.MVC.Areas.UserProfile.ViewModels
{
using Common.Infrastructure.Constants;
using Common.Infrastructure.Mapping;
using Data.Models;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
public class EditProfileInputModel : IMapFrom<User>
{
p... |
using System;
namespace Bookings.Models.Exceptions
{
public class SeatsAlreadyBookedException : Exception
{
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shipwreck.TypeScriptModels.Declarations
{
public sealed class Parameter : Syntax
{
public Parameter() { }
... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StarlightRiver.Abilities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace StarlightRiver.NPCs.Passive
{
class DesertWisp : ModNPC
{
public override void SetStaticDefaults()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScreenManager : MonoBehaviour
{
public delegate void GameEvent();
public static event GameEvent OnNewGame;
public static event GameEvent OnStartGame;
public static event GameEven... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Day3
{
class Program
{
static void Main(string[] args)
{
// Rinka linijas - apkartmers un laukums
//
Console.WriteLine("Ieraksti ra... |
using Fingo.Auth.DbAccess.Repository.Interfaces;
using Fingo.Auth.Domain.Policies.Factories.Actions.Implementation;
using Fingo.Auth.Domain.Policies.Factories.Actions.Interfaces;
using Fingo.Auth.Domain.Policies.Factories.Interfaces;
using Fingo.Auth.Domain.Policies.Services.Interfaces;
namespace Fingo.Auth.Domain.Po... |
namespace P08PetClinic
{
using System;
public class Room : IComparable<Room>
{
public Room(int roomNumber, Pet petInRoom)
{
this.RoomNumber = roomNumber;
this.PetInRoom = petInRoom;
}
public Room(int roomNumber)
{
this.RoomNumber... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gun : MonoBehaviour
{
[SerializeField] private GameObject _gun = null;
[SerializeField] private GameObject _tower = null;
[Header("Rotation bounds"), Space(10)]
[SerializeField] private Vector2 _towerBounds = ... |
internal class roomObject
{
} |
using ISE.Framework.Common.Aspects;
using ISE.Framework.Common.Service.Message;
using ISE.Framework.Common.Service.ServiceBase;
using ISE.SM.Common.DTO;
using ISE.SM.Common.DTOContainer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threa... |
using System;
using System.Data;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using System.ComponentModel;
namespace GridViewExtensions.GridFilters
{
/// <summary>
/// A control with a <see cref="ComboBox"/> and two <see cref="TextBox"/>es
/// needed in the <see cref="NumericGridFilte... |
using UnityEngine;
using UnityEngine.Playables;
[System.Serializable]
public class BlendShapeBehaviour : PlayableBehaviour
{
public SkinnedMeshRenderer FaceMesh;
public BlendShapeClip.Shape[] Shapes;
public override void ProcessFrame(Playable playable, FrameData info, object playerData)
{
Fac... |
//---------------------------------------------------------------------------------
// Copyright (c) December 2019, devMobile Software
//
// 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
//
... |
namespace BattleEngine.Output
{
public class FinishEvent : OutputEvent
{
public FinishEvent()
{
}
}
}
|
using System;
using System.Threading;
using OpenQA.Selenium;
using Framework.Core.Common;
using OpenQA.Selenium.Support.PageObjects;
using Tests.Pages.Van.Main.Common;
namespace Tests.Pages.Van.Main.Demographic
{
public class DemographicsBasePage : VanBasePage
{
#region Page Element Declara... |
using Uintra.Core.Member.Profile.Edit.Models;
using Uintra.Core.Member.Profile.Models;
namespace Uintra.Core.User
{
public interface IIntranetUserContentProvider
{
ProfilePageModel GetProfilePage();
ProfileEditPageModel GetEditPage();
}
}
|
using UnityEngine;
using System.Collections;
public class GameMenu : MonoBehaviour {
private Rect rect_menuBtn;
void Start () {
rect_menuBtn = new Rect(Screen.width - 85, 15, 70, 30);
}
void OnGUI() {
if (GUI.Button(rect_menuBtn, "Menu")) {
Application.LoadLevel(0);
}
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
namespace DemoWebApp.Models
{
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class,AllowMultiple = false)]
public class ExportDemoAttribute : ExportAttribute
{
public ExportDemoAttribute(... |
using System;
using System.Collections.Generic;
namespace BlazorShared.Models.Doctor
{
public class ListDoctorResponse : BaseResponse
{
public List<DoctorDto> Doctors { get; set; } = new List<DoctorDto>();
public int Count { get; set; }
public ListDoctorResponse(Guid correlationId) : base(correlatio... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Security.Claims;
using Tails_Of_Joy.Models;
using Tails_Of_Joy.Repositories;
namespace Tails_Of_Joy.Controllers
{
//[Authorize]
[Route("api/[controller]")]
[ApiController]
public class AdoptionController : Controlle... |
using Geolocator.Plugin.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
namespace surfnsail.Models
{
public class PositionItem
{
public int RouteID { get; set; }
public Position Position { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NSTOX.DAL.Model;
using NSTOX.DAL.Extensions;
namespace NSTOX.DAL.DAL
{
public class ItemDAL : BaseDAL
{
private DataErrorDAL DataErrDAL;
public ItemDAL(DataErrorDAL dataErrorDAL)
{
... |
using UnityEngine;
using System.Collections;
public class LevelChanger : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(KeyCode.F1)){
LevelLoader.LoadLevel("Level1");
}else if(Input.GetKeyDown(KeyCode.F2)){
L... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterState : MonoBehaviour
{
//적과 플레이어의 동일한 상태
public bool isStunned;
public bool isSlowed;
public bool isInvulnerability;
public List<float> SlowAmountList;
public float SlowAmount;
PlayerCon... |
using DependencyViewModel;
using KinectSandbox.Common.Colors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace KinectSandbox.ColorPicker.AllColorPicker
{
public class AllColorPickerViewModel : ViewModelBase, I... |
using RogueDungeonCrawler.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RogueDungeonCrawler
{
class Program
{
static void Main(string[] args)
{
Level level = new Level();
//Gameloop
... |
// ==========================================================================
// Copyright (c) 2011-2016, dlg.krakow.pl
// All Rights Reserved
//
// NOTICE: dlg.krakow.pl permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
// ==================... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Anywhere2Go.DataAccess.Object;
using Anywhere2Go.DataAccess;
using Anywhere2Go.Library;
using Anywhere2Go.Business.Master;
using Anywhere2Go.DataAccess.Entity;
nam... |
using Backend.Model;
using Backend.Model.Users;
using System.Linq;
namespace Backend.Repository
{
public class MySqlActivePatientCardRepository : IActivePatientCardRepository
{
private readonly MyDbContext _context;
public MySqlActivePatientCardRepository(MyDbContext context)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace FamousQuoteQuiz.Data.EntityContracts
{
public interface IRepository<T1, T2>
where T1 : class
where T2 : class
{
IQueryable<T2> GetAll();
IQ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartSystem
{
public class ParameterReportPrintForm : ParameterDocumentPrintForm
{
public override string FriendlyName
{
get { return "Настроки просмотра отчетов"; }
}
}
}
|
using System;
using Faker.ValueGenerator.PrimitiveTypes;
namespace DataTimeGenerator
{
public class DateTimeGenerator : IPrimitiveTypeGenerator
{
private static readonly Random Random = new Random();
public Type GenerateType {
get => typeof(DateTime);
set
{... |
using System;
using System.ComponentModel.DataAnnotations;
using com.Sconit.Entity.INV;
namespace com.Sconit.Entity.PRD
{
[Serializable]
public partial class ProductLineLocationDetail : EntityBase, IAuditable
{
#region O/R Mapping Properties
//[Display(Name = "Id", ResourceType = typeof(Resour... |
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 BoloDeCenoura
{
public partial class Form1 : Form
{
string nome;... |
using UnityEngine;
using System.Collections;
public class ScoreManager : MonoBehaviour {
int score = 0;
int level = 1;
int lives = 3;
void Start() {
//Make sure the object persists
DontDestroyOnLoad (gameObject);
Application.LoadLevel ("Level1");
}
public int GetLevel(){
return level;
}
public voi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAttackInput : MonoBehaviour {
private CharacterAnimations playerAnimation;
public GameObject attackPoint;
// Use this for initialization
void Awake()
{
playerAnimation = GetComponent<Charac... |
using AutoMapper;
using Web.Models;
using Web.Representer;
namespace Web
{
public static class AutoMapper
{
public static IMapper Mapper;
static AutoMapper()
{
Mapper = new Mapper(new MapperConfiguration(cfg =>
{
cfg.CreateMap<RoleRepresenter, R... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.MRP.TRANS
{
public partial class InventoryBalance
{
[Display(Name = "OrderDetail_ItemDescription", ResourceType = t... |
using System;
using Gtk;
//using System.Drawing;
using System.Collections;
using System.ComponentModel;
//using System.Windows.Forms;
//using System.Data;
using System.Text;
namespace BitwiseOperations
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.Data.DataModels;
using Domain.Ef.Repository;
using Microsoft.EntityFrameworkCore;
using Services.Abstractions.Services;
namespace Services.Implementations.Services
{
public class TripSe... |
using System;
using System.Collections.Generic;
namespace Substrate
{
/// <summary>
/// Provides read-only indexed access to an underlying resource.
/// </summary>
/// <typeparam name="T">The type of the underlying resource.</typeparam>
public interface ICacheTable<T>
{
/// <summary>
... |
using System.Collections.Generic;
namespace KioskClient.Domain
{
public class AuditoriumRow
{
public int Number { get; set; }
public List<AuditoriumSeat> Seats { get; set; }
}
} |
using System.Collections.Generic;
using ticketarena.lib.model;
namespace ticketarena.lib.services
{
public interface IVendService
{
IEnumerable<Product> ListProducts();
VendResult Purchase(int productId);
void AddCoin(Coin coin);
IEnumerable<Coin> Coins {get;}
Return... |
namespace Atc.OpenApi
{
public class AtcOpenApiAssemblyTypeInitializer
{
// Dummy
}
} |
using System;
using System.Diagnostics;
using System.IO;
using Ionic.Zip;
using Microsoft.Build.Evaluation;
namespace BuildZipper
{
public static class BuildZipper
{
static void Main(string[] args)
{
if (args.Length ==1)
{
addPostBuildEvent(args[0].Trim(... |
using System;
using UnityEngine;
public class PlatformerCharacter2D : MonoBehaviour
{
[SerializeField] private float m_MaxSpeed = 10f;
[SerializeField] private LayerMask m_WhatIsGround; // A mask determining what is ground to the character
private Rigidbody2D m_Rig... |
using System;
using System.Reflection;
namespace Mesco.Base
{
internal static class PropertyInfoExtensions
{
internal static object TryGetValue(this PropertyInfo property, object element)
{
object value;
try
{
value = property.GetValue(elemen... |
using System.Xml.Serialization;
using Witsml.Data.Curves;
namespace Witsml.Data
{
public class WitsmlIndex
{
[XmlAttribute("uom")]
public string Uom { get; set; } = "";
[XmlText]
public string Value { get; set; } = "";
public WitsmlIndex() { }
public WitsmlInd... |
namespace Igorious.StardewValley.DynamicApi2.Utils
{
public interface IConstructor<out TClass>
{
TClass Invoke();
}
public interface IConstructor<in TArg, out TClass>
{
TClass Invoke(TArg arg);
}
public interface IConstructor<in TArg1, in TArg2, out TClass>
{
T... |
using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using static ProgressQuest.GameStrings;
using static ProgressQuest.GameManager;
na... |
namespace Core
{
public class Client : ClientBase
{
public string SecondName { get; }
public string ClientPhone2 { get; }
public string ClientAddress { get; }
public string ClientEmail { get; }
public string ClientNote { get; }
public bool ClientIsRegular { get; ... |
using ServiceCenter.ViewModel.Storage;
using System.Windows.Controls;
using System.Windows.Input;
namespace ServiceCenter.View.Storage
{
public partial class PageSelectComponent : Page
{
public PageSelectComponent()
{
InitializeComponent();
}
private void tbSearch_... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class VIdeoScreen : MonoBehaviour
{
public UnityEngine.Video.VideoPlayer videoPlayer;
public RawImage rawImage;
public Button button;
private void Start()
{
videoPlayer.loopPointRe... |
using UnityEngine;
using Assets.Code.Items;
using Assets.Code.Actors;
public class attackTest : MonoBehaviour
{
KeyCode sb = KeyCode.Space;
Weapon wp = new Weapon();
BoxCollider enemyCollider;
GameObject player;
GameObject[] enemies;
bool enemyInRange;
Enemy target;
void Awake()
{
// TODO: How to initi... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Management;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace Terminal.Gui {
/// <summary>
/// Provides a platform-independent API for managing ANSI escape sequence codes.
/// </sum... |
using MySql.Data.MySqlClient;
using ProyectoLP2;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccesoDatos
{
public class PedidoDA
{
public PedidoDA()
{
}
public int ag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities;
using DataAccessLayer;
namespace BLL
{
public class ProjectBusiness : IBusiness<Project>
{
UnitOfWork _uof;
Employee _emp;
public ProjectBusiness(Employee... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.