C# Класс 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

Наследование: Spring.Objects.Factory.Support.RootObjectDefinition, IWebObjectDefinition
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

OverrideFrom() публичный Метод

Overrides this object's values using values from other argument.
public OverrideFrom ( IObjectDefinition other ) : void
other IObjectDefinition The object to copy values from.
Результат void

RootWebObjectDefinition() публичный Метод

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. ///
Результат System

RootWebObjectDefinition() публичный Метод

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. ///
Результат System

RootWebObjectDefinition() публичный Метод

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. ///
Результат System

RootWebObjectDefinition() публичный Метод

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. ///
Результат System

ToString() публичный Метод

A System.String that represents the current System.Object.
public ToString ( ) : string
Результат string