C# 클래스 Bamboo.Prevalence.VersionMigration.MigrationContext

MigrationContext.
파일 보기 프로젝트 열기: bamboo/Bamboo.Prevalence 1 사용 예제들

공개 메소드들

메소드 설명
ChangeType ( object value, Type conversionType ) : object
GetSerializableFields ( Type type ) : System.Reflection.FieldInfo[]
GetTypeMapping ( Type type ) : TypeMapping
HasInitializers ( Type type ) : bool
Migrate ( ) : void
MigrationContext ( Bamboo.Prevalence.VersionMigration.MigrationProject project ) : System
SetCurrentObjectField ( string name, object value ) : void

Same as InitializerHelper.SetField(CurrentObject, name, value).

Trace ( string format ) : void

비공개 메소드들

메소드 설명
BuildSerializableFieldsArray ( Type type ) : System.Reflection.FieldInfo[]
CompileAndInstallScriptEventHandlers ( ) : void
CreateDirectoryIfNeeded ( string directory ) : void
CreateTargetFile ( ) : FileStream
EnterField ( FieldInfo field ) : void
EnterObject ( object obj, SerializationInfo info ) : void
GetCreationFileMode ( ) : FileMode
HandleResolveAssembly ( object sender, ResolveEventArgs e ) : Assembly
InstallAssemblyResolver ( ) : void
LeaveField ( ) : void
LeaveObject ( ) : void
LoadMainAssembly ( ) : void
LoadMigrationPlan ( ) : void
ReadObject ( ) : object
UninstallAssemblyResolver ( ) : void
WriteObject ( object graph ) : void

메소드 상세

ChangeType() 공개 메소드

public ChangeType ( object value, Type conversionType ) : object
value object
conversionType System.Type
리턴 object

GetSerializableFields() 공개 메소드

public GetSerializableFields ( Type type ) : System.Reflection.FieldInfo[]
type System.Type
리턴 System.Reflection.FieldInfo[]

GetTypeMapping() 공개 메소드

public GetTypeMapping ( Type type ) : TypeMapping
type System.Type
리턴 TypeMapping

HasInitializers() 공개 메소드

public HasInitializers ( Type type ) : bool
type System.Type
리턴 bool

Migrate() 공개 메소드

public Migrate ( ) : void
리턴 void

MigrationContext() 공개 메소드

public MigrationContext ( Bamboo.Prevalence.VersionMigration.MigrationProject project ) : System
project Bamboo.Prevalence.VersionMigration.MigrationProject
리턴 System

SetCurrentObjectField() 공개 메소드

Same as InitializerHelper.SetField(CurrentObject, name, value).
public SetCurrentObjectField ( string name, object value ) : void
name string
value object
리턴 void

Trace() 공개 메소드

public Trace ( string format ) : void
format string
리턴 void