public UpdateTypeFilter(FilterBehaviour behaviour, IMicroblog blog, UpdateType updateType) { IsIncluded = behaviour; Microblog = blog; UpdateType = updateType; MicroblogAccountName = blog.Credentials.AccountName; MicroblogName = blog.Protocol; UpdateTypeName = UpdateType.GetType().AssemblyQualifiedName; if (UpdateType.SaveType) UpdateTypeParameter = UpdateType.Type; }
public TextFilter(FilterBehaviour behaviour, string text) { IsIncluded = behaviour; Text = text; }
public ContactFilter(FilterBehaviour behaviour, IContact contact) { IsIncluded = behaviour; ContactName = contact.Name; AccountName = contact.Source.Protocol; }