Ejemplo n.º 1
0
 public VersionResult(VersionId versionId, string revision, Metadata metadata, Content content)
     : base(versionId, revision, metadata, content)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Version"/> class.
 /// </summary>
 /// <param name="versionId">The <see cref="VersionId"/>.</param>
 /// <param name="revision">The revision.</param>
 /// <param name="metadata">The <see cref="Metadata"/>.</param>
 /// <param name="content">The content.</param>
 /// <remarks>
 /// Enables actions: all
 /// </remarks>
 public Version(VersionId versionId, string revision, Metadata metadata, Content content)
 {
     VersionId = versionId;
     Revision = revision;
     Metadata = metadata;
     if (Metadata == null) Metadata = new Data.Metadata();
     Content = content;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Version"/> class.
 /// </summary>
 /// <param name="versionId">The <see cref="VersionId"/>.</param>
 /// <param name="metadata">The <see cref="Metadata"/>.</param>
 /// <param name="content">The <see cref="Content"/>.</param>
 /// <remarks>Enables actions: <see cref="ActionsType.HeadCurrentRevision"/>, 
 ///     <see cref="ActionsType.GetCurrentRevision"/>,
 ///     <see cref="ActionsType.CreateWithoutPropertiesOrContent"/>,
 ///     <see cref="ActionsType.CreateWithPropertiesWithoutContent"/>,
 ///     <see cref="ActionsType.CreateWithoutPropertiesWithContent"/>,
 ///     <see cref="ActionsType.CreateWithPropertiesAndContent"/>.
 /// </remarks>
 public Version(VersionId versionId, Metadata metadata, Content content)
     : this(versionId, null, metadata, content)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Version"/> class.
 /// </summary>
 /// <param name="versionId">The <see cref="VersionId"/>.</param>
 /// <param name="revision">The revision.</param>
 /// <param name="metadata">The <see cref="Content"/>.</param>
 /// <remarks>Enables actions: <see cref="ActionsType.Delete"/>, 
 ///     <see cref="ActionsType.HeadCurrentRevision"/>,
 ///     <see cref="ActionsType.HeadSpecificRevision"/>,
 ///     <see cref="ActionsType.GetCurrentRevision"/>,
 ///     <see cref="ActionsType.GetSpecificRevision"/>,
 ///     <see cref="ActionsType.CreateWithoutPropertiesOrContent"/>,
 ///     <see cref="ActionsType.CreateWithoutPropertiesWithContent"/>,
 ///     <see cref="ActionsType.UpdateWithoutPropertiesOrContent"/>,
 ///     <see cref="ActionsType.UpdateWithoutPropertiesWithContent"/>.
 /// </remarks>
 public Version(VersionId versionId, string revision, Content content)
     : this(versionId, revision, null, content)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Version"/> class.
 /// </summary>
 /// <param name="versionId">The <see cref="VersionId"/>.</param>
 /// <param name="content">The <see cref="Content"/>.</param>
 /// <remarks>Enables actions: <see cref="ActionsType.HeadCurrentRevision"/>, 
 ///     <see cref="ActionsType.GetCurrentRevision"/>,
 ///     <see cref="ActionsType.CreateWithoutPropertiesOrContent"/>,
 ///     <see cref="ActionsType.CreateWithoutPropertiesWithContent"/>.
 /// </remarks>
 public Version(VersionId versionId, Content content)
     : this(versionId, null, null, content)
 {
 }