public NicoComment(TimeSpan begin, TimeSpan duration, string userId, NicoCommand[] cmds) { if (begin == null || duration == null || cmds == null) throw new ArgumentNullException("引数にnullを指定することはできません。"); Commands = cmds; BeginTime = begin; Duration = duration; IsAnonymity = true; UserId = userId; }
static NicoCommands() { Flow = new NicoCommand(CommandType.Layout); Top = new NicoCommand(CommandType.Layout); Bottom = new NicoCommand(CommandType.Layout); Standard = new NicoCommand(CommandType.Size); Big = new NicoCommand(CommandType.Size); Small = new NicoCommand(CommandType.Size); White = new NicoCommand(CommandType.Color); Red = new NicoCommand(CommandType.Color); Pink = new NicoCommand(CommandType.Color); Orange = new NicoCommand(CommandType.Color); Yellow = new NicoCommand(CommandType.Color); Green = new NicoCommand(CommandType.Color); Cyan = new NicoCommand(CommandType.Color); Blue = new NicoCommand(CommandType.Color); Purple = new NicoCommand(CommandType.Color); Black = new NicoCommand(CommandType.Color); }
public NicoTextComment(string text, TimeSpan begin, TimeSpan duration, bool isAnonymity, string userId, NicoCommand[] cmds) : base(begin, duration, userId, cmds) { Text = text; }
public NicoButtonComment(string text, TimeSpan begin, TimeSpan duration, bool isAnonymity, string userId, NicoCommand[] cmds) : base(text, begin, duration, isAnonymity, userId, cmds) { }