Ejemplo n.º 1
0
 public void SetPluginImplementation(PluginProxyBase implementation)
 {
     if (_isExternalService)
     {
         throw new CKException(R.ServiceIsAlreadyExternal, _typeInterface, implementation.GetType().AssemblyQualifiedName);
     }
     _impl = implementation;
     Debug.Assert(_impl == null || (_impl.RealPlugin != null || _impl.Status == RunningStatus.Disabled), "Plugin.RealPlugin == null ==> Plugin.Status == Disabled");
     ConfigureRawImplFromPlugin();
 }
Ejemplo n.º 2
0
 public void SetPluginImplementation( PluginProxyBase implementation )
 {
     if( _isExternalService ) throw new CKException( R.ServiceIsAlreadyExternal, _typeInterface, implementation.GetType().AssemblyQualifiedName ); 
     _impl = implementation;
     Debug.Assert( _impl == null || (_impl.RealPlugin != null || _impl.Status == RunningStatus.Disabled), "Plugin.RealPlugin == null ==> Plugin.Status == Disabled" );
     ConfigureRawImplFromPlugin();
 }