private Type RaiseGetNodeModelType() { GetNodeModelTypeEventArgs args = new GetNodeModelTypeEventArgs(); OnGetNodeModelType(args); return(args.ModelType); }
protected virtual void OnGetNodeModelType(GetNodeModelTypeEventArgs args) { if (GetNodeModelType != null) { GetNodeModelType(this, args); } }
//--------------------------------------------------------------------------- private void vtItemsGetNodeModelType(object sender, GetNodeModelTypeEventArgs e) { e.ModelType = typeof(SItemLink); }