Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectDefinitionParser.ShouldGenerateId Property

Gets a value indicating whether an ID should be generated instead of read from the passed in XmlElement.

[Visual Basic]
Protected Overridable ReadOnly Property ShouldGenerateId() As Boolean
   Protected Get
   End Get
End Property
[C#]
protected virtual bool ShouldGenerateId { protected get; }

Property Value

true if should generate id; otherwise, false.

Remarks

Note that this flag is about always generating an ID; the parser won't even check for an "id" attribute in this case.

See Also

AbstractObjectDefinitionParser Class | Spring.Objects.Factory.Xml Namespace