예제 #1
0
 private EntryPointElement LoadEntryPoint(EntryPoint_v1 sEntry)
 {
     return(new EntryPointElement
     {
         Address = sEntry.Address,
         Follow = sEntry.Follow,
         Name = sEntry.Name,
     });
 }
예제 #2
0
 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,
     });
 }