Property | Type | Description | |
---|---|---|---|
CheckoutFile | void | ||
GetName | string | ||
GetNewLines | IEnumerable |
||
SetSourceControlInfo | void | ||
SplitFileByCodeUnit | void | ||
WriteFileIfDifferent | void | ||
WriteFilesAsync | void |
Method | Description | |
---|---|---|
GetTypeForAttribute ( Microsoft entityMetadata, Microsoft attributeMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForEntity ( Microsoft entityMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForMessagePair ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForOption ( Microsoft optionSetMetadata, Microsoft optionMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForOptionSet ( Microsoft entityMetadata, Microsoft optionSetMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForRequestField ( Microsoft.Crm.Services.Utility.SdkMessageRequest request, Microsoft.Crm.Services.Utility.SdkMessageRequestField requestField, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForResponseField ( Microsoft.Crm.Services.Utility.SdkMessageResponse response, Microsoft.Crm.Services.Utility.SdkMessageResponseField responseField, IServiceProvider services ) : CodeGenerationType | ||
Write ( IOrganizationMetadata organizationMetadata, string language, string outputFile, string targetNamespace, IServiceProvider services ) : void |
Method | Description | |
---|---|---|
BaseCustomCodeGenerationService ( ICodeGenerationService service ) : System | ||
EnsureFileIsAccessible ( string filePath ) : void | ||
GetFileTextWithUpdatedClassComment ( string filePath, string commandLineText, bool removeRuntimeVersionComment ) : IEnumerable |
||
GetTypeForAttributeInternal ( Microsoft entityMetadata, Microsoft attributeMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForEntityInternal ( Microsoft entityMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForMessagePairInternal ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForOptionInternal ( Microsoft optionSetMetadata, Microsoft optionMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForOptionSetInternal ( Microsoft entityMetadata, Microsoft optionSetMetadata, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForRequestFieldInternal ( Microsoft.Crm.Services.Utility.SdkMessageRequest request, Microsoft.Crm.Services.Utility.SdkMessageRequestField requestField, IServiceProvider services ) : CodeGenerationType | ||
GetTypeForResponseFieldInternal ( Microsoft.Crm.Services.Utility.SdkMessageResponse response, Microsoft.Crm.Services.Utility.SdkMessageResponseField responseField, IServiceProvider services ) : CodeGenerationType | ||
Log ( string log ) : void | ||
UndoCheckoutIfUnchanged ( string fileName ) : bool |
Returns true if the file was unchanged and an undo operation was performed
|
|
WriteInternal ( IOrganizationMetadata organizationMetadata, string language, string outputFile, string targetNamespace, IServiceProvider services ) : void |
Method | Description | |
---|---|---|
CheckoutFile ( string fileName ) : void | ||
GetName ( CodeUnit codeUnit, string line ) : string | ||
GetNewLines ( string lines, int insertAtLine, string text, int skipLine ) : IEnumerable |
||
SetSourceControlInfo ( FileToCreate file ) : void | ||
SplitFileByCodeUnit ( CodeUnit codeUnit, string filePath, IEnumerable |
||
WriteFileIfDifferent ( ProjectFile project, FileToCreate file ) : void | ||
WriteFilesAsync ( List |
protected BaseCustomCodeGenerationService ( ICodeGenerationService service ) : System | ||
service | ICodeGenerationService | |
return | System |
protected EnsureFileIsAccessible ( string filePath ) : void | ||
filePath | string | |
return | void |
protected GetFileTextWithUpdatedClassComment ( string filePath, string commandLineText, bool removeRuntimeVersionComment ) : IEnumerable |
||
filePath | string | |
commandLineText | string | |
removeRuntimeVersionComment | bool | |
return | IEnumerable |
public GetTypeForAttribute ( Microsoft entityMetadata, Microsoft attributeMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
attributeMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForAttributeInternal ( Microsoft entityMetadata, Microsoft attributeMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
attributeMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
public GetTypeForEntity ( Microsoft entityMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForEntityInternal ( Microsoft entityMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
public GetTypeForMessagePair ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : CodeGenerationType | ||
messagePair | Microsoft.Crm.Services.Utility.SdkMessagePair | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForMessagePairInternal ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : CodeGenerationType | ||
messagePair | Microsoft.Crm.Services.Utility.SdkMessagePair | |
services | IServiceProvider | |
return | CodeGenerationType |
public GetTypeForOption ( Microsoft optionSetMetadata, Microsoft optionMetadata, IServiceProvider services ) : CodeGenerationType | ||
optionSetMetadata | Microsoft | |
optionMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForOptionInternal ( Microsoft optionSetMetadata, Microsoft optionMetadata, IServiceProvider services ) : CodeGenerationType | ||
optionSetMetadata | Microsoft | |
optionMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
public GetTypeForOptionSet ( Microsoft entityMetadata, Microsoft optionSetMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
optionSetMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForOptionSetInternal ( Microsoft entityMetadata, Microsoft optionSetMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
optionSetMetadata | Microsoft | |
services | IServiceProvider | |
return | CodeGenerationType |
public GetTypeForRequestField ( Microsoft.Crm.Services.Utility.SdkMessageRequest request, Microsoft.Crm.Services.Utility.SdkMessageRequestField requestField, IServiceProvider services ) : CodeGenerationType | ||
request | Microsoft.Crm.Services.Utility.SdkMessageRequest | |
requestField | Microsoft.Crm.Services.Utility.SdkMessageRequestField | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForRequestFieldInternal ( Microsoft.Crm.Services.Utility.SdkMessageRequest request, Microsoft.Crm.Services.Utility.SdkMessageRequestField requestField, IServiceProvider services ) : CodeGenerationType | ||
request | Microsoft.Crm.Services.Utility.SdkMessageRequest | |
requestField | Microsoft.Crm.Services.Utility.SdkMessageRequestField | |
services | IServiceProvider | |
return | CodeGenerationType |
public GetTypeForResponseField ( Microsoft.Crm.Services.Utility.SdkMessageResponse response, Microsoft.Crm.Services.Utility.SdkMessageResponseField responseField, IServiceProvider services ) : CodeGenerationType | ||
response | Microsoft.Crm.Services.Utility.SdkMessageResponse | |
responseField | Microsoft.Crm.Services.Utility.SdkMessageResponseField | |
services | IServiceProvider | |
return | CodeGenerationType |
protected GetTypeForResponseFieldInternal ( Microsoft.Crm.Services.Utility.SdkMessageResponse response, Microsoft.Crm.Services.Utility.SdkMessageResponseField responseField, IServiceProvider services ) : CodeGenerationType | ||
response | Microsoft.Crm.Services.Utility.SdkMessageResponse | |
responseField | Microsoft.Crm.Services.Utility.SdkMessageResponseField | |
services | IServiceProvider | |
return | CodeGenerationType |
protected UndoCheckoutIfUnchanged ( string fileName ) : bool | ||
fileName | string | |
return | bool |
public Write ( IOrganizationMetadata organizationMetadata, string language, string outputFile, string targetNamespace, IServiceProvider services ) : void | ||
organizationMetadata | IOrganizationMetadata | |
language | string | |
outputFile | string | |
targetNamespace | string | |
services | IServiceProvider | |
return | void |
protected WriteInternal ( IOrganizationMetadata organizationMetadata, string language, string outputFile, string targetNamespace, IServiceProvider services ) : void | ||
organizationMetadata | IOrganizationMetadata | |
language | string | |
outputFile | string | |
targetNamespace | string | |
services | IServiceProvider | |
return | void |