public override void Refine(ItemDefinition currentDefinition) { base.Refine(currentDefinition); currentDefinition.AllowedIn = AllowedIn; if (AllowedZoneNames != null) foreach (string zoneName in AllowedZoneNames) currentDefinition.AddAllowedZone(zoneName); currentDefinition.Installer = InstallerHint.NeverRootOrStartPage; }
public override void Refine(ItemDefinition currentDefinition) { base.Refine(currentDefinition); currentDefinition.AllowedIn = AllowedIn; if (AllowedZoneNames != null) { foreach (string zoneName in AllowedZoneNames) { currentDefinition.AddAllowedZone(zoneName); } } currentDefinition.Installer = InstallerHint.NeverRootOrStartPage; }