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

            ap.Owner = _owner;
            return(ap);
        }
Exemple #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);
        }
Exemple #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);
        }