/// <summary> /// Creates a new feed from a source component, a destination component, and an /// option. /// </summary> /// <param name="source">The source box</param> /// <param name="destination">The destination box</param> /// <param name="option">The option to use. All or Last.</param> public KastFeed(KastComponent source, KastBox destination, KastFeedOption option) { Source = source; Destination = destination; Option = option; Name = ""; }
/// <summary> /// Makes a KastHook using an existing Box and a string target. /// </summary> /// <param name="box">Box.</param> /// <param name="target">Target.</param> /// <param name="option">The option to use</param> public KastHook(KastBox box, string target, KastHookOption option, KastConfiguration masterConfig) { Box = box; Target = target; Option = option; Name = ""; MasterConfig = masterConfig; Log = new Logger (masterConfig.Get("log")); }