C# Класс Spring.Objects.Factory.Config.ManagedList

Наследование: ArrayList, IManagedCollection, IMergable
Показать файл Открыть проект Примеры использования класса

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

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