Example #1
0
        public RootClassDescriptor <T> HideMember <TMember>(Expression <Func <T, TMember> > expression)
        {
            var member = ReflectOn <T> .ForMember(expression);

            MemberVisibility[member.Name] = false;

            return(this);
        }
Example #2
0
 public ForMemberDescriptor <TMember> CustomerDiagram <TForMember>(Expression <Func <TMember, TForMember> > expression)
 {
     return(new ForMemberDescriptor <TMember>(_descriptor, ReflectOn <TMember> .ForMember(expression)));
 }
Example #3
0
 public ForMemberDescriptor <T> ForMember <TMember>(Expression <Func <T, TMember> > expression)
 {
     return(new ForMemberDescriptor <T>(this, ReflectOn <T> .ForMember(expression)));
 }