Пример #1
0
        public AttachmentContext(string id, string ownerId, TrelloAuthorization auth)
            : base(auth)
        {
            _ownerId = ownerId;
            Data.Id  = id;

            Previews = new ReadOnlyAttachmentPreviewCollection(this, Auth);
        }
Пример #2
0
        public AttachmentContext(string id, string ownerId, TrelloAuthorization auth)
            : base(auth)
        {
            _ownerId = ownerId;
            Data.Id  = id;

            Previews            = new ReadOnlyAttachmentPreviewCollection(this, Auth);
            Previews.Refreshed += (s, e) => OnMerged(new[] { nameof(Previews) });
        }