C# Class FirstFloor.ModernUI.Windows.DefaultContentLoader

Loads XAML files using Application.LoadComponent.
Inheritance: IContentLoader
Datei anzeigen Open project: gro-ove/actools

Public Methods

Method Description
LoadContent ( Uri uri ) : object

Loads the content from specified uri.

LoadContentAsync ( Uri uri, CancellationToken cancellationToken ) : Task

Asynchronously loads content from specified uri.

Method Details

LoadContent() public method

Loads the content from specified uri.
public LoadContent ( Uri uri ) : object
uri System.Uri The content uri
return object

LoadContentAsync() public method

Asynchronously loads content from specified uri.
public LoadContentAsync ( Uri uri, CancellationToken cancellationToken ) : Task
uri System.Uri The content uri.
cancellationToken System.Threading.CancellationToken The token used to cancel the load content task.
return Task