Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AttributeDrivenObjectDefinitionParser.ShouldGenerateId Property

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

[Visual Basic]
Protected Overrides ReadOnly Property ShouldGenerateId() As Boolean
   Protected Get
   End Get
End Property
protected override bool ShouldGenerateId { protected get; }

Property Value

true if should generate id; otherwise, false.


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

AttributeDrivenObjectDefinitionParser Class | Spring.Transaction.Config Namespace