﻿using System;
namespace Housecode.Net.Abstractions {
    /// <summary>
    /// Helper.
    /// </summary>
    public interface IHelper {
        /// <summary>
        /// Gets the base path.
        /// </summary>
        /// <value>The base path.</value>
		string BasePath { get; }
        /// <summary>
        /// Log the specified message and isError.
        /// </summary>
        /// <returns>The log.</returns>
        /// <param name="message">Message.</param>
        /// <param name="isError">If set to <c>true</c> is error.</param>
		void Log(string message, bool isError = false);
        /// <summary>
        /// Share the specified title and url.
        /// </summary>
        /// <returns>The share.</returns>
        /// <param name="title">Title.</param>
        /// <param name="url">URL.</param>
		void Share(string title, string url);
    }
}
