Aardvark.Base.Coder.Converter.GetAnnotations(string, string)

Here are the examples of the csharp api class Aardvark.Base.Coder.Converter.GetAnnotations(string, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: aardvark.base
Source File: Converter.cs
View license
public Entry GetConversion(string sourceDescription, string targetDescription)
        {
            var key = Pair.Create(sourceDescription, targetDescription);
            if (m_annotationsMap.ContainsKey(key))
            {
                return new Entry
                {
                    SourceDescriptor = sourceDescription,
                    TargetDescriptor = targetDescription,
                    Action = m_actionMap[key],
                    Annotations = GetAnnotations(sourceDescription, targetDescription)
                };
            }
            throw new ArgumentException();
        }