Aspose::Email::Tools::Logging::AppenderCollection Class Reference

Represents the collecton for Appender objects. More...

Inherits System::Collections::ObjectModel::Collection< System::SharedPtr< Aspose::Email::Tools::Logging::IAppender > >.

Public Member Functions

 AppenderCollection ()
 Initializes a new instance of the AppenderCollection class. More...
 
int32_t Add (System::SharedPtr< IAppender > value)
 Adds an IAppender object to the end of collection. More...
 
void AddRange (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< IAppender >>> value)
 Adds an IAppenders enumeration to the end of collection. More...
 
void SetTemplateWeakPtr (uint32_t argument) override
 

Protected Member Functions

virtual ~AppenderCollection ()
 

Detailed Description

Represents the collecton for Appender objects.

Constructor & Destructor Documentation

◆ AppenderCollection()

Aspose::Email::Tools::Logging::AppenderCollection::AppenderCollection ( )

Initializes a new instance of the AppenderCollection class.

◆ ~AppenderCollection()

virtual Aspose::Email::Tools::Logging::AppenderCollection::~AppenderCollection ( )
protectedvirtual

Member Function Documentation

◆ Add()

int32_t Aspose::Email::Tools::Logging::AppenderCollection::Add ( System::SharedPtr< IAppender value)

Adds an IAppender object to the end of collection.

Parameters
valueThe IAppender to be added to the end of the collection. The value can be null.
Returns
The index at which the value has been added.

◆ AddRange()

void Aspose::Email::Tools::Logging::AppenderCollection::AddRange ( System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< IAppender >>>  value)

Adds an IAppenders enumeration to the end of collection.

Parameters
valueThe IAppenders enumeration to be added to the end of the collection.

◆ SetTemplateWeakPtr()

void Aspose::Email::Tools::Logging::AppenderCollection::SetTemplateWeakPtr ( uint32_t  argument)
override