0

Hi,

I've created an objectdataprovider in a resource dictionary with some method parameters.

<ObjectDataProvider x:Key="PatientsList" 
                        ObjectType="{x:Type vm:AllPatientsViewModel}" 
                        MethodName="CreateAllPatients"
                        >
    <ObjectDataProvider.MethodParameters>
      <system: Double>22</system:Double>      
    </ObjectDataProvider.MethodParameters>
  </ObjectDataProvider>

I've having a problem getting the <system:Double> tag to be recognised. I receive the following error:

Error 1 The type 'system:Double' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.


I can't seem to resolve this by adding a reference to the namespace. I thought it should be System, but this does not work.

Can anyone help please?

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by __avd
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.