Пример #1
0
        public CheckForValueProjectFileRule(string propertyName, string value, IProjectFileHelper projectFileHelper)
            : base(projectFileHelper)
        {
            if (string.IsNullOrEmpty(propertyName))
            {
                propertyName = EmptyPropertyName;
            }

            _propertyName = propertyName;
            _value        = value;
        }
Пример #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;
        }
Пример #3
0
 protected ProjectFileRule(IProjectFileHelper projectFileHelper)
 {
     _projectFileHelper = projectFileHelper;
 }
 public ConfigurationExistsProjectFileRule(string expectedConfiguration, IProjectFileHelper projectFileHelper)
     : base(projectFileHelper)
 {
     _expectedConfiguration = expectedConfiguration;
 }
Пример #5
0
 public OutPutPathProjectFileRule(string expectedOutputPath, IProjectFileHelper projectFileHelper)
     : base(projectFileHelper)
 {
     _expectedOutputPath = expectedOutputPath;
 }