content
stringlengths
23
1.05M
using jvContacts.Persistence.Infrastructure; using Microsoft.EntityFrameworkCore; namespace jvContacts.Persistence.Context { public class ContactDbContextFactory : DesignTimeDbContextFactoryBase<ContactDbContext> { protected override ContactDbContext CreateNewInstance(DbContextOptions<ContactDbContext> option...
using System; namespace Aardvark.Base { /// <summary> /// Wrappers for the best (fastest) available implementation of the respective tensor operation. /// </summary> public static partial class TensorExtensions { #region Image Scaling //# var intConfigs = new [] //# { ...
using Yahoo.Yui.Compressor; using System.Text; using System.Globalization; namespace SquishIt.Framework.Minifiers.JavaScript { public class YuiMinifier : IJavaScriptMinifier { readonly JavaScriptCompressor compressor; public YuiMinifier() { compressor = new JavaScriptCompr...
// Copyright (c) Drew Noakes and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace MetadataExtractor.Formats.Heif { public class HeicThumbnailTagDescriptor : TagDescriptor<HeicThumbnailDirectory> { publ...
// Copyright 2010 Chris Patterson // // 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 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RepositoryManifest; namespace Utilities { public class MovedFileSet { public MovedFileSet() { OldFiles = new List<ManifestFileInfo>(); NewFiles = new List<ManifestFileInfo>(); ...
using System.IO; namespace DBRestorer.Ctrl.Domain { public class DbRestorOptVm : ViewModelBaseEx { private string _RelocateLdfTo; private string _RelocateMdfTo; private string _SrcPath; private string _TargetDbName; public string SrcPath { ...
using System; namespace Aspor.Streaming.Core.Attributes { [AttributeUsage(AttributeTargets.Method)] public class DisableStreamAttribute : Attribute { public DisableStreamAttribute() {} } }
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NameManager : MonoBehaviour { public GameObject blackPanel; public GameObject nameMenu; public Text inputField; public Text userName; private string name; // Start is called before...
using AutoMapper; using JetBrains.Annotations; using Litium.Accelerator.Builders; using Litium.Customers; using Litium.Runtime.AutoMapper; using Litium.Web.Models.Websites; namespace Litium.Accelerator.ViewModels.MyPages { public class LoginInfoViewModel : IAutoMapperConfiguration, IViewModel { public...
namespace CustomerManager.ViewModel { using CustomerManager.Common; using CustomerManager.DataModel; using WebApi.Models; public class NewCustomerViewModel : BindableBase { public NewCustomerViewModel() { this.Customer = new CustomerViewModel(); } ...
using System; using Cirrious.MvvmCross.ViewModels; using Cirrious.CrossCore; using MvxPageDemo.ViewModels; namespace MvxPageDemo.Shared { public class App : MvxApplication { public App () { } public override void Initialize () { base.Initialize (); //Start RegisterAppStart<StartViewModel> (); ...
// // Copyright Seth Hendrick 2016-2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // using System.Text.RegularExpressions; namespace Chaskis.Plugins.MeetBot { public static class...
namespace RpcNet.Internal { using System; using System.Net; using System.Net.Sockets; using System.Threading; // Public for tests public class RpcTcpConnection : IDisposable { private readonly Caller caller; private readonly ILogger logger; private readonly TcpReader...
using System; abstract class Foo { public abstract int Bar { get; } public abstract string Baz { get; set; } public abstract string Gazonk { set; } } abstract class Bar { public abstract Foo this [int a, string s] { set; } } class Baz { public string Bingo { get; set; } }
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VectorEngine.DemoGame.Shapes; using VectorEngine; using VectorEngine.Extras; using VectorEngine.DemoGame.DemoGame.Shapes; namespace VectorEngine.DemoGame { publi...
using System; namespace Neutronium.MVVMComponents.Relay { /// <summary> /// ISimpleCommand implementation based on action with no argument /// <seealso cref="ISimpleCommand"/> /// </summary> public class RelaySimpleCommand : ISimpleCommand { private readonly Action _Do; public...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; namespace Marble.Benchmarks.Common { [SimpleJob(RuntimeMoniker.NetCoreApp31)] [MarkdownExporterAttribute.GitHub] [Mea...
public abstract class Machine { private string id; protected Machine(string id) { this.id = id; } public string Id => id; }
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Torch.Managers.PatchManager { internal static class NativeLibrary { private static readonly HashSet<PlatformID> WindowsPlatformIDSet = new HashSet<Plat...
using Microsoft.AspNetCore.Mvc; namespace RSql4Net.Tests.Controllers { public class MockController : Controller { } }
using Bake.API.ScriptTaskFactory; using Bake.API.Task; using Cake.Core.IO; using System.Collections.Generic; using Bake.Cake.Build.Task; namespace Bake.Cake.Build.TaskFactory.Project { public class WebDriverTestsFactory : AbstractProjectScriptTaskFactory { public override bool IsApplicable(ProjectInfo...
 namespace ChessCompStompWithHacksLibrary { using ChessCompStompWithHacksEngine; using DTLibrary; using System; using System.Collections.Generic; public class ObjectivesScreenDisplay { private ObjectiveDisplay objectiveDisplay; private HashSet<Objective> completedObjectives; public Objective...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BusRouteHCM.Code { public class StationLabel { private string _stationName; private double _distanceFromStart; private int _nStop; private string _busName; privat...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MiniMouse : MonoBehaviour { public static List<MiniMouse> all = new List<MiniMouse>(); public static float maxDistance = 5f; public float moveSpeed = 5f; float currentDistance; float direction = 1f; ...
using System.ComponentModel.DataAnnotations; using ChatWithMe.Web.ValidationAttributes; namespace ChatWithMe.Web.Models.Auth { public class ChangePasswordViewModel { [Required(ErrorMessage = "Old password is required")] public string OldPassword { get; set; } [Required(ErrorMessage = ...
using Faker; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Watchster.Application.Interfaces; using Watchster.Domain.Entities; namespace Watchster.Application.UnitTests.Fakes { public class FakeMovieRe...
using System; using System.Linq; using GameOfLife.Lib; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace GameOfLifeTests { [TestClass] public class ConwayLifeRulesTests { [TestMethod] public void Case_Cell_ChouldDeadThenLessThanTwoNeigbours() { ...
// Copyright 2014 Adrian Chlubek. This file is part of GTA Multiplayer IV project. // Use of this source code is governed by a MIT license that can be // found in the LICENSE file. using MIVSDK; using MIVServer; using SharpDX; using System; using System.Linq; namespace EmptyGamemode { public class EmptyGamemode : ...
using System; namespace Adaptive.ReactiveTrader.Shared.Logging { public class DebugLoggerFactory : ILoggerFactory { public ILog Create(Type type) { return new DebugLogger(type.Name); } } }
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; namespace Extr...
using System.Collections.Generic; namespace Burpless.Configuration { public class DialectScenarioBuilder { private readonly Dictionary<KeywordType, string[]> _keywords; internal DialectScenarioBuilder(Dictionary<KeywordType, string[]> keywords) { _keywords = keywords; ...
using System; using System.Collections.Generic; namespace Necessity.UnitOfWork.Schema { public class PropertyColumnMap : Dictionary<string, Mapping> { public PropertyColumnMap() : base(StringComparer.OrdinalIgnoreCase) { } public PropertyColumnMap(Dictionary<string, Mapping> dict) : base(dict, ...
 namespace Wechaty.Module.Filebox { public class FileBoxOptionsBuffer : FileBoxOptions { public override FileBoxType Type => FileBoxType.Buffer; public byte[] Buffer { get; set; } } }
using System.IO; using System.Linq; namespace PhaseShift.Tools.LibrarySorter { public class EmptyDirectoryCleaner : IDirectoryCleaner { public void ClearEmptyDirectories(DirectoryInfo directoryInfo) { CleanEmptyFoldersInDirectory(directoryInfo); } private void Clea...
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace Linearstar.Core.Calendar { public class CalendarValue { public IList<string> Value { get; set; } public IDictionary<string, IList<string>> Parameters { get; set; } public CalendarValue() => Parameters = n...
namespace Microsoft.SilverlightMediaFramework.Plugins.Monitoring.Logs { /// <summary> /// The audio track has been changed to a different language /// </summary> public class AudioTrackChangedLog : VideoEventLog { public AudioTrackChangedLog(string Language) : base(Vide...
using System.Globalization; using System.Resources; using System.Threading; namespace NuGet.CommandLine { internal static class LocalizedResourceManager { private static readonly ResourceManager _resourceManager = new ResourceManager("NuGet.CommandLine.NuGetResources", typeof(LocalizedResourceManager)....
using Atk.DataPortal; using Atk.DataPortal.Core; namespace DemoTools.BLL.DemoNorthwind { /// <summary> /// 订单 数据访问接口定义 /// AzItem:业务实例 /// </summary> public interface IAzOrdersDal { void DB_Insert(AzOrdersEntity azItem); void DB_Update(AzOrdersEntity azItem); void DB_Delete(...
/* Exemplary file for Chapter 4 - Dictionaries and Sets. */ namespace SetPools { public enum PoolTypeEnum { RECREATION, COMPETITION, THERMAL, KIDS }; }
#region License // // PackageMatcher.cs May 2007 // // Copyright (C) 2007, Niall Gallagher <niallg@users.sf.net> // // 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.apach...
namespace AdsPortal.WebPortal.Models.Category { using AdsPortal.WebPortal.Models; using AdsPortal.WebPortal.Models.Base; using MagicOperations.Attributes; [OperationGroup(OperationGroups.Category)] [CreateOperation(ResponseType = typeof(IdResult), DisplayName = "Create category")] public class...
<style type="text/css"> .#@(Model.Prefix)form-spinner-up, .#@(Model.Prefix)form-spinner-down { font-size: 0; // prevents the spinner trigger from being to tall in IE } </style>
namespace BalanceCheck.ViewModels { public class IncomeVM { public int IncomeId { get; set; } public decimal IncomeValue { get; set; } public Boolean IsRepeated { get; set; } public DateTime IncomeDate { get; set; } public DateTime? EndIncomeDate { get; set; } } }...
// <copyright file="TypeUtilTest.cs" company="Fubar Development Junker"> // Copyright (c) 2016 Fubar Development Junker. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections; using System.Collec...
using System; using Microsoft.SPOT; using Netduino.Foundation.Displays; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using System.Threading; namespace PCD8544Sample { public class Program { public static void Main() { Debug.Print(Resources.GetString(Resou...
using System.Collections.Generic; namespace Lithnet.ResourceManagement.Client.Help.Examples { class ResourceManagementClient_GetResourceByKeyExamples { #region GetResourceByKey(String, String, String) public ResourceObject GetPersonByUsername(string username) { ResourceMana...
//----------------------------------------------------------------------- // <copyright> // Copyright (C) Ruslan Yakushev for the PHP Manager for IIS project. // // This file is subject to the terms and conditions of the Microsoft Public License (MS-PL). // See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL fo...
namespace ArdalisRating { public abstract class Rater { public ILogger Logger {get; set;} public Rater(ILogger logger) { this.Logger = logger; } public abstract decimal Rate(Policy policy); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RangoEnemigo2D : MonoBehaviour { public Animator ani; public Enemigo enemigo; void OnTriggerEnter2D(Collider2D coll) { if (coll.CompareTag("Player")) { ani.SetBool("walk", fa...
using Fambda.Contracts; using FluentAssertions; using Xunit; namespace Fambda.Tests.Contracts { public class ErrorTests { [Fact] public void GuardExceptionMustNotBeNullReturnsExpectedException() { // Arrange var expectedExceptionType = typeof(GuardExceptionMustNo...
using Microsoft.Owin.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SelfHost { public class OwinService { private IDisposable _webApp; public void Start() { // TODO:Mani following code ...
using DN.WebApi.Application.Common.Interfaces; using FluentAssertions; using Xunit; namespace Infrastructure.Test.Caching; public abstract class CacheServiceTests<TCacheService> where TCacheService : ICacheService { private record TestRecord(Guid id, string stringValue, DateTime dateTimeValue); private s...
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LivingDocumentation.Analyzer.Tests { [TestClass] public class EnumModifierTests { [TestMethod] public void EnumWithoutModifier_Should_HaveDefaultInternalModifier() { // Assign ...
using Microsoft.AspNetCore.Http; using Oyooni.Server.Common; using System.Threading; using System.Threading.Tasks; namespace Oyooni.Server.Services.General { /// <summary> /// Represents an image service contract /// </summary> public interface IImageService { /// <summary> /// Get...
using System.Collections.Generic; using EagleRepair.Ast.Url; namespace EagleRepair.IntegrationTests.Url.DataProvider { public class SonarQubeUrlDataProvider { public static IEnumerable<object[]> TestCases() { yield return new object[] { SonarQube.BaseUrl }; } } }
// This software is part of the IoC.Configuration library // Copyright © 2018 IoC.Configuration Contributors // http://oroptimizer.com // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software wi...
using System.IO; using System.Text; namespace RVCore.RvDB { public class RvTreeRow { public enum TreeSelect { UnSelected, Selected, Locked } private long _filePointer = -1; private bool _pTreeExpanded; private TreeSelect _pCh...
// #NVJOB Dynamic Sky (for Demo) // Full Asset #NVJOB Dynamic Sky - https://nvjob.github.io/unity/nvjob-dynamic-sky-lite // #NVJOB Nicholas Veselov - https://nvjob.github.io using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEditor; //////////////////////////////////////////////////...
using System; using System.Collections.Generic; using NUnit.Framework; using SFA.DAS.CommitmentsV2.Api.Types.Responses; using SFA.DAS.ProviderCommitments.Web.Extensions; namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Extensions { [TestFixture] public class PriceEpisodeExtensionsTests { privat...
using UnityEngine; using System.Collections; using UnityEngine.UI; #if EASY_MOBILE using EasyMobile; #endif namespace SgLib { public class StoreUIController : MonoBehaviour { public GameObject coinPackPrefab; public Transform productList; public InAppPurchaser purchaser; // U...
using AmaknaProxy.API.Utils.Logger; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AmaknaProxy.API.Managers { public static class ConsoleManager { private static ContainerLogger Logger; stati...
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using ClearCanvas.Web.Client.Silv...
using System.Net; using PowerUtils.Validations; using PowerUtils.Validations.Exceptions; using PowerUtils.Validations.GuardClauses; namespace PowerUtils.GuardClauses.Validations.Tests.GuardClausesTests; [Trait("Type", "Guards")] public class GuardValidationGeolocationExtensionsTests { [Fact] public void Floa...
/// <author>Parmanand Kumar</author> /// <created>03/11/2021</created> /// <summary> /// It contains the public interface required by Summary Module to save Summary data. /// It exposes the basic functinality of Telemetry Module /// </summary> /// namespace Dashboard.Server.Persistence { //SummaryPersiste...
using Bootstrapper.Interface; using DatabaseInteraction.Interface; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Utilities; namespace DatabaseInteraction { public class DatabaseBootstrapper : IBootstrapper { private const string _cachedConfig...
#region Copyright // Copyright (c) 2020 TonesNotes // Distributed under the Open BSV software license, see the accompanying file LICENSE. #endregion using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; namespace KZJ { /// <summary> /// For prototyping support. //...
// <copyright file="DatePickerControlTestsWpf.cs" company="Automate The Planet Ltd."> // Copyright 2020 Automate The Planet Ltd. // 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.a...
using System.Collections; using System.Collections.Generic; using UnityEngine; enum EMoveType { GIVE_FIRST_STEP, GIVE_SECOND_STEP, RECEIVE } public class Inventory : MonoBehaviour { [Header("Trade Animations")] [SerializeField] Vector3 spawnPos = new Vector3(6.25f, 1.95f, 1); [SerializeFi...
using System; namespace Scanbot.ImagePicker.Droid.Utils { public class Platform { public static Android.App.Application Context { get => (Android.App.Application)Android.App.Application.Context; } } }
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Xml.Serialization; using Cinema.Data.Models; using Cinema.Data.Models.Enums; using Cinema.DataProcessor.ImportDto; using Newtonsoft.Js...
using Newtonsoft.Json; namespace PholioVisualisation.PholioObjects { public class ComparatorMethod { [JsonProperty] public int Id { get; set; } [JsonProperty] public string Name { get; set; } [JsonProperty] public string ShortName { get; set; } [JsonP...
using System; using System.Collections.Generic; using mCore.Domain.Entities; using mCore.Services.Process.Core.Definition; namespace mCore.Services.Process.Core.Runtime { public class Exexution : Entity { protected Exexution() { IsActive = true; Executions = new List<Ex...
using System; using System.Collections.Generic; using System.Data; using Newtonsoft.Json; using static Dapper.SqlMapper; namespace Dapper.Json { public abstract class CollectionTypeHandler<T> : ITypeHandler { public abstract void SetValue(IDbDataParameter parameter, IEnumerable<T> value); publi...
namespace H_Solution_2 { public abstract class AbstractCommand { private string command; private Square square; public AbstractCommand(string command, Square square) { this.command = command; this.square = square; } public string getComm...
using Kartrider.Api.Endpoints.Interfaces; using Kartrider.Api.Http.Interfaces; using System.Text.Json; using System.Threading.Tasks; namespace Kartrider.Api.Endpoints.UserEndpoint { /// <summary> /// 유저 정보 API Endpoint /// </summary> public class UserEndpoint : IUserEndpoint { private con...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Jurassic; using Jurassic.Library; namespace UnitTests { /// <summary> /// Test the type utility routines. /// </summary> [TestClass] public class TypeUtilitiesTests : TestBase { [TestMethod] public void CreateListFromArr...
/* Copyright 2020 Leaping Gorilla LTD 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 agr...
namespace Bakery.Models { public class Bread { public int LoafCount {get; set;} public Bread(int loafCount) { LoafCount = loafCount; } public int BreadCost() { int loafCost = 5; if (LoafCount <= 2) { return loafCost * LoafCount; } else if (LoafC...
namespace NBaseRepository.SQL { using System; using System.Collections.Generic; using Common; public abstract class SqlBuilder<T, TId> where T : IEntity<TId> { private readonly string _tableName; private readonly IEnumerable<string> _columns; private string _query; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SkillBarController : MonoBehaviour { [SerializeField] private BoterkroonSkills targetSkill = BoterkroonSkills.Baking; [SerializeField] private MultiLevelSlider multiSlider = null; [SerializeField] private CanvasGr...
using System; namespace RRLab.PhysiologyWorkbench.Data { /// <summary> /// <c>Annotation</c> objects store commentary information about a physiology data object. /// </summary> [Serializable()] public class Annotation { /** * <summary> * <c>Annotation(String text)</c> creates an <c>Annotation...
using System; namespace Mason.Core.Thunderstore { public sealed class DescriptionString : ConstrainedString<DescriptionString> { public static DescriptionString? TryParse(string value) { return value.Length > 250 ? null : new DescriptionString(value); } public static DescriptionString Parse(string value)...
using System; namespace Softing.OPCToolbox.Server { /// <summary> /// Describes the possible Address space type /// </summary> /// <include /// file='TBNS.doc.xml' /// path='//enum[@name="EnumAddressSpaceType"]/doc/*' /// /> public enum EnumAddressSpaceType : byte { /// <summary>The Address space is based...
using VCSFramework; using VCSFramework.Templates.Standard; using static VCSFramework.Registers; namespace Samples { [TemplatedProgram(typeof(StandardTemplate))] public static class StandardTemplateSample { private static byte BackgroundColor; [VBlank] public static void ResetBackg...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Web; using Server.MasterData.DTO.Data; using Server.MasterData.DTO.Data.Game; using Server.MasterData.DTO.Response; namespace Server.MasterData.DTO.Request { /// <summary> /// Game requests rela...
namespace CaseManagement.HumanTask.Domains { public enum NotificationInstanceStatus { READY = 0, REMOVED = 1 } }
using System; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net.SIP.Stack { /// <summary> /// This class holds known SIP timer constant values. /// </summary> internal class SIP_TimerConstants { public const int T1 = 500; public const int T2 = 4000; ...
using System; using iSukces.Parsers.TokenParsers; using Xunit; namespace SimpleParser.Tests { public class DateTokenizerTests { [Fact] public void T01_Should_parse_date() { var t = new RegexpDateTokenizer(); var c = t.Parse("2020-01-03"); Assert.Equa...
namespace Noise.Infrastructure.Dto { public class StreamInfo { public int Channel { get; private set; } public string Artist { get; private set; } public string Album { get; private set; } public string Title { get; private set; } public string Genre { get; private set; } public StreamInfo( int channel,...
using System.Text.RegularExpressions; namespace JonasSchubert.Snippets.String { /// <summary> /// Partial class for string snippets /// </summary> public static partial class String { /// <summary> /// Splits a multiline string into an array of lines. /// </summary> ...
using System; using System.IO; using System.Text; using FluentAssertions; using NUnit.Framework; using Vostok.Logging.Abstractions; using Vostok.Logging.Formatting.Tokens; namespace Vostok.Logging.Formatting.Tests.Tokens { [TestFixture] internal class PropertyToken_Tests { private PropertyToken to...
using System.Text.Json.Serialization; namespace PaninApi.Abstractions.Dtos { public class InputStudentClassDto { [JsonPropertyName("class")] public int Class { get; set; } [JsonPropertyName("section")] public string Section { get; set; } } }
// // ListViewGroupCollection.cs // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, /...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace DiscoveryTestProject3 { [TestClass] public class LongDiscoveryTestClass { [MyTestMethod] public void CustomTestMethod() { ...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.Linq; using System.Diagnostics; using System.IO; using System.Tex...
using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; using WebWallet.Data.Contracts; using WebWallet.Models.Contracts; namespace WebWallet.Data.Repositories { public class Repository<TEntity> : BaseRepository, IRepository<TEntity> where TEntity : class, IEntity { pr...
using Microsoft.Extensions.Caching.Memory; using System; using System.Collections.Generic; using WebArchivProject.Contracts; using WebArchivProject.Models.DTO; namespace WebArchivProject.Services { class ServStartItemsCash : IServStartItemsCash { private readonly IMemoryCache _cache; private...
using UAIC.RealEstateAgency.EstatesBase; namespace UAIC.RealEstateAgency.Agents { public class ImmobileAgent : EstateAgent, IImmobileAgent { public string GetAddress(Immobile immobile) { return immobile.address; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSharpGL { /// <summary> /// Storage of *.DDS file. /// </summary> public class DDSStorage : TexStorageBase { private vglImageData imageData; public DDSStorage(vglImageData imageData) ...