示例#1
0
 /// <summary>
 /// Set the versioning on a container to have the value from this versioning system from the supplied ItemVersion
 /// </summary>
 /// <param name="version">The ItemVersion from which to get the versioning value</param>
 /// <param name="container">The container on which to set the versioning value</param>
 public abstract void SetItemVersion(ItemVersion version, object container);
示例#2
0
 /// <summary>
 /// Taking a url, add to it any switches or changes in this versioning system required for it to refer to a content
 /// item with the versioning value contained in the supplied ItemVersion for this versioning system.  This will
 /// leave the url unchanged for 'unaddressable' version keys
 /// </summary>
 /// <param name="url">The initial url</param>
 /// <param name="version">The version for which we are modifying the url</param>
 /// <returns>The modified url</returns>
 public virtual string GetVersionUrl(string url, ItemVersion version)
 {
     return(url);
 }
示例#3
0
 /// <summary>
 /// Get the versioning system value from a container and set this value on the supplied ItemVersion
 /// </summary>
 /// <param name="container">The container from which to get the version key</param>
 /// <param name="version">The ItemVersion on which to add the key/value for this versioning system</param>
 public abstract void GetItemVersion(object container, ItemVersion version);
示例#4
0
 /// <summary>
 /// Get display details for displaying the value for this versioning system from the supplied ItemVersion
 /// </summary>
 /// <param name="version">The ItemVersion for which to get display information for this versioning system</param>
 /// <returns>Display information for version from this versioning system</returns>
 public abstract VersionDisplay DisplayItemVersion(ItemVersion version);