SenseNet.ContentRepository.Voting.GetProperty C# (CSharp) Метод

GetProperty() публичный Метод

Gets the given property by name.
public GetProperty ( string name ) : object
name string The name.
Результат object
        public override object GetProperty(string name)
        {
            switch (name)
            {
                case "IsResultVisibleBefore":
                    return this.IsResultVisibleBefore;
                case "ResultPageContentView":
                    return this.ResultPageContentView;
                case "VotingPageContentView":
                    return this.VotingPageContentView;
                case "CannotSeeResultContentView":
                    return this.CannotSeeResultContentView;
            }
            return base.GetProperty(name);
        }