Class Message
Default implementation of Message interface. For Native Language Support (NLS), system of software internationalization.
Inheritance
System.Object
Message
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.Flexible.Messages
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class Message : IMessage
Constructors
| Improve this Doc View SourceMessage(String)
Declaration
public Message(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Message(String, Object[])
Declaration
public Message(string key, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object[] | args |
Properties
| Improve this Doc View SourceKey
Declaration
public virtual string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetArguments()
Declaration
public virtual object[] GetArguments()
Returns
Type | Description |
---|---|
System.Object[] |
GetLocalizedMessage()
Declaration
public virtual string GetLocalizedMessage()
Returns
Type | Description |
---|---|
System.String |
GetLocalizedMessage(CultureInfo)
Declaration
public virtual string GetLocalizedMessage(CultureInfo locale)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | locale |
Returns
Type | Description |
---|---|
System.String |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()