예제 #1
0
 /// <summary>
 /// Inserts a new OBJECT IDENTIFIER leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="values">The value of the leaf to create and insert.</param>
 public static void InsertOid(this EmberNode node, BerTag tag, int[] values)
 {
     node.Insert(new ObjectIdentifierEmberLeaf(tag, values));
 }
예제 #2
0
 /// <summary>
 /// Inserts a new RELATIVE OBJECT leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="value">The value of the leaf to create and insert.</param>
 public static void InsertRelativeOid(this EmberNode node, BerTag tag, int[] value)
 {
     node.Insert(new RelativeOidEmberLeaf(tag, value));
 }
예제 #3
0
 /// <summary>
 /// Inserts a new OCTET STRING leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="value">The value of the leaf to create and insert.</param>
 public static void Insert(this EmberNode node, BerTag tag, byte[] value)
 {
     node.Insert(new OctetStringEmberLeaf(tag, value));
 }
예제 #4
0
 /// <summary>
 /// Inserts a new UTF8String leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="value">The value of the leaf to create and insert.</param>
 public static void Insert(this EmberNode node, BerTag tag, string value)
 {
     node.Insert(new StringEmberLeaf(tag, value));
 }
예제 #5
0
 /// <summary>
 /// Inserts a new REAL leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="value">The value of the leaf to create and insert.</param>
 public static void Insert(this EmberNode node, BerTag tag, double value)
 {
     node.Insert(new RealEmberLeaf(tag, value));
 }
예제 #6
0
 /// <summary>
 /// Inserts a new INTEGER (32bit) leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="value">The value of the leaf to create and insert.</param>
 public static void Insert(this EmberNode node, BerTag tag, int value)
 {
     node.Insert(new IntegerEmberLeaf(tag, value));
 }
예제 #7
0
 /// <summary>
 /// Inserts a new boolean leaf into this node's collection of children.
 /// </summary>
 /// <param name="tag">The tag of the leaf to create and insert.</param>
 /// <param name="value">The value of the leaf to create and insert.</param>
 public static void Insert(this EmberNode node, BerTag tag, bool value)
 {
     node.Insert(new BooleanEmberLeaf(tag, value));
 }