RuleContainer.ExecuteAllRules method (1 of 2)
Executes all the rules in the container on the given file in accordance with the given .
public void ExecuteAllRules(IFileServiceConfig fileServiceConfig, byte[] inputBytes,
string fileType, string fileName = null)
parameter | description |
---|---|
fileServiceConfig | The IFileService against which the files should be validated. |
inputBytes | The byte array which contains the file. |
fileType | The type of file. |
fileName | The name of the file (This may be null at times). |
See Also
- class RuleContainer
- namespace DotNetOpen.FileService
RuleContainer.ExecuteAllRules method (2 of 2)
Executes all the rules in the container on the given file in accordance with the given .
public void ExecuteAllRules(IFileServiceConfig fileServiceConfig, Stream inputStream,
string fileType, string fileName = null)
parameter | description |
---|---|
fileServiceConfig | The IFileService against which the files should be validated. |
inputStream | The stream which contains the file. |
fileType | The type of file. |
fileName | The name of the file (This may be null at times). |
See Also
- class RuleContainer
- namespace DotNetOpen.FileService