EnumCodeWrapper
(
fileIo
, enumType
, entityName
, sourceCodeFile
)
|
Signature
Meta.Conduit.Editor.EnumCodeWrapper.EnumCodeWrapper(IFileIo fileIo, Type enumType, string entityName, string sourceCodeFile) Parameters fileIo: IFileIoenumType: TypeentityName: stringsourceCodeFile: string |
EnumCodeWrapper
(
fileIo
, enumType
, sourceCodeFile
)
|
Signature
Meta.Conduit.Editor.EnumCodeWrapper.EnumCodeWrapper(IFileIo fileIo, Type enumType, string sourceCodeFile) Parameters fileIo: IFileIoenumType: TypesourceCodeFile: string |
EnumCodeWrapper
(
fileIo
, enumName
, entityName
, enumValues
, enumNamespace
, sourceCodeFile
)
|
Signature
Meta.Conduit.Editor.EnumCodeWrapper.EnumCodeWrapper(IFileIo fileIo, string enumName, string entityName, IList< WitKeyword > enumValues, string enumNamespace=null, string sourceCodeFile=null) Parameters fileIo: IFileIoenumName: stringentityName: stringenumValues: IList< WitKeyword >enumNamespace: stringsourceCodeFile: string |
DEFAULT_PATH
: const string |
Signature
const string Meta.Conduit.Editor.EnumCodeWrapper.DEFAULT_PATH |
AddValue
(
keyword
)
|
Signature
void Meta.Conduit.Editor.EnumCodeWrapper.AddValue(WitKeyword keyword) Parameters keyword: WitKeywordReturns void |
AddValue
(
value
, attribute
)
|
Signature
void Meta.Conduit.Editor.EnumCodeWrapper.AddValue(string value, CodeAttributeDeclaration attribute=null) Parameters value: stringattribute: CodeAttributeDeclarationReturns void |
AddValues
(
values
)
|
Adds the supplied values to the enum construct. Values that already exist are ignored.
Signature
void Meta.Conduit.Editor.EnumCodeWrapper.AddValues(IList< WitKeyword > values) Parameters Returns void |
AddValues
(
values
)
|
Adds the supplied values to the enum construct. Values that already exist are ignored.
Signature
void Meta.Conduit.Editor.EnumCodeWrapper.AddValues(ICollection< string > values) Parameters values: ICollection< string >
The values to add.
Returns void |
ToSourceCode
()
|
Signature
string Meta.Conduit.Editor.EnumCodeWrapper.ToSourceCode() Returns string |
WriteToFile
()
|
Signature
void Meta.Conduit.Editor.EnumCodeWrapper.WriteToFile() Returns void |
RemoveValues
(
values
)
|
Removes the supplied values to the enum construct. Values that do not exist in the enum are ignored.
Signature
void Meta.Conduit.Editor.EnumCodeWrapper.RemoveValues(IList< string > values) Parameters values: IList< string >
The values to remove.
Returns void |