ModelCopier Class
Provides the object in copying values between view model objects and domain model objects.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
Microsoft.Web.Mvc.ModelCopier
Syntax
public static class ModelCopier
public ref class ModelCopier abstract sealed
[<AbstractClass>]
[<Sealed>]
type ModelCopier = class end
Public NotInheritable Class ModelCopier
Methods
Name | Description | |
---|---|---|
![]() ![]() |
CopyCollection<T>(IEnumerable<T>, ICollection<T>) | Copies the values between two collection objects. |
![]() ![]() |
CopyModel(Object, Object) | Copies the values between two model objects. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top