我想从c#中的xml文件创建一个xslt文件 [英] i want create a xslt file from the xml file in c#

查看:74
本文介绍了我想从c#中的xml文件创建一个xslt文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试使用xml文件创建xslt文件..而且xslt应用于xml文件以获取排序的xml文件...

有没有人有想法?

hello all,
I am trying to create xslt file using xml file..and further that xslt is applied to xml file in order to get sorted xml file...
do anyone have idea?

推荐答案

这是我的xml文件



This is my xml file

<?xml version="1.0" encoding="UTF-8"?>

<!-- Generated by InspectCode 8.0.0.0 -->
-<Report ToolsVersion="8.0"> -<Information> <Solution>..\..\..\..\..\Panin Latest Code\CorillianExtended.ChannelServices\CorillianPSChannelServices.sln</Solution> -<InspectionScope> <Element>Solution</Element> </InspectionScope> </Information> -<IssueTypes> <IssueType WikiUrl="http://confluence.jetbrains.net/display/ReSharper/Access+to+a+static+member+of+a+type+via+a+derived+type" Severity="WARNING" Description="Access to a static member of a type via a derived type" Category="Common Practices and Code Improvements" Id="AccessToStaticMemberViaDerivedType"/> <IssueType Severity="ERROR" Description="" Category="C# Compiler Errors" Id="CSharpErrors"/> <IssueType Severity="WARNING" Description="CS1573:Parameter has no matching param tag in the XML comment" Category="Compiler Warnings" Id="CSharpWarnings::CS1573"/> <IssueType Severity="WARNING" Description="CS1584:Syntax error in XML comment" Category="Compiler Warnings" Id="CSharpWarnings::CS1584"/> <IssueType WikiUrl="http://confluence.jetbrains.net/display/ReSharper/Namespace+does+not+correspond+to+file+location" Severity="WARNING" Description="Namespace does not correspond to file location" Category="Constraints Violations" Id="CheckNamespace"/> <IssueType Severity="SUGGESTION" Description="Class is never instantiated: Non-private accessibility" Category="Potential Code Quality Issues" Id="ClassNeverInstantiated.Global"/> <IssueType Severity="SUGGESTION" Description="Convert local variable or field to constant: Private accessibility" Category="Common Practices and Code Improvements" Id="ConvertToConstant.Local"/> <IssueType WikiUrl="http://confluence.jetbrains.net/display/ReSharper/Field+can+be+made+read-only" Severity="SUGGESTION" Description="Field can be made readonly: Private accessibility" Category="Common Practices and Code Improvements" Id="FieldCanBeMadeReadOnly.Local"/> <IssueType Severity="WARNING" Description="Inconsistent Naming" Category="Constraints Violations" Id="InconsistentNaming"/> <IssueType Severity="SUGGESTION" Description="Member can be made private: Non-private accessibility" Category="Common Practices and Code Improvements" Id="MemberCanBePrivate.Global"/> <IssueType Severity="WARNING" Description="Redundant empty argument list on object creation expression" Category="Redundancies in Code" Id="RedundantEmptyObjectCreationArgumentList"/> <IssueType Severity="WARNING" Description="Redundant name qualifier" Category="Redundancies in Code" Id="RedundantNameQualifier"/> <IssueType Severity="WARNING" Description="Redundant 'this.' qualifier" Category="Redundancies in Code" Id="RedundantThisQualifier"/> <IssueType Severity="WARNING" Description="Redundant 'object.ToString()' call" Category="Redundancies in Code" Id="RedundantToStringCall"/> <IssueType WikiUrl="http://confluence.jetbrains.net/display/ReSharper/Redundant+using+directive" Severity="WARNING" Description="Redundant using directive" Category="Redundancies in Code" Id="RedundantUsingDirective"/> <IssueType WikiUrl="http://confluence.jetbrains.net/display/ReSharper/Specify+a+culture+in+string+conversion+explicitly" Severity="WARNING" Description="Specify a culture in string conversion explicitly" Category="Common Practices and Code Improvements" Id="SpecifyACultureInStringConversionExplicitly"/> <IssueType Severity="HINT" Description="Specify string comparison explicitly" Category="Common Practices and Code Improvements" Id="SpecifyStringComparison"/> <IssueType Severity="HINT" Description="Use 'var' keyword when possible" Category="Language Usage Opportunities" Id="SuggestUseVarKeywordEverywhere"/> <IssueType WikiUrl="http://confluence.jetbrains.net/display/ReSharper/Use+'var'+keyword+when+initializer+explicitly+declares+type" Severity="SUGGESTION" Description="Use 'var' keyword when initializer explicitly declares type" Category="Language Usage Opportunities" Id="SuggestUseVarKeywordEvident"/> <IssueType Severity="SUGGESTION" Description="Type or type member is never used: Non-private accessibility" Category="Redundancies in Symbol Declarations" Id="UnusedMember.Global"/> <IssueType Severity="WARNING" Description="Type or type member is never used: Private accessibility" Category="Redundancies in Symbol Declarations" Id="UnusedMember.Local"/> <IssueType Severity="SUGGESTION" Description="Use object or collection initializer when possible" Category="Language Usage Opportunities" Id="UseObjectOrCollectionInitializer"/> </IssueTypes> -<Issues> -<Project Name="CorillianExtended.ChannelServices.Client"> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="15-37" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Cannot resolve symbol 'Autofac'" Offset="21-28" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="CSharpErrors" Line="2"/> <Issue Message="Class 'ClientModule' is never used" Offset="229-241" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="UnusedMember.Global" Line="8"/> <Issue Message="Cannot resolve symbol 'Module'" Offset="243-249" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="CSharpErrors" Line="8"/> <Issue Message="Cannot resolve symbol 'ContainerBuilder'" Offset="295-311" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="CSharpErrors" Line="10"/> <Issue Message="Cannot resolve symbol 'Register'" Offset="353-361" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="CSharpErrors" Line="12"/> <Issue Message="Cannot resolve symbol 'Register'" Offset="458-466" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="CSharpErrors" Line="13"/> <Issue Message="Cannot resolve symbol 'Load'" Offset="552-556" File="CorillianExtended.ChannelServices.Client\ClientModule.cs" TypeId="CSharpErrors" Line="14"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="26-64" File="CorillianExtended.ChannelServices.Client\Properties\AssemblyInfo.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBFault.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Name 'EnrollCustomerToIBFault' does not match rule 'Types and namespaces'. Suggested name is 'EnrollCustomerToIbFault'." Offset="160-183" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBFault.cs" TypeId="InconsistentNaming" Line="8"/> <Issue Message="Enum member 'UnExpectedError' is never used" Offset="222-237" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBFault.cs" TypeId="UnusedMember.Global" Line="11"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBRequest.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Name 'EnrollCustomerToIBRequest' does not match rule 'Types and namespaces'. Suggested name is 'EnrollCustomerToIbRequest'." Offset="153-178" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBRequest.cs" TypeId="InconsistentNaming" Line="7"/> <Issue Message="Name 'CIFKey' does not match rule 'Methods, properties and events'. Suggested name is 'CifKey'." Offset="238-244" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBRequest.cs" TypeId="InconsistentNaming" Line="10"/> <Issue Message="Name 'PIN' does not match rule 'Methods, properties and events'. Suggested name is 'Pin'." Offset="322-325" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBRequest.cs" TypeId="InconsistentNaming" Line="13"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="15-48" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Name 'EnrollCustomerToIBResponse' does not match rule 'Types and namespaces'. Suggested name is 'EnrollCustomerToIbResponse'." Offset="190-216" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="InconsistentNaming" Line="9"/> <Issue Message="Name 'Status_Code' does not match rule 'Methods, properties and events'. Suggested name is 'StatusCode'." Offset="276-287" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="InconsistentNaming" Line="12"/> <Issue Message="Name 'Status_Description' does not match rule 'Methods, properties and events'. Suggested name is 'StatusDescription'." Offset="356-374" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="InconsistentNaming" Line="15"/> <Issue Message="Name 'User_ID' does not match rule 'Methods, properties and events'. Suggested name is 'UserId'." Offset="451-458" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="InconsistentNaming" Line="18"/> <Issue Message="Name 'Response_Message' does not match rule 'Methods, properties and events'. Suggested name is 'ResponseMessage'." Offset="535-551" File="CorillianExtended.ChannelServices.Client\Registration\EnrollCustomerToIBResponse.cs" TypeId="InconsistentNaming" Line="21"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\Registration\IRegistrationService.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="43-82" File="CorillianExtended.ChannelServices.Client\Registration\IRegistrationService.cs" TypeId="RedundantUsingDirective" Line="3"/> <Issue Message="Cannot resolve symbol 'Fiserv'" Offset="49-55" File="CorillianExtended.ChannelServices.Client\Registration\IRegistrationService.cs" TypeId="CSharpErrors" Line="3"/> <Issue Message="Cannot resolve symbol 'SystemFault'" Offset="288-299" File="CorillianExtended.ChannelServices.Client\Registration\IRegistrationService.cs" TypeId="CSharpErrors" Line="12"/> <Issue Message="Name 'EnrollCustomerToIB' does not match rule 'Methods, properties and events'. Suggested name is 'EnrollCustomerToIb'." Offset="397-415" File="CorillianExtended.ChannelServices.Client\Registration\IRegistrationService.cs" TypeId="InconsistentNaming" Line="14"/> <Issue Message="Name 'EnrollRequest' does not match rule 'Parameters'. Suggested name is 'enrollRequest'." Offset="442-455" File="CorillianExtended.ChannelServices.Client\Registration\IRegistrationService.cs" TypeId="InconsistentNaming" Line="14"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="15-54" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Cannot resolve symbol 'Fiserv'" Offset="21-27" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="CSharpErrors" Line="2"/> <Issue Message="Class 'RegistrationServiceClient' is never instantiated" Offset="145-170" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="ClassNeverInstantiated.Global" Line="7"/> <Issue Message="Cannot resolve symbol 'ClientBase'" Offset="172-182" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="CSharpErrors" Line="7"/> <Issue Message="Name 'EnrollRequest' does not match rule 'Parameters'. Suggested name is 'enrollRequest'." Offset="322-335" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="InconsistentNaming" Line="9"/> <Issue Message="Cannot resolve symbol 'Execute'" Offset="373-380" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="CSharpErrors" Line="11"/> <Issue Message="Cannot resolve symbol 'Channel'" Offset="420-427" File="CorillianExtended.ChannelServices.Client\Registration\RegistrationServiceClient.cs" TypeId="CSharpErrors" Line="11"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityFault.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Name 'GetCOLIdentityFault' does not match rule 'Types and namespaces'. Suggested name is 'GetColIdentityFault'." Offset="150-169" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityFault.cs" TypeId="InconsistentNaming" Line="7"/> <Issue Message="Enum member 'UnExpectedError' is never used" Offset="208-223" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityFault.cs" TypeId="UnusedMember.Global" Line="10"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityRequest.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Name 'GetCOLIdentityRequest' does not match rule 'Types and namespaces'. Suggested name is 'GetColIdentityRequest'." Offset="145-166" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityRequest.cs" TypeId="InconsistentNaming" Line="7"/> <Issue Message="Name 'CIFKey' does not match rule 'Methods, properties and events'. Suggested name is 'CifKey'." Offset="226-232" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityRequest.cs" TypeId="InconsistentNaming" Line="10"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="15-48" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Name 'GetCOLIdentityResponse' does not match rule 'Types and namespaces'. Suggested name is 'GetColIdentityResponse'." Offset="180-202" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="InconsistentNaming" Line="8"/> <Issue Message="Name 'Status_Code' does not match rule 'Methods, properties and events'. Suggested name is 'StatusCode'." Offset="262-273" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="InconsistentNaming" Line="11"/> <Issue Message="Name 'Status_Description' does not match rule 'Methods, properties and events'. Suggested name is 'StatusDescription'." Offset="342-360" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="InconsistentNaming" Line="14"/> <Issue Message="Name 'Internal_ID' does not match rule 'Methods, properties and events'. Suggested name is 'InternalId'." Offset="437-448" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="InconsistentNaming" Line="17"/> <Issue Message="Name 'Response_Message' does not match rule 'Methods, properties and events'. Suggested name is 'ResponseMessage'." Offset="525-541" File="CorillianExtended.ChannelServices.Client\User\GetCOLIdentityResponse.cs" TypeId="InconsistentNaming" Line="20"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\User\IUserInfoService.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="43-82" File="CorillianExtended.ChannelServices.Client\User\IUserInfoService.cs" TypeId="RedundantUsingDirective" Line="3"/> <Issue Message="Cannot resolve symbol 'Fiserv'" Offset="49-55" File="CorillianExtended.ChannelServices.Client\User\IUserInfoService.cs" TypeId="CSharpErrors" Line="3"/> <Issue Message="Cannot resolve symbol 'SystemFault'" Offset="272-283" File="CorillianExtended.ChannelServices.Client\User\IUserInfoService.cs" TypeId="CSharpErrors" Line="10"/> <Issue Message="Name 'GetCOLIdentity' does not match rule 'Methods, properties and events'. Suggested name is 'GetColIdentity'." Offset="373-387" File="CorillianExtended.ChannelServices.Client\User\IUserInfoService.cs" TypeId="InconsistentNaming" Line="12"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="15-54" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Cannot resolve symbol 'Fiserv'" Offset="21-27" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="CSharpErrors" Line="2"/> <Issue Message="Class 'UserInfoServiceClient' is never instantiated" Offset="137-158" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="ClassNeverInstantiated.Global" Line="7"/> <Issue Message="Cannot resolve symbol 'ClientBase'" Offset="161-171" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="CSharpErrors" Line="7"/> <Issue Message="Cannot resolve symbol 'Execute'" Offset="336-343" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="CSharpErrors" Line="11"/> <Issue Message="Cannot resolve symbol 'Channel'" Offset="379-386" File="CorillianExtended.ChannelServices.Client\User\UserInfoServiceClient.cs" TypeId="CSharpErrors" Line="11"/> </Project> -<Project Name="CorillianExtended.ChannelServices.Service"> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Namespace does not correspond to file location, should be: 'CorillianExtended.ChannelServices.Service'" Offset="85-135" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="CheckNamespace" Line="6"/> <Issue Message="Class 'Global' is never used" Offset="157-163" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="UnusedMember.Global" Line="8"/> <Issue Message="Method 'AppInitialize' is never used" Offset="199-212" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="UnusedMember.Global" Line="10"/> <Issue Message="Use implicitly typed local variable declaration" Offset="239-255" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="SuggestUseVarKeywordEvident" Line="12"/> <Issue Message="Access to a static member of a type via a derived type" Offset="361-386" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="AccessToStaticMemberViaDerivedType" Line="14"/> <Issue Message="Qualifier is redundant" Offset="431-473" File="CorillianExtended.ChannelServices.Service\App_Code\Global.cs" TypeId="RedundantNameQualifier" Line="16"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="26-64" File="CorillianExtended.ChannelServices.Service\Properties\AssemblyInfo.cs" TypeId="RedundantUsingDirective" Line="2"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="526-543" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantUsingDirective" Line="15"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="549-587" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantUsingDirective" Line="16"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="593-633" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantUsingDirective" Line="17"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="742-781" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantUsingDirective" Line="20"/> <Issue Message="Qualifier is redundant" Offset="748-766" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantNameQualifier" Line="20"/> <Issue Message="Qualifier is redundant" Offset="793-811" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantNameQualifier" Line="21"/> <Issue Message="Qualifier is redundant" Offset="840-858" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantNameQualifier" Line="22"/> <Issue Message="Qualifier is redundant" Offset="889-923" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantNameQualifier" Line="23"/> <Issue Message="Class 'RegistrationService' is never instantiated" Offset="1092-1111" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="ClassNeverInstantiated.Global" Line="29"/> <Issue Message="Field can be made readonly" Offset="1476-1479" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="FieldCanBeMadeReadOnly.Local" Line="39"/> <Issue Message="Name 'log' does not match rule 'Instance fields (private)'. Suggested name is '_log'." Offset="1476-1479" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="InconsistentNaming" Line="39"/> <Issue Message="Property 'RegSessionKey' can be made private" Offset="1490-1496" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="MemberCanBePrivate.Global" Line="40"/> <Issue Message="Qualifier 'this.' is redundant" Offset="1752-1757" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="50"/> <Issue Message="Name 'FI' does not match rule 'Methods, properties and events'. Suggested name is 'Fi'." Offset="1815-1817" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="InconsistentNaming" Line="53"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2285-2311" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="65"/> <Issue Message="Use implicitly typed local variable declaration" Offset="3793-3812" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="99"/> <Issue Message="Use implicitly typed local variable declaration" Offset="3869-3888" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="100"/> <Issue Message="Qualifier is redundant" Offset="3956-3974" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantNameQualifier" Line="101"/> <Issue Message="Use implicitly typed local variable declaration" Offset="3956-4002" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="101"/> <Issue Message="Use object initializer" Offset="4021-4024" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="UseObjectOrCollectionInitializer" Line="101"/> <Issue Message="Qualifier 'this.' is redundant" Offset="5152-5157" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="120"/> <Issue Message="Use implicitly typed local variable declaration" Offset="5215-5235" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="122"/> <Issue Message="Qualifier 'this.' is redundant" Offset="5290-5295" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="122"/> <Issue Message="Specify string comparison explicitly" Offset="5503-5505" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SpecifyStringComparison" Line="126"/> <Issue Message="Qualifier 'this.' is redundant" Offset="5637-5642" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="129"/> <Issue Message="Qualifier 'this.' is redundant" Offset="5693-5698" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="130"/> <Issue Message="Use implicitly typed local variable declaration" Offset="5762-5788" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="131"/> <Issue Message="Use implicitly typed local variable declaration" Offset="5866-5913" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="132"/> <Issue Message="Redundant 'Object.ToString()' call" Offset="6007-6015" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantToStringCall" Line="132"/> <Issue Message="Specify a culture in string conversion explicitly" Offset="6015-6017" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SpecifyACultureInStringConversionExplicitly" Line="132"/> <Issue Message="Use implicitly typed local variable declaration" Offset="6056-6104" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="133"/> <Issue Message="Qualifier 'this.' is redundant" Offset="6164-6169" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="133"/> <Issue Message="Empty argument list is redundant" Offset="6364-6366" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantEmptyObjectCreationArgumentList" Line="137"/> <Issue Message="Empty argument list is redundant" Offset="6969-6971" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantEmptyObjectCreationArgumentList" Line="147"/> <Issue Message="Empty argument list is redundant" Offset="7557-7559" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantEmptyObjectCreationArgumentList" Line="158"/> <Issue Message="Use implicitly typed local variable declaration" Offset="8123-8129" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="169"/> <Issue Message="Convert to constant" Offset="8130-8136" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="ConvertToConstant.Local" Line="169"/> <Issue Message="Qualifier 'this.' is redundant" Offset="8231-8236" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="170"/> <Issue Message="Empty argument list is redundant" Offset="8321-8323" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantEmptyObjectCreationArgumentList" Line="171"/> <Issue Message="Use implicitly typed local variable declaration" Offset="8757-8763" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="182"/> <Issue Message="Qualifier 'this.' is redundant" Offset="8854-8859" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="183"/> <Issue Message="Qualifier 'this.' is redundant" Offset="9048-9053" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="188"/> <Issue Message="Qualifier is redundant" Offset="9527-9545" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantNameQualifier" Line="198"/> <Issue Message="Use implicitly typed local variable declaration" Offset="9638-9685" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="200"/> <Issue Message="Use object initializer" Offset="9702-9705" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="UseObjectOrCollectionInitializer" Line="200"/> <Issue Message="Use implicitly typed local variable declaration" Offset="11251-11265" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="232"/> <Issue Message="Qualifier 'this.' is redundant" Offset="11375-11380" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="233"/> <Issue Message="Use implicitly typed local variable declaration" Offset="11656-11670" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="242"/> <Issue Message="Use implicitly typed local variable declaration" Offset="11758-11764" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="243"/> <Issue Message="Qualifier 'this.' is redundant" Offset="11833-11838" File="CorillianExtended.ChannelServices.Service\Registration\RegistrationService.svc.cs" TypeId="RedundantThisQualifier" Line="244"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="0-13" File="CorillianExtended.ChannelServices.Service\ServiceModule.cs" TypeId="RedundantUsingDirective"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="43-60" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantUsingDirective" Line="3"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="62-100" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantUsingDirective" Line="4"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="102-142" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantUsingDirective" Line="5"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="144-186" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantUsingDirective" Line="6"/> <Issue Message="Using directive is not required by the code and can be safely removed" Offset="239-278" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantUsingDirective" Line="8"/> <Issue Message="Class 'UserInfoService' is never instantiated" Offset="671-686" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="ClassNeverInstantiated.Global" Line="17"/> <Issue Message="Field can be made readonly" Offset="791-794" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="FieldCanBeMadeReadOnly.Local" Line="22"/> <Issue Message="Property 'RegSessionKey' can be made private" Offset="805-811" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="MemberCanBePrivate.Global" Line="23"/> <Issue Message="Qualifier 'this.' is redundant" Offset="1063-1068" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="33"/> <Issue Message="Name 'FI' does not match rule 'Methods, properties and events'. Suggested name is 'Fi'." Offset="1126-1128" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="InconsistentNaming" Line="36"/> <Issue Message="Method 'DeleteDummySession' is never used" Offset="1403-1421" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="UnusedMember.Local" Line="44"/> <Issue Message="Use implicitly typed local variable declaration" Offset="1526-1540" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="47"/> <Issue Message="Qualifier 'this.' is redundant" Offset="1650-1655" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="48"/> <Issue Message="Cannot resolve symbol 'req'" Offset="1876-1879" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="CSharpWarnings::CS1584" Line="55"/> <Issue Message="Parameter 'CIFKey' has no matching param tag in the XML comment for CorillianExtended.ChannelServices.Service.User.UserInfoService.CreateDummySession (but other parameters do)" Offset="1960-1966" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="CSharpWarnings::CS1573" Line="56"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2070-2084" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="59"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2172-2178" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="60"/> <Issue Message="Qualifier 'this.' is redundant" Offset="2248-2253" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="61"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2581-2603" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="68"/> <Issue Message="Qualifier 'this.' is redundant" Offset="2696-2701" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="72"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2756-2775" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="74"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2828-2856" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEvident" Line="75"/> <Issue Message="Use object initializer" Offset="2865-2868" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="UseObjectOrCollectionInitializer" Line="75"/> <Issue Message="Empty argument list is redundant" Offset="2897-2899" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantEmptyObjectCreationArgumentList" Line="75"/> <Issue Message="Use implicitly typed local variable declaration" Offset="2994-3023" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="77"/> <Issue Message="Qualifier 'this.' is redundant" Offset="3058-3063" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="77"/> <Issue Message="Use implicitly typed local variable declaration" Offset="3650-3656" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="90"/> <Issue Message="Qualifier 'this.' is redundant" Offset="3749-3754" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="91"/> <Issue Message="Use implicitly typed local variable declaration" Offset="4046-4052" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="SuggestUseVarKeywordEverywhere" Line="101"/> <Issue Message="Qualifier 'this.' is redundant" Offset="4160-4165" File="CorillianExtended.ChannelServices.Service\User\UserInfoService.svc.cs" TypeId="RedundantThisQualifier" Line="102"/> </Project> </Issues> </Report>


这篇关于我想从c#中的xml文件创建一个xslt文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆