ASR.App.MainForm.GetCommandContext C# (CSharp) 메소드

GetCommandContext() 공개 메소드

public GetCommandContext ( ) : CommandContext
리턴 CommandContext
        public CommandContext GetCommandContext()
        {
            var itemNotNull = Client.CoreDatabase.GetItem("{EE1860D8-09CB-49FE-9AB5-2F01D2D2D796}"); // /sitecore/content/Applications/Advanced System Reporter/Ribbon
            var context = new CommandContext {RibbonSourceUri = itemNotNull.Uri};

            return context;
        }