예제 #1
0
 protected virtual bool IsMatch(DelugeProfile delugeProfile)
 {
     return this.NameWildcardPattern.IsMatch(delugeProfile.Name) &&
            this.UriWildcardPattern.IsMatch(delugeProfile.Uri) &&
            (!this.Active.IsPresent || delugeProfile.Active);
 }
예제 #2
0
 protected override bool IsMatch(DelugeProfile profile)
 {
     return base.IsMatch(profile) &&
            this.ShouldProcess(profile.ToString(), VerbsCommon.Remove);
 }