/// <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); } }
internal XrcdlMetadata(XrcdlDocument document) { this.Document = document; }
internal XrcdlRoot(XrcdlDocument document) : base(document, document) { }