public object Clone() { ResourceCodePointer obj = new ResourceCodePointer(); obj._id = _id; obj._resource = _resource; return(obj); }
public bool IsSameObjectRef(IObjectIdentity objectIdentity) { 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) { ResourceCodePointer o = objectIdentity as ResourceCodePointer; if (o != null) { return(o.MemberId == _id); } } return(false); }