Свойство | Тип | Описание | |
---|---|---|---|
CheckoutFile | void | ||
GetName | string | ||
GetNewLines | IEnumerable |
||
SetSourceControlInfo | void | ||
SplitFileByCodeUnit | void | ||
WriteFileIfDifferent | void | ||
WriteFilesAsync | void |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | System |
protected EnsureFileIsAccessible ( string filePath ) : void | ||
filePath | string | |
Результат | void |
protected GetFileTextWithUpdatedClassComment ( string filePath, string commandLineText, bool removeRuntimeVersionComment ) : IEnumerable |
||
filePath | string | |
commandLineText | string | |
removeRuntimeVersionComment | bool | |
Результат | IEnumerable |
public GetTypeForAttribute ( Microsoft entityMetadata, Microsoft attributeMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
attributeMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
protected GetTypeForAttributeInternal ( Microsoft entityMetadata, Microsoft attributeMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
attributeMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
public GetTypeForEntity ( Microsoft entityMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
protected GetTypeForEntityInternal ( Microsoft entityMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
public GetTypeForMessagePair ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : CodeGenerationType | ||
messagePair | Microsoft.Crm.Services.Utility.SdkMessagePair | |
services | IServiceProvider | |
Результат | CodeGenerationType |
protected GetTypeForMessagePairInternal ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : CodeGenerationType | ||
messagePair | Microsoft.Crm.Services.Utility.SdkMessagePair | |
services | IServiceProvider | |
Результат | CodeGenerationType |
public GetTypeForOption ( Microsoft optionSetMetadata, Microsoft optionMetadata, IServiceProvider services ) : CodeGenerationType | ||
optionSetMetadata | Microsoft | |
optionMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
protected GetTypeForOptionInternal ( Microsoft optionSetMetadata, Microsoft optionMetadata, IServiceProvider services ) : CodeGenerationType | ||
optionSetMetadata | Microsoft | |
optionMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
public GetTypeForOptionSet ( Microsoft entityMetadata, Microsoft optionSetMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
optionSetMetadata | Microsoft | |
services | IServiceProvider | |
Результат | CodeGenerationType |
protected GetTypeForOptionSetInternal ( Microsoft entityMetadata, Microsoft optionSetMetadata, IServiceProvider services ) : CodeGenerationType | ||
entityMetadata | Microsoft | |
optionSetMetadata | Microsoft | |
services | IServiceProvider | |
Результат | 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 | |
Результат | 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 | |
Результат | 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 | |
Результат | 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 | |
Результат | CodeGenerationType |
protected UndoCheckoutIfUnchanged ( string fileName ) : bool | ||
fileName | string | |
Результат | bool |
public Write ( IOrganizationMetadata organizationMetadata, string language, string outputFile, string targetNamespace, IServiceProvider services ) : void | ||
organizationMetadata | IOrganizationMetadata | |
language | string | |
outputFile | string | |
targetNamespace | string | |
services | IServiceProvider | |
Результат | void |
protected WriteInternal ( IOrganizationMetadata organizationMetadata, string language, string outputFile, string targetNamespace, IServiceProvider services ) : void | ||
organizationMetadata | IOrganizationMetadata | |
language | string | |
outputFile | string | |
targetNamespace | string | |
services | IServiceProvider | |
Результат | void |