C# 클래스 SevenDigital.Parsing.XsdToObject.ClassWriter

상속: IDisposable
파일 보기 프로젝트 열기: 7digital/XsdToObject 1 사용 예제들

공개 메소드들

메소드 설명
ClassWriter ( Stream stream, string namespaceName ) : System
Dispose ( ) : void
Write ( ClassInfo classInfo ) : void

비공개 메소드들

메소드 설명
GetParsedPropertyValue ( PropertyInfo property, string variableName ) : string
GetPropertyValueAccessorMethod ( PropertyInfo property ) : string
GetPropertyValueRetriever ( PropertyInfo property, string collectionName ) : string
GetXElementToPropertyValue ( PropertyInfo property, string varName ) : string
WriteAutoProperties ( ClassInfo classInfo ) : void
WriteConstructors ( ClassInfo classInfo ) : void
WriteEmptyConstructor ( ClassInfo classInfo ) : void
WriteEqualityMembers ( ClassInfo classInfo ) : void
WriteImplicitStringCast ( ClassInfo classInfo ) : void
WriteNamespace ( string namespaceName ) : void
WriteNamespaceEnd ( ) : void
WriteNullClass ( ClassInfo classInfo ) : void
WriteOriginalClass ( ClassInfo classInfo ) : void
WritePropertyInitialization ( StreamWriter writer, PropertyInfo property, string collectionName ) : void
WritePropertyInitializationStatements ( ClassInfo classInfo, StreamWriter writer ) : void
WriteThrowingProperties ( ClassInfo classInfo ) : void
WriteUsings ( ) : void
WriteUtilityClasses ( ) : void
WriteValuePropertyInitialization ( StreamWriter writer, PropertyInfo property ) : void
WriteXElementConstructor ( ClassInfo classInfo, StreamWriter writer ) : void

메소드 상세

ClassWriter() 공개 메소드

public ClassWriter ( Stream stream, string namespaceName ) : System
stream Stream
namespaceName string
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Write() 공개 메소드

public Write ( ClassInfo classInfo ) : void
classInfo ClassInfo
리턴 void