Пример #1
0
 public void ReadDefaults(SerializedLibraryDefaults defaults)
 {
     if (defaults != null && defaults.Signature != null)
     {
         defaultConvention = defaults.Signature.Convention;
     }
     if (string.IsNullOrEmpty(defaultConvention))
     {
         defaultConvention = platform.DefaultCallingConvention;
     }
 }
Пример #2
0
 public void ReadDefaults(SerializedLibraryDefaults defaults)
 {
     if (defaults == null)
     {
         return;
     }
     if (defaults.Signature != null)
     {
         defaultConvention = defaults.Signature.Convention;
     }
 }