private EntryPointElement LoadEntryPoint(EntryPoint_v1 sEntry) { return(new EntryPointElement { Address = sEntry.Address, Follow = sEntry.Follow, Name = sEntry.Name, }); }
private EntryPointDefinition LoadEntryPoint(EntryPoint_v1 sEntry) { if (sEntry == null) { return(new EntryPointDefinition { Address = null, Follow = false, Name = null, }); } return(new EntryPointDefinition { Address = sEntry.Address, Follow = sEntry.Follow, Name = sEntry.Name, }); }