Ejemplo n.º 1
0
 /// <param name="ApplicationShutdownLock">
 /// This should be the same instance as passed to other objects;
 /// this class will acquire a write lock on the lock
 /// before allowing the process to shutdown cleanly
 /// </param>
 public Program(
     ProcessLatestCommentsActivity ActivityProcessComments,
     ImgurInterfacer Imgur,
     DiscordInterfacer Discord,
     TaglistRepository RepositoryTaglists,
     SettingsRepository RepositorySettings,
     SingleThreadReadWriteLock ApplicationShutdownLock
     )
 {
     this.Imgur                   = Imgur;
     this.Discord                 = Discord;
     this.RepositoryTaglists      = RepositoryTaglists;
     this.RepositorySettings      = RepositorySettings;
     this.ActivityProcessComments = ActivityProcessComments;
     this.ApplicationShutdownLock = ApplicationShutdownLock;
 }
 public DiscordTraceListener(string Name, DiscordInterfacer Discord, TraceListener BackupTraceListener)
     : base(Name)
 {
     this.Discord             = Discord;
     this.BackupTraceListener = BackupTraceListener;
 }
Ejemplo n.º 3
0
 public ProcessTagCommandActivity(ImgurInterfacer Imgur, DiscordInterfacer Discord, TaglistRepository RepositoryTaglists)
 {
     this.Imgur              = Imgur;
     this.Discord            = Discord;
     this.RepositoryTaglists = RepositoryTaglists;
 }