예제 #1
0
 public IDictionary <string, bool> From(FeatureToggleSet item)
 {
     return((IDictionary <string, bool>) new Dictionary <string, bool>()
     {
         {
             "JustificationFeatureEnabled",
             item.JustificationFeatureEnabled
         }
     });
 }
예제 #2
0
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                FeatureToggleSet featureToggleSet = (FeatureToggleSet)instance;

                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && !featureToggleSet.\u003CJustificationFeatureEnabled\u003Ek__BackingField)
                {
                    return;
                }
                // ISSUE: reference to a compiler-generated field
                featureToggleSet.JustificationFeatureEnabled = featureToggleSet.\u003CJustificationFeatureEnabled\u003Ek__BackingField;
            }