public virtual bool IsRegistered <T>() where T : Presenter { return(EH.Any( EH.OfType <T>( this.presenters))); }
public override bool IsRegistered <T>() { lock (this.locker) { return(EH.Any( EH.OfType <T>( this.presenters))); } }
public virtual bool IsRegistered <T>( string name) where T : NamedPresenter { return(EH.Any( EH.OfType <T>( this.presenters), p => p.Name == name)); }
public override bool IsRegistered <T>( string name) { lock (this.locker) { return(EH.Any( EH.OfType <T>( this.presenters), p => p.Name == name)); } }