Click or drag to resize

LayoutLoader Class

Responsible for downloading and maintaining a collection of reusable layouts.
Inheritance Hierarchy
SystemObject
  OBCOM.NetSwitchLib.LayoutsLayoutLoader

Namespace:  OBCOM.NetSwitchLib.Layouts
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public sealed class LayoutLoader : IEnumerable

The LayoutLoader type exposes the following members.

Constructors
  NameDescription
Public methodLayoutLoader
Creates a new LayoutManager with specified Uniform Resource Identifier (uri).
Top
Properties
  NameDescription
Public propertyURI
Returns the Uniform Resource Identifier (URI) of this LayoutManager.
Top
Methods
  NameDescription
Public methodClear
Clears (removes) all layouts from the cache.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns a read-only enumerator over the collection of fields in the Layout.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLayout
Returns the Layout with the specified name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPutLayout
Adds a layout to the collection of layouts of the LayoutManager.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

If a requiered Layout is not in the collection, the LayoutManager downloads it's specification, compiles, verifies and addes it to the collection.

Layouts are downloaded using the URI (Uniform Resource Identifier) supplied to the LayoutManager constructor. This URI must contain at least one occurrence of the special placeholder character "*". Before each download, all occurrences of this placeholder are replaced with the name of the requiered Layout. In this way the resulting URI gets targeted specifically to the required Layout. Examples of valid URIs:

http://www.obcom.cl/desktop/recs/*.asp
file:/C:/websphere/dsn/web/recs/*.jsp
ecuser://JSERVER?FormName=**/
See Also