protected RegistrationPatternBase(IStructuralSearchPattern pattern) { this.pattern = pattern; matcher = pattern.CreateMatcher(); }