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

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.ChildObjectDefinition, IWebObjectDefinition
显示文件 Open project: spring-projects/spring-net

Private Properties

Property Type Description

Public Methods

Method Description
ChildWebObjectDefinition ( string parentName, Type type, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System

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

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

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

ChildWebObjectDefinition ( string parentName, string pageName, MutablePropertyValues properties ) : System

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

OverrideFrom ( IObjectDefinition other ) : void

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

ToString ( ) : string

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

Method Details

ChildWebObjectDefinition() public method

Creates a new instance of the Spring.Objects.Factory.Support.ChildWebObjectDefinition class for a singleton, providing property values and constructor arguments.
public ChildWebObjectDefinition ( string parentName, Type type, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System
parentName string Name of the parent object definition.
type System.Type The class 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

ChildWebObjectDefinition() public method

Creates a new instance of the Spring.Objects.Factory.Support.ChildWebObjectDefinition class for a singleton, providing property values and constructor arguments.
public ChildWebObjectDefinition ( string parentName, string typeName, Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System
parentName string Name of the parent object definition.
typeName string The class name 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

ChildWebObjectDefinition() public method

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

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

ToString() public method

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