Skip to content

Commit

Permalink
NETC-9
Browse files Browse the repository at this point in the history
Updated CAS 2.0 schema classes for documentation repair.
  • Loading branch information
scottt732 committed Nov 16, 2010
1 parent ee3e74d commit e56831c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
6 changes: 5 additions & 1 deletion DotNetCasProxyDemoApp/Cas20/AuthenticationFailure.cs
Expand Up @@ -17,6 +17,8 @@
* under the License.
*/

#pragma warning disable 1591

using System;
using System.ComponentModel;
using System.Diagnostics;
Expand Down Expand Up @@ -83,4 +85,6 @@ public bool IsInternalError
}
}
}
}
}

#pragma warning restore 1591
4 changes: 3 additions & 1 deletion DotNetCasProxyDemoApp/Cas20/AuthenticationSuccess.cs
Expand Up @@ -17,6 +17,8 @@
* under the License.
*/

#pragma warning disable 1591

using System;
using System.ComponentModel;
using System.Diagnostics;
Expand Down Expand Up @@ -56,4 +58,4 @@ public string[] Proxies
}
}


#pragma warning restore 1591
6 changes: 5 additions & 1 deletion DotNetCasProxyDemoApp/Cas20/ProxyFailure.cs
Expand Up @@ -17,6 +17,8 @@
* under the License.
*/

#pragma warning disable 1591

using System;
using System.ComponentModel;
using System.Diagnostics;
Expand All @@ -43,4 +45,6 @@ public class ProxyFailure {
set;
}
}
}
}

#pragma warning restore 1591
6 changes: 5 additions & 1 deletion DotNetCasProxyDemoApp/Cas20/ProxySuccess.cs
Expand Up @@ -17,6 +17,8 @@
* under the License.
*/

#pragma warning disable 1591

using System;
using System.ComponentModel;
using System.Diagnostics;
Expand All @@ -37,4 +39,6 @@ public class ProxySuccess {
set;
}
}
}
}

#pragma warning restore 1591
12 changes: 9 additions & 3 deletions DotNetCasProxyDemoApp/Cas20/ServiceResponse.cs
Expand Up @@ -17,6 +17,8 @@
* under the License.
*/

#pragma warning disable 1591

using System;
using System.ComponentModel;
using System.Diagnostics;
Expand All @@ -37,8 +39,10 @@ public class ServiceResponse
public static ServiceResponse ParseResponse(string responseXml)
{
XmlSerializer xs = new XmlSerializer(typeof(ServiceResponse));
StringReader sr = new StringReader(responseXml);
return (ServiceResponse)xs.Deserialize(sr);
using (StringReader sr = new StringReader(responseXml))
{
return (ServiceResponse) xs.Deserialize(sr);
}
}

[XmlElement("authenticationFailure", typeof(AuthenticationFailure))]
Expand Down Expand Up @@ -87,4 +91,6 @@ public bool IsProxySuccess
}
}
}
}
}

#pragma warning restore 1591

0 comments on commit e56831c

Please sign in to comment.