Class StringConfigurationProvider<TAppConfiguration>

Reads and Writes configuration settings from strings - which you manage yourself. Using strings for the configuration provider allows for easy storage into any non-supported configuration stores that you control through your code as long as it supports strings.

The string provider is a real minimal implementation that only implements WriteAsString(config) and Read(string). It inherits all of its functionality from the base provider.

System.Object
  Westwind.Utilities.Configuration.ConfigurationProviderBase<TAppConfiguration>
    Westwind.Utilities.Configuration.StringConfigurationProvider<TAppConfiguration>
public class StringConfigurationProvider<TAppConfiguration> : ConfigurationProviderBase<TAppConfiguration>

Class Members

MemberDescription

Constructor

Read

Reads configuration information into config from InitialStringData

public virtual bool Read(AppConfiguration config)

Read<T>

Reads from the InitialStringData string data

public virtual T Read()

Write

Not supported for StringConfiguration

public virtual bool Write(AppConfiguration config)

InitialStringData

Requirements

Namespace: Westwind.Utilities.Configuration
Assembly: westwind.utilities.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic