Пример #1
0
        public bool IsSameProperty(IPropertyPointer p)
        {
            IObjectIdentity objectPointer = p as IObjectIdentity;

            if (objectPointer != null)
            {
                return(IsSameObjectRef(objectPointer));
            }
            return(false);
        }
        public bool IsSameProperty(IPropertyPointer p)
        {
            ResourcePointer rp = p as ResourcePointer;

            if (rp != null)
            {
                return(rp.MemberId == this.MemberId);
            }
            return(false);
        }
Пример #3
0
        public bool IsSameProperty(IPropertyPointer p)
        {
            LocalVariable v = p as LocalVariable;

            if (v != null)
            {
                return(v.MemberId == this.MemberId);
            }
            return(false);
        }
Пример #4
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);
        }
        public bool IsSameProperty(IPropertyPointer p)
        {
            ICustomObject cp = p as ICustomObject;

            if (cp != null)
            {
                return(cp.WholeId == this.WholeId);
            }
            return(false);
        }
Пример #6
0
        public bool IsSameProperty(IPropertyPointer p)
        {
            IObjectIdentity objectIdentity = p as IObjectIdentity;

            if (objectIdentity != null)
            {
                if (_method != null)
                {
                    return(_method.IsSameObjectRef(objectIdentity));
                }
            }
            return(false);
        }
Пример #7
0
        public bool IsSameProperty(IPropertyPointer p)
        {
            IObjectIdentity objectIdentity = p as IObjectIdentity;

            if (objectIdentity != null)
            {
                ResourceCodePointer o = objectIdentity as ResourceCodePointer;
                if (o != null)
                {
                    return(o.MemberId == _id);
                }
            }
            return(false);
        }
        public bool IsSameProperty(IPropertyPointer p)
        {
            IObjectIdentity objectIdentity = p as IObjectIdentity;

            if (objectIdentity != null)
            {
                tryDeseirialize();
                if (_parameter == null)
                {
                    return(false);
                }
                return(_parameter.IsSameObjectRef(objectIdentity));
            }
            return(false);
        }
        public override bool IsSameProperty(IPropertyPointer objectPointer)
        {
            ParameterClass p = objectPointer as ParameterClass;

            if (p != null)
            {
                if (p.ParameterID == this.ParameterID)
                {
                    return(true);
                }
                if (string.CompareOrdinal(p.CodeName, this.CodeName) == 0)
                {
                    return(true);
                }
            }
            return(false);
        }
Пример #10
0
 public override bool IsSameProperty(IPropertyPointer p)
 {
     return(p is PropertyValueClass);
 }
Пример #11
0
 public bool IsSameProperty(IPropertyPointer p)
 {
     return(p is ThisPointer);
 }
Пример #12
0
 public bool IsSameProperty(IPropertyPointer p)
 {
     return(p is ActionInput);
 }