Пример #1
0
 public bool IsCreateContextSupported(CreateContextTypeValue createContext)
 {
     if (UnsupportedCreateContextsList == null)
     {
         UnsupportedCreateContextsList = ParsePropertyToList <CreateContextTypeValue>("UnsupportedCreateContexts");
     }
     return(!UnsupportedCreateContextsList.Contains(createContext));
 }
 private void AddCreateContext(CreateContextTypeValue value, DetectResult result)
 {
     AddResultItem(ref this.createContextsItems, value.ToString(), result);
 }