Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnet214 authored Sep 11, 2022
1 parent 32dc451 commit cedd9b6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,31 @@ public class TablesViewModel

```

## MatchModel
```csharp
public TeamModel(string code)
{
Code = code;
Emblem = $"{code}.png";
}

public class MatchModel
{
public TeamModel Home { get; set; }
public TeamModel Away { get; set; }
public int HomeScore { get; set; }
public int AwayScore { get; set; }

public MatchModel(string home, string away, int homeScore, int awayScore)
{
Home = new(home);
Away = new(away);
HomeScore = homeScore;
AwayScore = awayScore;
}
}
```

## ScoreTemplate
```xaml
<DataTemplate x:Key="ResultTemplate">
Expand Down Expand Up @@ -288,6 +313,8 @@ public class TablesViewModel
```




- 최소한의 MVVM 바인딩을 사용하 것이므로 외부 툴킷은 설치하지 않음.
- 다시 루트로 와서 Models 폴더 추가
- ClubModel 추가 및 속성 추가
Expand Down

0 comments on commit cedd9b6

Please sign in to comment.