Exemplo n.º 1
0
        private void Init(IntPtr appPtr, GCHandle disconnectedHandle)
        {
            IsDisconnected      = false;
            _appPtr             = new SafeAppPtr(appPtr);
            _disconnectedHandle = disconnectedHandle;

            AccessContainer   = new AccessContainer(_appPtr);
            Crypto            = new Crypto(_appPtr);
            CipherOpt         = new CipherOpt(_appPtr);
            IData             = new IData.IData(_appPtr);
            MData             = new MData.MData(_appPtr);
            MDataEntries      = new MDataEntries(_appPtr);
            MDataEntryActions = new MDataEntryActions(_appPtr);
            MDataInfoActions  = new MDataInfoActions(_appPtr);
            MDataPermissions  = new MDataPermissions(_appPtr);
            NFS = new NFS(_appPtr);
        }
Exemplo n.º 2
0
 bool IEquatable<NFS>.Equals(NFS other) {
     return Path.Equals(other.Path);
     }
Exemplo n.º 3
0
 public override bool Equals(object obj) {
     NFS other = obj as NFS;
     return (other != null) && ((IEquatable<NFS>)this).Equals(other);
     }