C# 클래스 Cilador.Fody.Tests.Common.CommonExtensions

파일 보기 프로젝트 열기: rileywhite/Cilador

공개 메소드들

메소드 설명
GetShortAssemblyQualifiedName ( this type ) : string
ToXElement ( this @object ) : System.Xml.Linq.XElement
ValidateConstructorCountIs ( this type, int expectedCount ) : void
ValidateEventCountIs ( this type, int expectedCount ) : void
ValidateFieldCountIs ( this type, int expectedCount ) : void
ValidateMemberCountsAre ( this type, int expectedConstructorCount, int expectedMethodCount, int expectedFieldCount, int expectedPropertyCount, int expectedEventCount, int expectedNestedTypeCount ) : void
ValidateMemberSources ( this targetType, Type sourceType ) : void
ValidateMethodCountIs ( this type, int expectedCount ) : void
ValidateNestedTypeCountIs ( this type, int expectedCount ) : void
ValidatePropertyCountIs ( this type, int expectedCount ) : void

비공개 메소드들

메소드 설명
IsSourceNameEqual ( this target, MethodInfo source, string>.Tuple rootTargetAndSourceFullNames ) : bool
IsSourceNameEqual ( this target, Type source, string>.Tuple rootTargetAndSourceFullNames ) : bool
ValidateSourceEqual ( this targetAttributes, Attribute sourceAttributes, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceEqual ( this targetEvent, EventInfo sourceEvent, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceEqual ( this targetField, FieldInfo sourceField, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceEqual ( this targetMethod, MethodInfo sourceMethod, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceEqual ( this targetParameters, ParameterInfo sourceParameters, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceEqual ( this targetProperty, PropertyInfo sourceProperty, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceEqual ( this targetType, Type sourceType, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceNameEqual ( this target, MethodInfo source, string>.Tuple rootTargetAndSourceFullNames ) : void
ValidateSourceNameEqual ( this target, Type source, string>.Tuple rootTargetAndSourceFullNames ) : void

메소드 상세

GetShortAssemblyQualifiedName() 공개 정적인 메소드

public static GetShortAssemblyQualifiedName ( this type ) : string
type this
리턴 string

ToXElement() 공개 정적인 메소드

public static ToXElement ( this @object ) : System.Xml.Linq.XElement
@object this
리턴 System.Xml.Linq.XElement

ValidateConstructorCountIs() 공개 정적인 메소드

public static ValidateConstructorCountIs ( this type, int expectedCount ) : void
type this
expectedCount int
리턴 void

ValidateEventCountIs() 공개 정적인 메소드

public static ValidateEventCountIs ( this type, int expectedCount ) : void
type this
expectedCount int
리턴 void

ValidateFieldCountIs() 공개 정적인 메소드

public static ValidateFieldCountIs ( this type, int expectedCount ) : void
type this
expectedCount int
리턴 void

ValidateMemberCountsAre() 공개 정적인 메소드

public static ValidateMemberCountsAre ( this type, int expectedConstructorCount, int expectedMethodCount, int expectedFieldCount, int expectedPropertyCount, int expectedEventCount, int expectedNestedTypeCount ) : void
type this
expectedConstructorCount int
expectedMethodCount int
expectedFieldCount int
expectedPropertyCount int
expectedEventCount int
expectedNestedTypeCount int
리턴 void

ValidateMemberSources() 공개 정적인 메소드

public static ValidateMemberSources ( this targetType, Type sourceType ) : void
targetType this
sourceType System.Type
리턴 void

ValidateMethodCountIs() 공개 정적인 메소드

public static ValidateMethodCountIs ( this type, int expectedCount ) : void
type this
expectedCount int
리턴 void

ValidateNestedTypeCountIs() 공개 정적인 메소드

public static ValidateNestedTypeCountIs ( this type, int expectedCount ) : void
type this
expectedCount int
리턴 void

ValidatePropertyCountIs() 공개 정적인 메소드

public static ValidatePropertyCountIs ( this type, int expectedCount ) : void
type this
expectedCount int
리턴 void