Show / Hide Table of Contents

Class ColorIndexProvider

List of named colors from the "ColorIndex" enum.

Steps to change the palette:

  1. Add to the end of the ColorIndex enum (in Modelling)
  2. Add to this provider. The color palette in SCIL uses the color code in the styleHint field
  3. Update colors in fullcalendar.so.less so that css class colorX has the same color code returned by this list.
Inheritance
object
LiteralsOnlyBase
ColorIndexProvider
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.Lists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[MDOProviderPlugin("ColorIndex")]
public class ColorIndexProvider : LiteralsOnlyBase, ISoListProvider, ISoList

Constructors

ColorIndexProvider()

List of named colors from the "ColorIndex" enum.

Steps to change the palette:

  1. Add to the end of the ColorIndex enum (in Modelling)
  2. Add to this provider. The color palette in SCIL uses the color code in the styleHint field
  3. Update colors in fullcalendar.so.less so that css class colorX has the same color code returned by this list.
Declaration
public ColorIndexProvider()

Fields

ProviderName

List of named colors from the "ColorIndex" enum.

Steps to change the palette:

  1. Add to the end of the ColorIndex enum (in Modelling)
  2. Add to this provider. The color palette in SCIL uses the color code in the styleHint field
  3. Update colors in fullcalendar.so.less so that css class colorX has the same color code returned by this list.
Declaration
public const string ProviderName = "ColorIndex"
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