Exemplo 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;
            }
Exemplo 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);
            }
            else
            {
                m_WebDAV = new WebDAV(cParams.ServerURL, cParams.TimeoutMs, cred.ID, cred.Password);
            }
        }
Exemplo 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;
 }
Exemplo 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)
 {
 }