Show / Hide Table of Contents

Class PropertyBuildInfoExtensions

Contiene extensiones útiles para objetos de tipo PropertyBuildInfo.

Inheritance
object
PropertyBuildInfoExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.TypeFactory.dll
Syntax
public static class PropertyBuildInfoExtensions

Methods

| Edit this page View Source

BuildNpcPropSetterSkeleton(PropertyBuildInfo, IlBlockWithExitLabel, IlBlockWithExitLabel, Type)

Construye un esqueleto para el setter de una propiedad que notifica el cambio de su valor.

Declaration
public static void BuildNpcPropSetterSkeleton(this PropertyBuildInfo prop, IlBlockWithExitLabel valueProvider, IlBlockWithExitLabel valueSetter, Type propertyType)
Parameters
Type Name Description
PropertyBuildInfo prop

Propiedad para la cual definir el nuevo setter con notificación de cambio de valor.

IlBlockWithExitLabel valueProvider
IlBlockWithExitLabel valueSetter
Type propertyType
| Edit this page View Source

WithBackingField(PropertyBuildInfo, out FieldBuilder)

Crea un campo de almacenamiento para la propiedad y configura el método get de la propiedad para leer el valor del mismo.

Declaration
public static PropertyBuildInfo WithBackingField(this PropertyBuildInfo builder, out FieldBuilder field)
Parameters
Type Name Description
PropertyBuildInfo builder

PropertyBuildInfo en el cual se definirá el campo de almacenamiento.

FieldBuilder field

FieldBuilder generado que representa al campo de almacenamiento.

Returns
Type Description
PropertyBuildInfo

La misma instancia que builder, permitiendo el uso de sintaxis Fluent.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX