public TlbImpConditionManager()
        {
            NativeNameConditionDef nativeNameConditionDef = NativeNameConditionDef.GetInstance();

            RegisterCondition(nativeNameConditionDef.GetConditionName(), nativeNameConditionDef);

            TypeKindConditionDef typeKindConditionDef = TypeKindConditionDef.GetInstance();

            RegisterCondition(typeKindConditionDef.GetConditionName(), typeKindConditionDef);

            GuidConditionDef guidConditionDef = GuidConditionDef.GetInstance();

            RegisterCondition(guidConditionDef.GetConditionName(), guidConditionDef);

            NativeParentTypeNameConditionDef nativeParentTypeNameConditionDef =
                NativeParentTypeNameConditionDef.GetInstance();

            RegisterCondition(nativeParentTypeNameConditionDef.GetConditionName(),
                              nativeParentTypeNameConditionDef);

            NativeParentFunctionNameConditionDef nativeParentFunctionNameConditionDef =
                NativeParentFunctionNameConditionDef.GetInstance();

            RegisterCondition(nativeParentFunctionNameConditionDef.GetConditionName(),
                              nativeParentFunctionNameConditionDef);

            NativeParameterIndexConditionDef parameterIndexConditionDef =
                NativeParameterIndexConditionDef.GetInstance();

            RegisterCondition(parameterIndexConditionDef.GetConditionName(),
                              parameterIndexConditionDef);

            NativeSignatureConditionDef nativeSignatureConditionDef =
                NativeSignatureConditionDef.GetInstance();

            RegisterCondition(nativeSignatureConditionDef.GetConditionName(),
                              nativeSignatureConditionDef);
        }
Exemple #2
0
 public override IConditionDef GetConditionDef()
 {
     return(NativeSignatureConditionDef.GetInstance());
 }