Class UrlPluginBase
An implementation of IUrl which delegates all member access to the Inner implementation, unless the member is overridden in a derived class which changes the behavior.
Implements
IDelegatable<IUrl>
Inherited Members
Namespace: StrixMusic.Sdk.Plugins.Model
Assembly: StrixMusic.Sdk.dll
Syntax
public class UrlPluginBase : IModelPlugin, IUrl, IUrlBase, ICollectionItemBase, IAppModel, IMerged<ICoreUrl>, IEquatable<ICoreUrl>, IMerged, IDelegatable<IUrl>
Constructors
| Improve this Doc View SourceUrlPluginBase(ModelPluginMetadata, IUrl)
Creates a new instance of UrlPluginBase.
Declaration
protected UrlPluginBase(ModelPluginMetadata registration, IUrl inner)
Parameters
Type | Name | Description |
---|---|---|
ModelPluginMetadata | registration | Metadata about the plugin which was provided during registration. |
IUrl | inner | The implementation which all member access is delegated to, unless the member is overridden in a derived class which changes the behavior. |
Properties
| Improve this Doc View SourceInner
Declaration
public IUrl Inner { get; }
Property Value
Type | Description |
---|---|
IUrl |
Label
A label for the Url.
Declaration
public virtual string Label { get; }
Property Value
Type | Description |
---|---|
string |
Metadata
The plugin metadata that was provided during registration.
Declaration
public ModelPluginMetadata Metadata { get; }
Property Value
Type | Description |
---|---|
ModelPluginMetadata |
Sources
The sources that make up this merged item.
Declaration
public IReadOnlyList<ICoreUrl> Sources { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<ICoreUrl> |
Type
Classifies this as a specific kind of URL.
Declaration
public virtual UrlType Type { get; }
Property Value
Type | Description |
---|---|
UrlType |
Url
A Uri pointing to an external resource.
Declaration
public virtual Uri Url { get; }
Property Value
Type | Description |
---|---|
Uri |
Methods
| Improve this Doc View SourceEquals(ICoreUrl?)
Declaration
public virtual bool Equals(ICoreUrl? other)
Parameters
Type | Name | Description |
---|---|---|
ICoreUrl | other |
Returns
Type | Description |
---|---|
bool |
Events
| Improve this Doc View SourceSourcesChanged
Raised when any of the sources have changed.
Declaration
public event EventHandler? SourcesChanged
Event Type
Type | Description |
---|---|
EventHandler |
Implements
OwlCore.ComponentModel.IDelegatable<T>