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
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

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