private CssMarginFeature(object newOwner, CssMarginFeature inheritFrom) : base(newOwner) { this.Left = inheritFrom.Left; this.Top = inheritFrom.Top; this.Right = inheritFrom.Right; this.Bottom = inheritFrom.Bottom; }
public static bool dbugIsEq(dbugPropCheckReport rep, CssMarginFeature prop1, CssMarginFeature prop2) { int inCount = rep.Count; rep.Check("Left", CssLength.IsEq(prop1.Left, prop2.Left)); rep.Check("Top", CssLength.IsEq(prop1.Top, prop2.Top)); rep.Check("Right", CssLength.IsEq(prop1.Right, prop2.Right)); rep.Check("Bottom", CssLength.IsEq(prop1.Bottom, prop2.Bottom)); return(inCount == rep.Count); }
public static bool dbugIsEq(dbugPropCheckReport rep, CssMarginFeature prop1, CssMarginFeature prop2) { int inCount = rep.Count; rep.Check("Left", CssLength.IsEq(prop1.Left, prop2.Left)); rep.Check("Top", CssLength.IsEq(prop1.Top, prop2.Top)); rep.Check("Right", CssLength.IsEq(prop1.Right, prop2.Right)); rep.Check("Bottom", CssLength.IsEq(prop1.Bottom, prop2.Bottom)); return inCount == rep.Count; }