Repository
Concepts
When to use it?
Example code
public class UserRepository
{
public string Id { get; private set; } // 유저 ID
public string Name { get; private set; } // 유저명
// 로그인 시 생성하여 사용자 정보 초기화
public void SetUser(string id, string name)
{
Id = id;
Name = name;
}
}PreviousAbout the timing of communication processing according to screen switchingNextScreen-to-screen messaging with MessagePipe
Last updated