internal Me(string id) : base(id, true, TrelloAuthorization.Default) { _email = new Field <string>(_context, nameof(Email)); Preferences = new MemberPreferences(_context.MemberPreferencesContext); _context.Merge(_myJson); }
internal Me() : base(GetId(), true, TrelloAuthorization.Default) { _email = new Field <string>(_context, nameof(Email)); Notifications = new ReadOnlyNotificationCollection(() => Id, TrelloAuthorization.Default); Preferences = new MemberPreferences(_context.MemberPreferencesContext); _context.Merge(_myJson); }