예제 #1
0
 public Post(Post parent, int id, ChitterUser user)
     : base(parent)
 {
     User        = user;
     AvatarIndex = user.Avatar;
     ID          = id;
 }
예제 #2
0
 public ComposeViewModel(ViewModel viewModel, ChitterUser poster)
     : base("Compose post")
 {
     PostCommand   = new RelayCommand(canPost, onPost);
     CancelCommand = new RelayCommand((x) => true, onCancel);
     _poster       = poster;
     _viewModel    = viewModel;
     Quality       = Status.Unclassified;
 }