Пример #1
0
        public bool Equals(Nfs3WeakCacheConsistencyAttr other)
        {
            if (other == null)
            {
                return(false);
            }

            return(other.Size == Size &&
                   object.Equals(other.ModifyTime, ModifyTime) &&
                   object.Equals(other.ChangeTime, ChangeTime));
        }
Пример #2
0
        internal Nfs3WeakCacheConsistency(XdrDataReader reader)
        {
            if (reader.ReadBool())
            {
                Before = new Nfs3WeakCacheConsistencyAttr(reader);
            }

            if (reader.ReadBool())
            {
                After = new Nfs3FileAttributes(reader);
            }
        }