Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse > Class Template Referenceabstract

Represents a collection of responses to a call to the Autodiscover service. More...

Public Member Functions

int32_t get_Count ()
 Gets the number of responses in the collection. More...
 
System::SharedPtr< System::Collections::Generic::ListExt< TResponse > > get_Responses () const
 Gets the responses list. More...
 
TResponse idx_get (int32_t index)
 Gets the response at the specified index. More...
 
void LoadFromXml (System::SharedPtr< AutodiscoverXmlReader > reader, System::String endElementName) override
 Loads response from XML. More...
 
virtual System::String GetResponseCollectionXmlElementName ()=0
 Gets the name of the response collection XML element. More...
 
virtual System::String GetResponseInstanceXmlElementName ()=0
 Gets the name of the response instance XML element. More...
 
virtual TResponse CreateResponseInstance ()=0
 Create a response instance. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerator< TResponse > > GetEnumerator () override
 Gets an enumerator that iterates through the elements of the collection. More...
 
void SetTemplateWeakPtr (uint32_t argument) override
 

Protected Member Functions

 AutodiscoverResponseCollection ()
 Initializes a new instance of the AutodiscoverResponseCollection<TResponse> class. More...
 
virtual ~AutodiscoverResponseCollection ()
 

Friends

template<typename FT0 >
class Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection
 

Detailed Description

template<typename TResponse>
class Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >

Represents a collection of responses to a call to the Autodiscover service.

Template Parameters
TResponseThe type of the responses in the collection.

Constructor & Destructor Documentation

◆ AutodiscoverResponseCollection()

template<typename TResponse >
Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::AutodiscoverResponseCollection ( )
inlineprotected

Initializes a new instance of the AutodiscoverResponseCollection<TResponse> class.

◆ ~AutodiscoverResponseCollection()

template<typename TResponse >
virtual Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::~AutodiscoverResponseCollection ( )
inlineprotectedvirtual

Member Function Documentation

◆ CreateResponseInstance()

template<typename TResponse >
virtual TResponse Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::CreateResponseInstance ( )
pure virtual

Create a response instance.

Returns
TResponse.

Implemented in Aspose::Email::Clients::Exchange::GetUserSettingsResponseCollection.

◆ get_Count()

template<typename TResponse >
int32_t Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::get_Count ( )
inline

Gets the number of responses in the collection.

◆ get_Responses()

template<typename TResponse >
System::SharedPtr<System::Collections::Generic::ListExt<TResponse> > Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::get_Responses ( ) const
inline

Gets the responses list.

◆ GetEnumerator()

template<typename TResponse >
System::SharedPtr<System::Collections::Generic::IEnumerator<TResponse> > Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::GetEnumerator ( )
inlineoverride

Gets an enumerator that iterates through the elements of the collection.

Returns
An IEnumerator for the collection.

◆ GetResponseCollectionXmlElementName()

template<typename TResponse >
virtual System::String Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::GetResponseCollectionXmlElementName ( )
pure virtual

Gets the name of the response collection XML element.

Returns
Response collection XMl element name.

Implemented in Aspose::Email::Clients::Exchange::GetUserSettingsResponseCollection.

◆ GetResponseInstanceXmlElementName()

template<typename TResponse >
virtual System::String Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::GetResponseInstanceXmlElementName ( )
pure virtual

Gets the name of the response instance XML element.

Returns
Response instance XMl element name.

Implemented in Aspose::Email::Clients::Exchange::GetUserSettingsResponseCollection.

◆ idx_get()

template<typename TResponse >
TResponse Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::idx_get ( int32_t  index)
inline

Gets the response at the specified index.

Parameters
indexIndex.

◆ LoadFromXml()

template<typename TResponse >
void Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::LoadFromXml ( System::SharedPtr< AutodiscoverXmlReader >  reader,
System::String  endElementName 
)
inlineoverride

Loads response from XML.

Parameters
readerThe reader.
endElementNameEnd element name.

◆ SetTemplateWeakPtr()

template<typename TResponse >
void Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection< TResponse >::SetTemplateWeakPtr ( uint32_t  argument)
inlineoverride

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection

template<typename TResponse >
template<typename FT0 >
friend class Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection
friend