Exemplo n.º 1
0
        public override bool FindProperty <TAction>(string name, ref TestListContainer container, ref ChangeTracker changeTracker, ref TAction action)
        {
            if (string.Equals(name, m_Int32List.GetName()))
            {
                action.VisitCollectionProperty <ListProperty <TestListContainer, int>, IList <int> >(m_Int32List, ref container, ref changeTracker);
                return(true);
            }

            if (string.Equals(name, m_TestStructList.GetName()))
            {
                action.VisitCollectionProperty <ListProperty <TestListContainer, TestPrimitiveContainer>, IList <TestPrimitiveContainer> >(m_TestStructList, ref container, ref changeTracker);
                return(true);
            }

            return(false);
        }