Search
Preparing search index...
The search index is not available
mdkjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mdkjs
TagFile
Class TagFile<D>
Type parameters
D
:
DataObject
Hierarchy
FileAbstract
<
D
>
TagFile
Index
Constructors
constructor
Properties
#data
#list
#options
#replace
context
Accessors
data
description
filename
fullname
namespace
type
Methods
add
create
get
Data
load
to
Json
to
String
Constructors
constructor
new
Tag
File<D>
(
options
:
TagOptions
<
D
>
)
:
TagFile
<
D
>
Type parameters
D
:
DataObject
Parameters
options:
TagOptions
<
D
>
Returns
TagFile
<
D
>
Properties
Private
#data
#data
:
D
= null
Private
Readonly
#list
#list
:
Set
<
string
>
= ...
Private
Readonly
#options
#options
:
FileAbstractOptions
<
D
>
Private
Readonly
#replace
#replace
:
boolean
context
context
:
Pack
= null
Accessors
Protected
data
get
data
(
)
:
D
获取自定义数据
Returns
D
description
get
description
(
)
:
string
获取描述信息
Returns
string
filename
get
filename
(
)
:
string
获取文件名
Returns
string
fullname
get
fullname
(
)
:
string
获取全路径
Returns
string
namespace
get
namespace
(
)
:
string
获取命名空间
Returns
string
type
get
type
(
)
:
FileType
|
"recipes"
获取类型
Returns
FileType
|
"recipes"
Methods
add
add
(
file
:
string
|
File
<
D
>
)
:
void
添加项目
Parameters
file:
string
|
File
<
D
>
Returns
void
create
create
(
dir
:
string
)
:
FileInfo
生成文件信息
Parameters
dir:
string
Returns
FileInfo
get
Data
get
Data
(
cached
?:
boolean
)
:
D
获取接口数据
Parameters
cached:
boolean
= true
Returns
D
load
load
(
cached
?:
boolean
)
:
boolean
加载数据
Parameters
cached:
boolean
= true
Returns
boolean
返回true表示首次加载
to
Json
to
Json
(
)
:
LineInfo
<
unknown
>
Returns
LineInfo
<
unknown
>
to
String
to
String
(
)
:
string
Returns
string
Exports
commands
dev
Tag
File
constructor
#data
#list
#options
#replace
context
data
description
filename
fullname
namespace
type
add
create
get
Data
load
to
Json
to
String
Generated using
TypeDoc
获取自定义数据