public bool Matches(Guid id, IdentityMatchingScope matchingScope) { bool result = false; if (matchingScope >= IdentityMatchingScope.LocalIdentity) { result |= id == Id; } if (matchingScope >= IdentityMatchingScope.Broadcast) { result |= id == Guid.Empty; } return result; }
public bool Matches(Guid id, IdentityMatchingScope matchingScope) { bool result = false; if (matchingScope >= IdentityMatchingScope.LocalIdentity) { result |= id == Id; } if (matchingScope >= IdentityMatchingScope.Broadcast) { result |= id == Guid.Empty; } return(result); }