/// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
 internal MemberExportBuilder(TypeBlueprint containingTypeBlueprint, MemberInfo member)
 {
     _containingTypeBlueprint = containingTypeBlueprint;
     if (member != null)
     {
         _member    = member;
         _forMember = containingTypeBlueprint.ForMember(member, true);
     }
 }
예제 #2
0
 /// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
 internal MemberExportBuilder(TypeBlueprint containingTypeBlueprint, MemberInfo member)
 {
     _containingTypeBlueprint = containingTypeBlueprint;
     if (member != null)
     {
         _member    = member;
         _forMember = containingTypeBlueprint.ForMember(member, true);
     }
     else
     {
         _forMember = new TsPropertyAttribute();
     }
 }
예제 #3
0
 internal PropertyExportConfigurationBuilder(MemberInfo member, TypeBlueprint blueprint)
 {
     Member     = member;
     _blueprint = blueprint;
     _blueprint.ForMember(Member, true);
 }
 internal MethodConfigurationBuilder(MethodInfo member, TypeBlueprint blueprint)
 {
     Member     = member;
     _blueprint = blueprint;
     _blueprint.ForMember(Member, true);
 }
 internal ParameterConfigurationBuilder(ParameterInfo member, TypeBlueprint blueprint)
 {
     Member     = member;
     _blueprint = blueprint;
     _blueprint.ForMember(Member, true);
 }
예제 #6
0
 internal ParameterExportBuilder(TypeBlueprint containingTypeBlueprint, ParameterInfo member)
     : base(containingTypeBlueprint, null)
 {
     _parMember = member;
     _forMember = containingTypeBlueprint.ForMember(member, true);
 }