Exemplo n.º 1
0
        ////////////////////////////////////////////////////////////////////////////////
        // Legacy Comaptibility Calls
        //  - depricated (uses sync framework)
        //  - do not use unless you know what you are doing
        ////////////////////////////////////////////////////////////////////////////////
        public ISync CreateLogSynchronizer(LocationInfo Li, string container)
        {
            ISync isync = null;

            switch (Li.st)
            {
            case SynchronizerType.Azure:
                isync = new HDS.AzureSynchronizer(new RemoteInfo(Li.accountName, Li.accountKey), container, SynchronizeDirection.Upload);
                break;

            default:
                isync = null;
                break;
            }
            return(isync);
        }
Exemplo n.º 2
0
 ////////////////////////////////////////////////////////////////////////////////
 // Legacy Comaptibility Calls
 //  - depricated (uses sync framework)
 //  - do not use unless you know what you are doing
 ////////////////////////////////////////////////////////////////////////////////
 public ISync CreateLogSynchronizer(LocationInfo Li, string container)
 {
     ISync isync = null;
     switch (Li.st)
     {
         case SynchronizerType.Azure:
             isync = new HDS.AzureSynchronizer(new RemoteInfo(Li.accountName, Li.accountKey), container, SynchronizeDirection.Upload);
             break;
         default:
             isync = null;
             break;
     }
     return isync;
 }