Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "namespace" directive #17

Open
vbfox opened this issue Jun 2, 2015 · 1 comment
Open

Add a "namespace" directive #17

vbfox opened this issue Jun 2, 2015 · 1 comment
Assignees

Comments

@vbfox
Copy link
Owner

vbfox commented Jun 2, 2015

The .stidgen file need a namespace specifier to avoid repeating it everytime.

@vbfox
Copy link
Owner Author

vbfox commented Jun 2, 2015

namespace My.Company.Ids

public UserId<string>
public CustomerId<string>

namespace My.Company.Ids.Other

public SomethingElse<string>
public My.Company.Thing.NsSpecified<string>

Would be the same as :

public My.Company.Ids.UserId<string>
public My.Company.Ids.CustomerId<string>
public My.Company.Ids.Other.SomethingElse<string>
public My.Company.Thing.NsSpecified<string>

When a NS is specified it is always used, otherwise the last namespace specification is used.

@vbfox vbfox self-assigned this Jun 2, 2015
@vbfox vbfox assigned vbfox and unassigned vbfox Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant