Add project files.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using TheXamlGuy.Framework.Camera;
|
||||
using TheXamlGuy.Framework.Core;
|
||||
|
||||
namespace WeddingBooth.Views;
|
||||
|
||||
public class CameraViewModel : ObservableViewModel
|
||||
{
|
||||
public CameraViewModel(IPropertyBuilder propertyBuilder,
|
||||
IEventAggregator eventAggregator,
|
||||
IServiceFactory serviceFactory,
|
||||
IDisposer disposer) : base(propertyBuilder, eventAggregator, serviceFactory, disposer)
|
||||
{
|
||||
}
|
||||
|
||||
public bool CanCapture { get; set; } = true;
|
||||
|
||||
public void Capture()
|
||||
{
|
||||
EventAggregator.Publish<Capture>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user