public static PropertyInfo[] GetSelfProperties(this IDotnetExpander expander, string name) { string assemblyName, typeName, value; expander.ParseName(name, out assemblyName, out typeName, out value); return(expander.GetSelfProperties(assemblyName, typeName)); }
public static PropertyInfo[] GetSelfProperties <T>(this IDotnetExpander expander) { return(expander.GetSelfProperties(typeof(T))); }