示例#1
0
 /// <summary>
 /// Get the value of a style descriptor
 /// </summary>
 /// <typeparam name="T">Type of the style descriptor</typeparam>
 /// <param name="key">Style descriptor name</param>
 /// <returns>Value of the style descriptor</returns>
 public T Get <T>(string key)
 {
     return(_descriptors.Get <T>(key));
 }
 /// <summary>
 /// Get the value of an attribute
 /// </summary>
 /// <typeparam name="T">Type of the attribute</typeparam>
 /// <param name="key">Attribute name</param>
 /// <returns>Value of the attribute</returns>
 public T Get <T>(string key)
 {
     return(_attributes.Get <T>(key));
 }