예제 #1
0
 public CpExtendedDataType(UPnPExtendedDataType dataType)
 {
   _dataType = dataType;
 }
예제 #2
0
 public static void AddDataType(UPnPExtendedDataType type)
 {
   _dataTypes.Add(type.SchemaURI + ":" + type.DataTypeName, type);
 }
예제 #3
0
 /// <summary>
 /// <see cref="DataTypeResolverDlgt"/>
 /// </summary>
 public static bool ResolveDataType(string dataTypeName, out UPnPExtendedDataType dataType)
 {
   return _dataTypes.TryGetValue(dataTypeName, out dataType);
 }
예제 #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;
 }