public override object ProvideValue(IServiceProvider serviceProvider)
        {
            RotatablePortLocationModelDecorator model = Model as RotatablePortLocationModelDecorator ?? RotatablePortLocationModelDecorator.Instance;

            return(model.CreateWrappingParameter(Wrapped));
        }
 /// <summary>
 /// Creates a new instance wrapping the given location model parameter.
 /// </summary>
 public RotatablePortLocationModelDecoratorParameter(IPortLocationModelParameter wrapped, RotatablePortLocationModelDecorator model)
 {
     this.wrapped = wrapped;
     this.model   = model;
 }