13 references to ServiceCreatorCallback
System (7)
compmod\system\componentmodel\design\IServiceObjectContainer.cs (2)
33
void AddService(Type serviceType,
ServiceCreatorCallback
callback);
38
void AddService(Type serviceType,
ServiceCreatorCallback
callback, bool promote);
compmod\system\componentmodel\design\ServiceObjectContainer.cs (5)
108
if (!(serviceInstance is
ServiceCreatorCallback
) && !serviceInstance.GetType().IsCOMObject && !serviceType.IsAssignableFrom(serviceInstance.GetType())) {
122
public void AddService(Type serviceType,
ServiceCreatorCallback
callback) {
129
public virtual void AddService(Type serviceType,
ServiceCreatorCallback
callback, bool promote) {
207
if (service is
ServiceCreatorCallback
) {
209
service = ((
ServiceCreatorCallback
)service)(this, serviceType);
System.ComponentModel.DataAnnotations (4)
DataAnnotations\ValidationContext.cs (4)
359
public void AddService(Type serviceType, Design.
ServiceCreatorCallback
callback, bool promote)
374
public void AddService(Type serviceType, Design.
ServiceCreatorCallback
callback) {
430
Design.
ServiceCreatorCallback
callback = service as Design.
ServiceCreatorCallback
;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\WorkflowInlining.cs (1)
275
ServiceCreatorCallback
callback = new ServiceCreatorCallback(OnCreateService);
AuthoringOM\Design\XomlDesignerLoader.cs (1)
51
ServiceCreatorCallback
callback = new ServiceCreatorCallback(OnCreateService);