コード例 #1
0
ファイル: SwarmConnect.cs プロジェクト: sora-jp/leak
        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();
 }