C# Class Spring.Objects.Factory.Config.ManagedList

Inheritance: ArrayList, IManagedCollection, IMergable
Afficher le fichier Open project: luizcarlosfaria/summer-net Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ManagedList() public méthode

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

ManagedList() public méthode

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.
Résultat System

Merge() public méthode

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
Résultat object

Resolve() public méthode

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. ///
Résultat ICollection