public GetPropertyExpandMode ( |
||
type | ||
propertyInfo | ||
return | ExpandMode |
public override ExpandMode GetPropertyExpandMode(Type type, PropertyInfo propertyInfo)
{
if (propertyInfo.DeclaringType == typeof(DictionaryContainer) && propertyInfo.Name == "Map")
return ExpandMode.Full;
if (propertyInfo.DeclaringType == typeof(OrderResponse) && propertyInfo.Name == "Order")
return ExpandMode.Full;
return base.GetPropertyExpandMode(type, propertyInfo);
}