internal JmfBuilderBase(XElement element) { ParameterCheck.ParameterRequired(element, "element"); element.ThrowExceptionIfNotInMessage(); Element = element; ParentJmfNode = new JmfNodeBuilder(element.Document as Message); }
internal CommandBuilder(JmfNodeBuilder parent, string commandType, string idPrefix = "C") : base(parent) { ParameterCheck.StringRequiredAndNotWhitespace(commandType, "commandType"); ParameterCheck.StringRequiredAndNotWhitespace(idPrefix, "idPrefix"); this.commandType = commandType; Element = new XElement(LinqToJdf.Element.Command); Element.SetUniqueId(idPrefix); Element.SetMessageType(commandType); Element.SetXsiType(Command.XsiType(commandType)); parent.Element.Add(Element); }
internal QueryBuilder(JmfNodeBuilder parent, string queryType, string idPrefix = "Q") : base(parent) { ParameterCheck.StringRequiredAndNotWhitespace(queryType, "queryType"); ParameterCheck.StringRequiredAndNotWhitespace(idPrefix, "idPrefix"); this.queryType = queryType; Element = new XElement(LinqToJdf.Element.Query); Element.SetUniqueId(idPrefix); Element.SetMessageType(queryType); Element.SetXsiType(Query.XsiType(queryType)); parent.Element.Add(Element); }
internal RepeatMessagesQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.RepeatMessages, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal ResumeQueueEntryCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.ResumeQueueEntry, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal NodeInfoQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.NodeInfo, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal ResourceQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.Resource, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal SetQueueEntryPriorityCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.SetQueueEntryPriority, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal TrackQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.Track, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal JmfBuilderBase(JmfNodeBuilder parentJmfBuilder) { ParentJmfNode = parentJmfBuilder; }
internal OccupationQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.Occupation, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal StopPersistentChannelCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.StopPersistentChannel, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal EventsQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.Events, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal GenericJmfBuilder(JmfNodeBuilder parentJmfBuilder) : base(parentJmfBuilder) { }
internal ResourceCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.Resource, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal ShutDownCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.ShutDown, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal NewJDFCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.NewJDF, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal QueueEntryStatusQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.QueueEntryStatus, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal WakeUpCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.WakeUp, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal KnownDevicesQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.KnownDevices, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal ForceGangQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.ForceGang, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal CommandTypeBuilder(JmfNodeBuilder jmfBuilder) : base(jmfBuilder) { }
internal FlushQueueQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.FlushQueue, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal RequestForAuthenticationCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.RequestForAuthentication, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal RequestForAuthenticationQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.RequestForAuthentication, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal ModifyNodeCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.ModifyNode, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal PipePushCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.PipePush, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal NewJDFQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.NewJDF, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal JmfNodeAttributeBuilder(JmfNodeBuilder jmfBuilder) { ParameterCheck.ParameterRequired(jmfBuilder, "JmfBuilder"); this.jmfBuilder = jmfBuilder; }
internal MessageTypeBuilder(JmfNodeBuilder jmfBuilder) { ParameterCheck.ParameterRequired(jmfBuilder, "JmfBuilder"); ParentJmf = jmfBuilder; }
internal ForceGangCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.ForceGang, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal FlushQueueCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.FlushQueue, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal SuspendQueueEntryCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.SuspendQueueEntry, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal CloseQueueCommandBuilder(JmfNodeBuilder parent) : base(parent, Command.CloseQueue, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }
internal SubmissionMethodsQueryBuilder(JmfNodeBuilder parent) : base(parent, Query.SubmissionMethods, IdPrefix) { ParameterCheck.ParameterRequired(parent, "parent"); }