public override bool Validate(INotificationArguments myNotificationArguments) { //return ((NGraphObjectChanged.Arguments)myNotificationArguments).ObjectLocation == ObjectLocation; if (ObjectLocation == null) return true; return ((NFileSystem_GraphObjectChanged.Arguments)myNotificationArguments).ObjectLocation.StartsWith(ObjectLocation); }
public override Boolean Validate(INotificationArguments myNotificationArguments) { NFileSystem_NumberOfRevisionsReached.Arguments Args = ((NFileSystem_NumberOfRevisionsReached.Arguments)myNotificationArguments); if (Args.NumberOfRevisions > NumberOfRevisionsThreshold) { return true; } return false; }
private void HandleApplicationShutdown(INotificationArguments arguments) { m_IsApplicationShuttingDown = true; }
public override Boolean Validate(INotificationArguments myNotificationArguments) { return ((NObjectStored.Arguments) myNotificationArguments).ObjectLocation == ObjectLocation; }
public virtual Boolean Validate(INotificationArguments myNotificationArguments) { return true; }