Ejemplo n.º 1
0
 /// <summary>
 /// default constructor for media:credit
 /// </summary>
 public AppDraft(bool isDraft)
     : base(BaseNameTable.XmlElementPubDraft,
            BaseNameTable.gAppPublishingPrefix,
            BaseNameTable.AppPublishingNamespace(null),
            isDraft ? "yes" : "no")
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// default constructor for media:group
 /// </summary>
 public AppControl() :
     base(BaseNameTable.XmlElementPubControl,
          BaseNameTable.gAppPublishingPrefix,
          BaseNameTable.AppPublishingNamespace(null))
 {
     this.ExtensionFactories.Add(new AppDraft());
 }
Ejemplo n.º 3
0
 /// <summary>
 /// default constructor for app:draft
 /// </summary>
 public AppDraft()
     : base(
         BaseNameTable.XmlElementPubDraft,
         BaseNameTable.gAppPublishingPrefix,
         BaseNameTable.AppPublishingNamespace(null))
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// need so setup the namespace based on the version information
 /// </summary>
 protected override void VersionInfoChanged()
 {
     base.VersionInfoChanged();
     this.SetXmlNamespace(BaseNameTable.AppPublishingNamespace(this));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// default constructor for app:control
 /// </summary>
 public AppControl()
     : this(BaseNameTable.AppPublishingNamespace(null))
 {
 }