104 lines
2.0 KiB
Groff
104 lines
2.0 KiB
Groff
.TH "CampusAppWP8.Utility.XmlManager" 3 "Thu Sep 12 2013" "CampusAppWp8" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
CampusAppWP8.Utility.XmlManager \-
|
|
.PP
|
|
Class provides some Xml-methods
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.SS "Static Public Member Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "static T \fBDeserializationToModel< T >\fP (string xmlString, string validRootName)"
|
|
.br
|
|
.RI "\fIMethod deserialization a string to a \fBModel\fP \fP"
|
|
.ti -1c
|
|
.RI "static T \fBDeserializationFileToModel< T >\fP (string xmlFilePath)"
|
|
.br
|
|
.RI "\fIDeserialization a xml file to a model\&.\fP"
|
|
.ti -1c
|
|
.RI "static string \fBSerializationToString< T >\fP (T model)"
|
|
.br
|
|
.RI "\fIMethod serializes a model to a string\&.\fP"
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
Class provides some Xml-methods
|
|
|
|
|
|
.SH "Member Function Documentation"
|
|
.PP
|
|
.SS "static T CampusAppWP8\&.Utility\&.XmlManager\&.DeserializationFileToModel< T > (stringxmlFilePath)\fC [static]\fP"
|
|
|
|
.PP
|
|
Deserialization a xml file to a model\&.Stubbfel, 20\&.08\&.2013\&.
|
|
.PP
|
|
\fBTemplate Parameters:\fP
|
|
.RS 4
|
|
\fIT\fP Generic type parameter\&.
|
|
.RE
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIxmlFilePath\fP Path to the a XmlFile\&.
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
model of the XmlFile\&.
|
|
.RE
|
|
.PP
|
|
|
|
.SS "static T CampusAppWP8\&.Utility\&.XmlManager\&.DeserializationToModel< T > (stringxmlString, stringvalidRootName)\fC [static]\fP"
|
|
|
|
.PP
|
|
Method deserialization a string to a \fBModel\fP
|
|
.PP
|
|
\fBTemplate Parameters:\fP
|
|
.RS 4
|
|
\fIT\fP the model
|
|
.RE
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fIxmlString\fP the XmlString
|
|
.br
|
|
\fIvalidRootName\fP name of the RootTag
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
return the deserialization of the model
|
|
.RE
|
|
.PP
|
|
|
|
.SS "static string CampusAppWP8\&.Utility\&.XmlManager\&.SerializationToString< T > (Tmodel)\fC [static]\fP"
|
|
|
|
.PP
|
|
Method serializes a model to a string\&.Stubbfel, 12\&.09\&.2013\&.
|
|
.PP
|
|
\fBTemplate Parameters:\fP
|
|
.RS 4
|
|
\fIT\fP type of the model\&.
|
|
.RE
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fImodel\fP model object\&.
|
|
.RE
|
|
.PP
|
|
\fBReturns:\fP
|
|
.RS 4
|
|
serialized string\&.
|
|
.RE
|
|
.PP
|
|
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for CampusAppWp8 from the source code\&.
|