Esempio n. 1
0
            internal Item(WebDAV client, string name, string version, DateTime creationDate, DateTime lastModificationDate,
                          string contentType, Directory parent)
            {
                m_Client               = client;
                m_Name                 = name ?? CoreConsts.UNKNOWN;
                m_Version              = version ?? CoreConsts.UNKNOWN;
                m_CreationDate         = creationDate;
                m_LastModificationDate = lastModificationDate;
                m_ContentType          = contentType ?? CoreConsts.UNKNOWN;

                m_Parent = parent;
            }
Esempio n. 2
0
        internal SVNFileSystemSession(SVNFileSystem fs, IFileSystemHandle handle, SVNFileSystemSessionConnectParams cParams)
            : base(fs, handle, cParams)
        {
            m_ServerURL = cParams.ServerURL;

            var cred = cParams.User.Credentials as IDPasswordCredentials;

            if (cred == null)
            {
                m_WebDAV = new WebDAV(cParams.ServerURL, cParams.TimeoutMs, log: fs.App.Log);
            }
            else
            {
                m_WebDAV = new WebDAV(cParams.ServerURL, cParams.TimeoutMs, cred.ID, cred.Password, log: fs.App.Log);
            }
        }
Esempio n. 3
0
 internal File(WebDAV client, string name, ulong size, string version, DateTime creationDate, DateTime lastModificationDate, string contentType,
               Directory parent)
     : base(client, name, version, creationDate, lastModificationDate, contentType, parent)
 {
     m_Size = size;
 }
Esempio n. 4
0
 internal Directory(WebDAV client, string name, string version, DateTime creationDate, DateTime lastModificationDate, string contentType,
                    Directory parent)
     : base(client, name, version, creationDate, lastModificationDate, contentType, parent)
 {
 }