27 lines
704 B
C#
27 lines
704 B
C#
using Toolkit.Foundation;
|
|
|
|
namespace Bitvault;
|
|
|
|
public partial class ItemContentViewModel :
|
|
ObservableCollection<IItemEntryViewModel>,
|
|
IItemEntryViewModel
|
|
{
|
|
public ItemContentViewModel(IServiceProvider provider,
|
|
IServiceFactory factory, IMediator mediator,
|
|
IPublisher publisher,
|
|
ISubscription subscriber,
|
|
IDisposer disposer,
|
|
IContentTemplate template,
|
|
bool immutable = true) : base(provider, factory, mediator, publisher, subscriber, disposer)
|
|
{
|
|
Template = template;
|
|
|
|
if (!immutable)
|
|
{
|
|
Insert<AddItemContentNavigationViewModel>();
|
|
}
|
|
}
|
|
|
|
public IContentTemplate Template { get; set; }
|
|
}
|