Class LeaseTierChange
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
oldTierstringThe tier of the lease installed before in this process.
newTierstringThe tier of the lease just installed.
resolutionCapRatiouintThe new lease's resolution cap ratio N; 0 = none.
stepCapuintThe new lease's per-play step cap; 0 = none.
quotaCaplong?The new plan's quota budget (steps per 7 days); null = no quota, a paid plan.
oldLicenseExpiredUtcDateTime?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
OldLicenseExpiredUtc
The old lease's licence end when it is in the past; null otherwise.
public DateTime? OldLicenseExpiredUtc { get; }
Property Value
OldTier
The tier of the lease installed before in this process.
public string OldTier { get; }
Property Value
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
StepCap
The new lease's per-play step cap; 0 = none.
public uint StepCap { get; }