示例#1
0
 internal SupportedProperty(SupportedPropertyAttribute supportedPropertyAttribute)
 {
     Description = supportedPropertyAttribute.Description;
     IsReadable  = supportedPropertyAttribute.IsReadable;
     IsRequired  = supportedPropertyAttribute.IsRequired;
     IsWritable  = supportedPropertyAttribute.IsWritable;
     Property    = supportedPropertyAttribute.Property;
     Title       = supportedPropertyAttribute.Title;
 }
 internal SupportedProperty(
     SupportedPropertyAttribute supportedPropertyAttribute,
     string contextPrefix)
 {
     Description = supportedPropertyAttribute.Description;
     IsReadable  = supportedPropertyAttribute.IsReadable;
     IsRequired  = supportedPropertyAttribute.IsRequired;
     IsWritable  = supportedPropertyAttribute.IsWritable;
     Property    = GetProperty(
         contextPrefix,
         supportedPropertyAttribute.Id,
         supportedPropertyAttribute.Range,
         supportedPropertyAttribute.AddApiDocumentationPrefixToRange);
     Title = supportedPropertyAttribute.Title;
 }