private void ConnectItem(IDomain domain, IArea currentArea, IObject currentObject, ref bool IsConnected) { IObject Object = ItemObject; IObjectPropertyItem ObjectProperty = ItemObjectProperty; IObject NestedObject = ItemNestedObject; IsConnected = ItemProperty.ConnectToObjectItem(domain, currentArea, currentObject, ref Object, ref ObjectProperty, ref NestedObject); ItemObject = Object; ItemObjectProperty = ObjectProperty; ItemNestedObject = NestedObject; ItemObjectProperty?.SetIsRead(); }