Class
YamlPropertyInfoValues<T>
OfficeIMO.Yaml
One property of an object type, for YamlMetadataServices.CreatePropertyInfo.
Inheritance
- object
- YamlPropertyInfoValues<T>
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 1
Type Parameters
- T
- The property type.
Constructors
public YamlPropertyInfoValues<T>() #Inherited Methods
Properties
public string? YamlName { get; set; } #Gets or sets the name from OfficePropertyNameAttribute, or null.
public Func<object, T?>? Getter { get; set; } #Gets or sets the getter, or null for a property that cannot be read.
public Action<object, T?>? Setter { get; set; } #Gets or sets the setter, or null for a property that is not set after construction.
public bool IsRequired { get; set; } #Gets or sets whether a mapping must contain the property.
public OfficeIgnoreCondition? IgnoreCondition { get; set; } #Gets or sets the condition from OfficeIgnoreAttribute, or null for the options' default.