C# 클래스 Spring.Objects.Factory.Config.ManagedList

상속: ArrayList, IManagedCollection, IMergable
파일 보기 프로젝트 열기: luizcarlosfaria/summer-net 1 사용 예제들

공개 메소드들

메소드 설명
ManagedList ( ) : System

Initializes a new instance of the ManagedList class that is empty and has the default initial capacity.

ManagedList ( int capacity ) : System

Initializes a new instance of the ManagedList class that is empty and has the specified initial capacity.

Merge ( object parent ) : object

Merges the current value set with that of the supplied object.

The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.

Resolve ( string objectName, IObjectDefinition definition, string propertyName, ManagedCollectionElementResolver resolver ) : ICollection

Resolves this managed collection at runtime.

메소드 상세

ManagedList() 공개 메소드

Initializes a new instance of the ManagedList class that is empty and has the default initial capacity.
public ManagedList ( ) : System
리턴 System

ManagedList() 공개 메소드

Initializes a new instance of the ManagedList class that is empty and has the specified initial capacity.
is less than zero.
public ManagedList ( int capacity ) : System
capacity int The number of elements that the new list can initially store.
리턴 System

Merge() 공개 메소드

Merges the current value set with that of the supplied object.
The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.
If the supplied parent is null If merging is not enabled for this instance, /// (i.e. MergeEnabled equals false.
public Merge ( object parent ) : object
parent object The parent object to merge with
리턴 object

Resolve() 공개 메소드

Resolves this managed collection at runtime.
public Resolve ( string objectName, IObjectDefinition definition, string propertyName, ManagedCollectionElementResolver resolver ) : ICollection
objectName string /// The name of the top level object that is having the value of one of it's /// collection properties resolved. ///
definition IObjectDefinition /// The definition of the named top level object. ///
propertyName string /// The name of the property the value of which is being resolved. ///
resolver ManagedCollectionElementResolver /// The callback that will actually do the donkey work of resolving /// this managed collection. ///
리턴 ICollection