Class AbstractSettingsBundleAware
Optional abstract base class for components implementing ISettingsBundleAware. The settings received are accessible from the SettingsBundle property.
Inheritance
System.Object
AbstractSettingsBundleAware
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Core.Settings.Implementation
Assembly: Sdl.Core.Settings.dll
Syntax
public abstract class AbstractSettingsBundleAware : ISettingsBundleAware
Remarks
This base class provides a convenient default implementation of this interface that implementations may (but are not required to) use.
Constructors
AbstractSettingsBundleAware()
Declaration
protected AbstractSettingsBundleAware()
Properties
SettingsBundle
Access to the settings bundle.
Declaration
public ISettingsBundle SettingsBundle { get; set; }
Property Value
Type | Description |
---|---|
ISettingsBundle |
Remarks
Once SetSettingsBundle(ISettingsBundle) has been called the settings
can be accessed from this property. Before that the value is null
.
Methods
SetSettingsBundle(ISettingsBundle)
Implementation stores the settings bundle in a member that can be accessed through the SettingsBundle property.
Declaration
public virtual void SetSettingsBundle(ISettingsBundle settingsBundle)
Parameters
Type | Name | Description |
---|---|---|
ISettingsBundle | settingsBundle | the settingsBundle value to set the property to |