Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

YamlPropertyInfoValues<T>

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed
Attributes
EditorBrowsable(1)

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>() #

Properties

public string Name { get; set; } #

Gets or sets the .NET property name.

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.