• 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

CountryCodeHelper Class

Namespace: PTS.Globalization
Assembly: PTS.Globalization.dll

Static helper class with various extension methods aiding with country specific value formatting and conversions.

Syntax
[InitializeOnStart]
public static class CountryCodeHelper
Inheritance
System.Object
CountryCodeHelper

Methods

FormatCurrency(CountryCode, Decimal)

Returns currency value formatted in accordance with conventions in specified country.

Declaration
public static string FormatCurrency(this CountryCode country, decimal value)
Parameters
Type Name Description
CountryCode country

The country format the value for.

System.Decimal value

The value to format.

Returns
Type Description
System.String

Formatted currency value for given country

Examples
string displayValue = CountryCode.Czechia.FormatCurrency( 1120.50 );

Console.WriteLine( $"The price is {displayValue}" ); // Outputs 1250,50 Kc

FormatDate(CountryCode, DateTime)

Returns date formatted in accordance with conventions in specified country.

Declaration
public static string FormatDate(this CountryCode country, DateTime date)
Parameters
Type Name Description
CountryCode country

The country format the value for.

System.DateTime date
Returns
Type Description
System.String

Formatted date for given country

FormatDateTime(CountryCode, DateTime)

Returns date and time formatted in accordance with conventions in specified country.

Declaration
public static string FormatDateTime(this CountryCode country, DateTime date)
Parameters
Type Name Description
CountryCode country

The country format the value for.

System.DateTime date
Returns
Type Description
System.String

Formatted date time for given country

FormatTime(CountryCode, DateTime)

Returns time formatted in accordance with conventions in specified country.

Declaration
public static string FormatTime(this CountryCode country, DateTime date)
Parameters
Type Name Description
CountryCode country

The country format the value for.

System.DateTime date
Returns
Type Description
System.String

Formatted time for given country

FromIsoCode(String, Boolean)

Declaration
public static CountryCode FromIsoCode(string isoCode, bool require = true)
Parameters
Type Name Description
System.String isoCode
System.Boolean require
Returns
Type Description
CountryCode

IsEuropeanUnion(CountryCode)

Determines whether a country is in European Union.

Declaration
public static bool IsEuropeanUnion(this CountryCode country)
Parameters
Type Name Description
CountryCode country

The country to test.

Returns
Type Description
System.Boolean

true if the country is in European Union; otherwise, false.

Remarks

The membership determination is valid as of May 2019.

ToCultureInfo(CountryCode)

Gets System.Globalization.CultureInfo for given country.

Declaration
public static CultureInfo ToCultureInfo(this CountryCode country)
Parameters
Type Name Description
CountryCode country

The country to get the System.Globalization.CultureInfo for.

Returns
Type Description
System.Globalization.CultureInfo

System.Globalization.CultureInfo if found; otherwise, null

ToCurrencyCode(CountryCode)

Gets CurrencyCode for given country.

Declaration
public static CurrencyCode ToCurrencyCode(this CountryCode country)
Parameters
Type Name Description
CountryCode country

The country to get the CurrencyCode for.

Returns
Type Description
CurrencyCode

CurrencyCode if found; otherwise, default

ToRegionInfo(CountryCode)

Gets System.Globalization.RegionInfo for given country.

Declaration
public static RegionInfo ToRegionInfo(this CountryCode country)
Parameters
Type Name Description
CountryCode country

The country to get the System.Globalization.RegionInfo for.

Returns
Type Description
System.Globalization.RegionInfo

System.Globalization.RegionInfo if found; otherwise, null

Inherited Members

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()
Back to top Copyright © 2019 PTS Holding LLC