Пример #1
0
 internal SupportedProperty(SupportedPropertyAttribute supportedPropertyAttribute)
 {
     Description = supportedPropertyAttribute.Description;
     IsReadable  = supportedPropertyAttribute.IsReadable;
     IsRequired  = supportedPropertyAttribute.IsRequired;
     IsWritable  = supportedPropertyAttribute.IsWritable;
     Property    = supportedPropertyAttribute.Property;
     Title       = supportedPropertyAttribute.Title;
 }
Пример #2
0
 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;
 }