Méthode | Description | |
---|---|---|
SubstituteType ( string oldType, |
Substitutes one type by another.
|
|
UnwrapCodeDomTree ( ) : |
Gets the modified CodeDom CodeNamespace instance without additional wrappers. This instance can be used with standard code generation APIs to emit the final code.
|
Méthode | Description | |
---|---|---|
ExtendTypeMembers ( |
This methods adds CodeTypeMemberExtension to all CodeTypeMembers in a given type.
|
|
ExtendedCodeDomTree ( |
Creates a new instance of GeneratedCode class. This class can only be initialized by CodeFactory. Therefore this constructor is marked as internal. |
|
ParseAndFilterCodeNamespace ( ) : void |
This method contains the core implementation for generating the GeneratedCode instance. This method decorates every type found in codeNamespace with a CodeTypeMemberExtension. And then it sends each type through series of ITypeFilters to figure out whether the type is a service contract, service type, client type, message contract or data contract. |
public SubstituteType ( string oldType, |
||
oldType | string | Name of the type to substitute. |
newType | CodeTypeDeclaration of the new type. | |
Résultat | void |
public UnwrapCodeDomTree ( ) : |
||
Résultat |