PostSharp6.4//API Reference/Post­Sharp.​Patterns.​Collections.​Advices Namespace/IHash­Set­Dynamic­Advice­Factory(TPayload) Interface/IHash­Set­Dynamic­Advice­Factory(TPayload) Methods/IHash­Set­Dynamic­Advice­Factory(TPayload).​Create Method

IHashSetDynamicAdviceFactory<TPayload>.Create Method

Creates a new instance implementing IHashSetDynamicAdvice<T>.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
IDynamicAdvice Create(
	IDynamicallyAdvisableHashSet hashSet,
	TPayload payload
)

Parameters

hashSet
Type: PostSharp.Patterns.Collections.Advices.IDynamicallyAdvisableHashSet
The collection being advised.
payload
Type: TPayload

Return Value

Type: IDynamicAdvice
See Also