-
Home
-
API
-
XamlToCSharpGenerator.Runtime
-
SourceGenHotReloadPolicies
-
Methods
-
Create(Int32, Func?, Func?, Action?, Action?)
Create<TElement, TState>(Int32, Func<Type, TElement, Boolean>?, Func<Type, TElement, TState?>?, Action<Type, TElement, TState?>?, Action<Type, TElement, TState?>?) Method
Definition
public static SourceGenHotReloadPolicyHandler<TElement, TState> Create<TElement, TState>(int priority = 0, Func<Type, TElement, bool>? canHandle = null, Func<Type, TElement, TState?>? captureState = null, Action<Type, TElement, TState?>? beforeElementReload = null, Action<Type, TElement, TState?>? afterElementReload = null)
where TElement : class
Type parameters
Parameters
Returns