Class BindContext
Inheritance
System.Object
BindContext
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: ImageVault.Common.Data.Display
Assembly: ImageVault.Common.dll
Syntax
public class BindContext
Constructors
BindContext()
Declaration
public BindContext()
BindContext(Media)
Declaration
public BindContext(Media media)
Parameters
Type | Name | Description |
---|---|---|
Media | media |
Properties
Attributes
Dictionary of all attributes to use when binding to this context
Declaration
public Dictionary<AttributeBindName, string> Attributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<AttributeBindName, System.String> |
BaseUrl
Base url to use
Declaration
public string BaseUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AddAttributeIfMissing(AttributeBindName, String)
Maps an attribute to a value
Declaration
public void AddAttributeIfMissing(AttributeBindName attribute, string value)
Parameters
Type | Name | Description |
---|---|---|
AttributeBindName | attribute | |
System.String | value |