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;
        }
Beispiel #3
0
 private void HandleApplicationShutdown(INotificationArguments arguments)
 {
     m_IsApplicationShuttingDown = true;
 }
Beispiel #4
0
 public override Boolean Validate(INotificationArguments myNotificationArguments)
 {
     return ((NObjectStored.Arguments) myNotificationArguments).ObjectLocation == ObjectLocation;
 }
 private void HandleApplicationShutdown(INotificationArguments arguments)
 {
     m_IsApplicationShuttingDown = true;
 }
Beispiel #6
0
 public virtual Boolean Validate(INotificationArguments myNotificationArguments)
 {
     return true;
 }