Click here to Skip to main content
15,912,329 members

Comments by BobbyBlueEyes (Top 7 by date)

BobbyBlueEyes 3-Jun-11 9:33am View    
ok got i working BobJanova you where absolutely right - should have followed the basic architecture best parctices.
BobbyBlueEyes 3-Jun-11 9:07am View    
Ok i have updated the solution....

I cannot cast to ICharacteristics - what am i missing here?
BobbyBlueEyes 3-Jun-11 8:50am View    
ok let me change me code completely to show you what i'm doing ...
BobbyBlueEyes 3-Jun-11 7:55am View    
please see my code below:

public class ScoreSmartCharValues
{
private string name;
private int value;

public int Value
{
get { return this.value; }
set { this.value = value; }
}

public string Name
{
get { return name; }
set { name = value; }
}

public ScoreSmartCharValues(int value, string name)
{
this.name = name;
this.value = value;
}

public ScoreSmartCharValues()
{

}
}


I create a List of this type.

so this is my method signature:

Score calculateScore(int ScorecardID, string UniqueID, List<scoresmartcharvalues> CharacteristicsValues);


When i try to use reflection i cannot call the method...

I have change the signature to rather use a type of type object then it works fine...
BobbyBlueEyes 3-Jun-11 6:34am View    
The List being sent is of type class - that contains a int and a string as properties.