◆ GetClassMemberNodeFromXMLinDLL()

static string GetClassMemberNodeFromXMLinDLL ( System.Reflection.Assembly  containingAssm,
string  nameSpace,
string  XmlFileNameinDLL,
string  classNameMemberName,
string  nodeName,
bool  removeWhitespace = true,
bool  removeCRLF = true 
)
static
Parameters
containingAssmThe assembly which contains the xml file as an embedded resource.
nameSpaceNamesSpace in which the embedded xml file has been assigned.
XmlFileNameinDLLfile name, of the embedded xml file. If the path cannot be found an IO exception will be thrown.
classNameMemberNameshould be in the form of ClassName.MemberName. Function parameters are ignored, so if multiple overloaded variants of the same function-name exist, only the summary section of the first function that happens to be found with a matching name, will be returned.
nodeNamespecifies which node inside the member the data should be extracted from, in the form of the nodes name
removeWhitespacedefault is false. when true will remove whitespace from the returned string
removeCRLFdefault is false. when true will remove CarrigeReturns and lineFeed characters from the returned string
Returns
summary for member found in the xml file. Returns an error message if unable to find the data.

References ExtractEmbededFiles.ExtractFileToByteArray(), ExtractEmbededFiles.FixPath(), and Zipper.Unzip().

Referenced by EmbededXMLTooltip.GetDocNodeForField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: