Partager via


WorkspaceSettingsExtensions Class

Definition

Convenience extension for IWorkspaceSettings interface

public ref class WorkspaceSettingsExtensions abstract sealed
public ref class WorkspaceSettingsExtensions abstract sealed
class WorkspaceSettingsExtensions abstract sealed
public static class WorkspaceSettingsExtensions
type WorkspaceSettingsExtensions = class
Public Module WorkspaceSettingsExtensions
Inheritance
WorkspaceSettingsExtensions

Methods

AbsolutePath(IWorkspaceSettings, String, String)

Get a string value representing potentially relative path as full path, using implied root as a base

EnsurePropertyGroup(IWorkspaceSettingsSourceWriter, String)

A variant of "Scope", used during "Save" it will create and add a collection property with "key" name if it does not already exists. Used when caller is not interested by the current state, but just want to get the current value to use.

Property<T>(IWorkspaceSettingsSource, String, T)

Wrapper around WorkspaceSettingsResult GetProperty. Used when caller is not interested by the current state, but just want to get the current value to use.

PropertyArray<T>(IWorkspaceSettingsSource, String)

Wrapper around WorkspaceSettingsResult GetPropertyArray. Used when caller is not interested by the current state, but just want to get the current value to use.

PropertyGroup(IWorkspaceSettings, String)

A special provider of inner named settings collection (T=IWorkspaceSettings) Used when caller is not interested by the current state, but just want to get the current value to use.

PropertyGroupArray(IWorkspaceSettings, String)

A special accessors for inner named settings collection array (T=IWorkspaceSettings) Used when caller is not interested by the current state, but just want to get the current value to use.

TryGetRootedValue(IWorkspaceSettings, String, String, String)

Get a string value with implied root

UnionPropertyArray<T>(IWorkspaceSettings, String)

This method will return union of all values in hierarchical chain, not just the top array.

Applies to