Class ChannelRepository
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Inheritance
System.Object
ChannelRepository
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.XForms.Channels
Assembly: EPiServer.XForms.dll
Version: 9.12.2Syntax
public class ChannelRepository
Constructors
ChannelRepository()
Declaration
public ChannelRepository()
Properties
Instance
Declaration
public static ChannelRepository Instance { get; set; }
Property Value
Type | Description |
---|---|
ChannelRepository |
Methods
GetChannel(String)
Declaration
protected IChannel GetChannel(string channelId)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelId |
Returns
Type | Description |
---|---|
IChannel |
Receive(String)
Declaration
public IItem Receive(string channelId)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelId |
Returns
Type | Description |
---|---|
IItem |
RegisterChannel(IChannel)
Declaration
public void RegisterChannel(IChannel channel)
Parameters
Type | Name | Description |
---|---|---|
IChannel | channel |
Send(String, IItem)
Declaration
public object Send(string channelId, IItem item)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelId | |
IItem | item |
Returns
Type | Description |
---|---|
System.Object |
UnregisterChannel(String)
Declaration
public void UnregisterChannel(string channelId)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelId |