Hoppa till huvudinnehållet

Not all generic types could be resolved error

Kommentarer

3 kommentarer

  • Permanently deleted user

    I resolved this by messing with the xaml behind the Workflow like below

    <Sequence.Variables>

     

            <Variable x:TypeArguments="scg:IList(esri:Graphic)" Name="graphics" />

     

    </Sequence.Variables>

    Doesn't seem to have a problem doing it this way.

    Steve

    0
  • Permanently deleted user

    You don't have to mess with the xaml to do this. If you look closely, you will see that when you browse for types and select a generic type, there will be an additional dropdown where you can select the specific type to use.

    You should see something like 'System.Collections.Generic.List< ... >' at the top of the dialog, and there will be a dropdown to select the type between the angle brackets.

    0
  • Permanently deleted user

    The only thing I see in the additional dropdown are the types I have selected before in the current Workflow. It doesn't seem to have any relation to the generic type selected in the 'Type Name' box. So when I have 'System.Collections.Generic.List< ... > in the top dialog I get values such as the following in the additional dropdown

    String, Int32, ESRI.ArcGIS.Client.Geometry.Geometry, ESRI.ArcGIS.Client.Tasks.Address, Geocortex.Forms.Client.DataItem

     

    0

Du måste logga in om du vill lämna en kommentar.