コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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);
        }