Struct LicenseProviderResult
Represents the result of license providers, either a license XML string, or an error message string, plus an addition Data object.
Inherited Members
Namespace: DevZest.Licensing
Assembly: DevZest.Licensing.dll
Syntax
public struct LicenseProviderResult
Properties
Name | Description |
---|---|
Data | Gets the additional data. |
Empty | Represents a LicenseProviderResult structure with its properties left uninitialized. |
ErrorMessage | Gets the encapsulated error message. |
IsEmpty | Tests whether all properties of this LicenseProviderResult have values of null. |
License | Gets the encapsulated license XML string. |
Methods
Name | Description |
---|---|
FromErrorMessage(String) | Initializes a new instance of LicenseProviderResult structure from error message string. |
FromErrorMessage(String, Object) | Initializes a new instance of LicenseProviderResult structure from error message string, with additional data. |
FromLicense(String) | Initializes a new instance of LicenseProviderResult from license XML string. |
FromLicense(String, Object) | Initializes a new instance of LicenseProviderResult from license XML string, with additional data. |