Class ProjectApiVersion
Carries the API version read from a project file's XML attribute
through the XFactory deserialization pipeline via the
object[] res parameter.
Consumers retrieve it with res?.OfType<ProjectApiVersion>().FirstOrDefault().
public class ProjectApiVersion
- Inheritance
-
ProjectApiVersion
- Inherited Members
- Extension Methods
Constructors
ProjectApiVersion(Version)
public ProjectApiVersion(Version version)
Parameters
versionVersion
Properties
Version
public Version Version { get; }
Property Value
Methods
IsOlderThan(Version)
Returns true if the source file was saved by an API version
older than version.
Returns false when the source version is unknown (null).
public bool IsOlderThan(Version version)
Parameters
versionVersion