FrameworkInfoDictionary Class

Summary

Dictionary to collect the available frameworks.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Interfaces
  • IDictionary
  • ICollection
  • IEnumerable
  • ICloneable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IDictionary"] Type-.->Interface1["ICollection"] Type-.->Interface2["IEnumerable"] Type-.->Interface3["ICloneable"] Type["FrameworkInfoDictionary"] class Type type-node

Syntax

[Serializable()]
public sealed class FrameworkInfoDictionary : IDictionary, ICollection, IEnumerable, ICloneable

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
FrameworkInfoDictionary() Initializes a new instance of the NAnt.Core.FrameworkInfoDictionary class.
FrameworkInfoDictionary(FrameworkInfoDictionary) Initializes a new instance of the NAnt.Core.FrameworkInfoDictionary class.
FrameworkInfoDictionary(IDictionary) Initializes a new instance of the NAnt.Core.FrameworkInfoDictionary class.
FrameworkInfoDictionary(IDictionary, float)
FrameworkInfoDictionary(IDictionary, float, IHashCodeProvider, IComparer)
FrameworkInfoDictionary(IDictionary, IHashCodeProvider, IComparer)
FrameworkInfoDictionary(IHashCodeProvider, IComparer)
FrameworkInfoDictionary(int) Initializes a new instance of the NAnt.Core.FrameworkInfoDictionary class with the specified capacity.
FrameworkInfoDictionary(int, float, IHashCodeProvider, IComparer)
FrameworkInfoDictionary(int, IHashCodeProvider, IComparer)
FrameworkInfoDictionary(int, int)

Properties

Name Value Summary
Count int
Gets the number of key/value pairs contained in the Dictionary.
IsFixedSize bool
Gets a value indicating whether the System.Collections.IDictionary object has a fixed size.
IsReadOnly bool
Gets a value indicating whether the System.Collections.IDictionary object is read-only.
IsSynchronized bool
Keys ICollection
Gets an System.Collections.ICollection object containing the keys of the System.Collections.IDictionary object.
SyncRoot Object
Gets an object that can be used to synchronize access to the System.Collections.ICollection.
this[string] FrameworkInfo
Values ICollection
Gets an System.Collections.ICollection object containing the values in the System.Collections.IDictionary object.

Methods

Name Value Summary
Add(string, FrameworkInfo) void
Adds an element with the provided key and value to the System.Collections.IDictionary object.
Clear() void
Removes all elements from the System.Collections.IDictionary object.
Clone() FrameworkInfoDictionary
Clones this instance.
Contains(string) bool
ContainsKey(string) bool
ContainsValue(FrameworkInfo) bool
CopyTo(FrameworkInfo[], int) void
GetEnumerator() FrameworkInfoDictionaryEnumerator
Remove(string) void
Removes the value with the specified key from the dictionary.
Synchronized(FrameworkInfoDictionary) FrameworkInfoDictionary
static