コード例 #1
0
ファイル: CodeFileSpec.cs プロジェクト: 0xCM/Meta.Core
 public CodeFileSpec WithPreamble(CodeFilePreamble Preamble)
 => new CodeFileSpec
 (
     FileName,
     Usings,
     ElementDefinitions,
     Preamble
 );
コード例 #2
0
ファイル: CodeFileSpec.cs プロジェクト: 0xCM/Meta.Core
 public CodeFileSpec(FilePath FilePath, IEnumerable <UsingSpec> Usings,
                     IEnumerable <IClrElementSpec> ElementDefinitions, CodeFilePreamble Preamble)
 {
     this.FileName           = FilePath;
     this.Usings             = rovalues(Usings);
     this.ElementDefinitions = rovalues(ElementDefinitions);
     this.Preamble           = Preamble;
 }