Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UserControl.ApplicationContext Property

Gets or sets the IApplicationContext that this object runs in.

[Visual Basic]
<DesignerSerializationVisibility(Visibility:=DesignerSerializationVisibility.Hidden)> _
<Browsable(Browsable:=False)> _
Public Overridable Property ApplicationContext() As IApplicationContext _
    Implements IWebDataBound.ApplicationContext

   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
[DesignerSerializationVisibility(Visibility=DesignerSerializationVisibility.Hidden)]
[Browsable(Browsable=False)]
public virtual IApplicationContext ApplicationContext { public get; public set; }

Property Value

Implements

IWebDataBound.ApplicationContext

Remarks

Normally this call will be used to initialize the object.

Invoked after population of normal object properties but before an init callback such as IInitializingObject's AfterPropertiesSet or a custom init-method. Invoked after the setting of any IResourceLoaderAware's ResourceLoader property.

Exceptions

Exception Type Condition
ApplicationContextException In the case of application context initialization errors.
ObjectsException If thrown by any application context methods.
ObjectInitializationException  

See Also

UserControl Class | Spring.Web.UI Namespace