Class FtpRule
Base class used for all FTP Rules. Extend this class to create custom rules. You only need to provide an implementation for IsAllowed, and add any custom arguments that you require.
public class FtpRule
- Inheritance
-
FtpRule
- Derived
- Inherited Members
- Extension Methods
Constructors
FtpRule()
Rule object
public FtpRule()
Methods
IsAllAllowed(List<FtpRule>, FtpListItem)
Returns true if the object has passed all the rules.
public static bool IsAllAllowed(List<FtpRule> rules, FtpListItem result)
Parameters
rules
List<FtpRule>result
FtpListItem
Returns
IsAllowed(FtpListItem)
Returns true if the object has passed this rules.
public virtual bool IsAllowed(FtpListItem result)
Parameters
result
FtpListItem