Home > typeioc > ISubstituteInfo
Represents substitute information encapsulation interface
Signature:
export interface ISubstituteInfo 
| Property | Type | Description | 
|---|---|---|
| method | string | 
      Original subject member name. If omitted, substitution is applied to all members | 
| type | CallInfoType | 
      Original subject member type. Used to specify partial substitution of getters and setters. If omitted, original subject member type is used CallInfoType | 
| wrapper | (callInfo: ICallInfo) => any | void | 
      Specifies substitute action/behavior (lambda expression executed during substitution call) | 
Multiple substitutions for the same member form an execution chain. Every predecessor in the chain can pass a result of the execution to its successor. Every successor in the chain can receive a result of predecessor execution. If substitution does not invoke its successor, execution chain stops