Exemplo n.º 1
0
        public IPalasoDataObjectProperty Clone()
        {
            var clone = new PictureRef();

            clone._fileName = _fileName;
            clone._caption  = _caption == null ? null:(MultiText)_caption.Clone();
            return(clone);
        }
Exemplo n.º 2
0
 public bool Equals(PictureRef other)
 {
     if (other == null)
     {
         return(false);
     }
     if ((_fileName != null && !_fileName.Equals(other._fileName)) || (other._fileName != null && !other._fileName.Equals(_fileName)))
     {
         return(false);
     }
     if ((_caption != null && !_caption.Equals(other._caption)) || (other._caption != null && !other._caption.Equals(_caption)))
     {
         return(false);
     }
     return(true);
 }