Ask Your Question
1

Possible to inherit a resource type when writing a custom type?

asked 2015-11-16 15:13:09 -0500

dbschofield gravatar image

I am writing a set of custom types. Each custom type has params and properties in common. Is it possible to inherit a base custom type which has all the common params and properties defined already? The goal would be to avoid code duplication in each custom type definition.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-18 03:56:29 -0500

I dont think that types can inherit in the same way that classes can. have a look at parent parameters for type

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-11-16 15:13:09 -0500

Seen: 122 times

Last updated: Nov 18 '15