📄 parentsectioninfo.cs
字号:
namespace ASPNET.StarterKit.Communities.ParentSection {
using System;
//*********************************************************************
//
// ParentSectionInfo Class
//
// Represents all information about a parent section.
//
//*********************************************************************
public class ParentSectionInfo {
int _id;
string _title;
string _description;
string _path;
bool _isPublic;
//*********************************************************************
//
// ID Property
//
// Represents the ID of the parent section.
//
//*********************************************************************
public int ID {
get { return _id; }
set { _id = value; }
}
//*********************************************************************
//
// Title Property
//
// Represents the title of the parent section.
//
//*********************************************************************
public string Title {
get { return _title; }
set { _title = value; }
}
//*********************************************************************
//
// Description Property
//
// Represents the description of the parent section.
//
//*********************************************************************
public string Description {
get { return _description; }
set { _description = value; }
}
//*********************************************************************
//
// Path Property
//
// Represents the URL of the parent section.
//
//*********************************************************************
public string Path {
get { return _path; }
set { _path = value; }
}
//*********************************************************************
//
// IsPublic Property
//
// Public sections can be accessed by anonymous or any
// authenticated users. A private section can only be accessed by
// users in a particular role.
//
//*********************************************************************
public bool IsPublic {
get { return _isPublic; }
set { _isPublic = value; }
}
//*********************************************************************
//
// ParentSectionInfo Constructor
//
// Initializes a new instance of the ParentSectionInfo class.
//
//*********************************************************************
public ParentSectionInfo() {}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -