RuleBag Class

Definition

This is a simple container for Rule instances.

C#
[System.Windows.Markup.ContentProperty("Rules")]
public sealed class RuleBag : Microsoft.Build.Framework.XamlTypes.IProjectSchemaNode, System.ComponentModel.ISupportInitialize
Inheritance
RuleBag
Attributes
Implements

Remarks

Note that we only deal in terms of Rules as far as property pages are concerned. The RuleBag is only used as a container for more than one Rule. The containing Rules are immediately stripped off after loading of the xaml file.

Constructors

RuleBag()

Default constructor needed for XAML deserialization.

Properties

Rules

The collection of Rule instances this RuleBag instance contains. Must have at least one Rule.

Methods

BeginInit()

See ISupportInitialize Members.

EndInit()

See ISupportInitialize Members.

GetSchemaObjects(Type)

see IProjectSchemaNode

GetSchemaObjectTypes()

see IProjectSchemaNode

Applies to

Proizvod Verzije
MSBuild 15, 16, 17