BasePartnerComponent<TContext> Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext>
- com.
Type Parameters
- TContext
Implements
public abstract class BasePartnerComponent implements IPartnerComponent
Holds common partner component properties and behavior. All components should inherit from this class. The context object type.
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext) |
Initializes a new instance of the Base |
Method Summary
Modifier and Type | Method and Description |
---|---|
TContext |
getContext()
Gets the component context object. |
IPartner |
getPartner()
Gets a reference to the partner operations instance that generated this component. |
Inherited Members
Constructor Details
BasePartnerComponent
protected BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)
Initializes a new instance of the BasePartnerComponent class.
Parameters:
Method Details
getContext
public TContext getContext()
Gets the component context object.
getPartner
public IPartner getPartner()
Gets a reference to the partner operations instance that generated this component.