Skip to content

Commit

Permalink
Merge pull request #2 from safeguard-apis/risk_fixes
Browse files Browse the repository at this point in the history
Atualização - Risk e RiskItem - Atributos públicos
  • Loading branch information
antonioams committed Apr 15, 2015
2 parents 6ab966e + 09fecc0 commit 85b9ec5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions SafeGuardServer.NetAPI/SafeGuardServerAPI/Risk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ public Risk(String Loc, float RiskScore, List<RiskItem> riskItems){
this.riskItems = riskItems;
}

String Loc {set; get;}
public String Loc {set; get;}

float RiskScore { set; get; }
public float RiskScore { set; get; }

List<RiskItem> riskItems { set; get; }
public List<RiskItem> riskItems { set; get; }
}
}

Expand Down
4 changes: 2 additions & 2 deletions SafeGuardServer.NetAPI/SafeGuardServerAPI/RiskItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public RiskItem(String Type, int Score) {
this.Score = Score;
this.Type = Type;
}
String Type { set; get; }
int Score {set; get;}
public String Type { set; get; }
public int Score {set; get;}
}
}

0 comments on commit 85b9ec5

Please sign in to comment.