Holds a collection of IMetadata that can be serialized.
Inheritance
MetadataCollection
[Serializable]
public class MetadataCollection : IMetadataCollection
Properties
Does the collection contain any Metadata?
Declaration
public bool HasData { get; }
Property Value
Declaration
public IList<IMetadata> MetadataEntries { get; }
Property Value
Implements
Methods
Declaration
public void AddMetadata(IMetadata md)
Parameters
Implements
Declaration
public bool Contains(IMetadata md)
Parameters
Returns
Implements
Declaration
public TObject GetMetadata<TObject>()
where TObject : IMetadata
Returns
Type Parameters
Implements
Declaration
public IList<TObject> GetMetadatas<TObject>()
where TObject : IMetadata
Returns
Type |
Description |
IList<TObject> |
|
Type Parameters
Implements
Declaration
public void GetMetadatas<TObject>(IList<TObject> foundItems)
where TObject : IMetadata
Parameters
Type |
Name |
Description |
IList<TObject> |
foundItems |
List that will be populated with the metadata that was found.
|
Type Parameters
Implements
Returns true if any metadata of type TObject contains this entry.
Declaration
public bool HasMetadata<TObject>()
where TObject : IMetadata
Returns
Type Parameters
Declaration
public bool RemoveMetadata(IMetadata md)
Parameters
Returns
Implements