Freigeben über


PersistableModelProxyAttribute Class

Definition

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.

Applies to