Create<TElement, TState>(Int32, Func<Type, TElement, Boolean>?, Func<Type, TElement, TState?>?, Action<Type, TElement, TState?>?, Action<Type, TElement, TState?>?) Method

Definition

Assembly XamlToCSharpGenerator.Runtime.Core.dll
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

TElement
TState

Parameters

priority
Int32
beforeElementReload
Action<Type, TElement, TState>
afterElementReload
Action<Type, TElement, TState>

Returns