/// <summary> /// The transform. /// </summary> /// <param name="literal"> /// The literal. /// </param> /// <returns> /// The <see cref="int"/>. /// </returns> public override int Transform(FaultTreeLiteralNode literal) { return(int.MinValue); }
public override int Transform(FaultTreeLiteralNode literal) { return(literal.ID); }
/// <summary> /// The transform. /// </summary> /// <param name="literal"> /// The literal. /// </param> /// <returns> /// The <see cref="FaultTreeNode"/>. /// </returns> public override FaultTreeNode Transform(FaultTreeLiteralNode literal) { return(this.CreateNode(new FaultTreeLiteralNode(literal))); }
/// <summary> /// The transform overwritten by <see cref="FaultTreeLiteralNode"/>. /// </summary> /// <param name="literal"> /// The literal. /// </param> /// <returns> /// The <see> /// <cref>T</cref> /// </see> /// . /// </returns> public abstract T Transform(FaultTreeLiteralNode literal);