This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; |
| // from | |
| var customer = new Customer(); | |
| customer.Name = name; | |
| customer.Address = address; | |
| customer.Notes = notes; | |
| // to | |
| var customer = new Customer {Name = name, Address = address, Notes = notes}; |
| :: - Converts my.xml to my.cs file. This assumes that xsd.exe is in your Windows PATH environment variable. | |
| xsd.exe my.xml /o:. | |
| xsd my.xsd /c |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer