Source/NFX/Glue/Protocol/Specifiers.cs
/// <summary>
/// Returns the type or throws if it can't be found
/// </summary>
/// <returns>The type or throws exception if actual type could not be gotten</returns>
Returns the type or throws if it can't be found
Returns the type or throws if it can ' t be found
public Type GetSpecifiedType()
        {
          Type result;
          if (m_Name==null) throw new ServerContractException(StringConsts.GLUE_TYPE_SPEC_ERROR + StringConsts.NULL_STRING);
          if (s_Types.TryGetValue(m_Name, out result)) return result;
          result = Type.GetType(m_Name, false, false);
          if (result==null)
           throw new ServerContractException(StringConsts.GLUE_TYPE_SPEC_ERROR + m_Name);
          var dict = new Dictionary<string,Type>(s_Types, StringComparer.Ordinal);
          dict[m_Name] = result;
          s_Types = dict;
          return result;
        }
public Type GetSpecifiedType ( ) { Type result ; if ( m_Name == null ) throw new ServerContractException ( StringConsts . GLUE_TYPE_SPEC_ERROR + StringConsts . NULL_STRING ) ; if ( s_Types . TryGetValue ( m_Name , out result ) ) return result ; result = Type . GetType ( m_Name , false , false ) ; if ( result == null ) throw new ServerContractException ( StringConsts . GLUE_TYPE_SPEC_ERROR + m_Name ) ; var dict = new Dictionary < string , Type > ( s_Types , StringComparer . Ordinal ) ; dict [ m_Name ] = result ; s_Types = dict ; return result ; }
Returns the type or throws if it can't be found
Returns the type or throws if it can ' t be found
//atomic
The type or throws exception if actual type could not be gotten
The type or throws exception if actual type could not be gotten