C# Class LynnaLab.Data

Inheritance: FileComponent
显示文件 Open project: Drenn1/LynnaLab Class Usage Examples

Protected Properties

Property Type Description
size int

Public Methods

Method Description
AddDataModifiedHandler ( EventHandler handler ) : void
Data ( Project p, string command, IEnumerable values, int size, FileParser parser, IList spacing ) : System
Detach ( ) : void
GetIntValue ( int i ) : int
GetIntValue ( string s ) : int
GetNumValues ( ) : int
GetString ( ) : string
GetValue ( int i ) : string
GetValue ( string s ) : string
GetValueReference ( string name ) : ValueReference
GetValueReferenceGroup ( ) : ValueReferenceGroup
GetValueReferences ( ) : IList
InsertIntoParserAfter ( Data reference ) : void
InsertIntoParserBefore ( Data reference ) : void
InsertValue ( int i, string value, int priorSpaces = 1 ) : void
RemoveDataModifiedHandler ( EventHandler handler ) : void
RemoveValue ( int i ) : void
SetByteValue ( int i, byte value ) : void
SetNumValues ( int n ) : void
SetValue ( int i, string value ) : void
SetValue ( string s, int i ) : void
SetValue ( string s, string value ) : void
SetValueReferences ( IList references ) : void
SetWordValue ( int i, int value ) : void
ThrowException ( Exception e ) : void

Private Methods

Method Description
GetSpacingIndex ( int i ) : string

Method Details

AddDataModifiedHandler() public method

public AddDataModifiedHandler ( EventHandler handler ) : void
handler EventHandler
return void

Data() public method

public Data ( Project p, string command, IEnumerable values, int size, FileParser parser, IList spacing ) : System
p Project
command string
values IEnumerable
size int
parser FileParser
spacing IList
return System

Detach() public method

public Detach ( ) : void
return void

GetIntValue() public method

public GetIntValue ( int i ) : int
i int
return int

GetIntValue() public method

public GetIntValue ( string s ) : int
s string
return int

GetNumValues() public method

public GetNumValues ( ) : int
return int

GetString() public method

public GetString ( ) : string
return string

GetValue() public method

public GetValue ( int i ) : string
i int
return string

GetValue() public method

public GetValue ( string s ) : string
s string
return string

GetValueReference() public method

public GetValueReference ( string name ) : ValueReference
name string
return ValueReference

GetValueReferenceGroup() public method

public GetValueReferenceGroup ( ) : ValueReferenceGroup
return ValueReferenceGroup

GetValueReferences() public method

public GetValueReferences ( ) : IList
return IList

InsertIntoParserAfter() public method

public InsertIntoParserAfter ( Data reference ) : void
reference Data
return void

InsertIntoParserBefore() public method

public InsertIntoParserBefore ( Data reference ) : void
reference Data
return void

InsertValue() public method

public InsertValue ( int i, string value, int priorSpaces = 1 ) : void
i int
value string
priorSpaces int
return void

RemoveDataModifiedHandler() public method

public RemoveDataModifiedHandler ( EventHandler handler ) : void
handler EventHandler
return void

RemoveValue() public method

public RemoveValue ( int i ) : void
i int
return void

SetByteValue() public method

public SetByteValue ( int i, byte value ) : void
i int
value byte
return void

SetNumValues() public method

public SetNumValues ( int n ) : void
n int
return void

SetValue() public method

public SetValue ( int i, string value ) : void
i int
value string
return void

SetValue() public method

public SetValue ( string s, int i ) : void
s string
i int
return void

SetValue() public method

public SetValue ( string s, string value ) : void
s string
value string
return void

SetValueReferences() public method

public SetValueReferences ( IList references ) : void
references IList
return void

SetWordValue() public method

public SetWordValue ( int i, int value ) : void
i int
value int
return void

ThrowException() public method

public ThrowException ( Exception e ) : void
e System.Exception
return void

Property Details

size protected_oe property

protected int size
return int