/// <summary> /// Returns a property selector for the current <see cref="System.Type"/>. /// </summary> public static PropertyInfoSelector Properties(this TypeSelector typeSelector) { return(new PropertyInfoSelector(typeSelector.ToList())); }
/// <summary> /// Returns a property selector for the current <see cref="Type"/>. /// </summary> /// <exception cref="ArgumentNullException"><paramref name="typeSelector"/> is <c>null</c>.</exception> public static PropertyInfoSelector Properties(this TypeSelector typeSelector) { Guard.ThrowIfArgumentIsNull(typeSelector, nameof(typeSelector)); return(new PropertyInfoSelector(typeSelector.ToList())); }
/// <summary> /// Returns a method selector for the current <see cref="System.Type"/>. /// </summary> public static MethodInfoSelector Methods(this TypeSelector typeSelector) { return(new MethodInfoSelector(typeSelector.ToList())); }
/// <summary> /// Returns a method selector for the current <see cref="Type"/>. /// </summary> /// <exception cref="ArgumentNullException"><paramref name="typeSelector"/> is <c>null</c>.</exception> public static MethodInfoSelector Methods(this TypeSelector typeSelector) { Guard.ThrowIfArgumentIsNull(typeSelector, nameof(typeSelector)); return(new MethodInfoSelector(typeSelector.ToList())); }