C# Class Castle.ActiveRecord.Framework.Internal.ActiveRecordModelCollection

Map System.Type to their ActiveRecordModel
Inheritance: System.Collections.DictionaryBase, IEnumerable
Mostrar archivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Add ( ActiveRecordModel model ) : void

Adds the specified model.

Contains ( Type type ) : bool

Determines whether the collection contains the specified type.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

this ( Type type ) : ActiveRecordModel

Gets the Castle.ActiveRecord.Framework.Internal.ActiveRecordModel with the specified type.

Method Details

Add() public method

Adds the specified model.
public Add ( ActiveRecordModel model ) : void
model ActiveRecordModel The model.
return void

Contains() public method

Determines whether the collection contains the specified type.
public Contains ( Type type ) : bool
type System.Type The type.
return bool

GetEnumerator() public method

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

this() public method

Gets the Castle.ActiveRecord.Framework.Internal.ActiveRecordModel with the specified type.
public this ( Type type ) : ActiveRecordModel
type System.Type
return ActiveRecordModel