Demo2.アナログ単純登録契約クラス

3108 ワード

NetworkCommsネットワーク フレームワークの 

[ProtoContract]
public class LoginContract { // ID [ProtoMember(1)] public string UserID { get; set; } // [ProtoMember(2)] public string PassWord { get; set; } public LoginContract() { } public LoginContract(string userID, string passWord) { this.UserID = userID; this.PassWord = passWord; } } // [ProtoContract] public class ResMsgContract { // [ProtoMember(1)] public string Message; public ResMsgContract() { } public ResMsgContract(string message) { this.Message = message; } } www.networkcomms.cn
http://www.cnblogs.com/networkcomms