static HypermediaProcessorBase() { MulticastObject .ImplementationOf <IApiDocumentation>() .ForFunction(_ => _.GetEntryPoint()) .ImplementedBy(_ => ApiDocumentation.GetEntryPoint(_)); MulticastObject .ImplementationOf <IApiDocumentation>() .ForFunction(_ => _.GetEntryPoint(CancellationToken.None)) .ImplementedBy(_ => ApiDocumentation.GetEntryPoint(_, CancellationToken.None)); MulticastObject .ImplementationOf <ICollection>() .ForFunction(_ => _.GetIterator()) .ImplementedBy(_ => Collection.GetIterator(_)); MulticastObject .ImplementationOf <ITemplatedLink>() .ForFunction(_ => _.ExpandTarget((IDictionary <string, string>)null)) .ImplementedBy(_ => TemplatedLink.ExpandTarget(_, (IDictionary <string, string>)null)); MulticastObject .ImplementationOf <ITemplatedLink>() .ForFunction(_ => _.ExpandTarget((Action <MappingsBuilder>)null)) .ImplementedBy(_ => TemplatedLink.ExpandTarget(_, (Action <MappingsBuilder>)null)); MulticastObject .ImplementationOf <ITemplatedOperation>() .ForFunction(_ => _.ExpandTarget((IDictionary <string, string>)null)) .ImplementedBy(_ => TemplatedOperation.ExpandTarget(_, (IDictionary <string, string>)null)); MulticastObject .ImplementationOf <ITemplatedOperation>() .ForFunction(_ => _.ExpandTarget((Action <MappingsBuilder>)null)) .ImplementedBy(_ => TemplatedOperation.ExpandTarget(_, (Action <MappingsBuilder>)null)); MulticastObject .ImplementationOf <IResource>() .ForProperty(_ => _.DisplayName) .ImplementedBy(_ => ResourceExtensions.GetDisplayName(_)); MulticastObject .ImplementationOf <IResource>() .ForProperty(_ => _.TextDescription) .ImplementedBy(_ => ResourceExtensions.GetTextDescription(_)); }