Exemple #1
0
 /// <summary>
 ///  この文書の基底となる文書を読み込みます。
 /// </summary>
 /// <returns>基底の文書を表す新しい型'<see cref="Exrecodel.XrcdlDocument"/>'のインスタンスです。</returns>
 public XrcdlDocument?GetBaseDocument()
 {
     if (string.IsNullOrEmpty(this.BaseDocumentPath))
     {
         return(null);
     }
     else
     {
         var result = XrcdlDocument.Create();
         result.Load(Path.Combine(
                         Path.GetDirectoryName(this.Document.FilePath) ?? Environment.CurrentDirectory,
                         this.BaseDocumentPath)
                     );
         return(result);
     }
 }
Exemple #2
0
 internal XrcdlMetadata(XrcdlDocument document)
 {
     this.Document = document;
 }
Exemple #3
0
 internal XrcdlRoot(XrcdlDocument document) : base(document, document)
 {
 }