Exemplo n.º 1
0
 public CpExtendedDataType(UPnPExtendedDataType dataType)
 {
   _dataType = dataType;
 }
Exemplo n.º 2
0
 public static void AddDataType(UPnPExtendedDataType type)
 {
   _dataTypes.Add(type.SchemaURI + ":" + type.DataTypeName, type);
 }
Exemplo n.º 3
0
 /// <summary>
 /// <see cref="DataTypeResolverDlgt"/>
 /// </summary>
 public static bool ResolveDataType(string dataTypeName, out UPnPExtendedDataType dataType)
 {
   return _dataTypes.TryGetValue(dataTypeName, out dataType);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Resolve a DRI-specific data type.
 /// </summary>
 /// <param name="dataTypeName">The fully qualified name of the data type.</param>
 /// <param name="dataType">The data type.</param>
 /// <returns><c>true</c> if the data type has been resolved, otherwise <c>false</c></returns>
 public static bool ResolveDataType(string dataTypeName, out UPnPExtendedDataType dataType)
 {
   // All the DRI variable types are standard, so we don't expect to be asked to resolve any data types.
   Log.Log.Error("DRI: resolve data type not supported, type name = {0}", dataTypeName);
   dataType = null;
   return true;
 }