Difference between revisions of ".NET Namespace Generation"
(Initial) |
|||
Line 1: | Line 1: | ||
[[Category:Eiffel for .NET]] | [[Category:Eiffel for .NET]] | ||
+ | ==Reference example== | ||
+ | Assume the following directory structure: | ||
+ | cluster root | ||
+ | class A | ||
+ | directory d1 | ||
+ | class B | ||
+ | directory d2 | ||
+ | class C | ||
+ | |||
==List of Settings== | ==List of Settings== | ||
+ | *At the target level you can specify the following: | ||
+ | # .NET Namespace ('''NN'''): Namespace in which all classes will be put in. | ||
+ | # Use Cluster Name as Namespace ('''UCNN'''): If specified, cluster name will be part of the namespace. | ||
+ | # Use Recursive Cluster Name as Namespace ('''URCNN'''): If specified, then the path to the class will be part of the namespace. | ||
+ | |||
+ | To make things clearer here is all the possible combinations and their results: | ||
+ | # '''NN''' set to N: N.A, N.B and N.C | ||
+ | # '''UCNN''' set to True: root.A, root.B and root.C | ||
+ | # '''URCNN''' set to True: A, d1.B and d2.C | ||
+ | ## '''UCNN''' and '''URCNN''' set to True: root.A, root.d1.B and root.d2.C | ||
+ | # '''NN''' set to N: | ||
+ | ## '''UCNN''' set to True: N.root.A, N.root.B and N.root.C | ||
+ | ## '''URCNN''' set to True: N.A, N.d1.B and N.d2.C | ||
+ | ### '''UCNN''' and '''URCNN''' set to True: N.root.A, N.root.d1.B and N.root.d2.C | ||
+ | |||
==Mixing With Libraries== | ==Mixing With Libraries== | ||
==Samples== | ==Samples== |
Revision as of 09:09, 19 March 2007
Reference example
Assume the following directory structure:
cluster root class A directory d1 class B directory d2 class C
List of Settings
- At the target level you can specify the following:
- .NET Namespace (NN): Namespace in which all classes will be put in.
- Use Cluster Name as Namespace (UCNN): If specified, cluster name will be part of the namespace.
- Use Recursive Cluster Name as Namespace (URCNN): If specified, then the path to the class will be part of the namespace.
To make things clearer here is all the possible combinations and their results:
- NN set to N: N.A, N.B and N.C
- UCNN set to True: root.A, root.B and root.C
- URCNN set to True: A, d1.B and d2.C
- UCNN and URCNN set to True: root.A, root.d1.B and root.d2.C
- NN set to N:
- UCNN set to True: N.root.A, N.root.B and N.root.C
- URCNN set to True: N.A, N.d1.B and N.d2.C
- UCNN and URCNN set to True: N.root.A, N.root.d1.B and N.root.d2.C