ClassAttributesToAvoidReplicating
Class
A list of attributes that must not be replicated when building a proxy. JustMock tries to copy all attributes from the types and methods being proxied, but that is not always a good idea for every type of attribute. Add additional attributes to this list that prevent the proxy from working correctly.
Definition
Namespace:Telerik.JustMock
Assembly:Telerik.JustMock.dll
Syntax:
cs-api-definition
public static class AttributesToAvoidReplicating
Inheritance: objectAttributesToAvoidReplicating
Methods
Add(Type)
Adds a specific attribute type to the list of attributes to avoid replicating when creating a proxy. Use this method when the attribute type is determined at runtime.