PdfResourceManagerT Class |
Namespace: Atalasoft.PdfDoc.Generating.ResourceHandling
The PdfResourceManagerT type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfResourceManagerT |
Initializes a new instance of the PdfResourceManagerT class.
|
| Name | Description | |
|---|---|---|
| Item |
Gets the resource with the specified s.
| |
| ResourceClass |
Gets the resource class.
| |
| ResourceNames |
Gets the resource names for this resource manager.
foreach (string name in globalResources.Images.ResourceNames) { Console.WriteLine("resource name: " + name); } |
| Name | Description | |
|---|---|---|
| Add(T) |
Adds the specified resource with an auto-generated name.
| |
| Add(String, T) |
Adds a resource to the resource manager. Throws ArgumentException if a resource with the same name is already present.
| |
| Contains |
Determines whether or not the resource is present.
| |
| Dispose |
Disposes all resources contained in this resource manager
| |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
| |
| DisposeManagedResources |
Disposes the managed resources.
| |
| DisposeUnmanagedResources |
Disposes the unmanaged resources.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
PdfResourceManagerT is reclaimed by garbage collection.
(Overrides ObjectFinalize.) | |
| Get |
Gets a resource with the given name. Throws an exception if there is no resource present with that name.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge |
Merges the set of resources, other, into this ResourceManager using the selector to resolve name conflicts.
| |
| NextName |
Returns the next available auto-generated name for this resource.
string name = someResourceManager.NextName();
someResourceManager.Add(name, someResource); | |
| Remove |
Removes the resource of the specified name. Throws an ArgumentException if name is not present.
| |
| ResourcesMatch |
Compares two resources for equality. Default implementation returns false. Subclasses should override this method
| |
| ThrowIfDisposed | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGet |
Tries to get the specified resource.
|