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
Afficher le fichier Open project: spring-projects/spring-net Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

RootWebObjectDefinition() public méthode

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. ///
Résultat System

RootWebObjectDefinition() public méthode

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. ///
Résultat System

RootWebObjectDefinition() public méthode

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. ///
Résultat System

RootWebObjectDefinition() public méthode

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. ///
Résultat System

ToString() public méthode

A System.String that represents the current System.Object.
public ToString ( ) : string
Résultat string