메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. | |
리턴 | void |
public UnwrapCodeDomTree ( ) : |
||
리턴 |