• Documentation
  • Knowledgebase
Show / Hide Table of Contents
  • ConsoleTestApp
    • AppContext
    • Program
    • TestService
    • UserTestTrigger
  • ConsoleTestApp.Domain
    • IListAsyncTestService
    • ISeedService
    • ITestService
  • ConsoleTestApp.Infrastructure
    • AppContextFactory
  • ConsoleTestApp.Misc
    • AppConfigurationExtensions
    • CountryCodeEnumGenerator
  • ConsoleTestApp.Models
    • IFrontendModel
    • MvcModel
  • ConsoleTestApp.Service
    • AppUserService
    • ListAsyncTestService
    • SeedService
    • TenantConsoleResolver
  • PTS
    • ApplicationConfiguration
    • ArrayHelper
    • AssemblyLoader
    • BooleanResultHelper
    • ByteHelper
    • CharHelper
    • CollectionHelper
    • ConvertibleHelper
    • ConvertibleStructHelper
    • DataLogic
    • DateTimeCollectionHelper
    • DateTimeHelper
    • DateTimeQueryableExtensions
    • DateTimeRangeHelper
    • DateTimeToRangeExtensions
    • DbContextOptionsBuilderServiceHelper
    • DbContextOptionsEntityBindingExtensions
    • DbContextOptionsLoggerExtensions
    • DbContextOptionsServiceHelper
    • DecimalHelper
    • DictionaryHelper
    • EntityAffinityDbContextOptionsExtensions
    • EntityAffinityExtensions
    • EntityEventsDbContextExtensions
    • EntityEventsDbContextOptionsExtensions
    • EntityFrameworkCoreExtensions
    • EntityPropertyTranslationHelper
    • EntityServiceAccessorEventHelper
    • EnumFlagHelper
    • EnumHelper
    • Float64Helper
    • GenericTypeHelper
    • GlobalizationStringExtensions
    • HashSetHelper
    • IConfigurationProvider
    • IncludeContainersDbContextExtenions
    • IncludeQueryable
    • InitializeOnStartAttribute
    • Integer32Helper
    • Integer64Helper
    • ITimeProvider
    • ListHelper
    • ObjectExceptionHelper
    • ObjectHelper
    • RelatedToQueryable
    • RequireQueryable
    • ResultType
    • ServiceCollectionDbServiceExtensions
    • ServiceCollectionDiExtensions
    • ServiceCollectionModuleExtensions
    • ServiceProviderDiExtensions
    • StaticInitializer
    • StreamHelper
    • StreetAddress
    • StringArrayHelper
    • StringHelper
    • StructHelper
    • SystemTime
    • TenancyDbContextOptionsExtensions
    • ThenIncludeQueryable
    • ThenRequireQueryable
    • Time
    • TimeHelper
    • TimeRange
    • TimeSpanHelper
    • TypeCodeHelper
    • TypeHelper
    • UnsignedInteger32Helper
    • UriHelper
    • UtcTimeProvider
  • PTS.BusinessCore.Apex.Common
    • ApexCore
  • PTS.BusinessCore.Apex.Domain
    • IApexCore
  • PTS.BusinessCore.Bravo.Domain
    • IBravoCore
  • PTS.BusinessCore.Colossus.Domain
    • IColossusCore
  • PTS.BusinessCore.Dyno.Domain
    • IDynoCore
  • PTS.BusinessCore.Enigma.Domain
    • IEnigmaCore
  • PTS.Chronometry
    • AvailabilityStatus
    • ITimeRestricted
    • RepeatPeriod
    • RepeatPeriodHelper
    • TimeInterval
    • WeekPart
  • PTS.Collections
    • CollectionConvertor
    • CollectionQueryableExtensions
    • ConcurrentHashSet<T>
    • IPagedList
    • IPagedList<T>
    • MultiDictionary<TKey1, TKey2, TValue>
    • PagedList<T>
    • PartitionedHashSet
    • PartitionedHashSet<Tkey, TValue>
    • PartitionedList<Tkey, TValue>
    • PartitionedList<Tkey1, TKey2, TValue>
  • PTS.Concurrency
    • ExecutionCallContextProvider
    • ILogicalDataContainer
    • LocalDataContainer
    • StaticDictionary<TKey, TValue>
    • WeakReferenceTable<TKey, TValue>
  • PTS.DataStructures
    • Dto
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8>
    • Dto<T1, T2, T3, T4, T5, T6, T7>
    • Dto<T1, T2, T3, T4, T5, T6>
    • Dto<T1, T2, T3, T4, T5>
    • Dto<T1, T2, T3, T4>
    • Dto<T1, T2, T3>
    • Dto<T1, T2>
    • Dto<T1>
    • IDto
    • IHasPrimaryItem<T1>
    • ILot
    • Lot<TKey, TValue>
    • Pile<TValue>
  • PTS.DependencyInjection
    • IParentServiceProvider
    • ISeedWork
    • ISeedWork<TService>
    • IServiceProviderAccessor
    • IStartupDependency
  • PTS.DependencyInjection.Common
    • ParentServiceProvider
    • ServiceProviderAccessor
  • PTS.Diagnostics
    • LogAction
    • LogCategory
    • NoticeStatus
    • NoticeType
    • NoticeTypeHelper
    • RuntimeLogs
    • SystemMessage
    • SystemMessageList
  • PTS.DomainFramework.Common
    • AggregateRootService<TAggregateRoot, TAggregate>
    • SingleRepositoryService<TEntity>
    • TriggerHandler<TEntity>
    • UnitOfWorkService
  • PTS.DomainFramework.Domain
    • IDomainAggregateRoot
    • IDomainExtension
    • IDomainRoot
    • IRepository
    • IRepository<TEntity>
    • IRepositoryFactory
    • ITriggerHandler
    • ITriggerHandler<TEntity>
    • IUnitOfWork
    • RepositoryAction
    • ServiceCollectionTriggerExtensions
    • TriggerEvent
  • PTS.DomainFramework.Infrastructure
    • IHasDbContext
    • Repository
    • Repository<TEntity>
    • RepositoryFactory
    • UnitOfWork
  • PTS.EntityLayer
    • EntityAction
    • GuidKeyGenerator
  • PTS.EntityLayer.Affinity
    • EntityAffinityProvider
    • EntityAffinityService
    • IEntityAffinityService
  • PTS.EntityLayer.Binding
    • EntityAutoBinder
    • EntityBinder
    • EntityBinding<TEntity>
    • EntityBindingBinder
    • EntityBindingService
    • EntityClassBinder
    • EntityInterfaceBinder
    • IEntityBinder
    • IEntityBinding
    • IEntityBindingService
    • OverrideAttribute
    • SkipAttribute
    • TypeBinder
  • PTS.EntityLayer.Events
    • EntityEvent
    • EntityEventBinder
    • EntityEventCache
    • EntityEventHandler
    • EntityEventHandler<TEntity>
    • EntityEventSender<TValue>
    • EntityEventService
    • IEntityEventSender
    • IEntityEventService
    • PropertyState
    • SkipAttribute
  • PTS.EntityLayer.Extensibility
    • DbContextOptionsServiceCollectionExtension
    • DbContextOptionsServiceCollectionExtensionInfo
    • EntityService
    • EntityServiceCollection
    • EntityServiceScope
    • ExtensibleDbContext
    • IEntityServiceAccessor
    • IEntityServiceAccessor<TEntity>
    • IEntityServiceCollection
    • IEntityServiceProvider
    • IEntityServiceScope
    • IModelBuilderService
    • ModelBuilderService
  • PTS.EntityLayer.Logging
    • ConsoleLogger
    • QueryLoggerProvider
  • PTS.EntityLayer.Tenancy
    • AssignedTenant
    • ITenancyService
    • ITenantResolver
    • ParentScopeTenantResolver
    • TenancyService
    • TenantBinder
    • TenantBinding<TEntity>
  • PTS.Files
    • FileData
    • FileHelper
  • PTS.Globalization
    • CountryCode
    • CountryCodeHelper
    • CountryLocale
    • CountryLocaleProvider
    • CultureInfoHelper
    • CultureInfoProvider
    • CurrencyCode
    • CurrencyCodeHelper
    • DateFormat
    • DateFormatDefinition
    • DateFormatHelper
    • IanaAttribute
    • IbanHelper
    • LanguageCode
    • LanguageCodeHelper
    • LanguageCodeProvider
    • PhoneFormatDefinition
    • PhoneFormatHelper
    • PhoneFormatProvider
    • RegionInfoHelper
    • TimeZoneCode
    • TimeZoneCodeHelper
    • TimeZoneDateTimeHelper
    • TimeZoneTimeHelper
  • PTS.Includers
    • IIncluderExpressionService
    • IncludeOptions
    • Includer
    • Includer<TPrimary, TRigt>
    • Includer<TPrimary>
    • IncluderExpressionStaticProvider
    • IncluderParameters
    • RelatedIncluder<TPrimary, TLeft, TRigt>
    • ThenIncluder<TPrimary, TLeft, TRigt>
  • PTS.Includers.Infrastructure
    • ForeignKeyMap
    • ForeignKeyService
    • IForeignKeyService
    • IncludeExpressionBuilder
    • IncludeExpressionService
  • PTS.Modules._ModuleTemplate.Domain
    • Entity
  • PTS.Modules._ModuleTemplate.Ifrastructure
    • EntityBinding
  • PTS.Modules.Accounts.Domain
    • Account
    • IAccountService
  • PTS.Modules.Albums.Domain
    • IAlbumService
  • PTS.Modules.Classifications.Common
    • ClassificationService
  • PTS.Modules.Classifications.Domain
    • Classification
    • FilterOption
    • IClassificationsService
  • PTS.Modules.Classifications.Infrastructure
    • ClassificationBinding
  • PTS.Modules.Comments.Domain
    • ICommentService
  • PTS.Modules.CommerceComponent
    • CommissionMethod
    • DocumentStatus
    • IAmount
    • ICommerceComponentService
    • IDeclaration
    • IStatement
    • ITaxRecord
    • ITaxSubject
    • ITrader
    • TraderType
    • VatRegistrationType
    • VatSource
    • VatType
  • PTS.Modules.CommerceComponent.Common
    • CommerceComponentService
  • PTS.Modules.Contracts.Domain
    • ContractSignature
    • ContractStatus
    • ContractType
    • IContractService
  • PTS.Modules.DateTimeRangeComponent
    • DateTimeRange
  • PTS.Modules.Devices.Common
    • DeviceService
  • PTS.Modules.Devices.Domain
    • Application
    • Device
    • DeviceApp
    • IApplicationData
    • IDeviceData
    • IDeviceService
    • PlatformType
  • PTS.Modules.Devices.Extensions
    • ApplicationExtensions
    • DeviceExtensions
  • PTS.Modules.Devices.Infrastructure
    • ApplicationBinding
    • DeviceAppBinding
    • DeviceBinding
  • PTS.Modules.DistributionComponent
    • GdsRole
    • IGdsRecord
  • PTS.Modules.Domain
    • IBusinessComponent
    • IBusinessCore
    • IHasModule<TModule>
  • PTS.Modules.DynamicContents.Domain
    • DynamicContent
    • DynamicContentType
    • IDynamicContentService
  • PTS.Modules.DynamicContents.Infrastructure
    • DynamicContentBinding
  • PTS.Modules.DynamicTexts.Common
    • DynamicTextService
  • PTS.Modules.DynamicTexts.Domain
    • DynamicText
    • IDynamicTexts
    • TextType
  • PTS.Modules.DynamicTexts.Infrastructure
    • DynamicTextBinding
  • PTS.Modules.DynamicTexts.Tests.IntegrationTests
    • CultureInfoTests
    • FormattingTests
  • PTS.Modules.EntityTranslationComponent
    • EntityTranslation<TEntity>
    • IEntityPropertyTranslation<TEntity>
    • IEntityTranslationService<TBaseEntity, TTranslation>
    • IPropertyTranslation
    • PropertyTranslation
    • PropertyTranslationCollection
    • PropertyTranslationKey
  • PTS.Modules.EntityTranslationComponent.Common
    • EntityTranslationService<TBaseEntity, TTranslation>
  • PTS.Modules.EntityTranslationComponent.Infrastructure
    • EntityTranslationBinding<TEntity, TTranslation>
  • PTS.Modules.Events.Common
    • EventMemberTriggerService
    • EventTriggerService
  • PTS.Modules.Events.Domain
    • Event
    • EventMember
    • EventMemberStatus
    • EventRole
    • EventState
    • EventTime
    • EventTimeStatus
    • EventTimeType
    • EventType
    • IEventService
    • Privacy
  • PTS.Modules.Events.Infrastructure
    • EventBinding
    • EventMemberBinding
    • EventTimeBinding
  • PTS.Modules.Files.Domain
    • File
    • FileLink
    • FileRecordType
    • FileStatus
  • PTS.Modules.Files.Infrastructure
    • FileBinding
    • FileLinkBinding
  • PTS.Modules.Gds.Domain
    • RequestStatus
    • SyncStatus
    • TypeMeta
  • PTS.Modules.Hostnames.Common
    • HostnameService
  • PTS.Modules.Hostnames.Domain
    • Hostname
    • HostnameStatus
    • IHostnameService
  • PTS.Modules.Hostnames.Infrastructure
    • HostnameBinding
  • PTS.Modules.Hostnames.Tests.IntegrationTests
    • CaseSensitivityTests
  • PTS.Modules.Identities.Common
    • IdentityService
  • PTS.Modules.Identities.Domain
    • Identity
    • IdentityLocale
    • IIdentityService
  • PTS.Modules.Identities.Infrastructure
    • IdentityBinding
    • IdentityLocaleBinding
  • PTS.Modules.IdentitySettingExtension
    • SettingService
  • PTS.Modules.IdentitySettingExtension.Common
    • SettingTriggerService
  • PTS.Modules.IdentitySettingExtension.Domain
    • ISettingService
    • Setting
    • SettingType
  • PTS.Modules.IdentitySettingExtension.Infrastructure
    • SettingBinding
  • PTS.Modules.IdentityTokenExtension.Common
    • TokenService
    • TokenTrigger
  • PTS.Modules.IdentityTokenExtension.Domain
    • ITokenService
    • Token
    • TokenStatus
    • TokenType
    • TokenValueGenerator
  • PTS.Modules.IdentityTokenExtension.Infrastructure
    • TokenEntityBinding
  • PTS.Modules.IdentityTranslationExtension
    • IdentityTranslationService
  • PTS.Modules.IdentityTranslationExtension.Domain
    • IdentityTranslation
    • IIdentityTranslationService
  • PTS.Modules.IdentityTranslationExtension.Infrastructure
    • IdentityTranslationBinding
  • PTS.Modules.Instances.Domain
    • DataServer
    • DataServerLink
    • DataServerLinkType
    • DataServerPlatform
    • DataServerStatus
    • Instance
    • InstanceIdentityLink
    • InstanceLinkType
    • InstanceStatus
    • OnboardingStatus
  • PTS.Modules.Instances.Infrastructure
    • DataServerBinding
    • DataServerLinkBinding
    • InstanceBinding
    • InstanceIdentityLinkBinding
  • PTS.Modules.InternationalComponent
    • ILocale
    • Locale
    • LocalizedText
  • PTS.Modules.Invoices.Common
    • InvoiceService
  • PTS.Modules.Invoices.Domain
    • IInvoiceService
    • Invoice
    • InvoiceBillingInfo
    • InvoiceBillingInfoType
    • InvoiceItem
    • InvoiceStatus
  • PTS.Modules.Invoices.Infrastructure
    • InvoiceBillingInfoBinding
    • InvoiceBinding
    • InvoiceItemBinding
  • PTS.Modules.Invoices.Tests.IntegrationTests
    • InvoiceItemsMoneyCalculationsTests
  • PTS.Modules.Invoices.Tests.UnitTests
    • InvoiceCalculationUnitTests
  • PTS.Modules.LinkComponent
    • DistinctLink<TSource, TTarget, TDiscriminator>
    • IDistinctLink<TSource, TTarget, TDiscriminator>
    • ILink<TSource, TTarget>
    • Link<TSource, TTarget>
    • LinkStatus
    • LinkUpdateModel
  • PTS.Modules.LinkComponent.Infrastructure
    • DistinctLinkBindingHelper<TSource, TTarget, TDiscriminator>
  • PTS.Modules.Logins.Common
    • LoginService
  • PTS.Modules.Logins.Domain
    • ILoginService
    • Login
  • PTS.Modules.Logins.Infrastructure
    • LoginBinding
  • PTS.Modules.Logins.Tests.IntegrationTests
    • UsernameUniquenessTests
  • PTS.Modules.Logins.Tests.UnitTests
    • PasswordHashingUnitTests
  • PTS.Modules.LogPictureAggregate.Domain
    • SystemLogPicture
    • SystemLogPictureType
  • PTS.Modules.LogPictureAggregate.Infrastructure
    • SystemLogPictureBinding
  • PTS.Modules.Logs.Domain
    • FollowUpStatus
    • LogAction
    • LogCategory
    • LogType
    • SystemLog
  • PTS.Modules.Logs.Infrastructure
    • SystemLogBinding
  • PTS.Modules.MerchandiseComponent
    • DeliveryStatus
    • IMerchandiseComponent
    • ItemComposition
    • ItemType
    • RentalStatus
    • SaleStatus
  • PTS.Modules.Messages.Common
    • ConversationMessageTriggerService
    • ConversationTriggerService
  • PTS.Modules.Messages.Domain
    • Conversation
    • ConversationMember
    • ConversationMemberStatus
    • ConversationMessage
    • ConversationStatus
    • MemberStatus
    • MessageStatus
    • MessageType
    • ReadStatus
  • PTS.Modules.Messages.Infrastructure
    • ConversationBinding
    • ConversationMemberBinding
    • ConversationMessageBinding
  • PTS.Modules.Notifications.Common
    • NotificationPayloadTriggerService
    • NotificationProfileLinkTriggerService
    • NotificationService
    • NotificationTriggerService
  • PTS.Modules.Notifications.Domain
    • INotificationService
    • Notification
    • NotificationAttachment
    • NotificationAttachmentType
    • NotificationPayload
    • NotificationPayloadType
    • NotificationProfileLink
    • NotificationProfileLinkType
    • NotificationStatus
    • NotificationTemplate
    • NotificationTemplateGroup
    • NotificationTemplateGroupTiming
    • NotificationTemplateItem
    • NotificationType
    • ReadStatus
  • PTS.Modules.Notifications.Infrastructure
    • NotificationAttachmentBinding
    • NotificationBinding
    • NotificationPayloadBinding
    • NotificationProfileLinkBinding
    • NotificationTemplateBinding
    • NotificationTemplateGroupBinding
    • NotificationTemplateGroupTimingBinding
    • NotificationTemplateItemBinding
  • PTS.Modules.OrderItemEventAggregate.Domain
    • OrderItemEvent
    • OrderItemEventType
  • PTS.Modules.OrderItemEventAggregate.Infrastructure
    • OrderItemEventBinding
  • PTS.Modules.OrderNotificationAggregate.Domain
    • OrderNotification
  • PTS.Modules.OrderNotificationAggregate.Infrastructure
    • OrderNotificationBinding
  • PTS.Modules.Orders.Common
    • OrderService
  • PTS.Modules.Orders.Domain
    • IOrderService
    • MarketingSource
    • Order
    • OrderInvoicingMethod
    • OrderInvoicingStatus
    • OrderItem
    • OrderItemPricing
    • OrderItemStatus
    • OrderItemType
    • OrderStatus
    • OrderType
    • PriceUnitCalculationMethod
  • PTS.Modules.Orders.Infrastructure
    • OrderBinding
    • OrderItemBinding
    • OrderItemPricingBinding
  • PTS.Modules.OrderTransactionAggregate.Common
    • OrderTransactionService
  • PTS.Modules.OrderTransactionAggregate.Domain
    • IOrderTransactionService
    • OrderTransaction
    • OrderTransactionAggregateRoot
  • PTS.Modules.OrderTransactionAggregate.Infrastructure
    • OrderTransactionAggregateRootBinding
    • OrderTransactionBinding
  • PTS.Modules.PaymentComponent
    • PaymentMethod
    • PaymentStatus
    • RefundStatus
  • PTS.Modules.PhysicalAddresses.Domain
    • IHasCoordinates
    • IPhysicalAddress
    • IPlacesService
    • LocationType
    • MailingAddressType
    • PhysicalAddress
  • PTS.Modules.PhysicalAddresses.Infrastructure
    • PhysicalAddressBinding
  • PTS.Modules.Pictures
    • IPictureService
  • PTS.Modules.Pictures.Common
    • PictureService
  • PTS.Modules.Pictures.Domain
    • Picture
  • PTS.Modules.Pictures.Infrastructure
    • PictureBinding
  • PTS.Modules.ProductPriceEventAggregate.Domain
    • ProductPriceEvent
  • PTS.Modules.ProductPriceEventAggregate.Infrastructure
    • ProductPriceEventBinding
  • PTS.Modules.Products.Common
    • ProductService
  • PTS.Modules.Products.Domain
    • IPriceCalculationProvider
    • IPriceModel
    • IProductService
    • PriceChargeType
    • PriceCommission
    • PriceLevel
    • PriceModel
    • PriceOrigin
    • PricePeriod
    • PriceStatus
    • PriceType
    • PriceUnit
    • Product
    • ProductPrice
  • PTS.Modules.Products.Infrastructure
    • ProductBinding
    • ProductPriceBinding
  • PTS.Modules.ProfileAddressAggregate.Common
    • ProfileAddressService
  • PTS.Modules.ProfileAddressAggregate.Domain
    • IProfileAddressService
    • ProfileAddress
  • PTS.Modules.ProfileAddressAggregate.Infrastructure
    • ProfileAddressBinding
  • PTS.Modules.ProfileAliasExtension.Common
    • ProfileAliasService
    • ProfileAliasTrigger
  • PTS.Modules.ProfileAliasExtension.Domain
    • IProfileAliasService
    • ProfileAlias
  • PTS.Modules.ProfileAliasExtension.Infrastructure
    • ProfileAliasBinding
  • PTS.Modules.ProfileClassificationAggregate
    • ProfileClassificationService
  • PTS.Modules.ProfileClassificationAggregate.Domain
    • IProfileClassificationAggregateService
    • ProfileClassification
    • ValueType
  • PTS.Modules.ProfileClassificationAggregate.Infrastructure
    • ProfileClassificationBinding
  • PTS.Modules.ProfilePictureAggregate.Common
    • ProfilePictureService
  • PTS.Modules.ProfilePictureAggregate.Domain
    • IProfilePictureService
    • PictureType
    • ProfilePicture
  • PTS.Modules.ProfilePictureAggregate.Infrastructure
    • ProfilePictureBinding
  • PTS.Modules.ProfilePostClassificationAggregate.Common
    • ProfilePostClassificationService
    • ProfilePostClassificationTrigger
  • PTS.Modules.ProfilePostClassificationAggregate.Domain
    • IProfilePostClassificationService
    • ProfilePostClassification
  • PTS.Modules.ProfilePostClassificationAggregate.Infrastructure
    • ProfilePostClassificationBinding
  • PTS.Modules.ProfilePostExtension.Domain
    • ProfilePost
  • PTS.Modules.ProfilePostExtension.Infrastructure
    • ProfilePostBinding
  • PTS.Modules.Profiles.Common
    • ProfileLinkTriggerService
    • ProfileService
  • PTS.Modules.Profiles.Domain
    • Contact
    • ContactType
    • IProfileService
    • Profile
    • ProfileLink
    • ProfileLinkType
    • ProfileTypeLink
    • ProfileTypeLinkStatus
    • VerificationStatus
  • PTS.Modules.Profiles.Infrastructure
    • ContactBinding
    • ProfileBinding
    • ProfileLinkBinding
    • ProfileTypeLinkBinding
  • PTS.Modules.ProfileSeoExtension
    • ISeoData
  • PTS.Modules.ProfileSeoExtension.Common
    • ProfileSeoService
  • PTS.Modules.ProfileSeoExtension.Domain
    • IProfileSeoService
    • ProfileSeo
    • ProfileSeoExtensions
  • PTS.Modules.ProfileSeoExtension.Infrastructure
    • ProfileSeoBinding
  • PTS.Modules.ResultComponent
    • IResult
    • IValueResult<TValue>
    • Result
    • ResultSet
    • ValueResult<TValue>
  • PTS.Modules.StockItems.Common
    • StockItemTriggerService
  • PTS.Modules.StockItems.Domain
    • ItemProperty
    • MaintenanceStatus
    • ProductionStatus
    • PurchasingStatus
    • RentItemType
    • RepairStatus
    • StockItem
    • StockStatus
    • WearStatus
  • PTS.Modules.StockItems.Infrastructure
    • StockItemBinding
  • PTS.Modules.TenancyComponent
    • InstanceRole
  • PTS.Modules.Tests.Builders
    • IBuilder<T>
  • PTS.Modules.Tests.Builders.Accounts
    • AccountBuilder
    • IAccountBuilder
  • PTS.Modules.Tests.Builders.DynamicTexts
    • DynamicTextBuilder
    • IDynamicTextBuilder
  • PTS.Modules.Tests.Builders.Hostnames
    • HostnameBuilder
    • IHostnameBuilder
  • PTS.Modules.Tests.Infrastructure
    • ConnectionStringProvider
    • TestingDbContext
    • TestingDbContextFactory
    • TestingInMemoryUnitOfWork
    • TestingUnitOfWork
    • TestingUnitOfWorkFactory
  • PTS.Modules.Tests.Infrastructure.Extensions
    • IRepositoryExtensions
  • PTS.Modules.TimeComponent
    • Frequency
  • PTS.Modules.Transactions.Common
    • MoneyAccountActivityTriggerService
    • MoneyAccountTriggerService
    • TransactionService
    • TransactionTriggerService
  • PTS.Modules.Transactions.Domain
    • BalanceType
    • CaptureStatus
    • ITransactionService
    • MoneyAccount
    • MoneyAccountActivity
    • MoneyAccountStatus
    • MoneyAccountType
    • MoneyActivityType
    • PaymentProviderStatus
    • PaymentProviderType
    • RecurringTransaction
    • RecurringTransactionStatus
    • RefundStatus
    • Transaction
    • TransactionCodes
    • TransactionInfo
    • TransactionInfoType
    • TransactionMethod
    • TransactionStatus
    • TransactionType
  • PTS.Modules.Transactions.Infrastructure
    • MoneyAccountActivityBinding
    • MoneyAccountBinding
    • RecurringTransactionBinding
    • TransactionBinding
    • TransactionInfoBinding
  • PTS.Modules.Translations.Common
    • TranslationService
  • PTS.Modules.Translations.Domain
    • ITranslationService
    • TranslatedEntity<TEntity>
    • TranslatedProperty
    • Translation
  • PTS.Modules.Translations.Infrastructure
    • TranslationBinding
  • PTS.Modules.UrlRedirects.Common
    • UrlRedirectTriggerService
  • PTS.Modules.UrlRedirects.Domain
    • UrlRedirect
  • PTS.Modules.UrlRedirects.Infrastructure
    • UrlRedirectBinding
  • PTS.Modules.Users
    • Gender
  • PTS.Modules.Users.Common
    • UserService
    • UserTriggerService
  • PTS.Modules.Users.Domain
    • IUserService
    • User
    • UserStatus
  • PTS.Numbers
    • NumericBaseConvertor
  • PTS.Numbers.UnitTests
    • NumericBaseConvertorTests
  • PTS.Physics
    • MeasurementCultureAttribute
    • MeasurementTypeAttribute
    • PhysicalProperty
    • PhysicalUnit
    • PhysicalUnitCulture
  • PTS.Physics.UnitTests
    • UniqueEnumValuesTest
  • PTS.Randomization
    • Randomizer
    • RandomSequenceComponents
  • PTS.Records
    • IHasGuid
    • IIdRecord
    • IOwnedRecord
    • SequentialGuid
    • State
  • PTS.Reflection
    • CustomAttributeHelper
    • GenericMethodInfoHelper
    • GenericTypeHelper
    • ObjectFactory
    • ReflectionTypeHelper
    • TypeMapper
  • PTS.Spatial
    • Pivot<T>
    • Point2D<T>
    • Point3D<T>
    • SpatialHelper
    • Square<T>
  • PTS.Text
    • PersonalNameHelper
    • RandomWord
    • Slugifier
    • Transliterator
  • PTS.Text.UnitTests
    • PersonalNameHelperTests
    • RandomWordTests
    • SlugifierTests
    • TransliteratorTests
  • PTS.Workers
    • IJob
    • Interval
    • Job
    • JobAsync
    • JobManager
    • JobTiming

ProfileService Class

Namespace: PTS.Modules.Profiles.Common
Assembly: PTS.Modules.Profiles.dll
Syntax
public class ProfileService : UnitOfWorkService, IServiceProviderAccessor, IProfileService, ISeedWork<IProfileService>, ISeedWork
Inheritance
System.Object
ServiceProviderAccessor
UnitOfWorkService
ProfileService
Implements
IServiceProviderAccessor
IProfileService
ISeedWork<IProfileService>
ISeedWork

Constructors

ProfileService(IUnitOfWork)

Declaration
public ProfileService(IUnitOfWork unitOfWork)
Parameters
Type Name Description
IUnitOfWork unitOfWork

Properties

Contacts

Declaration
protected IRepository<Contact> Contacts { get; }
Property Value
Type Description
IRepository<Contact>

Profiles

Declaration
protected IRepository<Profile> Profiles { get; }
Property Value
Type Description
IRepository<Profile>

ProfileTypeLinks

Declaration
protected IRepository<ProfileTypeLink> ProfileTypeLinks { get; }
Property Value
Type Description
IRepository<ProfileTypeLink>

Methods

GetContact(Profile, ContactType, Boolean)

Gets the Contact of type and primary for Profile.

Declaration
public virtual Contact GetContact(Profile profile, ContactType type, bool primary = false)
Parameters
Type Name Description
Profile profile

The profile.

ContactType type

The type.

System.Boolean primary

if set to true then primary contact will be searched.

Returns
Type Description
Contact

The Contact entity.

GetContactAsync(Profile, ContactType, Boolean)

Gets the Contact of type and primary for Profile.

Declaration
public virtual Task<Contact> GetContactAsync(Profile profile, ContactType type, bool primary = false)
Parameters
Type Name Description
Profile profile

The profile.

ContactType type

The type.

System.Boolean primary

if set to true then primary contact will be searched.

Returns
Type Description
System.Threading.Tasks.Task<Contact>

A System.Threading.Tasks.Task with result of Contact entity.

GetContacts(Profile)

Gets the System.Collections.Generic.List<T> for Profile.

Declaration
public virtual List<Contact> GetContacts(Profile profile)
Parameters
Type Name Description
Profile profile

The profile.

Returns
Type Description
System.Collections.Generic.List<Contact>

A System.Collections.Generic.List<T> which belongs to the Profile.

GetContactsAsync(Profile)

Gets the System.Collections.Generic.List<T> for Profile.

Declaration
public virtual Task<List<Contact>> GetContactsAsync(Profile profile)
Parameters
Type Name Description
Profile profile

The profile.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.List<Contact>>

A System.Threading.Tasks.Task with result of System.Collections.Generic.List<T> which belongs to the Profile.

GetProfileTypes(Profile)

Gets the collection of ProfileTypeLink for profile.

Declaration
public virtual List<ProfileTypeLink> GetProfileTypes(Profile profile)
Parameters
Type Name Description
Profile profile

The profile.

Returns
Type Description
System.Collections.Generic.List<ProfileTypeLink>

GetProfileTypesAsync(Profile)

Gets the collection of ProfileTypeLink for profile.

Declaration
public virtual Task<List<ProfileTypeLink>> GetProfileTypesAsync(Profile profile)
Parameters
Type Name Description
Profile profile

The profile.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.List<ProfileTypeLink>>

HasProfileType(Profile, Int32[])

Determines whether Profile has assigned any of the profileTypes.

Declaration
public virtual bool HasProfileType(Profile profile, params int[] profileTypes)
Parameters
Type Name Description
Profile profile

The profile.

System.Int32[] profileTypes

The profile types.

Returns
Type Description
System.Boolean

HasProfileTypeAsync(Profile, Int32[])

Determines whether Profile has assigned any of the profileTypes.

Declaration
public virtual Task<bool> HasProfileTypeAsync(Profile profile, params int[] profileTypes)
Parameters
Type Name Description
Profile profile

The profile.

System.Int32[] profileTypes

The profile types.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

ReplaceProfileType(Profile, Int32[])

Replaces the assigned for profile.

Declaration
public virtual void ReplaceProfileType(Profile profile, params int[] profileTypes)
Parameters
Type Name Description
Profile profile

The profile.

System.Int32[] profileTypes

The profile types.

ReplaceProfileTypeAsync(Profile, Int32[])

Replaces the assigned for profile.

Declaration
public virtual Task ReplaceProfileTypeAsync(Profile profile, params int[] profileTypes)
Parameters
Type Name Description
Profile profile

The profile.

System.Int32[] profileTypes

The profile types.

Returns
Type Description
System.Threading.Tasks.Task

SetContact(Profile, ContactType, String, Boolean)

Sets the Contact for Profile.

Declaration
public virtual Contact SetContact(Profile profile, ContactType type, string value, bool removeIfEmpty = true)
Parameters
Type Name Description
Profile profile

The profile.

ContactType type

The type.

System.String value

The value.

System.Boolean removeIfEmpty

Whether to remove contact entity if provided value was empty.

Returns
Type Description
Contact

The Contact entity.

SetContactAsync(Profile, ContactType, String, Boolean)

Sets the Contact for Profile.

Declaration
public virtual Task<Contact> SetContactAsync(Profile profile, ContactType type, string value, bool removeIfEmpty = true)
Parameters
Type Name Description
Profile profile

The profile.

ContactType type

The type.

System.String value

The value.

System.Boolean removeIfEmpty

Whether to remove contact entity if provided value was empty.

Returns
Type Description
System.Threading.Tasks.Task<Contact>

A System.Threading.Tasks.Task with result of Contact entity.

SetProfileType(Profile, Int32[])

Declaration
public virtual void SetProfileType(Profile profile, params int[] profileTypes)
Parameters
Type Name Description
Profile profile
System.Int32[] profileTypes

SetProfileTypeAsync(Profile, Int32[])

Declaration
public virtual Task SetProfileTypeAsync(Profile profile, params int[] profileTypes)
Parameters
Type Name Description
Profile profile
System.Int32[] profileTypes
Returns
Type Description
System.Threading.Tasks.Task

VerifyContact(Contact, String, StringComparison)

Verifies the Contact.

Declaration
public bool VerifyContact(Contact contact, string code, StringComparison comparison = StringComparison.InvariantCultureIgnoreCase)
Parameters
Type Name Description
Contact contact

The contact.

System.String code

The verification code.

System.StringComparison comparison

The verification string comparison settings.

Returns
Type Description
System.Boolean

true if Contact was verified; otherwise false.

VerifyContactAsync(Contact, String, StringComparison)

Verifies the Contact.

Declaration
public virtual Task<bool> VerifyContactAsync(Contact contact, string code, StringComparison comparison = StringComparison.InvariantCultureIgnoreCase)
Parameters
Type Name Description
Contact contact

The contact.

System.String code

The verification code.

System.StringComparison comparison

The verification string comparison settings.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

A System.Threading.Tasks.Task with result true if Contact was verified; otherwise false.

Implements

IServiceProviderAccessor
IProfileService
ISeedWork<TService>
ISeedWork

Inherited Members

UnitOfWorkService.UnitOfWork
ServiceProviderAccessor.GetService<TService>(Boolean)
ServiceProviderAccessor.ServiceProvider
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Extension Methods

GenericTypeHelper.IsOf<TValue>(TValue, TValue[])
ObjectExceptionHelper.Exception<TException>(Object, String)
ObjectExceptionHelper.Exception<TException>(Object, Action, String)
ObjectHelper.DebugName(Object)
EntityAffinityExtensions.Context(Object, Boolean)
EntityAffinityExtensions.Context<TContext>(Object, Boolean)
Back to top Copyright © 2019 PTS Holding LLC