예제 #1
0
 public NodeFactory SetInvokable(Permission invokable)
 {
     SetConfig(ConfigType.Invokable, new Value(invokable.Permit));
     return(this);
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 public NodeFactory SetWritable(Permission writable)
 {
     SetConfig(ConfigType.Writable, new Value(writable.Permit));
     return(this);
 }
예제 #4
0
 /// <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);
 }