/// <summary> /// Returns the enumeration of all dynamic member names. /// </summary> /// <returns> A sequence that contains dynamic member names. </returns> public override IEnumerable <string> GetDynamicMemberNames() { if (!KnownInterfaces.Any()) { var tDyanmic = Impromptu.GetMemberNames(CallTarget, dynamicOnly: true); if (!tDyanmic.Any()) { return(Impromptu.GetMemberNames(CallTarget)); } } return(base.GetDynamicMemberNames()); }
public override IEnumerable <string> GetDynamicMemberNames() { if (!KnownInterfaces.Any()) { var dynamicMemberNames = InvocationBinding.GetMemberNames(CallTarget, dynamicOnly: true); if (!dynamicMemberNames.Any()) { return(InvocationBinding.GetMemberNames(CallTarget)); } } return(base.GetDynamicMemberNames()); }