public SubstSink(IMiniStreamSink dest, SubstStyles styles) : base(dest) { if ((int)styles == 0) { throw new ArgumentException("Can't have empty substitution style"); } this.styles = styles; }
public SubstSink(SubstStyles styles) : this(null, styles) { }
public SubstSink (SubstStyles styles) : this (null, styles) {}
public SubstSink (IMiniStreamSink dest, SubstStyles styles) : base (dest) { if ((int) styles == 0) throw new ArgumentException ("Can't have empty substitution style"); this.styles = styles; }