Skip to main content

StandardAssetLoader Class

Unstable.

Note: This API is unstable and may change in a future release.

Loads assets compiled into the application binary.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[UnstableAttribute("StandardAssetLoader is considered unstable. Please use AssetLoader static class instead.")]
public class StandardAssetLoader : IAssetLoader
View Source
InheritanceObject → StandardAssetLoader
ImplementsIAssetLoader

Constructors

StandardAssetLoader(Assembly)Initializes a new instance of the StandardAssetLoader class

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Exists(Uri, Uri)Checks if an asset with the specified URI exists.
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAssembly(Uri, Uri) 
GetAssets(Uri, Uri)Gets all assets of a folder and subfolders that match specified uri.
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
InvalidateAssemblyCache() 
InvalidateAssemblyCache(String) 
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
Open(Uri, Uri)Opens the asset with the requested URI.
OpenAndGetAssembly(Uri, Uri)Opens the asset with the requested URI and returns the asset stream and the assembly containing the asset.
RegisterResUriParsers() 
SetDefaultAssembly(Assembly)Sets the default assembly from which to load assets for which no assembly is specified.
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Platform Namespace