Beispiel #1
0
        public ResourceTypeSettings Validate(CodeDomProvider codeDomProvider)
        {
            var settings = Clone( );

            settings.ClassName       = codeDomProvider.ValidateIdentifier(settings.ClassName);
            settings.Namespace       = codeDomProvider.ValidateIdentifier(settings.Namespace, true);
            settings.AccessModifiers = codeDomProvider.ValidateAccessModifiers(settings.AccessModifiers);

            return(settings);
        }