clear stylecop warning #48

This commit is contained in:
stubbfel
2013-06-19 10:32:55 +02:00
parent e27a8bb989
commit ce6358b9f7
2 changed files with 10 additions and 6 deletions

View File

@@ -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)

View File

@@ -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;