Exemple #1
0
 internal void RegisterDescriptor(LinkedPropertyTypeDescriptor propertyTypeDescriptor)
 {
     Debug.Assert(
         _propertyTypeDescriptors.Contains(propertyTypeDescriptor) == false,
         "The passed in property type descriptor is already registered");
     if (_propertyTypeDescriptors.Contains(propertyTypeDescriptor) == false)
     {
         _propertyTypeDescriptors.Add(propertyTypeDescriptor);
     }
 }
 internal void RegisterDescriptor(LinkedPropertyTypeDescriptor propertyTypeDescriptor)
 {
     Debug.Assert(
         _propertyTypeDescriptors.Contains(propertyTypeDescriptor) == false,
         "The passed in property type descriptor is already registered");
     if (_propertyTypeDescriptors.Contains(propertyTypeDescriptor) == false)
     {
         _propertyTypeDescriptors.Add(propertyTypeDescriptor);
     }
 }