internal static XamlStackFrame ForGetObject() { XamlStackFrame result = new XamlStackFrame(); result.FrameType = XamlStackFrameType.GetObject; return(result); }
internal static XamlStackFrame ForObject(XamlType type) { XamlStackFrame result = new XamlStackFrame(); result._data = type; result.FrameType = XamlStackFrameType.Object; return result; }
internal static XamlStackFrame ForObject(XamlType type) { XamlStackFrame result = new XamlStackFrame(); result._data = type; result.FrameType = XamlStackFrameType.Object; return(result); }
internal static XamlStackFrame ForMember(XamlMember member) { XamlStackFrame result = new XamlStackFrame(); result._data = member; result.FrameType = XamlStackFrameType.Member; return(result); }
public override void WriteStartObject(XamlType type) { if (type == null) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.UnexpectedXamlValueNull("type"))); } SetTopFrame(); _stack.Add(XamlStackFrame.ForObject(type)); }
public override void WriteStartMember(XamlMember property) { if (property == null) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.UnexpectedXamlValueNull("property"))); } SetTopFrame(property); _stack.Add(XamlStackFrame.ForMember(property)); }
internal static XamlStackFrame ForMember(XamlMember member) { XamlStackFrame result = new XamlStackFrame(); result._data = member; result.FrameType = XamlStackFrameType.Member; return result; }
internal static XamlStackFrame ForGetObject() { XamlStackFrame result = new XamlStackFrame(); result.FrameType = XamlStackFrameType.GetObject; return result; }
public override void WriteGetObject() { SetTopFrame(); _stack.Add(XamlStackFrame.ForGetObject()); }