Exemple #1
0
        public override bool Equals(object obj)
        {
            if (obj is VersionPair)
            {
                VersionPair pair = (VersionPair)obj;
                return(pair._major == _major && pair._minor == _minor);
            }

            return(false);
        }
Exemple #2
0
 public BamlImage()
 {
     _featureID     = DefaultFeatureID;
     _readerVersion = _updaterVersion = _writerVersion = DefaultVersion;
 }
Exemple #3
0
 private void WriteVersionPair(VersionPair versionPair)
 {
     _blob.Write(ref _pos, (short)versionPair.Major);
     _blob.Write(ref _pos, (short)versionPair.Minor);
 }