PexCreatableByMethodAndSettersAttribute.CreatableByMethodAndSetters.TryGetFactory(MethodBase, Field, Field[], Field[]) Метод

Определение

Пытается получить метод фабрики.Tries to get the factory method.

protected:
 override bool TryGetFactory([Runtime::InteropServices::Out] System::Reflection::MethodBase ^ % factory, [Runtime::InteropServices::Out] Microsoft::ExtendedReflection::Metadata::Field ^ % factoryReceiver, [Runtime::InteropServices::Out] cli::array <Microsoft::ExtendedReflection::Metadata::Field ^> ^ % factoryArguments, [Runtime::InteropServices::Out] cli::array <Microsoft::ExtendedReflection::Metadata::Field ^> ^ % remainingFields);
protected override bool TryGetFactory (out System.Reflection.MethodBase factory, out Microsoft.ExtendedReflection.Metadata.Field factoryReceiver, out Microsoft.ExtendedReflection.Metadata.Field[] factoryArguments, out Microsoft.ExtendedReflection.Metadata.Field[] remainingFields);
override this.TryGetFactory : MethodBase * Field * Field[] * Field[] -> bool
Protected Overrides Function TryGetFactory (ByRef factory As MethodBase, ByRef factoryReceiver As Field, ByRef factoryArguments As Field(), ByRef remainingFields As Field()) As Boolean

Параметры

factory
MethodBase

Фабрика.The factory.

factoryReceiver
Microsoft.ExtendedReflection.Metadata.Field

Получатель фабрики.The factory receiver.

factoryArguments
Microsoft.ExtendedReflection.Metadata.Field[]

Аргументы фабрики.The factory arguments.

remainingFields
Microsoft.ExtendedReflection.Metadata.Field[]

Остальные поля.The remaining fields.

Возвращаемое значение

Boolean

Применяется к