Class ChangeNotificationFactory
A Factory class to help with building ChangeNotification objects.
Inheritance
System.Object
ChangeNotificationFactory
Namespace: Ellucian.Ethos.Integration.Client.Messages
Assembly: Ellucian.Ethos.Integration.dll
Syntax
public class ChangeNotificationFactory : object
Methods
CreateCNFromJson(String)
Create a ChangeNotification object using a JSON string. This will attempt to parse the given string into a ChangeNotification object.
Declaration
public static ChangeNotification CreateCNFromJson(string json)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | json | The JSON string representing a change-notification. |
Returns
| Type | Description |
|---|---|
| ChangeNotification | A ChangeNotification object created from the given JSON string. |
CreateCNListFromJson(String)
Create a ChangeNotification array using a JSON string. This will attempt to parse the given string into a ChangeNotification array.
Declaration
public static IEnumerable<ChangeNotification> CreateCNListFromJson(string json)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | json | The JSON string representing a change-notification. |
Returns
| Type | Description |
|---|---|
| IEnumerable<ChangeNotification> | A ChangeNotification array created from the given JSON string. |