Exemplo n.º 1
0
 public static Setting FromEntry(IConfigEntry entry)
 {
     return(new Setting {
         Key = entry.ConfigKeyName, Value = entry.ConfigValue, Type = entry.ConfigValueType.ToSettingType()
     });
 }
Exemplo n.º 2
0
 public ConfigChangedEventArgs( IObjectPluginAssociation a, IConfigEntry e, ChangeStatus status )
     : this( a.Obj, new ReadOnlyListMono<object>( a.Obj ), new ReadOnlyListMono<INamedVersionedUniqueId>( a.PluginId ), e.Key, e.Value, status )
 {
 }
 public ConfigChangedEventArgs(IObjectPluginAssociation a, IConfigEntry e, ChangeStatus status)
     : this(a.Obj, new ReadOnlyListMono <object>(a.Obj), new ReadOnlyListMono <INamedVersionedUniqueId>(a.PluginId), e.Key, e.Value, status)
 {
 }