Table of Contents

Class LeaseTierChange

Namespace
Hi.Licenses
Assembly
HiDisp.dll

Internal Use Only. What TierChanged carries: the plan tier of the lease installed before and the one just installed, with the new lease's caps and quota and, when the old licence ended, its end – everything the CloudLease–TierChanged message says. Immutable.

public sealed class LeaseTierChange
Inheritance
LeaseTierChange
Inherited Members
Extension Methods

Constructors

LeaseTierChange(string, string, uint, uint, long?, DateTime?)

Internal Use Only. Makes the change.

public LeaseTierChange(string oldTier, string newTier, uint resolutionCapRatio, uint stepCap, long? quotaCap, DateTime? oldLicenseExpiredUtc)

Parameters

oldTier string

The tier of the lease installed before in this process.

newTier string

The tier of the lease just installed.

resolutionCapRatio uint

The new lease's resolution cap ratio N; 0 = none.

stepCap uint

The new lease's per-play step cap; 0 = none.

quotaCap long?

The new plan's quota budget (steps per 7 days); null = no quota, a paid plan.

oldLicenseExpiredUtc DateTime?

The old lease's licence end when it is in the past (the licence ended and the account's next one took over); null otherwise.

Properties

NewTier

The tier of the lease just installed.

public string NewTier { get; }

Property Value

string

OldLicenseExpiredUtc

The old lease's licence end when it is in the past; null otherwise.

public DateTime? OldLicenseExpiredUtc { get; }

Property Value

DateTime?

OldTier

The tier of the lease installed before in this process.

public string OldTier { get; }

Property Value

string

QuotaCap

The new plan's quota budget, steps per 7 days; null = no quota (a paid plan).

public long? QuotaCap { get; }

Property Value

long?

ResolutionCapRatio

The new lease's resolution cap ratio N; 0 = none.

public uint ResolutionCapRatio { get; }

Property Value

uint

StepCap

The new lease's per-play step cap; 0 = none.

public uint StepCap { get; }

Property Value

uint