public bool Matches(Color byLayerColor, EntityColor byBlockColor) { if (byLayerColor.ToArgb() == this.color_0.ToArgb()) { return(byBlockColor.ToArgb() == this.entityColor_0.ToArgb()); } return(false); }
public bool Matches(DxfLayer layer, EntityColor byBlockColor, DxfLineType byBlockLineType) { if (layer.Enabled == this.bool_0 && layer.Frozen == this.bool_1 && (layer.Color.ToArgb() == this.color_0.ToArgb() && layer.LineType == this.ByLayerLineType && byBlockColor.ToArgb() == this.entityColor_0.ToArgb())) { return(byBlockLineType == this.ByBlockLineType); } return(false); }