コード例 #1
0
 public static String UnQuote(String str)
 {
     if (str != null)
     {
         return(TSK_String.UnQuote(str, '"', '"'));
     }
     return(null);
 }
コード例 #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
        }
コード例 #3
0
 public static bool Contains(String str, int len, String substring)
 {
     return(TSK_String.IndexOf(str, len, substring) >= 0);
 }
コード例 #4
0
 public static void UnQuote(ref String str)
 {
     str = TSK_String.UnQuote(str, '"', '"');
 }
コード例 #5
0
 public static void UnQuote(ref String str, char lquote, char rquote)
 {
     str = TSK_String.UnQuote(str, lquote, rquote);
 }