예제 #1
0
        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;
        }
예제 #2
0
        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;
        }