public NodeFactory SetInvokable(Permission invokable) { SetConfig(ConfigType.Invokable, new Value(invokable.Permit)); return(this); }
/// <summary> /// Sets the invokable permission. /// </summary> /// <param name="invokable">Invokable permission</param> /// <returns>NodeFactory</returns> public NodeFactory SetInvokable(Permission invokable) { _node.Invokable = invokable; return(this); }
public NodeFactory SetWritable(Permission writable) { SetConfig(ConfigType.Writable, new Value(writable.Permit)); return(this); }
/// <summary> /// Sets the writable permission. /// </summary> /// <param name="writable">Writable permission</param> /// <returns>NodeFactory</returns> public NodeFactory SetWritable(Permission writable) { _node.Writable = writable; return(this); }