Adf.Core.Panels.PanelItemExtensions.GetId C# (CSharp) 메소드

GetId() 공개 정적인 메소드

public static GetId ( this panelitem, string prefix = null ) : string
panelitem this
prefix string
리턴 string
        public static string GetId(this PanelItem panelitem, string prefix = null)
        {
            prefix = prefix ?? panelitem.Type.Prefix;
            var type = panelitem.Member.ReflectedType.Name;

            return String.Format("{0}{1}{2}", prefix, type, panelitem.Member.Name);
        }