Click or drag to resize

RemotePubSubManagerRegisterSubscriptionTModel Method (String, String, PubSubEventType, ExpressionFuncTModel, Boolean, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)

Register subscription

Namespace:  SanteDB.DisconnectedClient.Services.Remote
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public PubSubSubscriptionDefinition RegisterSubscription<TModel>(
	string name,
	string description,
	PubSubEventType events,
	Expression<Func<TModel, bool>> filter,
	Guid channelId,
	string supportAddress = null,
	DateTimeOffset? notBefore = null,
	DateTimeOffset? notAfter = null
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

description
Type: SystemString

[Missing <param name="description"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

events
Type: SanteDB.Core.PubSubPubSubEventType

[Missing <param name="events"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

filter
Type: System.Linq.ExpressionsExpressionFuncTModel, Boolean

[Missing <param name="filter"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

channelId
Type: SystemGuid

[Missing <param name="channelId"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

supportAddress (Optional)
Type: SystemString

[Missing <param name="supportAddress"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

notBefore (Optional)
Type: SystemNullableDateTimeOffset

[Missing <param name="notBefore"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

notAfter (Optional)
Type: SystemNullableDateTimeOffset

[Missing <param name="notAfter"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

Return Value

Type: PubSubSubscriptionDefinition

[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.Services.Remote.RemotePubSubManager.RegisterSubscription``1(System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

Implements

IPubSubManagerServiceRegisterSubscriptionTModel(String, String, PubSubEventType, ExpressionFuncTModel, Boolean, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)
See Also