Class Product
Default implementation
Namespace: SuperOffice.License
Assembly: SoCore.dll
Syntax
public abstract class Product : Object
Constructors
Product()
Default implementation
Declaration
protected Product()
Properties
DepricatedLicense
Licenses that are deprecated by this module.
Declaration
public ProductLicense DepricatedLicense { get; }
Property Value
Type | Description |
---|---|
ProductLicense |
Remarks
Both the implementation of this class as well as the attribute need to be signed for this method to return anything but None. The get property utilizes OnDepricateLicense() to determine licenses to depricate.
Expiry
When the module expires.
Declaration
public virtual DateTime Expiry { get; }
Property Value
Type | Description |
---|---|
DateTime |
IsSourceEdition
Is this a source edition
Declaration
public bool IsSourceEdition { get; }
Property Value
Type | Description |
---|---|
Boolean |
Manufacturer
Name of the Manufacturer
Declaration
public virtual string Manufacturer { get; }
Property Value
Type | Description |
---|---|
String |
ModuleName
Name of the module
Declaration
public abstract string ModuleName { get; }
Property Value
Type | Description |
---|---|
String |
ProductName
Name of the product
Declaration
public virtual string ProductName { get; }
Property Value
Type | Description |
---|---|
String |
RequiredLicense
License required by the module.
Declaration
public virtual ProductLicense RequiredLicense { get; }
Property Value
Type | Description |
---|---|
ProductLicense |
Version
Version name.
Declaration
public virtual string Version { get; }
Property Value
Type | Description |
---|---|
String |
Methods
OnDepricateLicense()
Default implementation
Declaration
protected virtual ProductLicense OnDepricateLicense()
Returns
Type | Description |
---|---|
ProductLicense |
ToString()
Information about the module.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | Information about the module. |
Extension Methods
EnumUtil.MapEnums<From, To>(From)