protected MessageMetadataBase(ICommentOptions options, IMildomSiteOptions siteOptions)
 {
     _options                     = options;
     _siteOptions                 = siteOptions;
     options.PropertyChanged     += Options_PropertyChanged;
     siteOptions.PropertyChanged += SiteOptions_PropertyChanged;
 }
예제 #2
0
 public DummyImpl(IDataServer server, string input, IBrowserProfile browserProfile, ILogger logger, IMildomSiteOptions siteOptions, MessageProvider p1)
 {
     _server         = server;
     _input          = input;
     _browserProfile = browserProfile;
     _logger         = logger;
     _siteOptions    = siteOptions;
     _p1             = p1;
     //_p2 = p2;
 }
        public CommentMessageMetadata(IMildomComment comment, ICommentOptions options, IMildomSiteOptions siteOptions, IUser user, ICommentProvider cp, bool isFirstComment)
            : base(options, siteOptions)
        {
            User            = user;
            CommentProvider = cp;
            _isFirstComment = isFirstComment;

            user.PropertyChanged += User_PropertyChanged;
        }
 public GiftMessageMetadata(MildomGift _, ICommentOptions options, IMildomSiteOptions siteOptions, IUser user, ICommentProvider cp)
     : base(options, siteOptions)
 {
     User            = user;
     CommentProvider = cp;
 }
 public JoinMessageMetadata(IMildomJoinRoom _, ICommentOptions options, IMildomSiteOptions siteOptions, IUser user, ICommentProvider cp)
     : base(options, siteOptions)
 {
     User            = user;
     CommentProvider = cp;
 }
 protected internal DisconnectedMessageMetadata(IMildomDisconnected disconnected, ICommentOptions options, IMildomSiteOptions siteOptions)
     : base(options, siteOptions)
 {
 }