PropertyValueBagAddMembers(Object, Int32) Method

Convenience overload for the most common use of AddMembers(Object, FuncMemberInfo, Boolean): adding all of public fields and/or properties to the bag.

Definition

Namespace: Quine.Schemas.Core.Eventing
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public void AddMembers(
	Object o,
	int include = 1
)

Parameters

o  Object
Object instance. May be null, in which case the call is a no-op.
include  Int32  (Optional)
A bitmask determining whether to include properties, fields or both. Default is only properties.

Exceptions

ArgumentOutOfRangeExceptioninclude contains invalid bits.

See Also