Show / Hide Table of Contents

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
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest