/// <summary> /// Creates a new Directory. /// </summary> /// <param name="aBundleName">bundle name for this directory</param> protected AbstractDirectory(string aBundleName) : this() { this.BundleName = aBundleName; // Load the bundle IResourceBundle bundle = ResourceBundleFactory.CreateDefaultBundle(aBundleName); AbstractDirectory.tagNameMap[this.GetType()] = AbstractDirectory.FillTagMap(this.GetType(), bundle); }
/// <summary> /// Provides the name of the directory, for display purposes. E.g. Exif /// </summary> /// <returns>the name of the directory</returns> public string GetName() { return(ResourceBundleFactory.CreateDefaultBundle(this.BundleName)["MARKER_NOTE_NAME"]); }