Exemple #1
0
 public PlatformNeutralPropertyId(FullNameTypeId declaringTypeId, Microsoft.Expression.DesignModel.Metadata.MemberType memberTypes, string name, Microsoft.Expression.DesignModel.Metadata.MemberAccessTypes memberAccessTypes)
 {
     this.declaringTypeId   = declaringTypeId;
     this.memberTypes       = memberTypes;
     this.name              = name;
     this.memberAccessTypes = memberAccessTypes;
 }
Exemple #2
0
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            PlatformType platformType = obj as PlatformType;

            if (platformType != null)
            {
                return(this.Equals(platformType));
            }
            FullNameTypeId fullNameTypeId = obj as FullNameTypeId;

            if (fullNameTypeId == null)
            {
                return(false);
            }
            if (this.FullName == fullNameTypeId.FullName)
            {
                return(true);
            }
            return(false);
        }