public static Setting FromEntry(IConfigEntry entry) { return(new Setting { Key = entry.ConfigKeyName, Value = entry.ConfigValue, Type = entry.ConfigValueType.ToSettingType() }); }
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) { }