Esempio n. 1
0
 public static String UnQuote(String str)
 {
     if (str != null)
     {
         return(TSK_String.UnQuote(str, '"', '"'));
     }
     return(null);
 }
Esempio n. 2
0
        public TSK_StateMachine(Int32 currentState, Int32 termState, OnTerminated onTerminated, Object userData)
        {
            mCurrentSate  = currentState;
            mTermState    = termState;
            mOnTerminated = onTerminated;
            mUserData     = userData;
            mEntries      = new List <Entry>();
#if WINDOWS_PHONE
            mMutex = new Mutex(false, TSK_String.Random()); // unnamed mutex
#else
            mMutex = new Mutex();
#endif
        }
Esempio n. 3
0
 public static bool Contains(String str, int len, String substring)
 {
     return(TSK_String.IndexOf(str, len, substring) >= 0);
 }
Esempio n. 4
0
 public static void UnQuote(ref String str)
 {
     str = TSK_String.UnQuote(str, '"', '"');
 }
Esempio n. 5
0
 public static void UnQuote(ref String str, char lquote, char rquote)
 {
     str = TSK_String.UnQuote(str, lquote, rquote);
 }