PropertyContainer.TryAccept

Declaration

public static bool TryAccept(Unity.Properties.IPropertyBagVisitor visitor, ref TContainer container, Unity.Properties.VisitParameters parameters);

Parameters

visitor The visitor.
container The container to visit.
parameters The visit parameters to use.

Returns

bool true if the visitation succeeded; false otherwise.

Description

Tries to visit the specified by ref using the specified .


Declaration

public static bool TryAccept(Unity.Properties.IPropertyBagVisitor visitor, ref TContainer container, out Unity.Properties.VisitReturnCode returnCode, Unity.Properties.VisitParameters parameters);

Parameters

visitor The visitor.
container The container to visit.
parameters The visit parameters to use.
returnCode When this method returns, contains the return code.

Returns

bool true if the visitation succeeded; false otherwise.

Description

Tries to visit the specified by ref using the specified .


Declaration

public static bool TryAccept(Unity.Properties.IPropertyVisitor visitor, ref TContainer container, ref Unity.Properties.PropertyPath path, out Unity.Properties.VisitReturnCode returnCode, Unity.Properties.VisitParameters parameters);

Parameters

visitor The visitor.
container The container to visit.
path The property path to visit.
returnCode When this method returns, contains the return code.
parameters The visit parameters to use.

Description

Visit the specified using the specified at the given PropertyPath.


Did you find this page useful? Please give it a rating: