Skip to content

MFGS Email Resource Collection

MFGSEmailResourceCollection Public interface

Description

Represents a collection of email resources.

Diagram

flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph VGWWCoreIEx
VGWWCoreIEx.IExMFGSEmailResourceCollection[[IExMFGSEmailResourceCollection]]
class VGWWCoreIEx.IExMFGSEmailResourceCollection interfaceStyle;
end

Members

Properties

Public properties

TypeNameMethods
intCount
Gets the number of resources in the collection
get
IExMFGSEmailResourceItemget

Methods

Public methods

ReturnsName
IExMFGSEmailResourceAdd(string filePath)
Add a file to the resource collection.
voidClear()
Clears the collection.
stringJoin(string separator)
Concatenates the name of each resource in the collection.
voidParseAdd(string filePathList, string delimiter)
Add multiple files to the reaource collection.
boolRemove(string name, bool ignoreCase)
Remove an resource from the collection.
voidRemoveAt(int index)
Remove the resource at the specified index from the collection.

Details

Summary

Represents a collection of email resources.

Remarks

Often referred to a linked or emmbedded resources.

Methods

Join

public string Join(string separator)
Arguments
TypeNameDescription
stringseparatorThe separator between each resource name.
Summary

Concatenates the name of each resource in the collection.

Returns

A string of resource names.

Clear

public void Clear()
Summary

Clears the collection.

Add

public IExMFGSEmailResource Add(string filePath)
Arguments
TypeNameDescription
stringfilePathThe path to the file.
Summary

Add a file to the resource collection.

Returns

The IExMFGSEmailResource object, containing the file, which was added to the collection.

ParseAdd

public void ParseAdd(string filePathList, string delimiter)
Arguments
TypeNameDescription
stringfilePathListA delimited list of files to be added.
stringdelimiterThe delimiter to be used when parsing the list.
Summary

Add multiple files to the reaource collection.

Remove

public bool Remove(string name, bool ignoreCase)
Arguments
TypeNameDescription
stringnameThe name of the resource to remove.
boolignoreCaseDetermine if case should be ignored.
Summary

Remove an resource from the collection.

Returns

true if one or more resources were found and removed, otherwise false.

RemoveAt

public void RemoveAt(int index)
Arguments
TypeNameDescription
intindexThe index of the resource.
Summary

Remove the resource at the specified index from the collection.

Properties

Count

public int Count { get; }
Summary

Gets the number of resources in the collection

Item

public IExMFGSEmailResource Item { get; }

Generated with ModularDoc