Example #1
0
        public object Clone()
        {
            AssemblyPointer ap = new AssemblyPointer(_name);

            ap.Owner = _owner;
            return(ap);
        }
Example #2
0
        public bool IsSameProperty(IPropertyPointer p)
        {
            AssemblyPointer ap = p as AssemblyPointer;

            if (ap != null)
            {
                return(string.Compare(ap._name, _name, StringComparison.OrdinalIgnoreCase) == 0);
            }
            return(false);
        }
Example #3
0
        public bool IsSameObjectRef(IObjectIdentity objectIdentity)
        {
            AssemblyPointer ap = objectIdentity as AssemblyPointer;

            if (ap != null)
            {
                return(string.Compare(ap._name, _name, StringComparison.OrdinalIgnoreCase) == 0);
            }
            return(false);
        }