示例#1
0
        private void StartSender()
        {
            SenderHooks hooks = new SenderHooks
            {
            };

            Sender =
                new SenderBuilder()
                .WithHash(Hash)
                .WithDefinition(new MessageDefinition())
                .Build(hooks);
        }
示例#2
0
 public SenderContext(SenderConfiguration configuration, SenderHooks hooks)
 {
     this.configuration = configuration;
     this.hooks         = hooks;
     this.collection    = new SenderCollection();
 }