BuildIt.UIHelper.RegisterForUIAccess C# (CSharp) Méthode

RegisterForUIAccess() public static méthode

public static RegisterForUIAccess ( this requiresAccess, IRequiresUIAccess hasAccess ) : void
requiresAccess this
hasAccess IRequiresUIAccess
Résultat void
        public static void RegisterForUIAccess(this IRegisterForUIAccess requiresAccess, IRequiresUIAccess hasAccess)
        {
            var cxt = hasAccess?.UIContext;
            if (cxt == null) return;
            requiresAccess?.RegisterForUIAccess(hasAccess?.UIContext);
        }