Source/NFX/ApplicationModel/Pile/LocalCache.cs
/// <summary>
/// Sets external parameter value returning true if parameter was found and set
/// </summary>
Sets external parameter value returning true if parameter was found and set
Sets external parameter value returning true if parameter was found and set
public override bool ExternalSetParameter(string name, 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)
                return false;
              tbl.Options.AsExternalParameter = value;
              return true;
            }
            else
              return ExternalParameterAttribute.SetParameter(this, name, value, groups);
          }
public override bool ExternalSetParameter ( string name , 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 ) return false ; tbl . Options . AsExternalParameter = value ; return true ; } else return ExternalParameterAttribute . SetParameter ( this , name , value , groups ) ; }
Sets external parameter value returning true if parameter was found and set
Sets external parameter value returning true if parameter was found and set
name
string
value
object