Click or drag to resize

Current Methods

The Current type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAddServiceT(T) 
Public methodStatic memberAddServiceT, U(T) 
Public methodStatic memberAddServiceT, U, V(T) 
Public methodStatic memberDisposeServicesAll 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetActiveViewContentService(Type) Equivalent to
C#
SD.Workbench.ActiveViewContent.GetService(type)
, but does not throw a NullReferenceException when ActiveViewContent is null. (instead, null is returned).
Public methodStatic memberGetActiveViewContentServiceT Equivalent to
C#
SD.Workbench.ActiveViewContent.GetService<T>()
, but does not throw a NullReferenceException when ActiveViewContent is null. (instead, null is returned).
Public methodStatic memberGetFutureServiceT 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.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetRequiredServiceT Retrieves the service of type T from the provider. If the service cannot be found, a ServiceNotFoundException will be thrown.
Public methodStatic memberGetRequiredServiceT, 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.
Public methodStatic memberGetServiceT Gets a service. Returns null if service is not found.
Public methodStatic memberGetServiceT, U 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberRemoveServiceT 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also