//------------------------------------------------------------------------- /// <summary> /// Obtains an identifier used to find legal entity information. /// </summary> /// <param name="legalEntityId"> the name </param> /// <returns> an identifier </returns> public static LegalEntityInformationId of(string legalEntityId) { return(new LegalEntityInformationId(StandardId.parse(legalEntityId))); }
/// <summary> /// Parses an {@code StandardId} from a formatted scheme and value. /// <para> /// This parses the identifier from the form produced by {@code toString()} /// which is '{@code $scheme~$value}'. /// /// </para> /// </summary> /// <param name="str"> the identifier to parse </param> /// <returns> the identifier </returns> /// <exception cref="IllegalArgumentException"> if the identifier cannot be parsed </exception> //JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @FromString public static EtdContractSpecId parse(String str) public static EtdContractSpecId parse(string str) { return(new EtdContractSpecId(StandardId.parse(str))); }
/// <summary> /// Parses an {@code StandardId} from a formatted scheme and value. /// <para> /// This parses the identifier from the form produced by {@code toString()} /// which is '{@code $scheme~$value}'. /// /// </para> /// </summary> /// <param name="str"> the identifier to parse </param> /// <returns> the security identifier </returns> /// <exception cref="IllegalArgumentException"> if the identifier cannot be parsed </exception> //JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @FromString public static LegalEntityId parse(String str) public static LegalEntityId parse(string str) { return(new LegalEntityId(StandardId.parse(str))); }
/// <summary> /// Parses an {@code StandardId} from a formatted scheme and value. /// <para> /// This parses the identifier from the form produced by {@code toString()} /// which is '{@code $scheme~$value}'. /// /// </para> /// </summary> /// <param name="str"> the identifier to parse </param> /// <returns> the security identifier </returns> /// <exception cref="IllegalArgumentException"> if the identifier cannot be parsed </exception> //JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @FromString public static SecurityId parse(String str) public static SecurityId parse(string str) { return(new SecurityId(StandardId.parse(str))); }