/// <summary> /// Unsubscribes the contributor. Returns false if /// the current contributor is different from the one making the call. /// </summary> public bool UnsubscribeContributor(IGATTrackContributor contributor) { if (_contributor == null) { return(true); } if (_contributor != contributor) { return(false); } _contributor = null; return(true); }
/// <summary> /// Unsubscribes the contributor. Returns false if /// the current contributor is different from the one making the call. /// </summary> public bool UnsubscribeContributor( IGATTrackContributor contributor ) { if( _contributor == null ) return true; if( _contributor != contributor ) return false; _contributor = null; return true; }