Design Pattern Framework 3.5
CustomerViewModel Class
Patterns-In-Action! Application ► WPFViewModel ► CustomerViewModel
ViewModel for Customer.
Declaration Syntax
C# | Visual Basic |
public class CustomerViewModel
Public Class CustomerViewModel
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
CustomerViewModel(IProvider) |
Constructor
|
|
AddCommandModel |
|
|
CanAdd |
Indicates whether a new customer can be added.
|
|
CanDelete |
Indicates whether a customer is selected that can be deleted.
|
|
CanEdit |
Indicates whether a customer is currently selected.
|
|
CanViewOrders |
Indicates whether a customer is selected and orders can be viewed.
|
|
Customers |
|
|
DeleteCommandModel |
|
|
EditCommandModel |
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Index |
Gets or sets the index of the currently selected customer in the customer list.
|
|
IsLoaded |
Indicates whether the customer data has been loaded.
|
|
LoadCustomers(String) |
Retrieves and displays customers in given sort order.
|
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NewCustomerModel |
Gets a new customer.
|
|
SelectedCustomerModel |
Gets the selected customer
|
|
ToString()()() | (Inherited from Object.) |
|
UnloadCustomers()()() |
Clear customers from display.
|
Remarks
MV Patterns: MV-VM Design Pattern.
Inheritance Hierarchy
Object | |
CustomerViewModel |