ModelFactoryGenerateBlobFolder(BlobHierarchyItem, Guid) Method

Generates a folder BlobDto based on a BlobHierarchyItem.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static BlobDto GenerateBlobFolder(
	BlobHierarchyItem blob,
	Guid parentId
)

Parameters

blob  BlobHierarchyItem
Hierarchy item we're deriving from
parentId  Guid
Parent of the new folder

Return Value

BlobDto
Generated BlobDto

Exceptions

ArgumentNullExceptionThrown if blob is
ArgumentExceptionThrown if parentId is Empty

See Also