static CurrentCompanyOidOperator() { CurrentCompanyOidOperator instance = new CurrentCompanyOidOperator(); if (CriteriaOperator.GetCustomFunction(instance.Name) == null) { CriteriaOperator.RegisterCustomFunction(instance); } }
public CustomFunctionCriteriaOperatorModule() { InitializeComponent(); CurrentCompanyOidOperator.Register(); }