/// <summary> /// Stores a unit bytes into the Workspace /// </summary> /// <param name="unitname">The name to store the unit as. If the name already exists, the current value will be overwritten.</param> /// <param name="unitType">Type of the unit, that is stored. It later allows accessing workspace unit type without deserilizing data each time.</param> /// <param name="unitBytes">The unit bytes to be stored.</param> public void StoreBytes(string unitname, Type unitType, byte[] unitBytes) { m_workspace.StoreBytes(unitname, unitType, unitBytes); }
/// <summary> /// Stores a unit bytes into the Workspace /// </summary> /// <param name="unitname">The name to store the unit as. If the name already exists, the current value will be overwritten.</param> /// <param name="unitType">Type of the unit, that is stored. It later allows accessing workspace unit type without deserilizing data each time.</param> /// <param name="unitBytes">The unit bytes to be stored.</param> public virtual void StoreBytes(string unitname, Type unitType, byte[] unitBytes) { m_parentWorkspace.StoreBytes(GetFullNamespacePath(unitname), unitType, unitBytes); }