File tree Expand file tree Collapse file tree 1 file changed +18
-19
lines changed 
src/Microsoft.OpenApi/Reader Expand file tree Collapse file tree 1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change 33
44using  Microsoft . OpenApi . Models ; 
55
6- namespace  Microsoft . OpenApi . Reader 
6+ namespace  Microsoft . OpenApi . Reader ; 
7+ /// <summary> 
8+ /// Container object used for returning the result of reading an OpenAPI description. 
9+ /// </summary> 
10+ public  class  ReadResult 
711{ 
812    /// <summary> 
9-     /// Container object used for returning the result of reading an OpenAPI description . 
13+     /// The parsed OpenApiDocument.  Null will be returned if the document could not be parsed . 
1014    /// </summary> 
11-     public  class  ReadResult 
15+     public  OpenApiDocument  Document  {  get ;  set ;  } 
16+     /// <summary> 
17+     /// OpenApiDiagnostic contains the Errors reported while parsing 
18+     /// </summary> 
19+     public  OpenApiDiagnostic  Diagnostic  {  get ;  set ;  } 
20+     /// <summary> 
21+     /// Deconstructs the result for easier assignment on the client application. 
22+     /// </summary> 
23+     public  void  Deconstruct ( out  OpenApiDocument  document ,  out  OpenApiDiagnostic  diagnostic ) 
1224    { 
13-         /// <summary> 
14-         /// The parsed OpenApiDocument.  Null will be returned if the document could not be parsed. 
15-         /// </summary> 
16-         public  OpenApiDocument  Document  {  get ;  set ;  } 
17-         /// <summary> 
18-         /// OpenApiDiagnostic contains the Errors reported while parsing 
19-         /// </summary> 
20-         public  OpenApiDiagnostic  Diagnostic  {  get ;  set ;  } 
21-         /// <summary> 
22-         /// Deconstructs the result for easier assignment on the client application. 
23-         /// </summary> 
24-         public  void  Deconstruct ( out  OpenApiDocument  document ,  out  OpenApiDiagnostic  diagnostic ) 
25-         { 
26-             document  =  Document ; 
27-             diagnostic  =  Diagnostic ; 
28-         } 
25+         document  =  Document ; 
26+         diagnostic  =  Diagnostic ; 
2927    } 
3028} 
29+ 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments