protected LandmarkIsTopLevel(object rule, int landmarkType, string localizedLandmarkType) { // we must pass in an object because the IRule type is not exposed publicly and it causes a compiler error this.Rule = (Axe.Windows.Rules.IRule)rule; this.LandmarkType = landmarkType; this.LocalizedLandmarkType = localizedLandmarkType; }