Created
December 4, 2015 07:41
-
-
Save mikeedwards83/292874e49858aba4216f to your computer and use it in GitHub Desktop.
Model1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Glass1 | |
{ | |
public virtual string Title { get; set; } | |
} | |
[TemplateMapping("{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}", "InterfaceMap")] | |
public partial interface IFortis1 : IItemWrapper | |
{ | |
ITextFieldWrapper Title { get; } | |
} | |
[TemplateMapping("{76036F5E-CBCE-46D1-AF0A-4143F9B557AA}")] | |
public partial class Fortis1 : ItemWrapper, IFortis1 | |
{ | |
private readonly Item _item; | |
public Fortis1(Item item, ISpawnProvider spawnProvider) | |
: base(item, spawnProvider) | |
{ | |
_item = item; | |
} | |
public ITextFieldWrapper Title | |
{ | |
get { return GetField<TextFieldWrapper>("Title"); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment