错误 CS1514: 应输入 错误 CS1519: 类、结构或接口成员声明中的标记“{”无效 这是怎么回事,求高手看看. 20
namespaceGame.Web{publicpartialclassPromotionUCPageBase{#region继承属性protectedoverrideb...
namespace Game.Web
{
public partial class Promotion UCPageBase
{
#region 继承属性
protected override bool IsAuthenticatedUser
{
get
{
return true;
}
}
#endregion
private AccountsFacade accountFacade = new AccountsFacade( );
private TreasureFacade treasureFacade = new TreasureFacade( );
protected void Page_Load( object sender, EventArgs e )
{
if ( !IsPostBack )
{
UserTicketInfo userTicket = Fetch.GetUserCookie( );
UserInfo user = accountFacade.GetUserInfo( userTicket );
if ( user == null )
{
ShowAndRedirect( 请先登录, );
return;
} 展开
{
public partial class Promotion UCPageBase
{
#region 继承属性
protected override bool IsAuthenticatedUser
{
get
{
return true;
}
}
#endregion
private AccountsFacade accountFacade = new AccountsFacade( );
private TreasureFacade treasureFacade = new TreasureFacade( );
protected void Page_Load( object sender, EventArgs e )
{
if ( !IsPostBack )
{
UserTicketInfo userTicket = Fetch.GetUserCookie( );
UserInfo user = accountFacade.GetUserInfo( userTicket );
if ( user == null )
{
ShowAndRedirect( 请先登录, );
return;
} 展开
2个回答
展开全部
你这代码贴全了的吧,
第一:public partial class Promotion UCPageBase,public partial class Promotion:UCPageBase
第二:最后的少了四个大括号 }
第一:public partial class Promotion UCPageBase,public partial class Promotion:UCPageBase
第二:最后的少了四个大括号 }
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询