public MIndentedCodeBlock(MIndentedCodeBlock other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Text = other.Text;
        }
示例#2
0
 public static MIndentedCodeBlock IndentedCodeBlock(MIndentedCodeBlock other)
 {
     return(new MIndentedCodeBlock(other));
 }