View design


I want to write a view that can extract array object members based on array object members value.

For example, I have a document that has this structure written to it:

public class ABC{

    public class DoorData
        /// <summary>
        /// State of the door
        /// </summary>
        public DoorState DoorState;

        /// <summary>
        /// Time Stap of event received
        /// </summary>
        public DateTime EventReceived;
        /// <summary>
        /// Time extraction of event
        /// </summary>
        public DateTime EventCreated;

        /// <summary>
        /// </summary>
        public bool AlarmActive;

    public IDictionary<UInt64, DoorData> Data { get; set; }


I want to extract DoorData that has AlarmActive set to true. Is this possible with views ? OR with the help of .NET libraries ? If so, please, provide me a psuedo code