Export (0) Print
Expand All

RuleBag Class

A container for Rule instances.


Namespace:  Microsoft.Build.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public sealed class RuleBag : ISupportInitialize, 

The RuleBag type exposes the following members.

Public methodRuleBagDefault constructor. Required for XAML deserialization.

Public propertyRulesThe list of Rule instances that this RuleBag instance contains.

Public methodBeginInitSee BeginInit.
Public methodEndInitSee EndInit.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetSchemaObjectsReturns an enumerator over all instances of static data that have the given type.
Public methodGetSchemaObjectTypesReturns an enumerator over all types of static data for the data-driven features that this node contains.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Concerns only Rule rules, relative to property pages. The RuleBag is only used as a container for more than one Rule. The containing Rule rules are immediately stripped off after the XAML file is loaded.

.NET Framework

Supported in: 4.6, 4.5, 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft