Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IContentBlock.cs
1using System;
3using System.Threading.Tasks;
4
6{
10 public interface IContentBlock
11 {
15 Type[] Encodes { get; }
16
20 bool IsStructuredContent { get; }
21
28 Task<Dictionary<string, object>> Encode(object Content);
29 }
30}
bool IsStructuredContent
If the content block is encoded as structured content.
Type[] Encodes
What types the content block encodes.
Task< Dictionary< string, object > > Encode(object Content)
Encodes a content block, given the content to encode and available annotations and meta-data.