public HasDynamicPropertiesAttribute ( string propNames, bool complete = false ) : System | ||
propNames | string | |
complete | bool | |
리턴 | System |
public HasDynamicPropertiesAttribute(string[] propNames, bool complete = false)
{
if (propNames.Length == 0)
{
throw new DynamicPropertyException(
"HasDynamicProperties attribute must be supplied more than 0 property names.");
}
DynamicPropertyNames = propNames;
Complete = complete;
}