Method IndexOf
IndexOf(ServiceDescriptor)
Get the index of a service in the collection.
Declaration
public int IndexOf(ServiceDescriptor item)
Parameters
Type | Name | Description |
---|---|---|
ServiceDescriptor | item | The service to get the index of. |
Returns
Type | Description |
---|---|
int | The index of the service. |