コード例 #1
0
 protected MemberData(Type type)
 {
     Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(type, true));
     Name       = new Name(type);
 }
コード例 #2
0
 protected MemberData(ParameterInfo parameterInfo)
 {
     Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(parameterInfo, true));
     Name       = new Name(parameterInfo);
 }
コード例 #3
0
 protected MemberData(Assembly assembly)
 {
     Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(assembly, true));
     Name       = new Name(assembly);
 }
コード例 #4
0
 protected MemberData(MethodBase methodBase)
 {
     Attributes = new ReadOnlyValueList(Attribute.GetCustomAttributes(methodBase, true));
     Name       = new Name(methodBase);
 }