public Task DefaultDisassociate(TestAssociationHandle handle) { var handlers = _registry.DeregisterAssociation(handle.Key); handlers.Item1.Notify(new Disassociated(DisassociateInfo.Unknown)); handlers.Item2.Notify(new Disassociated(DisassociateInfo.Unknown)); return(Task.Run(() => { })); }
/// <summary> /// TBD /// </summary> /// <param name="handle">TBD</param> /// <returns>TBD</returns> public Task <bool> DefaultDisassociate(TestAssociationHandle handle) { var handlers = _registry.DeregisterAssociation(handle.Key); if (handlers != null) { handlers.Item1.Notify(new Disassociated(DisassociateInfo.Unknown)); handlers.Item2.Notify(new Disassociated(DisassociateInfo.Unknown)); } return(Task.FromResult(true)); }