protected NotificationsBase(QueryRunnerBase queryRunner)
        {
            if (queryRunner == null)
                throw new ArgumentNullException("queryRunner");

            QueryRunner = queryRunner;
            QueryRunner.UnknownNotificationReceived += QueryRunner_UnknownNotificationReceived;

            NotificationHandlers = GetNotificationHandlers();
        }
示例#2
0
        protected NotificationsBase(QueryRunnerBase queryRunner)
        {
            if (queryRunner == null)
            {
                throw new ArgumentNullException("queryRunner");
            }

            QueryRunner = queryRunner;
            QueryRunner.UnknownNotificationReceived += QueryRunner_UnknownNotificationReceived;

            NotificationHandlers = GetNotificationHandlers();
        }