clear stylecop warning #48
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
using CampusAppWP8.Model.Utility;
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="XmlApi.cs" company="BTU/IIT">
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="Api.cs" company="BTU/IIT">
|
||||
// Company copyright tag.
|
||||
// </copyright>
|
||||
// <author>stubbfel</author>
|
||||
// <sience>13.06.2013</sience>
|
||||
// <sience>19.06.2013</sience>
|
||||
//----------------------------------------------------------------------
|
||||
namespace CampusAppWP8.Utility
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using CampusAppWP8.Model.Utility;
|
||||
|
||||
/// <summary>
|
||||
/// This abstract Class is for API
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Type for model of the API</typeparam>
|
||||
public abstract class Api<T> : HttpRequest
|
||||
{
|
||||
#region Members
|
||||
@@ -31,7 +35,7 @@ namespace CampusAppWP8.Utility
|
||||
#region Constructor
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="XmlApi{T}" /> class.
|
||||
/// Initializes a new instance of the <see cref="Api{T}" /> class.
|
||||
/// </summary>
|
||||
/// <param name="apiBaseAddress">BaseUrl of the API</param>
|
||||
public Api(Uri apiBaseAddress)
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace CampusAppWP8.Utility
|
||||
/// <param name="xmlString">content of the API</param>
|
||||
protected override void Deserialization(string xmlString)
|
||||
{
|
||||
T model = XmlManager.DeserializationToModel<T>(xmlString, ValidRootName);
|
||||
T model = XmlManager.DeserializationToModel<T>(xmlString, this.ValidRootName);
|
||||
if (model != null)
|
||||
{
|
||||
this.Model = model;
|
||||
|
||||
Reference in New Issue
Block a user