예제 #1
0
 private DummyMessage BuildItemFromAttribute(DummyAttribute arg)
 {
     // input binding - this is where we get the 'thing' to hand to the function
     // For now we'll hand a hardcoded object
     return(new DummyMessage {
         Id = "foo", Name = TestService.GetMessage()
     });
 }
 public DummyAsyncCollector(DummyConfiguration config, DummyAttribute attr)
 {
     this.config = config;
     this.attr   = attr;
 }