C# Class GoogleCloudExtension.Extensions.ImageResource

This class is a simple markup extension that returns an image given its path.
Inheritance: System.Windows.Markup.MarkupExtension
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-visualstudio

Méthodes publiques

Méthode Description
ImageResource ( ) : GoogleCloudExtension.Utils
ImageResource ( string path ) : GoogleCloudExtension.Utils
ProvideValue ( IServiceProvider serviceProvider ) : object

Loads the image given the Path property. Caching is performed so an image is only going to be loaded once.

Method Details

ImageResource() public méthode

public ImageResource ( ) : GoogleCloudExtension.Utils
Résultat GoogleCloudExtension.Utils

ImageResource() public méthode

public ImageResource ( string path ) : GoogleCloudExtension.Utils
path string
Résultat GoogleCloudExtension.Utils

ProvideValue() public méthode

Loads the image given the Path property. Caching is performed so an image is only going to be loaded once.
public ProvideValue ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider
Résultat object