Пример #1
0
 /// <summary>
 /// Encodes an assembly definition.
 /// </summary>
 /// <param name="assembly">
 /// The assembly definition to encode.
 /// </param>
 /// <returns>
 /// An LNode that represents the assembly definition.
 /// </returns>
 public LNode EncodeDefinition(IAssembly assembly)
 {
     return(IrAssembly.Encode(assembly, this));
 }
Пример #2
0
 /// <summary>
 /// Decodes an assembly.
 /// </summary>
 /// <param name="node">The assembly to decode.</param>
 /// <returns>A decoded assembly.</returns>
 public IAssembly DecodeAssembly(LNode node)
 {
     return(IrAssembly.Decode(node, this));
 }