C# Class Spring.Objects.Factory.Support.RootWebObjectDefinition

Web object definitions extend Spring.Objects.Factory.Support.RootObjectDefinition by adding scope property.

This is the most common type of object definition in ASP.Net web applications

Inheritance: Spring.Objects.Factory.Support.RootObjectDefinition, IWebObjectDefinition
Exibir arquivo Open project: spring-projects/spring-net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
OverrideFrom ( IObjectDefinition other ) : void

Overrides this object's values using values from other argument.

RootWebObjectDefinition ( IObjectDefinition other ) : System

Creates a new instance of the Spring.Objects.Factory.Support.RootWebObjectDefinition class

Deep copy constructor.

RootWebObjectDefinition ( Type type, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System

Creates a new instance of the Spring.Objects.Factory.Support.RootObjectDefinition class for a singleton, providing property values and constructor arguments.

RootWebObjectDefinition ( string typeName, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System

Creates a new instance of the Spring.Objects.Factory.Support.RootObjectDefinition class for a singleton, providing property values and constructor arguments.

Takes an object class name to avoid eager loading of the object class.

RootWebObjectDefinition ( string pageName, MutablePropertyValues properties ) : System

Creates a new instance of the Spring.Objects.Factory.Support.RootWebObjectDefinition class for an .aspx page, providing property values.

ToString ( ) : string

A System.String that represents the current System.Object.

Method Details

OverrideFrom() public method

Overrides this object's values using values from other argument.
public OverrideFrom ( IObjectDefinition other ) : void
other IObjectDefinition The object to copy values from.
return void

RootWebObjectDefinition() public method

Creates a new instance of the Spring.Objects.Factory.Support.RootWebObjectDefinition class

Deep copy constructor.

public RootWebObjectDefinition ( IObjectDefinition other ) : System
other IObjectDefinition /// The definition that is to be copied. ///
return System

RootWebObjectDefinition() public method

Creates a new instance of the Spring.Objects.Factory.Support.RootObjectDefinition class for a singleton, providing property values and constructor arguments.
public RootWebObjectDefinition ( Type type, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System
type System.Type /// The type of the object to instantiate. ///
arguments Spring.Objects.Factory.Config.ConstructorArgumentValues /// The /// to be applied to a new instance of the object. ///
properties MutablePropertyValues /// The to be applied to /// a new instance of the object. ///
return System

RootWebObjectDefinition() public method

Creates a new instance of the Spring.Objects.Factory.Support.RootObjectDefinition class for a singleton, providing property values and constructor arguments.

Takes an object class name to avoid eager loading of the object class.

public RootWebObjectDefinition ( string typeName, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System
typeName string /// The assembly qualified of the object to instantiate. ///
arguments Spring.Objects.Factory.Config.ConstructorArgumentValues /// The /// to be applied to a new instance of the object. ///
properties MutablePropertyValues /// The to be applied to /// a new instance of the object. ///
return System

RootWebObjectDefinition() public method

Creates a new instance of the Spring.Objects.Factory.Support.RootWebObjectDefinition class for an .aspx page, providing property values.
public RootWebObjectDefinition ( string pageName, MutablePropertyValues properties ) : System
pageName string /// Name of the .aspx page to instantiate. ///
properties MutablePropertyValues /// The to be applied to /// a new instance of the object. ///
return System

ToString() public method

A System.String that represents the current System.Object.
public ToString ( ) : string
return string