public void RemoveMetadataSection(MetsAmdMetadataType type, MetsAmdMetadata metadata) { switch (type) { case MetsAmdMetadataType.DigiProv: if (digiprovList.Contains(metadata)) { digiprovList.Remove(metadata); } break; case MetsAmdMetadataType.Rights: if (rightsList.Contains(metadata)) { rightsList.Remove(metadata); } break; case MetsAmdMetadataType.Source: if (sourceList.Contains(metadata)) { sourceList.Remove(metadata); } break; case MetsAmdMetadataType.Technical: if (techList.Contains(metadata)) { techList.Remove(metadata); } break; } }
private MetsAmdMetadata[] Get(ArrayList list) { MetsAmdMetadata[] items = new MetsAmdMetadata[list.Count]; list.CopyTo(items); return items; }
public void RemoveMetadataSection(MetsAmdMetadataType type, MetsAmdMetadata metadata) { switch (type) { case MetsAmdMetadataType.DigiProv: if (digiprovList.Contains(metadata)) digiprovList.Remove(metadata); break; case MetsAmdMetadataType.Rights: if (rightsList.Contains(metadata)) rightsList.Remove(metadata); break; case MetsAmdMetadataType.Source: if (sourceList.Contains(metadata)) sourceList.Remove(metadata); break; case MetsAmdMetadataType.Technical: if (techList.Contains(metadata)) techList.Remove(metadata); break; } }
private MetsAmdMetadata[] Get(ArrayList list) { MetsAmdMetadata[] items = new MetsAmdMetadata[list.Count]; list.CopyTo(items); return(items); }