void VisitUnmanagedValueProperty <TVisitor, TValue>(ref TVisitor visitor, UnmanagedProperty <TestPrimitiveContainer, TValue> property, ref TestPrimitiveContainer container, ref ChangeTracker changeTracker) where TVisitor : IPropertyVisitor where TValue : unmanaged { visitor.VisitProperty <UnmanagedProperty <TestPrimitiveContainer, TValue>, TestPrimitiveContainer, TValue>(property, ref container, ref changeTracker); }
private bool TryFindProperty <TCallback, TValue>(string name, UnmanagedProperty <TestPrimitiveContainer, TValue> property, ref TestPrimitiveContainer container, ref ChangeTracker changeTracker, ref TCallback callback) where TCallback : IPropertyQuery <TestPrimitiveContainer> where TValue : unmanaged { if (string.Equals(name, property.GetName())) { callback.VisitProperty <UnmanagedProperty <TestPrimitiveContainer, TValue>, TValue>(property, ref container, ref changeTracker); return(true); } return(false); }