Show / Hide Table of Contents

Class Product

Default implementation

Inheritance
object
Product
NetServerCore
NetServerDataBase
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.License
Assembly: SoCore.dll
Syntax
public abstract class Product

Constructors

Product()

Default implementation

Declaration
protected Product()

Properties

DepricatedLicense

Licenses that are deprecated by this module.

Declaration
[Obsolete("Not relevant for the new license system", true)]
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
[Obsolete("Netserver no longer expires", false)]
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
bool

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
[Obsolete("Not relevant for the new license system", true)]
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
[Obsolete("Not relevant for the new license system", true)]
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.

Overrides
object.ToString()

Extension Methods

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