C# Class FlatRedBall.Arrow.Managers.CopyPasteCommands

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
AddToClipboard ( ArrowInstanceGeneralVm instanceVm ) : void
GetInstanceType ( ) : string
SerializeToString ( object toSerialize ) : string
TryPasteInstance ( ) : bool

Private Methods

Method Description
CreateAndAddInstanceFromClipboard ( string instanceType, DataTypes currentArrowElement, string xmlSerializedString ) : object

Method Details

AddToClipboard() public method

public AddToClipboard ( ArrowInstanceGeneralVm instanceVm ) : void
instanceVm ArrowInstanceGeneralVm
return void

GetInstanceType() public method

public GetInstanceType ( ) : string
return string

SerializeToString() public method

public SerializeToString ( object toSerialize ) : string
toSerialize object
return string

TryPasteInstance() public method

public TryPasteInstance ( ) : bool
return bool