public virtual void AlterMetadata(ModelMetadata metadata, CreateMetadataArguments args)
 {
     foreach (var map in mappingList)
     {
         if (args.Attributes.Any(x => x.GetType() == map.AttributeType))
         {
             var handler = serviceLocator.Resolve(map.HandlerType) as IMetadataAttributeHandlerBase;
             handler.AlterMetadata(metadata, args);
         }
     }
 }
 public virtual void AlterMetadata(ModelMetadata metadata, CreateMetadataArguments args)
 {
     foreach (var map in mappingList)
     {
         if (args.Attributes.Any(x => x.GetType() == map.AttributeType))
         {
             var handler = serviceLocator.Resolve(map.HandlerType) as IMetadataAttributeHandlerBase;
             handler.AlterMetadata(metadata, args);
         }
     }
 }