diff --git a/CapCom.ChatPlatform.Domain/Interfaces/IChatProvider.cs b/CapCom.ChatPlatform.Domain/Interfaces/IChatProvider.cs index 995082a..61d29ab 100644 --- a/CapCom.ChatPlatform.Domain/Interfaces/IChatProvider.cs +++ b/CapCom.ChatPlatform.Domain/Interfaces/IChatProvider.cs @@ -1,55 +1,51 @@ using System; -namespace CapCom.ChatFramwork.Domain +interface IChatProvider { + /// + /// The name of the chat provider. This would be displayed in administration panels. + /// + /// FlowDock-Provider + /// String + string Name {get; set;} + + /// + /// Description of the chat provider. This would be displayed in administration panels. + /// + /// Provides both monitoring and posting of Flowdock flows + /// String + string Description {get; set;} + + /// + /// The name of the icon you would like to show in the administration panel. Note this must be placed in the "images" + /// directory of your extension. + /// + /// String + string IconName { get; set; } + + /// + /// /// The URI to your chat platform. + /// + /// + Uri ChatPlatformUri { get; set; } + + /// + /// A boolean to tell CapCom if the client is trying to use your chat provider with an unsupported version of the chat platform + /// + /// Bool + bool IsSupportedChatPlatformVersion(); + + /// + /// This is called whenever your chat platform provider is first invoked. Return a bool indicating whether or not you are + /// successful. + /// + /// Bool based on initialization success + bool InitalizeChatPlatform(); + + /// + /// Used to post messages to the chat provider. It returns a bool to let the system know if it was successful + /// + /// + /// bool + bool PostNewMessage(IChatPost chatPost); - interface IChatProvider - { - /// - /// The name of the chat provider. This would be displayed in administration panels. - /// - /// FlowDock-Provider - /// String - string Name { get; set; } - - /// - /// Description of the chat provider. This would be displayed in administration panels. - /// - /// Provides both monitoring and posting of Flowdock flows - /// String - string Description { get; set; } - - /// - /// The name of the icon you would like to show in the administration panel. Note this must be placed in the "images" - /// directory of your extension. - /// - /// String - string IconName { get; set; } - - /// - /// /// The URI to your chat platform. - /// - /// - Uri ChatPlatformUri { get; set; } - - /// - /// A boolean to tell CapCom if the client is trying to use your chat provider with an unsupported version of the chat platform - /// - /// Bool - bool IsSupportedChatPlatformVersion(); - - /// - /// This is called whenever your chat platform provider is first invoked. Return a bool indicating whether or not you are - /// successful. - /// - /// Bool based on initialization success - bool InitalizeChatPlatform(); - - /// - /// Used to post messages to the chat provider. It returns a bool to let the system know if it was successful - /// - /// - /// bool - bool PostNewMessage(IChatPost chatPost); - - } } \ No newline at end of file