OpenSlx.AutoWire.MethodDescription.MatchTarget C# (CSharp) Method

MatchTarget() public method

public MatchTarget ( OrmMethodTarget target, TargetStepType targetStepType, String descriptionPrefix ) : bool
target OrmMethodTarget
targetStepType TargetStepType
descriptionPrefix String
return bool
        public bool MatchTarget(OrmMethodTarget target, TargetStepType targetStepType, String descriptionPrefix)
        {
            return targetStepType == StepType &&
                descriptionPrefix + Description == target.Description &&
                target.TargetMethod == Name &&
                target.TargetType == DeclaringType;
        }