public static ComponentTypeInfo Make(ExperimentalType tip, bool optional) { return new ComponentTypeInfo(tip, optional); }
public static ComponentTypeInfo Make(ExperimentalType tip, bool optional, ExperimentalObject defaultValue) { return new ComponentTypeInfo(tip, optional, defaultValue); }
public static ComponentTypeInfo Make(ExperimentalType tip) { return new ComponentTypeInfo(tip); }
public ComponentTypeInfo(ExperimentalType tip, ExperimentalObject defaultValue) { this.Type = tip; this.isOptional = false; this.DefaultValue = defaultValue; }
public ComponentTypeInfo(ExperimentalType tip, bool optional) { this.Type = tip; this.isOptional = optional; }
/// <summary> /// Basic constructor, type w/out qualifiers. /// </summary> /// <param name="tip">type of the component</param> public ComponentTypeInfo(ExperimentalType tip) { this.Type = tip; this.isOptional = false; }
/// <summary> /// This is advanced interface - this is what I would like... /// </summary> /// <param name="asnseq"></param> /// <param name="num"></param> /// <param name="tip"></param> public static void Make(SEQUENCE asnseq, int num, ExperimentalType tip) { asnseq.TypeInfos[num] = ComponentTypeInfo.Make(tip); }