public ContentItemViewModel(ContentItemViewModel viewModel) { TemplateName = viewModel.TemplateName; Prefix = viewModel.Prefix; Item = viewModel.Item; Zones = viewModel.Zones; }
public BuildEditorModelContext(ContentItemViewModel viewModel) { ContentItem = viewModel.Item; ViewModel = viewModel; }
public BuildDisplayModelContext(ContentItemViewModel viewModel, string displayType) { ContentItem = viewModel.Item; DisplayType = displayType; ViewModel = viewModel; }
public UpdateEditorModelContext(ContentItemViewModel viewModel, IUpdateModel updater) : base(viewModel) { Updater = updater; }