public static bool TrySet <T>(this T context, string path, object value) { if (context == null || string.IsNullOrWhiteSpace(path)) { return(false); } return(RUtils <T> .TrySet(context, path, value)); }
public static void Set <T>(this T context, string path, object value) { RUtils <T> .Set(context, path, value); }
public static object Get <T>(this T context, string path) { return(RUtils <T> .Get(context, path)); }
/// <summary> /// Returns value of property placed on <paramref name="path"/> with started point at <paramref name="context"/>. /// </summary> /// <param name="context">Object that has property on passed <paramref name="path"/></param> /// <param name="path">Path to requested property</param> /// <param name="value">Value</param> public static bool TryGet <T>(this T context, string path, out object value) { return(RUtils <T> .TryGet(context, path, out value)); }