private MemberEventArgs GetMemberEventArgs(MemberInfo member, Type memberReturnType, Type visitingType) { var typeInfo = this.language.GetTypeInfo(memberReturnType); var isOwnProperty = member.DeclaringType == visitingType; var args = new MemberEventArgs() { MemberName = member.Name, MemberTypeName = typeInfo.Name, MemberTypeFullName = typeInfo.FullName, MemberTypeNameSpaceName = typeInfo.NameSpaceName, IgnoredByGenerators = this.IgnoreLanguages(member), IsOwnProperty = isOwnProperty }; return(args); }
private MemberEventArgs GetMemberEventArgs(MemberInfo member, Type memberReturnType, Type visitingType) { var typeInfo = this.language.GetTypeInfo(memberReturnType); var isOwnProperty = member.DeclaringType == visitingType; var args = new MemberEventArgs() { MemberName = member.Name, MemberTypeName = typeInfo.Name, MemberTypeFullName = typeInfo.FullName, MemberTypeNameSpaceName = typeInfo.NameSpaceName, IgnoredByGenerators = this.IgnoreLanguages(member), IsOwnProperty = isOwnProperty }; return args; }