Example #1
0
 /// <summary>
 /// Copies all the properties of config to obj.
 /// </summary>
 /// <typeparam name="T">The Type of the obj param.</typeparam>
 /// <param name="obj">The receiver of the properties</param>
 /// <param name="config">The source of the properties</param>
 /// <returns>obj as T</returns>
 public static T Apply <T>(object obj, object config) where T : IComponent
 {
     return(ObjectUtils.Apply <T>(obj, config));
 }
Example #2
0
 public object Apply(IApply config)
 {
     return(ObjectUtils.Apply(this, config));
 }
Example #3
0
 public static object Apply(object obj, object config)
 {
     return(ObjectUtils.Apply(obj, config));
 }