Axiom.Overlays.OverlayElement.MetricsModeAttributeCommand.Get C# (CSharp) Method

Get() public method

Gets the value for this command from the target object.
public Get ( object target ) : string
target object
return string
			public string Get( object target )
			{
				var element = target as OverlayElement;
				if ( element != null )
				{
					return ScriptEnumAttribute.GetScriptAttribute( (int)element.MetricsMode, typeof( MetricsMode ) );
				}
				else
				{
					return String.Empty;
				}
			}
OverlayElement.MetricsModeAttributeCommand