Generated by DocFX

Interface IViewModelSelectedItem<TEntity>

Interface IViewModelSelectedItem Implements the IViewModel

Inherited Members
IViewModel.Cancelled
IViewModel.OnCancelled(EventArgs)
IViewModel.Closed
IViewModel.OnClosed(EventArgs)
IViewModel.Context
IViewModel.BaseCommonServices
IViewModel.Logger
IViewModel.CloseCommand
IViewModel.CanClose
IViewModel.IsCancelled
IViewModel.Title
IViewModel.InitializeAsync()
IViewModel.IsInitialized
IViewModel.IsRefreshing
IViewModel.OnPropertyChanged(Object, PropertyChangedEventArgs)
IViewModel.Parameter
IObservableClass.Validate(Boolean)
IObservableClass.Revert()
IObservableClass.MarkAsClean()
IObservableClass.Properties
IObservableClass.Errors
IObservableClass.Validator
IObservableClass.IsDirty
IObservableClass.IsValid
IObservableClass.AutomaticValidationTrigger
IObservableClass.AddValidationError(String, String)
IBindable.OnPropertyChanged(String)
ICleanup.Cleanup()
Namespace: ISynergy.Framework.Mvvm.Abstractions.ViewModels
Assembly: ISynergy.Framework.Mvvm.dll
Syntax
public interface IViewModelSelectedItem<TEntity> : IViewModel, IObservableClass, IBindable, ICleanup
Type Parameters
Name Description
TEntity

The type of the t entity.

Properties

View Source

IsUpdate

Gets or sets the IsUpdate property value.

Declaration
bool IsUpdate { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is an update; otherwise (new), false.

View Source

SelectedItem

Gets the selected item.

Declaration
TEntity SelectedItem { get; }
Property Value
Type Description
TEntity

The selected item.

View Source

SubmitCommand

Gets the submit _command.

Declaration
AsyncRelayCommand<TEntity> SubmitCommand { get; }
Property Value
Type Description
AsyncRelayCommand<TEntity>

The submit _command.

Methods

View Source

SetSelectedItemAsync(TEntity)

Sets the selected item.

Declaration
Task SetSelectedItemAsync(TEntity e)
Parameters
Type Name Description
TEntity e

The entity.

Returns
Type Description
Task

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)

See Also

IViewModel