PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / IDictionary­Dynamic­Advice­Factory(TPayload) Interface / IDictionary­Dynamic­Advice­Factory(TPayload) Methods / IDictionary­Dynamic­Advice­Factory(TPayload).​Create Method

IDictionaryDynamicAdviceFactory<TPayload>.Create Method

Creates a new instance implementing IDictionaryDynamicAdvice<TKey, TValue>.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
IDynamicAdvice Create(
	IDynamicallyAdvisableDictionary dictionary,
	TPayload payload
)

Parameters

dictionary
Type: PostSharp.Patterns.Collections.Advices.IDynamicallyAdvisableDictionary
The dictionary being advised.
payload
Type: TPayload

Return Value

Type: IDynamicAdvice
See Also