Method | Description | |
---|---|---|
AddStubsForCustomEvents ( IElement element ) : void | ||
AddUsingStatementsToBlock ( ICodeBlock currentBlock ) : void | ||
CreateEmptyCodeIfNecessary ( IElement currentElement, string fullFileName, bool forceRegenerateContents ) : void | ||
FillWithCustomEventCode ( ICodeBlock currentBlock, |
||
FillWithGeneratedEventCode ( ICodeBlock currentBlock, |
||
GenerateActivity ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
GenerateDestroy ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
GenerateEventGeneratedFile ( IElement element ) : void | ||
GenerateFields ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
GenerateInitialize ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
GeneratePostInitialize ( ICodeBlock codeBlock, IElement element ) : void | ||
GetStartAndEndIndexForMethod ( |
Returns the start and end index in the argument fileContents of the entire method including the header of the method and the opening/closing brackets.
|
|
GetStartAndEndIndexForMethod ( string fileContents, string name, int &startIndex, int &endIndex ) : void | ||
InjectTextForEventAndSaveCustomFile ( IElement currentElement, |
Injects the insideOfMethod into an event for the argument
|
|
ShouldGenerateEventsForVariable ( |
Method | Description | |
---|---|---|
GenerateAddToManagersBottomUp ( ICodeBlock codeBlock, IElement element ) : void | ||
GenerateEventGeneratedCodeFile ( IElement element ) : ICodeBlock | ||
GenerateEventRaisingCode ( ICodeBlock codeBlock, BeforeOrAfter beforeOrAfter, string variableName, IElement saveObject ) : void | ||
GenerateEventsForVariable ( ICodeBlock codeBlock, string variableName, bool isEventNew = false ) : void | ||
GenerateInitializeForEvent ( ICodeBlock codeBlock, IElement element, |
||
GetParsedClassFrom ( string fileName ) : |
||
StripTypesFromArguments ( string argumentsWithTypes ) : string | ||
TryGenerateEventsForVariable ( ICodeBlock codeBlock, |
public static AddStubsForCustomEvents ( IElement element ) : void | ||
element | IElement | |
return | void |
public static AddUsingStatementsToBlock ( ICodeBlock currentBlock ) : void | ||
currentBlock | ICodeBlock | |
return | void |
public static CreateEmptyCodeIfNecessary ( IElement currentElement, string fullFileName, bool forceRegenerateContents ) : void | ||
currentElement | IElement | |
fullFileName | string | |
forceRegenerateContents | bool | |
return | void |
public static FillWithCustomEventCode ( ICodeBlock currentBlock, |
||
currentBlock | ICodeBlock | |
ers | ||
contents | string | |
element | IElement | |
return | ICodeBlock |
public static FillWithGeneratedEventCode ( ICodeBlock currentBlock, |
||
currentBlock | ICodeBlock | |
ers | ||
element | IElement | |
return | ICodeBlock |
public GenerateActivity ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
codeBlock | ICodeBlock | |
element | IElement | |
return | ICodeBlock |
public GenerateDestroy ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
codeBlock | ICodeBlock | |
element | IElement | |
return | ICodeBlock |
public static GenerateEventGeneratedFile ( IElement element ) : void | ||
element | IElement | |
return | void |
public GenerateFields ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
codeBlock | ICodeBlock | |
element | IElement | |
return | ICodeBlock |
public GenerateInitialize ( ICodeBlock codeBlock, IElement element ) : ICodeBlock | ||
codeBlock | ICodeBlock | |
element | IElement | |
return | ICodeBlock |
public static GeneratePostInitialize ( ICodeBlock codeBlock, IElement element ) : void | ||
codeBlock | ICodeBlock | |
element | IElement | |
return | void |
public static GetStartAndEndIndexForMethod ( |
||
parsedMethod | The parsed method. | |
fileContents | string | The contents of the entire file. |
startIndex | int | The found startIndex. |
endIndex | int | The found endIndex which includes the closing bracket. |
return | void |
public static GetStartAndEndIndexForMethod ( string fileContents, string name, int &startIndex, int &endIndex ) : void | ||
fileContents | string | |
name | string | |
startIndex | int | |
endIndex | int | |
return | void |
public static InjectTextForEventAndSaveCustomFile ( IElement currentElement, |
||
currentElement | IElement | The IElement containing the EventResponseSave. |
eventResponseSave | The EventResponseSave which should have its contents set or replaced. | |
insideOfMethod | string | The inside of the methods to assign. |
return | string |
public static ShouldGenerateEventsForVariable ( |
||
customVariable | ||
container | IElement | |
return | bool |