Mobile/CafeLib.Mobile/Services/MobileService.cs
/// <summary>
/// Resolve the page associated to the view model.
/// </summary>
/// <param name="viewModelType">view model type</param>
Resolve the page associated to the view model.
Resolve the page associated to the view model .
private void ReleasePage(Type viewModelType)
        {
            if (viewModelType == null || ResolvePage(viewModelType)?.GetType().GetCustomAttribute<TransientAttribute>() == null) return;
            var resolver = GetPageResolver(viewModelType);
            resolver?.Release();
        }
private void ReleasePage ( Type viewModelType ) { if ( viewModelType == null || ResolvePage ( viewModelType ) ? . GetType ( ) . GetCustomAttribute < TransientAttribute > ( ) == null ) return ; var resolver = GetPageResolver ( viewModelType ) ; resolver ? . Release ( ) ; }
Resolve the page associated to the view model.
Resolve the page associated to the view model .
viewModelType
Type
view model type
view model type