Example #1
0
        public CheckForValueProjectFileRule(string propertyName, string value, IProjectFileHelper projectFileHelper)
            : base(projectFileHelper)
        {
            if (string.IsNullOrEmpty(propertyName))
            {
                propertyName = EmptyPropertyName;
            }

            _propertyName = propertyName;
            _value        = value;
        }
Example #2
0
        public CheckIdenticalProjectFileRule(string propertyName, string otherPropertyName, IProjectFileHelper projectFileHelper) : base(projectFileHelper)
        {
            if (string.IsNullOrEmpty(propertyName))
            {
                propertyName = EmptyPropertyName;
            }

            if (string.IsNullOrEmpty(otherPropertyName))
            {
                otherPropertyName = EmptyPropertyName;
            }

            _propertyName      = propertyName;
            _otherPropertyName = otherPropertyName;
        }
 protected ProjectFileRule(IProjectFileHelper projectFileHelper)
 {
     _projectFileHelper = projectFileHelper;
 }
 public ConfigurationExistsProjectFileRule(string expectedConfiguration, IProjectFileHelper projectFileHelper)
     : base(projectFileHelper)
 {
     _expectedConfiguration = expectedConfiguration;
 }
Example #5
0
 public OutPutPathProjectFileRule(string expectedOutputPath, IProjectFileHelper projectFileHelper)
     : base(projectFileHelper)
 {
     _expectedOutputPath = expectedOutputPath;
 }