Show / Hide Table of Contents

Class RecordTypeProvider

A complete and generic mapping of record types to resource strings. This is a simple, hard-coded list corresponding to Task table SuperOffice.CRM.Data.Task record_type column which is defined by a typed field TaskTypeFieldInfo using the TaskType enum AN.

Inheritance
object
LiteralsOnlyBase
RecordTypeProvider
Implements
ISoListProvider
ISoList
Inherited Members
LiteralsOnlyBase.AddRawRootEnum<TEnum>(TEnum, string, bool)
LiteralsOnlyBase.ConstructAsync(string, string, int[], bool, string, bool, CancellationToken)
LiteralsOnlyBase.GetHistoryItemsAsync(CancellationToken)
LiteralsOnlyBase.ClearHistoryItems()
LiteralsOnlyBase.GetRootItemsAsync(CancellationToken)
LiteralsOnlyBase.GetHeadingItemsAsync(CancellationToken)
LiteralsOnlyBase.ListName
LiteralsOnlyBase.ExtraInfo
LiteralsOnlyBase.SearchValue
LiteralsOnlyBase.ForceFlatList
LiteralsOnlyBase.RawRootItems
LiteralsOnlyBase.RawHeadingItems
LiteralsOnlyBase.RawHistoryItems
LiteralsOnlyBase.HistoryIds
LiteralsOnlyBase.OnlyReadHistory
LiteralsOnlyBase.HistoryInfo
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOProviderPlugin("RecordType")]
public class RecordTypeProvider : LiteralsOnlyBase, ISoListProvider, ISoList

Constructors

RecordTypeProvider()

A complete and generic mapping of record types to resource strings. This is a simple, hard-coded list corresponding to Task table SuperOffice.CRM.Data.Task record_type column which is defined by a typed field TaskTypeFieldInfo using the TaskType enum AN.

Declaration
public RecordTypeProvider()

Fields

ChatSessionItemId

A complete and generic mapping of record types to resource strings. This is a simple, hard-coded list corresponding to Task table SuperOffice.CRM.Data.Task record_type column which is defined by a typed field TaskTypeFieldInfo using the TaskType enum AN.

Declaration
public const int ChatSessionItemId = 200
Field Value
Type Description
int

FormSubmissionItemId

A complete and generic mapping of record types to resource strings. This is a simple, hard-coded list corresponding to Task table SuperOffice.CRM.Data.Task record_type column which is defined by a typed field TaskTypeFieldInfo using the TaskType enum AN.

Declaration
public const int FormSubmissionItemId = 300
Field Value
Type Description
int

MailingItemId

A complete and generic mapping of record types to resource strings. This is a simple, hard-coded list corresponding to Task table SuperOffice.CRM.Data.Task record_type column which is defined by a typed field TaskTypeFieldInfo using the TaskType enum AN.

Declaration
public const int MailingItemId = 100
Field Value
Type Description
int

ProviderName

A complete and generic mapping of record types to resource strings. This is a simple, hard-coded list corresponding to Task table SuperOffice.CRM.Data.Task record_type column which is defined by a typed field TaskTypeFieldInfo using the TaskType enum AN.

Declaration
public const string ProviderName = "RecordType"
Field Value
Type Description
string

Methods

AddItemsAsync(CancellationToken)

Create the hard-coded item list

Declaration
protected override Task AddItemsAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
LiteralsOnlyBase.AddItemsAsync(CancellationToken)

Implements

ISoListProvider
ISoList

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top