Nemerle.VisualStudio.Project.NemerleProjectNode.GetProperty C# (CSharp) Method

GetProperty() public method

public GetProperty ( int propId ) : object
propId int
return object
        public override object GetProperty(int propId)
        {
            // Fix MS bug
            switch ((__VSHPROPID)propId)
            {
                case __VSHPROPID.VSHPROPID_DefaultNamespace:
                    TokenProcessor processor = new TokenProcessor();
                    return processor.GetFileNamespace(this.Url, this);

                case __VSHPROPID.VSHPROPID_DefaultEnableBuildProjectCfg:
                    return base.GetProperty(propId);

                default: return base.GetProperty(propId);
            }
        }