/// <summary> /// Initializes default property definition and applies customizations (if any). /// </summary> public PropertyDefinition GetPropertyDefinition(PropertyInfo propertyInfo, TypeDefinition typeDefinition) { var propertyDefinition = new PropertyDefinition(propertyInfo, typeDefinition); schemaExporter.ExportPropertyDefinition(propertyDefinition); return(propertyDefinition); }
/// <summary> /// Initializes default property definition and applies customizations (if any). /// </summary> public PropertyDefinition GetPropertyDefinition(PropertyInfo propertyInfo, TypeDefinition typeDefinition) { var propertyDefinition = new PropertyDefinition(propertyInfo, typeDefinition, schemaExporter.IsQualifiedElementDefault); schemaExporter.ExportPropertyDefinition(propertyDefinition); return(propertyDefinition); }