Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -35,26 +35,17 @@ namespace Server.ContextMenus
/// <summary>
/// Gets the <see cref="Mobile" /> who opened this ContextMenu.
/// </summary>
public Mobile From
{
get{ return m_From; }
}
public Mobile From => m_From;
/// <summary>
/// Gets an object of the <see cref="Mobile" /> or <see cref="Item" /> for which this ContextMenu is on.
/// </summary>
public object Target
{
get{ return m_Target; }
}
public object Target => m_Target;
/// <summary>
/// Gets the list of <see cref="ContextMenuEntry">entries</see> contained in this ContextMenu.
/// </summary>
public ContextMenuEntry[] Entries
{
get{ return m_Entries; }
}
public ContextMenuEntry[] Entries => m_Entries;
/// <summary>
/// Instantiates a new ContextMenu instance.

View file

@ -40,8 +40,8 @@ namespace Server.ContextMenus
/// </summary>
public CMEFlags Flags
{
get{ return m_Flags; }
set{ m_Flags = value; }
get => m_Flags;
set => m_Flags = value;
}
/// <summary>
@ -49,8 +49,8 @@ namespace Server.ContextMenus
/// </summary>
public ContextMenu Owner
{
get{ return m_Owner; }
set{ m_Owner = value; }
get => m_Owner;
set => m_Owner = value;
}
/// <summary>
@ -58,8 +58,8 @@ namespace Server.ContextMenus
/// </summary>
public int Number
{
get{ return m_Number; }
set{ m_Number = value; }
get => m_Number;
set => m_Number = value;
}
/// <summary>
@ -67,8 +67,8 @@ namespace Server.ContextMenus
/// </summary>
public int Range
{
get{ return m_Range; }
set{ m_Range = value; }
get => m_Range;
set => m_Range = value;
}
/// <summary>
@ -76,8 +76,8 @@ namespace Server.ContextMenus
/// </summary>
public int Color
{
get{ return m_Color; }
set{ m_Color = value; }
get => m_Color;
set => m_Color = value;
}
/// <summary>
@ -85,17 +85,14 @@ namespace Server.ContextMenus
/// </summary>
public bool Enabled
{
get{ return m_Enabled; }
set{ m_Enabled = value; }
get => m_Enabled;
set => m_Enabled = value;
}
/// <summary>
/// Gets a value indicating if non local use of this entry is permitted.
/// </summary>
public virtual bool NonLocalUse
{
get{ return false; }
}
public virtual bool NonLocalUse => false;
/// <summary>
/// Instantiates a new ContextMenuEntry with a given <see cref="Number">localization number</see> (<paramref name="number" />). No <see cref="Range">maximum range</see> is used.