/// <summary> /// The attribute constructor. /// </summary> /// <param name="ContentID">The content GUID string.</param> /// <param name="ContentDescription">The content description.</param> /// <param name="entityType">The entity type. This specifies whether the content is an /// entity in its own right, or just a fragment of a bigger entity. This is useful for caching /// purposes.</param> public XimuraContentIDAttribute(string ContentID, string ContentDescription, XimuraEntityType entityType) { mID = new Guid(ContentID); mDescription = ContentDescription; cType = entityType; }
/// <summary> /// The attribute constructor. /// </summary> /// <param name="ContentID">The content GUID string.</param> /// <param name="entityType">The entity type. This specifies whether the content is an /// entity in its own right, or just a fragment of a bigger entity. This is useful for caching /// purposes.</param> public XimuraContentIDAttribute(string ContentID, XimuraEntityType entityType) : this(ContentID, "", entityType) { }