コード例 #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;
 }
コード例 #4
0
 public ConfigurationExistsProjectFileRule(string expectedConfiguration, IProjectFileHelper projectFileHelper)
     : base(projectFileHelper)
 {
     _expectedConfiguration = expectedConfiguration;
 }
コード例 #5
0
 public OutPutPathProjectFileRule(string expectedOutputPath, IProjectFileHelper projectFileHelper)
     : base(projectFileHelper)
 {
     _expectedOutputPath = expectedOutputPath;
 }