public override bool FindProperty <TAction>(string name, ref TestInterfaceContainer container, ref ChangeTracker changeTracker, ref TAction action) { if (string.Equals(name, s_CustomData.GetName())) { action.VisitProperty <ValueProperty <TestInterfaceContainer, ICustomData>, ICustomData>(s_CustomData, ref container, ref changeTracker); return(true); } return(false); }
public override bool FindProperty <TAction>(string name, ref CustomDataBar container, ref ChangeTracker changeTracker, ref TAction action) { if (string.Equals(name, s_Test.GetName())) { action.VisitProperty <ValueProperty <CustomDataBar, int>, int>(s_Test, ref container, ref changeTracker); return(true); } if (string.Equals(name, s_Bar.GetName())) { action.VisitProperty <ValueProperty <CustomDataBar, int>, int>(s_Bar, ref container, ref changeTracker); return(true); } return(false); }