Current Methods |
The Current type exposes the following members.
| Name | Description | |
|---|---|---|
| AddServiceT(T) | ||
| AddServiceT, U(T) | ||
| AddServiceT, U, V(T) | ||
| DisposeServicesAll | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetActiveViewContentService(Type) |
Equivalent to C# SD.Workbench.ActiveViewContent.GetService(type) | |
| GetActiveViewContentServiceT |
Equivalent to C# SD.Workbench.ActiveViewContent.GetService<T>() | |
| GetFutureServiceT | Returns a task that gets completed when the service is initialized. This method does not try to initialize the service -- if no other code forces the service to be initialized, the task will never complete. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetRequiredServiceT | Retrieves the service of type T from the provider. If the service cannot be found, a ServiceNotFoundException will be thrown. | |
| GetRequiredServiceT, U | Gets the required service. The service is primarily being searched with key T. If it is not found with this key, it is search with key U, thus U has to be a base class or an interface of type T. If the service is found with this second key U and is of type T, the service will be register with the key T in order to avoid further searching. | |
| GetServiceT | Gets a service. Returns null if service is not found. | |
| GetServiceT, U | ||
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| RemoveServiceT | ||
| ToString | Returns a string that represents the current object. (Inherited from Object) |