Class ContactViewModelFactoryManager
Contact viewmodel factory
Inheritance
System.Object
ContactViewModelFactoryManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.PlugIn.SAC.Contact.UI
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public static class ContactViewModelFactoryManager
Properties
| Improve this Doc View SourceFactories
Gets a list of available factories
Declaration
public static IDictionary<int, IContactViewModelFactory> Factories { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Int32, IContactViewModelFactory> |
Methods
| Improve this Doc View SourceCreate(Contact)
Create a new viewmodel instance
Declaration
public static ContactViewModel Create(Contact contact)
Parameters
Type | Name | Description |
---|---|---|
Contact | contact | Contact to create the viewmodel fpr |
Returns
Type | Description |
---|---|
ContactViewModel | Instance of ContactViewModel if contact is not null |