private void OnCloneComplete() { _arc = CollectionUtils.SelectFirst(base.Graphics, delegate(IGraphic test) { return(test is InvariantArcPrimitive); }) as InvariantArcPrimitive; Platform.CheckForNullReference(_arc, "_arc"); }
public ProtractorGraphic() : base() { base.Graphics.Add(_arc = new InvariantArcPrimitive()); _arc.Visible = false; }
private void OnCloneComplete() { _arc = CollectionUtils.SelectFirst(base.Graphics, delegate(IGraphic test) { return test is InvariantArcPrimitive; }) as InvariantArcPrimitive; Platform.CheckForNullReference(_arc, "_arc"); }