Export (0) Print
Expand All

RuleBag Class

A container for Rule instances.

System.Object
  Microsoft.Build.Framework.XamlTypes.RuleBag

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

[ContentPropertyAttribute("Rules")]
public sealed class RuleBag : ISupportInitialize, 
	IProjectSchemaNode

The RuleBag type exposes the following members.

  NameDescription
Public methodRuleBagDefault constructor. Required for XAML deserialization.
Top

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

  NameDescription
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.)
Top

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.
Show:
© 2015 Microsoft