예제 #1
0
 protected TProxy GetFieldProxy <TProxy>(StructField <TProxy> field, bool polymorphic = true)
     where TProxy : IDataProxy
 {
     return(DataProxy.Create <TProxy>(Process, Address.OffsetBy(field.Offset), polymorphic));
 }
예제 #2
0
 protected TProxy GetFieldProxy <TProxy>(StructField <TProxy>?field, bool polymorphic = true)
     where TProxy : IDataProxy
 {
     return(field.HasValue ? GetFieldProxy(field.Value) : default(TProxy));
 }