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