/// <summary> /// Appends string representation of Sequences to a given StringBuilder. /// </summary> public string ToString(IItemsManager itemsManager) { var sb = new StringBuilder(); ToString(sb, itemsManager); return(sb.ToString()); }
public Store(ICollectionsManager collectionsManager, IItemsManager itemsManager, IItemsCrudService itemsCrudService, ICollectionsCrudService collectionsCrudService, ISessionHelper sessionHelper, IMapper mapper) { this.collectionsManager = collectionsManager; this.itemsManager = itemsManager; this.itemsCrudService = itemsCrudService; this.collectionsCrudService = collectionsCrudService; this.sessionHelper = sessionHelper; this.mapper = mapper; }
public Profile(IMapper mapper, ISessionHelper sessionHelper, IUserCrudService userCrudService, ICollectionsManager collectionsManager, ICollectionsCrudService collectionsCrudService, IItemsManager itemsManager, IItemsCrudService itemsCrudService) { this.mapper = mapper; this.userCrudService = userCrudService; this.collectionsManager = collectionsManager; this.collectionsCrudService = collectionsCrudService; this.itemsManager = itemsManager; this.itemsCrudService = itemsCrudService; this.sessionHelper = sessionHelper; }
public Api(IMapper mapper, ITagsCrudService tagsCrudService, IResourcesManager resourcesManager, ICollectionsCrudService collectionsCrudService, IOptionalFieldsManager optionalFieldsManager, IItemsManager itemsManager, ICollectionsManager collectionsManager, IItemsCrudService itemsCrudService, ILikesManager likesManager, ICommentsManager commentsManager) { this.mapper = mapper; this.resourcesManager = resourcesManager; this.collectionsCrudService = collectionsCrudService; this.optionalFieldsManager = optionalFieldsManager; this.itemsManager = itemsManager; this.collectionsManager = collectionsManager; this.tagsCrudService = tagsCrudService; this.itemsCrudService = itemsCrudService; this.likesManager = likesManager; this.commentsManager = commentsManager; }
/// <summary> /// Appends string representation of Sequences to a given StringBuilder. /// </summary> public void ToString(StringBuilder builder, IItemsManager itemManager) { builder.AppendFormat("{0:D5} - <", Support); for (int i = 0, j = Size; i < j; i++) { uint[] itemset = _items[i]; if (i > 0) { builder.Append(" "); } if (itemset.Length > 1) { builder.Append("("); } for (int k = 0; k < itemset.Length; k++) { if (k > 0) { builder.Append(" "); } if (itemManager != null) { builder.AppendFormat("'{0}'", itemManager.GetTextForItem(itemset[k])); } else { builder.Append(itemset[k]); } } if (itemset.Length > 1) { builder.Append(")"); } } builder.Append(">"); }
public SpamAlgorithm(VerticalSequenceDatabase sequenceDatabase, ILogger logger, IItemsManager itemsManager, IStop stopper) : base(logger, itemsManager, stopper) { _sequenceDatabase = sequenceDatabase; }
public PrefixSpanAlgorithm(SequenceDatabase database, ILogger logger, IItemsManager itemsManager, IStop stopper) :base(logger, itemsManager, stopper) { _sequenceDatabase = database; }
public BideAlgorithm(SequenceDatabase database, ILogger logger, IItemsManager itemsManager, IStop stopper) : base(logger, itemsManager, stopper) { _sequenceDatabase = database; }
protected SequenceMiningAlgorithm(ILogger logger, IItemsManager itemsManager, IStop stopper) { _logger = logger; _itemsManager = itemsManager; _stopper = stopper; }
public ItemsController(IItemsManager itemsManager, ILogger <ItemsController> logger) { this.itemsManager = itemsManager; this._logger = logger; }
public LapinSpamAlgorithm(VerticalSequenceDatabase verticalSequenceDatabase, ILogger logger, IItemsManager itemsManager, IStop stopper) : base(logger, itemsManager, stopper) { _sequenceSequenceDatabase = verticalSequenceDatabase; }
public string ToString(IItemsManager itemsManager) { return(string.Format("{0} => {1}", LeftSide.ToString(itemsManager), RightSide.ToString(itemsManager))); }
public string ToString(IItemsManager itemsManager) { return string.Format("{0} => {1}", LeftSide.ToString(itemsManager), RightSide.ToString(itemsManager)); }
public ItemsController(IItemsManager itemsManager) { _itemsManager = itemsManager; }