Table of Contents

Class ProductCatalog

Namespace
OneImlx.Shared.Licensing
Assembly
OneImlx.Shared.dll

The unified product catalog.

public sealed class ProductCatalog
Inheritance
ProductCatalog
Inherited Members

Fields

ProductPlans

A mapping of products to their available license plans.

public static readonly Dictionary<string, List<string>> ProductPlans

Field Value

Dictionary<string, List<string>>

Products

A mapping of product URNs to their human-readable names.

public static readonly Dictionary<string, string> Products

Field Value

Dictionary<string, string>

TerminalFramework

The URN for the OneImlx.Terminal framework product.

public const string TerminalFramework = "urn:oneimlx:terminal"

Field Value

string

TerminalPlanCorporate

The corporate plan for TerminalFramework.

public const string TerminalPlanCorporate = "urn:oneimlx:terminal:plan:corporate"

Field Value

string

TerminalPlanCustom

The custom plan for TerminalFramework.

public const string TerminalPlanCustom = "urn:oneimlx:terminal:plan:custom"

Field Value

string

TerminalPlanDemo

The demo plan for TerminalFramework.

public const string TerminalPlanDemo = "urn:oneimlx:terminal:plan:demo"

Field Value

string

TerminalPlanEnterprise

The enterprise plan for TerminalFramework.

public const string TerminalPlanEnterprise = "urn:oneimlx:terminal:plan:enterprise"

Field Value

string

TerminalPlanMicro

The micro plan for TerminalFramework.

public const string TerminalPlanMicro = "urn:oneimlx:terminal:plan:micro"

Field Value

string

TerminalPlanSmb

The SMB plan for TerminalFramework.

public const string TerminalPlanSmb = "urn:oneimlx:terminal:plan:smb"

Field Value

string

TerminalPlanSolo

The solo plan for TerminalFramework.

public const string TerminalPlanSolo = "urn:oneimlx:terminal:plan:solo"

Field Value

string

Methods

GetPlanDisplayName(string, string)

Get the plan display name for the given product.

public static string GetPlanDisplayName(string product, string plan)

Parameters

product string

The product.

plan string

The product plan.

Returns

string

Exceptions

ErrorException

GetProductDisplayName(string)

Get the product display name for the given product.

public static string GetProductDisplayName(string product)

Parameters

product string

The product.

Returns

string

Exceptions

ErrorException

IsValidPlan(string, string)

Determines whether the specified plan is valid for the specified product.

public static bool IsValidPlan(string product, string plan)

Parameters

product string

The product URN.

plan string

The license plan URN.

Returns

bool

true if the plan is valid for the product; otherwise, false.