PersistableModelProxyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute that indicates a proxy Type to use for reading a model. The proxy Type must implement IPersistableModel<T> and have a public or non-public parameterless constructor.
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class PersistableModelProxyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type PersistableModelProxyAttribute = class
inherit Attribute
Public NotInheritable Class PersistableModelProxyAttribute
Inherits Attribute
- Inheritance
-
PersistableModelProxyAttribute
- Attributes
Constructors
PersistableModelProxyAttribute(Type) |
Instantiates a new instance of the PersistableModelProxyAttribute class. |
Properties
ProxyType |
Gets the Type to create and call read on. The Type must have a public or non-public parameterless constructor. The Type must implement IPersistableModel<T> where T is the type of the abstract class. |