コード例 #1
0
ファイル: html_HTMLWriterStruct.cs プロジェクト: zjmit/go2cs
 public HTMLWriter(io.WriteCloser w = default, ref ptr <Func> Func = default, @string path = default, ref ptr <dotWriter> dot = default, slice <byte> prevHash = default, slice <@string> pendingPhases = default, slice <@string> pendingTitles = default)
 {
     this.w             = w;
     this.Func          = Func;
     this.path          = path;
     this.dot           = dot;
     this.prevHash      = prevHash;
     this.pendingPhases = pendingPhases;
     this.pendingTitles = pendingTitles;
 }
コード例 #2
0
 public fileWriter(ref header header = default, io.Writer zipw = default, ref ptr <countWriter> rawCount = default, io.WriteCloser comp = default, ref ptr <countWriter> compCount = default, hash.Hash32 crc32 = default, bool closed = default)
 {
     this.m_headerRef = new ptr <header>(ref header);
     this.zipw        = zipw;
     this.rawCount    = rawCount;
     this.comp        = comp;
     this.compCount   = compCount;
     this.crc32       = crc32;
     this.closed      = closed;
 }
コード例 #3
0
ファイル: smtp_dataCloserStruct.cs プロジェクト: zjmit/go2cs
 public dataCloser(ref ptr <Client> c = default, io.WriteCloser WriteCloser = default)
 {
     this.c           = c;
     this.WriteCloser = WriteCloser;
 }
コード例 #4
0
 public addr2LinerJob(ref ptr <exec.Cmd> cmd = default, io.WriteCloser @in = default, ref ptr <bufio.Reader> @out = default)
 {
     this.cmd  = cmd;
     this.@in  = @in;
     this.@out = @out;
 }