C# Class UnityEditor.Graphing.Util.MessageManager

显示文件 Open project: yimengfan/BDFramework.Urp2dEx

Protected Properties

Property Type Description
m_Messages Dictionary>>

Public Methods

Method Description
AddOrAppendError ( object errorProvider, Identifier nodeId, ShaderMessage error ) : void
ClearAll ( ) : void
ClearAllFromProvider ( object messageProvider ) : void
ClearNodesFromProvider ( object messageProvider, IEnumerable nodes ) : void
GetNodeMessages ( ) : List>>.IEnumerable
Log ( AbstractMaterialNode node, string path, ShaderMessage message, Object context ) : void
RemoveNode ( Identifier nodeId ) : void

Protected Methods

Method Description
DebugPrint ( ) : void

Private Methods

Method Description
CompareMessages ( ShaderMessage m1, ShaderMessage m2 ) : int

Method Details

AddOrAppendError() public method

public AddOrAppendError ( object errorProvider, Identifier nodeId, ShaderMessage error ) : void
errorProvider object
nodeId Identifier
error ShaderMessage
return void

ClearAll() public method

public ClearAll ( ) : void
return void

ClearAllFromProvider() public method

public ClearAllFromProvider ( object messageProvider ) : void
messageProvider object
return void

ClearNodesFromProvider() public method

public ClearNodesFromProvider ( object messageProvider, IEnumerable nodes ) : void
messageProvider object
nodes IEnumerable
return void

DebugPrint() protected method

protected DebugPrint ( ) : void
return void

GetNodeMessages() public method

public GetNodeMessages ( ) : List>>.IEnumerable
return List>>.IEnumerable

Log() public static method

public static Log ( AbstractMaterialNode node, string path, ShaderMessage message, Object context ) : void
node AbstractMaterialNode
path string
message ShaderMessage
context Object
return void

RemoveNode() public method

public RemoveNode ( Identifier nodeId ) : void
nodeId Identifier
return void

Property Details

m_Messages protected_oe property

protected Dictionary>> m_Messages
return Dictionary>>