Beispiel #1
0
 public CodegenExpression Make(
     CodegenMethodScope parent,
     SAIFFInitializeSymbol symbols,
     CodegenClassScope classScope)
 {
     return(new SAIFFInitializeBuilder(typeof(LogicalChannel), GetType(), "lc", parent, symbols, classScope)
            .Constant("ChannelId", ChannelId)
            .Constant("ConsumingOpName", ConsumingOpName)
            .Constant("ConsumingOpNum", ConsumingOpNum)
            .Constant("ConsumingOpStreamNum", ConsumingOpStreamNum)
            .Constant("ConsumingOpStreamName", ConsumingOpStreamName)
            .Constant("ConsumingOptStreamAliasName", ConsumingOptStreamAliasName)
            .Constant("ConsumingOpPrettyPrint", ConsumingOpPrettyPrint)
            .Method("OutputPort", method => OutputPort.Make(method, symbols, classScope))
            .Build());
 }