Share via


ListProvider<TBusinessObject> Class

 

Provides a list of objects in the list pane of the page in the Dashboard.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.WindowsServerSolutions.Administration.ObjectModel.ListProvider<TBusinessObject>
      Microsoft.WindowsServerSolutions.Administration.ObjectModel.PollingListProvider<TBusinessObject>

Syntax

public abstract class ListProvider<TBusinessObject> : MarshalByRefObject, 
    IDisposable
where TBusinessObject : class
generic<typename TBusinessObject>
where TBusinessObject : ref class
public ref class ListProvider abstract : MarshalByRefObject, 
    IDisposable
Public MustInherit Class ListProvider(Of TBusinessObject As Class)
    Inherits MarshalByRefObject
    Implements IDisposable

Type Parameters

  • TBusinessObject
    Represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

Constructors

Name Description
System_CAPS_protmethod ListProvider<TBusinessObject>()

Initializes a new instance of the ListProvider<TBusinessObject> class.

Properties

Name Description
System_CAPS_pubproperty Errors

Gets the ErrorManager object that is used to display the errors that occurred during the data retrieval process.

System_CAPS_pubproperty IsMutipleSelection

Gets or sets a value that determines if the current instance is a multiple selection.

Methods

Name Description
System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod Dispose()

Releases all resources used by the ListProvider<TBusinessObject> object.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources used by the ListProvider<TBusinessObject> object and optionally releases the managed resources.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Filter(Object, String)

Filters using the specified business object and filter string.

System_CAPS_protmethod Finalize()

Releases unmanaged resources and performs other cleanup operations before the ListProvider<TBusinessObject> object is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethod GetFilterConfig()

Retrieves the filter config.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod GetObjectDisplayName(TBusinessObject)

Returns the name of the specified object that will be displayed on the page in the Dashboard.

System_CAPS_protmethod GetObjectIcon(TBusinessObject)

Returns the icon that is displayed for the specified object on the page of the Dashboard.

System_CAPS_protmethod GetObjectId(TBusinessObject)

Returns the identifier for the specified object.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod RefreshAndListenForUpdates(IList<TBusinessObject>)

Called by the Dashboard when the user requests to refresh the list that is displayed in the list pane.

System_CAPS_protmethod StopListeningForUpdates()

Called to stop the Dashboard from listening for list updates and to relinquish control of the IList that was passed into RefreshAndListenForUpdates.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.

A ListProvider<TBusinessObject> object is passed as an argument to one of the Create methods of PageContent.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top