Source/NFX/ApplicationModel/Pile/LocalCache.cs
/// <summary>
/// Gets external parameter value returning true if parameter was found
/// </summary>
Gets external parameter value returning true if parameter was found
Gets external parameter value returning true if parameter was found
public override bool ExternalGetParameter(string name, out object value, params string[] groups)
          {
            if (name.StartsWith(TBL_PARAM_PREFIX) && name.Length > TBL_PARAM_PREFIX.Length)
            {
              var tname = name.Substring(TBL_PARAM_PREFIX.Length);
              var tbl = m_Tables[tname];
              if (tbl==null)
              {
                value = null;
                return false;
              }
              value = tbl.Options.AsExternalParameter;
              return true;
            }
            else
             return ExternalParameterAttribute.GetParameter(this, name, out value, groups);
          }
public override bool ExternalGetParameter ( string name , out object value , params string [ ] groups ) { if ( name . StartsWith ( TBL_PARAM_PREFIX ) && name . Length > TBL_PARAM_PREFIX . Length ) { var tname = name . Substring ( TBL_PARAM_PREFIX . Length ) ; var tbl = m_Tables [ tname ] ; if ( tbl == null ) { value = null ; return false ; } value = tbl . Options . AsExternalParameter ; return true ; } else return ExternalParameterAttribute . GetParameter ( this , name , out value , groups ) ; }
Gets external parameter value returning true if parameter was found
Gets external parameter value returning true if parameter was found
name
string
object
out