SettingsAccessor<TSlice1> Class

NOTE: This member is now obsolete. Use SettingsAccessorDesigner<TKey1> instead.

Implements default slices hierarchy with single level.

Namespace: Xafari.BC.Settings
Assembly: Xafari.BC.Settings (in Xafari.BC.Settings.dll)

  • c#
  • VB

[Obsolete("Use SettingsAccessorDesigner<TKey1> instead.")] public class SettingsAccessor<TSlice1> : SettingsAccessor where TSlice1 : class

<Obsolete("Use SettingsAccessorDesigner<TKey1> instead.")> _
Public Class SettingsAccessor(Of TSlice1 As Class)
  Inherits SettingsAccessor
End Class

Name Description
msdn2017/pubproperty Active Indicates than service is active. (inherited from XafariCommonService).
msdn2017/pubproperty Application Gets the instance of XafApplication (inherited from XafariCommonService).
msdn2017/pubproperty CachePolicy Obsolete. (inherited from SettingsAccessor).
msdn2017/pubproperty CreateServiceSpaceContextStrategy Specifies the create IServiceSpaceContext strategy. (inherited from XafariServiceBase<TService>).
msdn2017/pubproperty CurrentSlice The current layer settings. (inherited from SettingsAccessor).
msdn2017/pubproperty DefaultLayerValue (inherited from SettingsAccessor).
msdn2017/pubproperty DefaultResultValue A clone of the primary node configuration. (inherited from SettingsAccessor).
msdn2017/pubproperty InitializeStrategy Specifies service initialization strategy. (inherited from XafariCommonService).
msdn2017/pubproperty msdn2017/static Instance Gets the TService for current Thread. (inherited from XafariCommonService<TService>).
msdn2017/pubproperty IsCurrentUserDependent Override this property to specify service dependency from current user value. (inherited from SettingsAccessor).
msdn2017/pubproperty IsDisposed (inherited from DisposableExtBase).
msdn2017/pubproperty ObjectSpace Contains a reference to ObjectSpace. (inherited from SettingsAccessor).
msdn2017/pubproperty RootSlice Returns root slice. (inherited from SettingsAccessor).
msdn2017/protproperty RootSliceType Gets Type of root slice. Override this property when implement custom settings accessor.
msdn2017/pubproperty SliceCacheSlidingExpirationSeconds Obsolete. (inherited from SettingsAccessor).
msdn2017/pubproperty SliceTypes Type layer. (inherited from SettingsAccessor).
Top
Name Description
msdn2017/protmethod CheckIsDisposed() (inherited from DisposableExtBase).
msdn2017/pubmethod msdn2017/static CreateDesigner() (inherited from SettingsAccessor).
msdn2017/pubmethod CreateRootSlice<TSlice>() Obsolete. (inherited from SettingsAccessor).
msdn2017/protmethod CreateServiceContextCore(IServiceSpace) (inherited from SettingsAccessor).
msdn2017/protmethod Dispose(bool) Obsolete.
msdn2017/pubmethod Dispose() (inherited from DisposableExtBase).
msdn2017/protmethod DisposeCore() (inherited from SettingsAccessor).
msdn2017/pubmethod GetGroupCaption(IModelBCSettingsGroup) Get localized caption for IModelBCSettingsGroup node. (inherited from SettingsAccessor).
msdn2017/pubmethod GetGroupTooltip(IModelBCSettingsGroup) Get localized tooltip for IModelBCSettingsGroup node. (inherited from SettingsAccessor).
msdn2017/pubmethod GetItemCaption(IModelBCSettingsItem) Get localized caption for IModelBCSettingsItem node. (inherited from SettingsAccessor).
msdn2017/pubmethod GetItemTooltip(IModelBCSettingsItem) Get localized tooltip for IModelBCSettingsItem node. (inherited from SettingsAccessor).
msdn2017/pubmethod GetRootCaption() Get localized caption for root group node. (inherited from SettingsAccessor).
msdn2017/pubmethod GetRootSettings(SettingsValueSlice) Obsolete. Returns the root node settings. (inherited from SettingsAccessor).
msdn2017/pubmethod GetSlice(params object[]) Obsolete. Returns the layer based on the identifier.
msdn2017/pubmethod GetSlice(string) Obsolete. Returns the layer based on the identifier.
msdn2017/pubmethod GetSlice<T>(params object[]) Obsolete. Returns the layer based on the identifier. (inherited from SettingsAccessor).
msdn2017/pubmethod Initialize() Initializes service instance. Have to invoked when service is used. (inherited from XafariCommonService).
msdn2017/protmethod InitializeCore() (inherited from SettingsAccessor).
msdn2017/friendmethod OnSettingValueChanged(SettingValueChangedEventArgs) (inherited from SettingsAccessor).
msdn2017/friendmethod OnSettingValueChangind(SettingValueChangingEventArgs) (inherited from SettingsAccessor).
msdn2017/pubmethod Register(XafApplication) Register this instance for specified application and Setup it. (inherited from XafariCommonService).
msdn2017/pubmethod msdn2017/static RegisterService(XafApplication) Creates instance of TService and register it. (inherited from XafariCommonService<TService>).
msdn2017/pubmethod Reset() Reset service instance. Reverse method for Initialize. (inherited from XafariCommonService).
msdn2017/protmethod ResetCore() (inherited from SettingsAccessor).
msdn2017/protmethod Setup(XafApplication) (inherited from SettingsAccessor).
msdn2017/pubmethod SetupCurrentSlice() Sets current slice, depending by CurrentUser value. (inherited from SettingsAccessor).
msdn2017/protmethod SetupSliceTypes() Override this method to setup SliceTypes property. (inherited from SettingsAccessor).
msdn2017/pubmethod Update() Obsolete. (inherited from SettingsAccessor).
Top
Name Description
msdn2017/pubevent Activated Occurs after service instance is activated. (inherited from XafariCommonService).
msdn2017/pubevent CurrentSliceChanged Occurs when the current layer has been changed. (inherited from SettingsAccessor).
msdn2017/pubevent Deactivated Occurs after service instance is deactivated. (inherited from XafariCommonService).
msdn2017/pubevent Disposed (inherited from DisposableExtBase).
msdn2017/pubevent Disposing (inherited from DisposableExtBase).
msdn2017/pubevent Initialized Occurs after Initialize method called. (inherited from XafariCommonService).
msdn2017/pubevent Initializing Occurs after Initialize method called. (inherited from XafariCommonService).
msdn2017/pubevent Resetted Occurs after Reset method called. (inherited from XafariCommonService).
msdn2017/pubevent ServiceSpaceContextCreated Occurs after IServiceSpaceContext is created and Setup executed. (inherited from XafariServiceBase<TService>).
msdn2017/pubevent SettingValueChanged Occurs when the value setting has been changed. (inherited from SettingsAccessor).
msdn2017/pubevent SettingValueChanging Occurs when the value setting has been changing. (inherited from SettingsAccessor).
Top
Name Description
msdn2017/pubclass Root Root slice.
msdn2017/pubclass Slice1 First level slice.
Top
Name Description
msdn2017/protfield IsDisposing (inherited from DisposableExtBase).
msdn2017/pubfield Updaters (inherited from SettingsAccessor).
Top
Used by default in case with not null Instance. Uses UserType as TSlice1.

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1