Inheritance: ConnectModelBase, IEntity
コード例 #1
0
        public override async Task UpdateInfoFromOnline(CollectionModel collection,
            CollectionVersionModel collectionVersion,
            Account author, IContentManager contentList) {
            await base.UpdateInfoFromOnline(collection, collectionVersion, author, contentList).ConfigureAwait(false);

            Subscribers = collection.Subscribers;
            AuthorAvatarUrl = author.Avatar;
            Author = author.DisplayName;

            collectionVersion.Repositories.SyncCollectionLocked(Repositories);
            UpdateServersInfo(collectionVersion);

            await SynchronizeMods(contentList, collectionVersion).ConfigureAwait(false);
        }
コード例 #2
0
 public AddFriend(Account account) {
     Account = account;
 }