C# Class Orchard.ContentManagement.VersionOptions

Afficher le fichier Open project: Sylapse/Orchard.ContentSerialization Class Usage Examples

Méthodes publiques

Méthode Description
Number ( int version ) : VersionOptions

Gets a specific version based on its number.

Restore ( int version, bool publish = false ) : VersionOptions

Creates a new version based on the specified version number.

VersionRecord ( int id ) : VersionOptions

Gets a specific version based on the version record identifier.

Method Details

Number() public static méthode

Gets a specific version based on its number.
public static Number ( int version ) : VersionOptions
version int
Résultat VersionOptions

Restore() public static méthode

Creates a new version based on the specified version number.
public static Restore ( int version, bool publish = false ) : VersionOptions
version int
publish bool
Résultat VersionOptions

VersionRecord() public static méthode

Gets a specific version based on the version record identifier.
public static VersionRecord ( int id ) : VersionOptions
id int
Résultat VersionOptions