November Happy Hour will be moved to Thursday December 5th.

Class VersionRestriction

Inheritance
System.Object
VersionRestriction
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Licensing.RestrictionTypes
Assembly: EPiServer.Licensing.dll
Version: 11.20.7
Syntax
public sealed class VersionRestriction : RestrictionEntry, ICloneable

Constructors

VersionRestriction()

Declaration
public VersionRestriction()

VersionRestriction(Version, Version)

Declaration
public VersionRestriction(Version fromVersion, Version toVersion)
Parameters
Type Name Description
System.Version fromVersion
System.Version toVersion

Properties

Description

Declaration
public override string Description { get; }
Property Value
Type Description
System.String
Overrides

From

Declaration
public string From { get; set; }
Property Value
Type Description
System.String

To

Declaration
public string To { get; set; }
Property Value
Type Description
System.String

Methods

Clone()

Declaration
public override object Clone()
Returns
Type Description
System.Object
Overrides

InternalValidate()

Declaration
protected override ValidationResult InternalValidate()
Returns
Type Description
ValidationResult
Overrides

Setup()

Declaration
public override void Setup()
Overrides

ValidateVersion(Version)

Declaration
public ValidationResult ValidateVersion(Version ver)
Parameters
Type Name Description
System.Version ver
Returns
Type Description
ValidationResult

Implements

System.ICloneable

Extension Methods