AddToType() abstract private method

abstract private AddToType ( CodeTypeDeclaration decl, List annotations ) : CodeMemberProperty
decl System.CodeDom.CodeTypeDeclaration
annotations List
return System.CodeDom.CodeMemberProperty
示例#1
0
 public override void GenerateCode(ClrBasePropertyInfo property, List <ClrAnnotation> annotations)
 {
     GenerateConstructorCode(property);
     property.AddToType(decl, annotations);
     if (!declItems.hasElementWildCards)
     {
         property.AddToContentModel(contentModelExpression);
     }
 }
 internal override void CreateProperty(ClrBasePropertyInfo propertyInfo, List <ClrAnnotation> annotations)
 {
     ((ClrWrappingPropertyInfo)propertyInfo).WrappedFieldName = this.memberName;
     propertyInfo.AddToType(this.decl, annotations);
 }
示例#3
0
 public virtual void GenerateCode(
     ClrBasePropertyInfo property, List <ClrAnnotation> annotations)
 {
     property.AddToType(decl, annotations);
 }
示例#4
0
 internal override void CreateProperty(ClrBasePropertyInfo propertyInfo, List<ClrAnnotation> annotations) {
     ((ClrWrappingPropertyInfo)propertyInfo).WrappedFieldName = this.memberName;
     propertyInfo.AddToType(decl, annotations);
 }
示例#5
0
 internal override void CreateProperty(ClrBasePropertyInfo propertyInfo, List<ClrAnnotation> annotations) {
     propertyInfo.AddToType(this.decl, annotations);
 }
示例#6
0
        public override void GenerateCode(ClrBasePropertyInfo property, List<ClrAnnotation> annotations) {

            GenerateConstructorCode(property);
            property.AddToType(decl, annotations); 
            if (!declItems.hasElementWildCards) property.AddToContentModel(contentModelExpression);
        }
示例#7
0
 public virtual void GenerateCode(ClrBasePropertyInfo property, List<ClrAnnotation> annotations) {
     property.AddToType(decl, annotations); 
 }
示例#8
0
 internal override void CreateProperty(ClrBasePropertyInfo propertyInfo, List <ClrAnnotation> annotations)
 {
     propertyInfo.AddToType(this.decl, annotations);
 }